* gcc.dg/ipa/inlinehint-4.c: Also pass --param inline-unit-growth=20.
[official-gcc.git] / libstdc++-v3 / configure
blobf5798d3a603f839f38feee499e01c8bdd9f48a41
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 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 EXTRA_CFLAGS
615 CPU_OPT_BITS_RANDOM
616 CPU_OPT_EXT_RANDOM
617 ERROR_CONSTANTS_SRCDIR
618 OS_INC_SRCDIR
619 ABI_TWEAKS_SRCDIR
620 CPU_DEFINES_SRCDIR
621 ATOMIC_FLAGS
622 ATOMIC_WORD_SRCDIR
623 ATOMICITY_SRCDIR
624 BUILD_PDF_FALSE
625 BUILD_PDF_TRUE
626 PDFLATEX
627 DBLATEX
628 BUILD_MAN_FALSE
629 BUILD_MAN_TRUE
630 BUILD_HTML_FALSE
631 BUILD_HTML_TRUE
632 BUILD_XML_FALSE
633 BUILD_XML_TRUE
634 BUILD_EPUB_FALSE
635 BUILD_EPUB_TRUE
636 XSL_STYLE_DIR
637 XMLLINT
638 XSLTPROC
640 DOXYGEN
641 BUILD_INFO_FALSE
642 BUILD_INFO_TRUE
643 ENABLE_FILESYSTEM_TS_FALSE
644 ENABLE_FILESYSTEM_TS_TRUE
645 baseline_subdir_switch
646 baseline_dir
647 HWCAP_CFLAGS
648 GLIBCXX_LDBL_COMPAT_FALSE
649 GLIBCXX_LDBL_COMPAT_TRUE
650 LONG_DOUBLE_COMPAT_FLAGS
651 ENABLE_CXX11_ABI_FALSE
652 ENABLE_CXX11_ABI_TRUE
653 glibcxx_cxx98_abi
654 ENABLE_DUAL_ABI_FALSE
655 ENABLE_DUAL_ABI_TRUE
656 ENABLE_VISIBILITY_FALSE
657 ENABLE_VISIBILITY_TRUE
658 libtool_VERSION
659 ENABLE_SYMVERS_SUN_FALSE
660 ENABLE_SYMVERS_SUN_TRUE
661 ENABLE_SYMVERS_DARWIN_FALSE
662 ENABLE_SYMVERS_DARWIN_TRUE
663 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
664 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
665 ENABLE_SYMVERS_GNU_FALSE
666 ENABLE_SYMVERS_GNU_TRUE
667 ENABLE_SYMVERS_FALSE
668 ENABLE_SYMVERS_TRUE
669 port_specific_symbol_files
670 SYMVER_FILE
671 CXXFILT
672 LTLIBICONV
673 LIBICONV
674 OPT_LDFLAGS
675 SECTION_LDFLAGS
676 GLIBCXX_LIBS
677 ENABLE_VTABLE_VERIFY_FALSE
678 ENABLE_VTABLE_VERIFY_TRUE
679 VTV_CYGMIN_FALSE
680 VTV_CYGMIN_TRUE
681 VTV_CXXLINKFLAGS
682 VTV_PCH_CXXFLAGS
683 VTV_CXXFLAGS
684 ENABLE_WERROR_FALSE
685 ENABLE_WERROR_TRUE
686 ENABLE_PYTHONDIR_FALSE
687 ENABLE_PYTHONDIR_TRUE
688 python_mod_dir
689 ENABLE_EXTERN_TEMPLATE_FALSE
690 ENABLE_EXTERN_TEMPLATE_TRUE
691 EXTRA_CXX_FLAGS
692 GLIBCXX_BUILD_DEBUG_FALSE
693 GLIBCXX_BUILD_DEBUG_TRUE
694 DEBUG_FLAGS
695 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
696 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
697 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
698 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
699 GLIBCXX_C_HEADERS_C_STD_FALSE
700 GLIBCXX_C_HEADERS_C_STD_TRUE
701 GLIBCXX_C_HEADERS_C_FALSE
702 GLIBCXX_C_HEADERS_C_TRUE
703 C_INCLUDE_DIR
704 ALLOCATOR_NAME
705 ALLOCATOR_H
706 ENABLE_ALLOCATOR_NEW_FALSE
707 ENABLE_ALLOCATOR_NEW_TRUE
708 CLOCALE_INTERNAL_H
709 CLOCALE_CC
710 CTIME_CC
711 CTIME_H
712 CNUMERIC_CC
713 CMONEY_CC
714 CMESSAGES_CC
715 CCTYPE_CC
716 CCOLLATE_CC
717 CCODECVT_CC
718 CMESSAGES_H
719 CLOCALE_H
720 USE_NLS
721 glibcxx_localedir
722 glibcxx_POFILES
723 glibcxx_MOFILES
724 check_msgfmt
725 BASIC_FILE_CC
726 BASIC_FILE_H
727 CSTDIO_H
728 SECTION_FLAGS
729 WERROR
730 thread_header
731 glibcxx_PCHFLAGS
732 GLIBCXX_BUILD_PCH_FALSE
733 GLIBCXX_BUILD_PCH_TRUE
734 GLIBCXX_HOSTED_FALSE
735 GLIBCXX_HOSTED_TRUE
736 glibcxx_compiler_shared_flag
737 glibcxx_compiler_pic_flag
738 glibcxx_lt_pic_flag
739 enable_static
740 enable_shared
741 lt_host_flags
742 CXXCPP
743 OTOOL64
744 OTOOL
745 LIPO
746 NMEDIT
747 DSYMUTIL
748 OBJDUMP
750 ac_ct_DUMPBIN
751 DUMPBIN
753 FGREP
755 LIBTOOL
756 EGREP
757 GREP
759 MAINT
760 MAINTAINER_MODE_FALSE
761 MAINTAINER_MODE_TRUE
762 RANLIB
765 LN_S
766 toplevel_srcdir
767 toplevel_builddir
768 glibcxx_srcdir
769 glibcxx_builddir
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 am__untar
781 am__tar
782 AMTAR
783 am__leading_dot
784 SET_MAKE
786 mkdir_p
787 MKDIR_P
788 INSTALL_STRIP_PROGRAM
789 STRIP
790 install_sh
791 MAKEINFO
792 AUTOHEADER
793 AUTOMAKE
794 AUTOCONF
795 ACLOCAL
796 VERSION
797 PACKAGE
798 CYGPATH_W
799 am__isrc
800 INSTALL_DATA
801 INSTALL_SCRIPT
802 INSTALL_PROGRAM
803 target_os
804 target_vendor
805 target_cpu
806 target
807 host_os
808 host_vendor
809 host_cpu
810 host
811 build_os
812 build_vendor
813 build_cpu
814 build
815 multi_basedir
816 target_alias
817 host_alias
818 build_alias
819 LIBS
820 ECHO_T
821 ECHO_N
822 ECHO_C
823 DEFS
824 mandir
825 localedir
826 libdir
827 psdir
828 pdfdir
829 dvidir
830 htmldir
831 infodir
832 docdir
833 oldincludedir
834 includedir
835 localstatedir
836 sharedstatedir
837 sysconfdir
838 datadir
839 datarootdir
840 libexecdir
841 sbindir
842 bindir
843 program_transform_name
844 prefix
845 exec_prefix
846 PACKAGE_URL
847 PACKAGE_BUGREPORT
848 PACKAGE_STRING
849 PACKAGE_VERSION
850 PACKAGE_TARNAME
851 PACKAGE_NAME
852 PATH_SEPARATOR
853 SHELL'
854 ac_subst_files=''
855 ac_user_opts='
856 enable_option_checking
857 enable_multilib
858 with_target_subdir
859 with_cross_host
860 with_newlib
861 enable_maintainer_mode
862 enable_shared
863 enable_static
864 with_pic
865 enable_fast_install
866 with_gnu_ld
867 enable_libtool_lock
868 enable_hosted_libstdcxx
869 enable_libstdcxx_verbose
870 enable_libstdcxx_pch
871 enable_cstdio
872 enable_clocale
873 enable_nls
874 enable_libstdcxx_allocator
875 enable_cheaders
876 enable_long_long
877 enable_wchar_t
878 enable_c99
879 enable_concept_checks
880 enable_libstdcxx_debug_flags
881 enable_libstdcxx_debug
882 enable_cxx_flags
883 enable_fully_dynamic_string
884 enable_extern_template
885 with_python_dir
886 enable_werror
887 enable_vtable_verify
888 enable_libstdcxx_time
889 enable_tls
890 enable_rpath
891 with_libiconv_prefix
892 with_system_libunwind
893 enable_linux_futex
894 enable_symvers
895 enable_libstdcxx_visibility
896 enable_libstdcxx_dual_abi
897 with_default_libstdcxx_abi
898 enable_libstdcxx_threads
899 enable_libstdcxx_filesystem_ts
900 enable_cet
901 with_gxx_include_dir
902 enable_version_specific_runtime_libs
903 with_gcc_major_version_only
905 ac_precious_vars='build_alias
906 host_alias
907 target_alias
909 CFLAGS
910 LDFLAGS
911 LIBS
912 CPPFLAGS
914 CXXFLAGS
917 CXXCPP
918 CXXFILT'
921 # Initialize some variables set by options.
922 ac_init_help=
923 ac_init_version=false
924 ac_unrecognized_opts=
925 ac_unrecognized_sep=
926 # The variables have the same names as the options, with
927 # dashes changed to underlines.
928 cache_file=/dev/null
929 exec_prefix=NONE
930 no_create=
931 no_recursion=
932 prefix=NONE
933 program_prefix=NONE
934 program_suffix=NONE
935 program_transform_name=s,x,x,
936 silent=
937 site=
938 srcdir=
939 verbose=
940 x_includes=NONE
941 x_libraries=NONE
943 # Installation directory options.
944 # These are left unexpanded so users can "make install exec_prefix=/foo"
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 # (The list follows the same order as the GNU Coding Standards.)
949 bindir='${exec_prefix}/bin'
950 sbindir='${exec_prefix}/sbin'
951 libexecdir='${exec_prefix}/libexec'
952 datarootdir='${prefix}/share'
953 datadir='${datarootdir}'
954 sysconfdir='${prefix}/etc'
955 sharedstatedir='${prefix}/com'
956 localstatedir='${prefix}/var'
957 includedir='${prefix}/include'
958 oldincludedir='/usr/include'
959 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
960 infodir='${datarootdir}/info'
961 htmldir='${docdir}'
962 dvidir='${docdir}'
963 pdfdir='${docdir}'
964 psdir='${docdir}'
965 libdir='${exec_prefix}/lib'
966 localedir='${datarootdir}/locale'
967 mandir='${datarootdir}/man'
969 ac_prev=
970 ac_dashdash=
971 for ac_option
973 # If the previous option needs an argument, assign it.
974 if test -n "$ac_prev"; then
975 eval $ac_prev=\$ac_option
976 ac_prev=
977 continue
980 case $ac_option in
981 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982 *) ac_optarg=yes ;;
983 esac
985 # Accept the important Cygnus configure options, so we can diagnose typos.
987 case $ac_dashdash$ac_option in
989 ac_dashdash=yes ;;
991 -bindir | --bindir | --bindi | --bind | --bin | --bi)
992 ac_prev=bindir ;;
993 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
994 bindir=$ac_optarg ;;
996 -build | --build | --buil | --bui | --bu)
997 ac_prev=build_alias ;;
998 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
999 build_alias=$ac_optarg ;;
1001 -cache-file | --cache-file | --cache-fil | --cache-fi \
1002 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1003 ac_prev=cache_file ;;
1004 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1005 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1006 cache_file=$ac_optarg ;;
1008 --config-cache | -C)
1009 cache_file=config.cache ;;
1011 -datadir | --datadir | --datadi | --datad)
1012 ac_prev=datadir ;;
1013 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1014 datadir=$ac_optarg ;;
1016 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1017 | --dataroo | --dataro | --datar)
1018 ac_prev=datarootdir ;;
1019 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1020 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1021 datarootdir=$ac_optarg ;;
1023 -disable-* | --disable-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error "invalid feature name: $ac_useropt"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_$ac_useropt"
1033 "*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval enable_$ac_useropt=no ;;
1039 -docdir | --docdir | --docdi | --doc | --do)
1040 ac_prev=docdir ;;
1041 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1042 docdir=$ac_optarg ;;
1044 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045 ac_prev=dvidir ;;
1046 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1047 dvidir=$ac_optarg ;;
1049 -enable-* | --enable-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error "invalid feature name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "enable_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval enable_$ac_useropt=\$ac_optarg ;;
1065 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1066 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1067 | --exec | --exe | --ex)
1068 ac_prev=exec_prefix ;;
1069 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1070 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1071 | --exec=* | --exe=* | --ex=*)
1072 exec_prefix=$ac_optarg ;;
1074 -gas | --gas | --ga | --g)
1075 # Obsolete; use --with-gas.
1076 with_gas=yes ;;
1078 -help | --help | --hel | --he | -h)
1079 ac_init_help=long ;;
1080 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1081 ac_init_help=recursive ;;
1082 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1083 ac_init_help=short ;;
1085 -host | --host | --hos | --ho)
1086 ac_prev=host_alias ;;
1087 -host=* | --host=* | --hos=* | --ho=*)
1088 host_alias=$ac_optarg ;;
1090 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091 ac_prev=htmldir ;;
1092 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093 | --ht=*)
1094 htmldir=$ac_optarg ;;
1096 -includedir | --includedir | --includedi | --included | --include \
1097 | --includ | --inclu | --incl | --inc)
1098 ac_prev=includedir ;;
1099 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1100 | --includ=* | --inclu=* | --incl=* | --inc=*)
1101 includedir=$ac_optarg ;;
1103 -infodir | --infodir | --infodi | --infod | --info | --inf)
1104 ac_prev=infodir ;;
1105 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1106 infodir=$ac_optarg ;;
1108 -libdir | --libdir | --libdi | --libd)
1109 ac_prev=libdir ;;
1110 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1111 libdir=$ac_optarg ;;
1113 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1114 | --libexe | --libex | --libe)
1115 ac_prev=libexecdir ;;
1116 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1117 | --libexe=* | --libex=* | --libe=*)
1118 libexecdir=$ac_optarg ;;
1120 -localedir | --localedir | --localedi | --localed | --locale)
1121 ac_prev=localedir ;;
1122 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1123 localedir=$ac_optarg ;;
1125 -localstatedir | --localstatedir | --localstatedi | --localstated \
1126 | --localstate | --localstat | --localsta | --localst | --locals)
1127 ac_prev=localstatedir ;;
1128 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1129 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1130 localstatedir=$ac_optarg ;;
1132 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133 ac_prev=mandir ;;
1134 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1135 mandir=$ac_optarg ;;
1137 -nfp | --nfp | --nf)
1138 # Obsolete; use --without-fp.
1139 with_fp=no ;;
1141 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1142 | --no-cr | --no-c | -n)
1143 no_create=yes ;;
1145 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1146 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1147 no_recursion=yes ;;
1149 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1150 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1151 | --oldin | --oldi | --old | --ol | --o)
1152 ac_prev=oldincludedir ;;
1153 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1154 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1155 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1156 oldincludedir=$ac_optarg ;;
1158 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159 ac_prev=prefix ;;
1160 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1161 prefix=$ac_optarg ;;
1163 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1164 | --program-pre | --program-pr | --program-p)
1165 ac_prev=program_prefix ;;
1166 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1167 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1168 program_prefix=$ac_optarg ;;
1170 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1171 | --program-suf | --program-su | --program-s)
1172 ac_prev=program_suffix ;;
1173 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1174 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1175 program_suffix=$ac_optarg ;;
1177 -program-transform-name | --program-transform-name \
1178 | --program-transform-nam | --program-transform-na \
1179 | --program-transform-n | --program-transform- \
1180 | --program-transform | --program-transfor \
1181 | --program-transfo | --program-transf \
1182 | --program-trans | --program-tran \
1183 | --progr-tra | --program-tr | --program-t)
1184 ac_prev=program_transform_name ;;
1185 -program-transform-name=* | --program-transform-name=* \
1186 | --program-transform-nam=* | --program-transform-na=* \
1187 | --program-transform-n=* | --program-transform-=* \
1188 | --program-transform=* | --program-transfor=* \
1189 | --program-transfo=* | --program-transf=* \
1190 | --program-trans=* | --program-tran=* \
1191 | --progr-tra=* | --program-tr=* | --program-t=*)
1192 program_transform_name=$ac_optarg ;;
1194 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195 ac_prev=pdfdir ;;
1196 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1197 pdfdir=$ac_optarg ;;
1199 -psdir | --psdir | --psdi | --psd | --ps)
1200 ac_prev=psdir ;;
1201 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1202 psdir=$ac_optarg ;;
1204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1205 | -silent | --silent | --silen | --sile | --sil)
1206 silent=yes ;;
1208 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209 ac_prev=sbindir ;;
1210 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211 | --sbi=* | --sb=*)
1212 sbindir=$ac_optarg ;;
1214 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1215 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1216 | --sharedst | --shareds | --shared | --share | --shar \
1217 | --sha | --sh)
1218 ac_prev=sharedstatedir ;;
1219 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1220 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1221 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222 | --sha=* | --sh=*)
1223 sharedstatedir=$ac_optarg ;;
1225 -site | --site | --sit)
1226 ac_prev=site ;;
1227 -site=* | --site=* | --sit=*)
1228 site=$ac_optarg ;;
1230 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231 ac_prev=srcdir ;;
1232 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1233 srcdir=$ac_optarg ;;
1235 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1236 | --syscon | --sysco | --sysc | --sys | --sy)
1237 ac_prev=sysconfdir ;;
1238 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1239 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1240 sysconfdir=$ac_optarg ;;
1242 -target | --target | --targe | --targ | --tar | --ta | --t)
1243 ac_prev=target_alias ;;
1244 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1245 target_alias=$ac_optarg ;;
1247 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1248 verbose=yes ;;
1250 -version | --version | --versio | --versi | --vers | -V)
1251 ac_init_version=: ;;
1253 -with-* | --with-*)
1254 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1257 as_fn_error "invalid package name: $ac_useropt"
1258 ac_useropt_orig=$ac_useropt
1259 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1260 case $ac_user_opts in
1262 "with_$ac_useropt"
1263 "*) ;;
1264 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1265 ac_unrecognized_sep=', ';;
1266 esac
1267 eval with_$ac_useropt=\$ac_optarg ;;
1269 -without-* | --without-*)
1270 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1273 as_fn_error "invalid package name: $ac_useropt"
1274 ac_useropt_orig=$ac_useropt
1275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1278 "with_$ac_useropt"
1279 "*) ;;
1280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1281 ac_unrecognized_sep=', ';;
1282 esac
1283 eval with_$ac_useropt=no ;;
1285 --x)
1286 # Obsolete; use --with-x.
1287 with_x=yes ;;
1289 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1290 | --x-incl | --x-inc | --x-in | --x-i)
1291 ac_prev=x_includes ;;
1292 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1293 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1294 x_includes=$ac_optarg ;;
1296 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1297 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1298 ac_prev=x_libraries ;;
1299 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1300 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1301 x_libraries=$ac_optarg ;;
1303 -*) as_fn_error "unrecognized option: \`$ac_option'
1304 Try \`$0 --help' for more information."
1307 *=*)
1308 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309 # Reject names that are not valid shell variable names.
1310 case $ac_envvar in #(
1311 '' | [0-9]* | *[!_$as_cr_alnum]* )
1312 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1313 esac
1314 eval $ac_envvar=\$ac_optarg
1315 export $ac_envvar ;;
1318 # FIXME: should be removed in autoconf 3.0.
1319 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1320 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1321 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1322 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1325 esac
1326 done
1328 if test -n "$ac_prev"; then
1329 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1330 as_fn_error "missing argument to $ac_option"
1333 if test -n "$ac_unrecognized_opts"; then
1334 case $enable_option_checking in
1335 no) ;;
1336 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1337 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1338 esac
1341 # Check all directory arguments for consistency.
1342 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1343 datadir sysconfdir sharedstatedir localstatedir includedir \
1344 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1345 libdir localedir mandir
1347 eval ac_val=\$$ac_var
1348 # Remove trailing slashes.
1349 case $ac_val in
1350 */ )
1351 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1352 eval $ac_var=\$ac_val;;
1353 esac
1354 # Be sure to have absolute directory names.
1355 case $ac_val in
1356 [\\/$]* | ?:[\\/]* ) continue;;
1357 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358 esac
1359 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1360 done
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1365 build=$build_alias
1366 host=$host_alias
1367 target=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x; then
1371 if test "x$build_alias" = x; then
1372 cross_compiling=maybe
1373 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used." >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1376 cross_compiling=yes
1380 ac_tool_prefix=
1381 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383 test "$silent" = yes && exec 6>/dev/null
1386 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di=`ls -di .` &&
1388 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1389 as_fn_error "working directory cannot be determined"
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 as_fn_error "pwd does not report name of working directory"
1394 # Find the source files, if location was not specified.
1395 if test -z "$srcdir"; then
1396 ac_srcdir_defaulted=yes
1397 # Try the directory containing this script, then the parent directory.
1398 ac_confdir=`$as_dirname -- "$as_myself" ||
1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400 X"$as_myself" : 'X\(//\)[^/]' \| \
1401 X"$as_myself" : 'X\(//\)$' \| \
1402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1403 $as_echo X"$as_myself" |
1404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 s//\1/
1408 /^X\(\/\/\)[^/].*/{
1409 s//\1/
1412 /^X\(\/\/\)$/{
1413 s//\1/
1416 /^X\(\/\).*/{
1417 s//\1/
1420 s/.*/./; q'`
1421 srcdir=$ac_confdir
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 srcdir=..
1425 else
1426 ac_srcdir_defaulted=no
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1429 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1430 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 ac_abs_confdir=`(
1434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1435 pwd)`
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1438 srcdir=.
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1443 case $srcdir in
1444 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445 esac
1446 for ac_var in $ac_precious_vars; do
1447 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_${ac_var}_value=\$${ac_var}
1449 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1451 done
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1459 cat <<_ACEOF
1460 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1469 Configuration:
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1484 [PREFIX]
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1513 _ACEOF
1515 cat <<\_ACEOF
1517 Program names:
1518 --program-prefix=PREFIX prepend PREFIX to installed program names
1519 --program-suffix=SUFFIX append SUFFIX to installed program names
1520 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1522 System types:
1523 --build=BUILD configure for building on BUILD [guessed]
1524 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1525 --target=TARGET configure for building compilers for TARGET [HOST]
1526 _ACEOF
1529 if test -n "$ac_init_help"; then
1530 case $ac_init_help in
1531 short | recursive ) echo "Configuration of package-unused version-unused:";;
1532 esac
1533 cat <<\_ACEOF
1535 Optional Features:
1536 --disable-option-checking ignore unrecognized --enable/--with options
1537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1539 --enable-multilib build many library versions (default)
1540 --enable-maintainer-mode enable make rules and dependencies not useful
1541 (and sometimes confusing) to the casual installer
1542 --enable-shared[=PKGS] build shared libraries [default=yes]
1543 --enable-static[=PKGS] build static libraries [default=yes]
1544 --enable-fast-install[=PKGS]
1545 optimize for fast installation [default=yes]
1546 --disable-libtool-lock avoid locking (might break parallel builds)
1547 --disable-hosted-libstdcxx
1548 only build freestanding C++ runtime support
1549 --disable-libstdcxx-verbose
1550 disable termination messages to standard error
1551 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1552 [default=$is_hosted]
1553 --enable-cstdio[=PACKAGE]
1554 use target-specific I/O package [default=stdio]
1555 --enable-clocale[=MODEL]
1556 use MODEL for target locale package [default=auto]
1557 --enable-nls use Native Language Support (default)
1558 --enable-libstdcxx-allocator[=KIND]
1559 use KIND for target std::allocator base
1560 [default=auto]
1561 --enable-cheaders[=KIND]
1562 construct "C" headers for g++ [default=$c_model]
1563 --enable-long-long enable template specializations for 'long long'
1564 [default=yes]
1565 --enable-wchar_t enable template specializations for 'wchar_t'
1566 [default=yes]
1567 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1568 --enable-concept-checks use Boost-derived template checks [default=no]
1569 --enable-libstdcxx-debug-flags=FLAGS
1570 pass compiler FLAGS when building debug library
1571 [default="-gdwarf-4 -g3 -O0"]
1572 --enable-libstdcxx-debug
1573 build extra debug library [default=no]
1574 --enable-cxx-flags=FLAGS
1575 pass compiler FLAGS when building library [default=]
1576 --enable-fully-dynamic-string
1577 do not put empty strings in per-process static
1578 memory [default=no]
1579 --enable-extern-template
1580 enable extern template [default=yes]
1581 --enable-werror turns on -Werror [default=yes]
1582 --enable-vtable-verify enable vtable verify [default=no]
1583 --enable-libstdcxx-time[=KIND]
1584 use KIND for check type [default=auto]
1585 --enable-tls Use thread-local storage [default=yes]
1586 --disable-rpath do not hardcode runtime library paths
1587 --enable-linux-futex use the Linux futex system call [default=default]
1588 --enable-symvers[=STYLE]
1589 enables symbol versioning of the shared library
1590 [default=yes]
1591 --enable-libstdcxx-visibility
1592 enables visibility safe usage [default=yes]
1593 --enable-libstdcxx-dual-abi
1594 support two versions of std::string [default=yes]
1595 --enable-libstdcxx-threads
1596 enable C++11 threads support [default=auto]
1597 --enable-libstdcxx-filesystem-ts
1598 turns on ISO/IEC TS 18822 support [default=auto]
1599 --enable-cet enable Intel CET in target libraries
1600 [default=default]
1601 --enable-version-specific-runtime-libs
1602 Specify that runtime libraries should be installed
1603 in a compiler-specific directory
1605 Optional Packages:
1606 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1607 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1608 --with-target-subdir=SUBDIR
1609 configuring in a subdirectory
1610 --with-cross-host=HOST configuring with a cross compiler
1611 --with-newlib assume newlib as a system C library
1612 --with-pic try to use only PIC/non-PIC objects [default=use
1613 both]
1614 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1615 --with-python-dir the location to install Python modules. This path is
1616 relative starting from the prefix.
1617 --with-gnu-ld assume the C compiler uses GNU ld default=no
1618 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1619 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1620 --with-system-libunwind use installed libunwind
1621 --with-default-libstdcxx-abi
1622 set the std::string ABI to use by default
1623 --with-gxx-include-dir=DIR
1624 installation directory for include files
1625 --with-gcc-major-version-only
1626 use only GCC major number in filesystem paths
1628 Some influential environment variables:
1629 CC C compiler command
1630 CFLAGS C compiler flags
1631 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1632 nonstandard directory <lib dir>
1633 LIBS libraries to pass to the linker, e.g. -l<library>
1634 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1635 you have headers in a nonstandard directory <include dir>
1636 CXX C++ compiler command
1637 CXXFLAGS C++ compiler flags
1638 CPP C preprocessor
1639 CXXCPP C++ preprocessor
1640 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1641 `c++filt', `gc++filt' on PATH.
1643 Use these variables to override the choices made by `configure' or to help
1644 it to find libraries and programs with nonstandard names/locations.
1646 Report bugs to the package provider.
1647 _ACEOF
1648 ac_status=$?
1651 if test "$ac_init_help" = "recursive"; then
1652 # If there are subdirs, report their specific --help.
1653 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1654 test -d "$ac_dir" ||
1655 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1656 continue
1657 ac_builddir=.
1659 case "$ac_dir" in
1660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1663 # A ".." for each directory in $ac_dir_suffix.
1664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1665 case $ac_top_builddir_sub in
1666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1668 esac ;;
1669 esac
1670 ac_abs_top_builddir=$ac_pwd
1671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1672 # for backward compatibility:
1673 ac_top_builddir=$ac_top_build_prefix
1675 case $srcdir in
1676 .) # We are building in place.
1677 ac_srcdir=.
1678 ac_top_srcdir=$ac_top_builddir_sub
1679 ac_abs_top_srcdir=$ac_pwd ;;
1680 [\\/]* | ?:[\\/]* ) # Absolute name.
1681 ac_srcdir=$srcdir$ac_dir_suffix;
1682 ac_top_srcdir=$srcdir
1683 ac_abs_top_srcdir=$srcdir ;;
1684 *) # Relative name.
1685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1686 ac_top_srcdir=$ac_top_build_prefix$srcdir
1687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688 esac
1689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1691 cd "$ac_dir" || { ac_status=$?; continue; }
1692 # Check for guested configure.
1693 if test -f "$ac_srcdir/configure.gnu"; then
1694 echo &&
1695 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1696 elif test -f "$ac_srcdir/configure"; then
1697 echo &&
1698 $SHELL "$ac_srcdir/configure" --help=recursive
1699 else
1700 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701 fi || ac_status=$?
1702 cd "$ac_pwd" || { ac_status=$?; break; }
1703 done
1706 test -n "$ac_init_help" && exit $ac_status
1707 if $ac_init_version; then
1708 cat <<\_ACEOF
1709 package-unused configure version-unused
1710 generated by GNU Autoconf 2.64
1712 Copyright (C) 2009 Free Software Foundation, Inc.
1713 This configure script is free software; the Free Software Foundation
1714 gives unlimited permission to copy, distribute and modify it.
1715 _ACEOF
1716 exit
1719 ## ------------------------ ##
1720 ## Autoconf initialization. ##
1721 ## ------------------------ ##
1723 # ac_fn_c_try_compile LINENO
1724 # --------------------------
1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_c_try_compile ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext
1730 if { { ac_try="$ac_compile"
1731 case "(($ac_try" in
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1734 esac
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_compile") 2>conftest.err
1738 ac_status=$?
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest.$ac_objext; then :
1749 ac_retval=0
1750 else
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 ac_retval=1
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757 return $ac_retval
1759 } # ac_fn_c_try_compile
1761 # ac_fn_cxx_try_compile LINENO
1762 # ----------------------------
1763 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1764 ac_fn_cxx_try_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext
1768 if { { ac_try="$ac_compile"
1769 case "(($ac_try" in
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_compile") 2>conftest.err
1776 ac_status=$?
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_cxx_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest.$ac_objext; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1792 ac_retval=1
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795 return $ac_retval
1797 } # ac_fn_cxx_try_compile
1799 # ac_fn_c_try_cpp LINENO
1800 # ----------------------
1801 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_c_try_cpp ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_cpp conftest.$ac_ext"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } >/dev/null && {
1821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 }; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 return $ac_retval
1834 } # ac_fn_c_try_cpp
1836 # ac_fn_c_try_link LINENO
1837 # -----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_c_try_link ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext conftest$ac_exeext
1843 if { { ac_try="$ac_link"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_c_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest$ac_exeext
1864 }; then :
1865 ac_retval=0
1866 else
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=1
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 return $ac_retval
1880 } # ac_fn_c_try_link
1882 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1883 # -------------------------------------------------------
1884 # Tests whether HEADER exists and can be compiled using the include files in
1885 # INCLUDES, setting the cache variable VAR accordingly.
1886 ac_fn_c_check_header_compile ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1893 else
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1897 #include <$2>
1898 _ACEOF
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900 eval "$3=yes"
1901 else
1902 eval "$3=no"
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 eval ac_res=\$$3
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_check_header_compile
1913 # ac_fn_c_try_run LINENO
1914 # ----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916 # that executables *can* be run.
1917 ac_fn_c_try_run ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { { ac_try="$ac_link"
1921 case "(($ac_try" in
1922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923 *) ac_try_echo=$ac_try;;
1924 esac
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>&5
1928 ac_status=$?
1929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931 { { case "(($ac_try" in
1932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933 *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937 (eval "$ac_try") 2>&5
1938 ac_status=$?
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; }; }; then :
1941 ac_retval=0
1942 else
1943 $as_echo "$as_me: program exited with status $ac_status" >&5
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1947 ac_retval=$ac_status
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 return $ac_retval
1953 } # ac_fn_c_try_run
1955 # ac_fn_c_check_func LINENO FUNC VAR
1956 # ----------------------------------
1957 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1958 ac_fn_c_check_func ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test x$gcc_no_link = xyes; then
1967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973 #define $2 innocuous_$2
1975 /* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (); below.
1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978 <limits.h> exists even on freestanding compilers. */
1980 #ifdef __STDC__
1981 # include <limits.h>
1982 #else
1983 # include <assert.h>
1984 #endif
1986 #undef $2
1988 /* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 char $2 ();
1995 /* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998 #if defined __stub_$2 || defined __stub___$2
1999 choke me
2000 #endif
2003 main ()
2005 return $2 ();
2007 return 0;
2009 _ACEOF
2010 if ac_fn_c_try_link "$LINENO"; then :
2011 eval "$3=yes"
2012 else
2013 eval "$3=no"
2015 rm -f core conftest.err conftest.$ac_objext \
2016 conftest$ac_exeext conftest.$ac_ext
2018 eval ac_res=\$$3
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2023 } # ac_fn_c_check_func
2025 # ac_fn_cxx_try_cpp LINENO
2026 # ------------------------
2027 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_cpp ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if { { ac_try="$ac_cpp conftest.$ac_ext"
2032 case "(($ac_try" in
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2035 esac
2036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037 $as_echo "$ac_try_echo"; } >&5
2038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2039 ac_status=$?
2040 if test -s conftest.err; then
2041 grep -v '^ *+' conftest.err >conftest.er1
2042 cat conftest.er1 >&5
2043 mv -f conftest.er1 conftest.err
2045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046 test $ac_status = 0; } >/dev/null && {
2047 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2048 test ! -s conftest.err
2049 }; then :
2050 ac_retval=0
2051 else
2052 $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2055 ac_retval=1
2057 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2058 return $ac_retval
2060 } # ac_fn_cxx_try_cpp
2062 # ac_fn_cxx_try_link LINENO
2063 # -------------------------
2064 # Try to link conftest.$ac_ext, and return whether this succeeded.
2065 ac_fn_cxx_try_link ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 rm -f conftest.$ac_objext conftest$ac_exeext
2069 if { { ac_try="$ac_link"
2070 case "(($ac_try" in
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2073 esac
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_link") 2>conftest.err
2077 ac_status=$?
2078 if test -s conftest.err; then
2079 grep -v '^ *+' conftest.err >conftest.er1
2080 cat conftest.er1 >&5
2081 mv -f conftest.er1 conftest.err
2083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084 test $ac_status = 0; } && {
2085 test -z "$ac_cxx_werror_flag" ||
2086 test ! -s conftest.err
2087 } && test -s conftest$ac_exeext && {
2088 test "$cross_compiling" = yes ||
2089 $as_test_x conftest$ac_exeext
2090 }; then :
2091 ac_retval=0
2092 else
2093 $as_echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2096 ac_retval=1
2098 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2099 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2100 # interfere with the next link command; also delete a directory that is
2101 # left behind by Apple's compiler. We do this before executing the actions.
2102 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 return $ac_retval
2106 } # ac_fn_cxx_try_link
2108 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2109 # -------------------------------------------------------
2110 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2111 # the include files in INCLUDES and setting the cache variable VAR
2112 # accordingly.
2113 ac_fn_c_check_header_mongrel ()
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2118 $as_echo_n "checking for $2... " >&6; }
2119 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2120 $as_echo_n "(cached) " >&6
2122 eval ac_res=\$$3
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124 $as_echo "$ac_res" >&6; }
2125 else
2126 # Is the header compilable?
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2128 $as_echo_n "checking $2 usability... " >&6; }
2129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h. */
2132 #include <$2>
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135 ac_header_compiler=yes
2136 else
2137 ac_header_compiler=no
2139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2141 $as_echo "$ac_header_compiler" >&6; }
2143 # Is the header present?
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2145 $as_echo_n "checking $2 presence... " >&6; }
2146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 /* end confdefs.h. */
2148 #include <$2>
2149 _ACEOF
2150 if ac_fn_c_try_cpp "$LINENO"; then :
2151 ac_header_preproc=yes
2152 else
2153 ac_header_preproc=no
2155 rm -f conftest.err conftest.$ac_ext
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2157 $as_echo "$ac_header_preproc" >&6; }
2159 # So? What about this header?
2160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2161 yes:no: )
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2163 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2165 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 no:yes:* )
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2169 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2171 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2173 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2175 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2177 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179 esac
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2181 $as_echo_n "checking for $2... " >&6; }
2182 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2183 $as_echo_n "(cached) " >&6
2184 else
2185 eval "$3=\$ac_header_compiler"
2187 eval ac_res=\$$3
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2193 } # ac_fn_c_check_header_mongrel
2195 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2196 # ---------------------------------------------------------
2197 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198 # the include files in INCLUDES and setting the cache variable VAR
2199 # accordingly.
2200 ac_fn_cxx_check_header_mongrel ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205 $as_echo_n "checking for $2... " >&6; }
2206 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2207 $as_echo_n "(cached) " >&6
2209 eval ac_res=\$$3
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211 $as_echo "$ac_res" >&6; }
2212 else
2213 # Is the header compilable?
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215 $as_echo_n "checking $2 usability... " >&6; }
2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2219 #include <$2>
2220 _ACEOF
2221 if ac_fn_cxx_try_compile "$LINENO"; then :
2222 ac_header_compiler=yes
2223 else
2224 ac_header_compiler=no
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228 $as_echo "$ac_header_compiler" >&6; }
2230 # Is the header present?
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232 $as_echo_n "checking $2 presence... " >&6; }
2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234 /* end confdefs.h. */
2235 #include <$2>
2236 _ACEOF
2237 if ac_fn_cxx_try_cpp "$LINENO"; then :
2238 ac_header_preproc=yes
2239 else
2240 ac_header_preproc=no
2242 rm -f conftest.err conftest.$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244 $as_echo "$ac_header_preproc" >&6; }
2246 # So? What about this header?
2247 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2248 yes:no: )
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 no:yes:* )
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2258 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2262 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266 esac
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2268 $as_echo_n "checking for $2... " >&6; }
2269 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2270 $as_echo_n "(cached) " >&6
2271 else
2272 eval "$3=\$ac_header_compiler"
2274 eval ac_res=\$$3
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2276 $as_echo "$ac_res" >&6; }
2278 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2280 } # ac_fn_cxx_check_header_mongrel
2282 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2283 # --------------------------------------------
2284 # Tries to find the compile-time value of EXPR in a program that includes
2285 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2286 # computed
2287 ac_fn_c_compute_int ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 if test "$cross_compiling" = yes; then
2291 # Depending upon the size, compute the lo and hi bounds.
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2296 main ()
2298 static int test_array [1 - 2 * !(($2) >= 0)];
2299 test_array [0] = 0
2302 return 0;
2304 _ACEOF
2305 if ac_fn_c_try_compile "$LINENO"; then :
2306 ac_lo=0 ac_mid=0
2307 while :; do
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2312 main ()
2314 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315 test_array [0] = 0
2318 return 0;
2320 _ACEOF
2321 if ac_fn_c_try_compile "$LINENO"; then :
2322 ac_hi=$ac_mid; break
2323 else
2324 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2325 if test $ac_lo -le $ac_mid; then
2326 ac_lo= ac_hi=
2327 break
2329 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 done
2333 else
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2338 main ()
2340 static int test_array [1 - 2 * !(($2) < 0)];
2341 test_array [0] = 0
2344 return 0;
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348 ac_hi=-1 ac_mid=-1
2349 while :; do
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2354 main ()
2356 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2357 test_array [0] = 0
2360 return 0;
2362 _ACEOF
2363 if ac_fn_c_try_compile "$LINENO"; then :
2364 ac_lo=$ac_mid; break
2365 else
2366 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2367 if test $ac_mid -le $ac_hi; then
2368 ac_lo= ac_hi=
2369 break
2371 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 done
2375 else
2376 ac_lo= ac_hi=
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 # Binary search between lo and hi bounds.
2382 while test "x$ac_lo" != "x$ac_hi"; do
2383 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2391 test_array [0] = 0
2394 return 0;
2396 _ACEOF
2397 if ac_fn_c_try_compile "$LINENO"; then :
2398 ac_hi=$ac_mid
2399 else
2400 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2403 done
2404 case $ac_lo in #((
2405 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2406 '') ac_retval=1 ;;
2407 esac
2408 else
2409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2412 static long int longval () { return $2; }
2413 static unsigned long int ulongval () { return $2; }
2414 #include <stdio.h>
2415 #include <stdlib.h>
2417 main ()
2420 FILE *f = fopen ("conftest.val", "w");
2421 if (! f)
2422 return 1;
2423 if (($2) < 0)
2425 long int i = longval ();
2426 if (i != ($2))
2427 return 1;
2428 fprintf (f, "%ld", i);
2430 else
2432 unsigned long int i = ulongval ();
2433 if (i != ($2))
2434 return 1;
2435 fprintf (f, "%lu", i);
2437 /* Do not output a trailing newline, as this causes \r\n confusion
2438 on some platforms. */
2439 return ferror (f) || fclose (f) != 0;
2442 return 0;
2444 _ACEOF
2445 if ac_fn_c_try_run "$LINENO"; then :
2446 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2447 else
2448 ac_retval=1
2450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2451 conftest.$ac_objext conftest.beam conftest.$ac_ext
2452 rm -f conftest.val
2455 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 return $ac_retval
2458 } # ac_fn_c_compute_int
2460 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2461 # -------------------------------------------
2462 # Tests whether TYPE exists after having included INCLUDES, setting cache
2463 # variable VAR accordingly.
2464 ac_fn_c_check_type ()
2466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2468 $as_echo_n "checking for $2... " >&6; }
2469 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2470 $as_echo_n "(cached) " >&6
2471 else
2472 eval "$3=no"
2473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474 /* end confdefs.h. */
2477 main ()
2479 if (sizeof ($2))
2480 return 0;
2482 return 0;
2484 _ACEOF
2485 if ac_fn_c_try_compile "$LINENO"; then :
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2490 main ()
2492 if (sizeof (($2)))
2493 return 0;
2495 return 0;
2497 _ACEOF
2498 if ac_fn_c_try_compile "$LINENO"; then :
2500 else
2501 eval "$3=yes"
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 eval ac_res=\$$3
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2510 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2512 } # ac_fn_c_check_type
2514 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2515 # ---------------------------------------------
2516 # Tests whether TYPE exists after having included INCLUDES, setting cache
2517 # variable VAR accordingly.
2518 ac_fn_cxx_check_type ()
2520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2522 $as_echo_n "checking for $2... " >&6; }
2523 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2524 $as_echo_n "(cached) " >&6
2525 else
2526 eval "$3=no"
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2531 main ()
2533 if (sizeof ($2))
2534 return 0;
2536 return 0;
2538 _ACEOF
2539 if ac_fn_cxx_try_compile "$LINENO"; then :
2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2541 /* end confdefs.h. */
2544 main ()
2546 if (sizeof (($2)))
2547 return 0;
2549 return 0;
2551 _ACEOF
2552 if ac_fn_cxx_try_compile "$LINENO"; then :
2554 else
2555 eval "$3=yes"
2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 eval ac_res=\$$3
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2566 } # ac_fn_cxx_check_type
2567 cat >config.log <<_ACEOF
2568 This file contains any messages produced by compilers while
2569 running configure, to aid debugging if configure makes a mistake.
2571 It was created by package-unused $as_me version-unused, which was
2572 generated by GNU Autoconf 2.64. Invocation command line was
2574 $ $0 $@
2576 _ACEOF
2577 exec 5>>config.log
2579 cat <<_ASUNAME
2580 ## --------- ##
2581 ## Platform. ##
2582 ## --------- ##
2584 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2585 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2586 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2587 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2588 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2590 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2591 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2593 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2594 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2595 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2596 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2597 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2598 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2599 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2601 _ASUNAME
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 for as_dir in $PATH
2606 IFS=$as_save_IFS
2607 test -z "$as_dir" && as_dir=.
2608 $as_echo "PATH: $as_dir"
2609 done
2610 IFS=$as_save_IFS
2612 } >&5
2614 cat >&5 <<_ACEOF
2617 ## ----------- ##
2618 ## Core tests. ##
2619 ## ----------- ##
2621 _ACEOF
2624 # Keep a trace of the command line.
2625 # Strip out --no-create and --no-recursion so they do not pile up.
2626 # Strip out --silent because we don't want to record it for future runs.
2627 # Also quote any args containing shell meta-characters.
2628 # Make two passes to allow for proper duplicate-argument suppression.
2629 ac_configure_args=
2630 ac_configure_args0=
2631 ac_configure_args1=
2632 ac_must_keep_next=false
2633 for ac_pass in 1 2
2635 for ac_arg
2637 case $ac_arg in
2638 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2640 | -silent | --silent | --silen | --sile | --sil)
2641 continue ;;
2642 *\'*)
2643 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2644 esac
2645 case $ac_pass in
2646 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2648 as_fn_append ac_configure_args1 " '$ac_arg'"
2649 if test $ac_must_keep_next = true; then
2650 ac_must_keep_next=false # Got value, back to normal.
2651 else
2652 case $ac_arg in
2653 *=* | --config-cache | -C | -disable-* | --disable-* \
2654 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2655 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2656 | -with-* | --with-* | -without-* | --without-* | --x)
2657 case "$ac_configure_args0 " in
2658 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2659 esac
2661 -* ) ac_must_keep_next=true ;;
2662 esac
2664 as_fn_append ac_configure_args " '$ac_arg'"
2666 esac
2667 done
2668 done
2669 { ac_configure_args0=; unset ac_configure_args0;}
2670 { ac_configure_args1=; unset ac_configure_args1;}
2672 # When interrupted or exit'd, cleanup temporary files, and complete
2673 # config.log. We remove comments because anyway the quotes in there
2674 # would cause problems or look ugly.
2675 # WARNING: Use '\'' to represent an apostrophe within the trap.
2676 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2677 trap 'exit_status=$?
2678 # Save into config.log some information that might help in debugging.
2680 echo
2682 cat <<\_ASBOX
2683 ## ---------------- ##
2684 ## Cache variables. ##
2685 ## ---------------- ##
2686 _ASBOX
2687 echo
2688 # The following way of writing the cache mishandles newlines in values,
2690 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2691 eval ac_val=\$$ac_var
2692 case $ac_val in #(
2693 *${as_nl}*)
2694 case $ac_var in #(
2695 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2696 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2697 esac
2698 case $ac_var in #(
2699 _ | IFS | as_nl) ;; #(
2700 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2701 *) { eval $ac_var=; unset $ac_var;} ;;
2702 esac ;;
2703 esac
2704 done
2705 (set) 2>&1 |
2706 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2707 *${as_nl}ac_space=\ *)
2708 sed -n \
2709 "s/'\''/'\''\\\\'\'''\''/g;
2710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2711 ;; #(
2713 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2715 esac |
2716 sort
2718 echo
2720 cat <<\_ASBOX
2721 ## ----------------- ##
2722 ## Output variables. ##
2723 ## ----------------- ##
2724 _ASBOX
2725 echo
2726 for ac_var in $ac_subst_vars
2728 eval ac_val=\$$ac_var
2729 case $ac_val in
2730 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2731 esac
2732 $as_echo "$ac_var='\''$ac_val'\''"
2733 done | sort
2734 echo
2736 if test -n "$ac_subst_files"; then
2737 cat <<\_ASBOX
2738 ## ------------------- ##
2739 ## File substitutions. ##
2740 ## ------------------- ##
2741 _ASBOX
2742 echo
2743 for ac_var in $ac_subst_files
2745 eval ac_val=\$$ac_var
2746 case $ac_val in
2747 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2748 esac
2749 $as_echo "$ac_var='\''$ac_val'\''"
2750 done | sort
2751 echo
2754 if test -s confdefs.h; then
2755 cat <<\_ASBOX
2756 ## ----------- ##
2757 ## confdefs.h. ##
2758 ## ----------- ##
2759 _ASBOX
2760 echo
2761 cat confdefs.h
2762 echo
2764 test "$ac_signal" != 0 &&
2765 $as_echo "$as_me: caught signal $ac_signal"
2766 $as_echo "$as_me: exit $exit_status"
2767 } >&5
2768 rm -f core *.core core.conftest.* &&
2769 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2770 exit $exit_status
2772 for ac_signal in 1 2 13 15; do
2773 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2774 done
2775 ac_signal=0
2777 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2778 rm -f -r conftest* confdefs.h
2780 $as_echo "/* confdefs.h */" > confdefs.h
2782 # Predefined preprocessor variables.
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_NAME "$PACKAGE_NAME"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_STRING "$PACKAGE_STRING"
2798 _ACEOF
2800 cat >>confdefs.h <<_ACEOF
2801 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2802 _ACEOF
2804 cat >>confdefs.h <<_ACEOF
2805 #define PACKAGE_URL "$PACKAGE_URL"
2806 _ACEOF
2809 # Let the site file select an alternate cache file if it wants to.
2810 # Prefer an explicitly selected file to automatically selected ones.
2811 ac_site_file1=NONE
2812 ac_site_file2=NONE
2813 if test -n "$CONFIG_SITE"; then
2814 ac_site_file1=$CONFIG_SITE
2815 elif test "x$prefix" != xNONE; then
2816 ac_site_file1=$prefix/share/config.site
2817 ac_site_file2=$prefix/etc/config.site
2818 else
2819 ac_site_file1=$ac_default_prefix/share/config.site
2820 ac_site_file2=$ac_default_prefix/etc/config.site
2822 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2824 test "x$ac_site_file" = xNONE && continue
2825 if test -r "$ac_site_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2827 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2828 sed 's/^/| /' "$ac_site_file" >&5
2829 . "$ac_site_file"
2831 done
2833 if test -r "$cache_file"; then
2834 # Some versions of bash will fail to source /dev/null (special
2835 # files actually), so we avoid doing that.
2836 if test -f "$cache_file"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2838 $as_echo "$as_me: loading cache $cache_file" >&6;}
2839 case $cache_file in
2840 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2841 *) . "./$cache_file";;
2842 esac
2844 else
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2846 $as_echo "$as_me: creating cache $cache_file" >&6;}
2847 >$cache_file
2850 # Check that the precious variables saved in the cache have kept the same
2851 # value.
2852 ac_cache_corrupted=false
2853 for ac_var in $ac_precious_vars; do
2854 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2855 eval ac_new_set=\$ac_env_${ac_var}_set
2856 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2857 eval ac_new_val=\$ac_env_${ac_var}_value
2858 case $ac_old_set,$ac_new_set in
2859 set,)
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2861 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2862 ac_cache_corrupted=: ;;
2863 ,set)
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2865 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2866 ac_cache_corrupted=: ;;
2867 ,);;
2869 if test "x$ac_old_val" != "x$ac_new_val"; then
2870 # differences in whitespace do not lead to failure.
2871 ac_old_val_w=`echo x $ac_old_val`
2872 ac_new_val_w=`echo x $ac_new_val`
2873 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2875 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2876 ac_cache_corrupted=:
2877 else
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2879 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2880 eval $ac_var=\$ac_old_val
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2883 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2885 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2886 fi;;
2887 esac
2888 # Pass precious variables to config.status.
2889 if test "$ac_new_set" = set; then
2890 case $ac_new_val in
2891 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2892 *) ac_arg=$ac_var=$ac_new_val ;;
2893 esac
2894 case " $ac_configure_args " in
2895 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2896 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2897 esac
2899 done
2900 if $ac_cache_corrupted; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2904 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2905 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2907 ## -------------------- ##
2908 ## Main body of script. ##
2909 ## -------------------- ##
2911 ac_ext=c
2912 ac_cpp='$CPP $CPPFLAGS'
2913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2922 ac_config_headers="$ac_config_headers config.h"
2925 # This works around the fact that libtool configuration may change LD
2926 # for this particular configuration, but some shells, instead of
2927 # keeping the changes in LD private, export them just because LD is
2928 # exported. Only used at the end of this file.
2929 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2931 # Find the rest of the source tree framework.
2932 # Default to --enable-multilib
2933 # Check whether --enable-multilib was given.
2934 if test "${enable_multilib+set}" = set; then :
2935 enableval=$enable_multilib; case "$enableval" in
2936 yes) multilib=yes ;;
2937 no) multilib=no ;;
2938 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2939 esac
2940 else
2941 multilib=yes
2945 # We may get other options which we leave undocumented:
2946 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2947 # See config-ml.in if you want the gory details.
2949 if test "$srcdir" = "."; then
2950 if test "$with_target_subdir" != "."; then
2951 multi_basedir="$srcdir/$with_multisrctop../.."
2952 else
2953 multi_basedir="$srcdir/$with_multisrctop.."
2955 else
2956 multi_basedir="$srcdir/.."
2960 # Even if the default multilib is not a cross compilation,
2961 # it may be that some of the other multilibs are.
2962 if test $cross_compiling = no && test $multilib = yes \
2963 && test "x${with_multisubdir}" != x ; then
2964 cross_compiling=maybe
2967 ac_config_commands="$ac_config_commands default-1"
2970 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2972 # You will slowly go insane if you do not grok the following fact: when
2973 # building v3 as part of the compiler, the top-level /target/ becomes the
2974 # library's /host/. configure then causes --target to default to --host,
2975 # exactly like any other package using autoconf. Therefore, 'target' and
2976 # 'host' will always be the same. This makes sense both for native and
2977 # cross compilers, just think about it for a little while. :-)
2979 # Also, if v3 is being configured as part of a cross compiler, the top-level
2980 # configure script will pass the "real" host as $with_cross_host.
2982 # Do not delete or change the following two lines. For why, see
2983 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2984 ac_aux_dir=
2985 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2986 for ac_t in install-sh install.sh shtool; do
2987 if test -f "$ac_dir/$ac_t"; then
2988 ac_aux_dir=$ac_dir
2989 ac_install_sh="$ac_aux_dir/$ac_t -c"
2990 break 2
2992 done
2993 done
2994 if test -z "$ac_aux_dir"; then
2995 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2998 # These three variables are undocumented and unsupported,
2999 # and are intended to be withdrawn in a future Autoconf release.
3000 # They can cause serious problems if a builder's source tree is in a directory
3001 # whose full name contains unusual characters.
3002 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3003 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3004 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3007 # Make sure we can run config.sub.
3008 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3009 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3012 $as_echo_n "checking build system type... " >&6; }
3013 if test "${ac_cv_build+set}" = set; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 ac_build_alias=$build_alias
3017 test "x$ac_build_alias" = x &&
3018 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3019 test "x$ac_build_alias" = x &&
3020 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3021 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3022 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3026 $as_echo "$ac_cv_build" >&6; }
3027 case $ac_cv_build in
3028 *-*-*) ;;
3029 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3030 esac
3031 build=$ac_cv_build
3032 ac_save_IFS=$IFS; IFS='-'
3033 set x $ac_cv_build
3034 shift
3035 build_cpu=$1
3036 build_vendor=$2
3037 shift; shift
3038 # Remember, the first character of IFS is used to create $*,
3039 # except with old shells:
3040 build_os=$*
3041 IFS=$ac_save_IFS
3042 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3046 $as_echo_n "checking host system type... " >&6; }
3047 if test "${ac_cv_host+set}" = set; then :
3048 $as_echo_n "(cached) " >&6
3049 else
3050 if test "x$host_alias" = x; then
3051 ac_cv_host=$ac_cv_build
3052 else
3053 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3054 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3059 $as_echo "$ac_cv_host" >&6; }
3060 case $ac_cv_host in
3061 *-*-*) ;;
3062 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3063 esac
3064 host=$ac_cv_host
3065 ac_save_IFS=$IFS; IFS='-'
3066 set x $ac_cv_host
3067 shift
3068 host_cpu=$1
3069 host_vendor=$2
3070 shift; shift
3071 # Remember, the first character of IFS is used to create $*,
3072 # except with old shells:
3073 host_os=$*
3074 IFS=$ac_save_IFS
3075 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3079 $as_echo_n "checking target system type... " >&6; }
3080 if test "${ac_cv_target+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 if test "x$target_alias" = x; then
3084 ac_cv_target=$ac_cv_host
3085 else
3086 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3087 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3092 $as_echo "$ac_cv_target" >&6; }
3093 case $ac_cv_target in
3094 *-*-*) ;;
3095 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3096 esac
3097 target=$ac_cv_target
3098 ac_save_IFS=$IFS; IFS='-'
3099 set x $ac_cv_target
3100 shift
3101 target_cpu=$1
3102 target_vendor=$2
3103 shift; shift
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3106 target_os=$*
3107 IFS=$ac_save_IFS
3108 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3111 # The aliases save the names the user supplied, while $host etc.
3112 # will get canonicalized.
3113 test -n "$target_alias" &&
3114 test "$program_prefix$program_suffix$program_transform_name" = \
3115 NONENONEs,x,x, &&
3116 program_prefix=${target_alias}-
3118 target_alias=${target_alias-$host_alias}
3120 # Handy for debugging:
3121 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3123 if test "$build" != "$host"; then
3124 # We are being configured with some form of cross compiler.
3125 GLIBCXX_IS_NATIVE=false
3126 case "$host","$target" in
3127 # Darwin crosses can use the host system's libraries and headers,
3128 # because of the fat library support. Of course, it must be the
3129 # same version of Darwin on both sides. Allow the user to
3130 # just say --target=foo-darwin without a version number to mean
3131 # "the version on this system".
3132 *-*-darwin*,*-*-darwin*)
3133 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3134 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3135 if test $hostos = $targetos -o $targetos = darwin ; then
3136 GLIBCXX_IS_NATIVE=true
3143 esac
3144 else
3145 GLIBCXX_IS_NATIVE=true
3148 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3149 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3150 # 1.x: minimum required version
3151 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3152 # of other PACKAGE_* variables will, however, and there's nothing
3153 # we can do about that; they come from AC_INIT).
3154 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3155 # file in the top srcdir, etc, etc), so stop complaining.
3156 # no-dependencies: turns off auto dependency generation (just for now)
3157 # no-dist: we don't want 'dist' and related rules.
3158 # -Wall: turns on all automake warnings...
3159 # -Wno-portability: ...except this one, since GNU make is now required.
3160 am__api_version='1.11'
3162 # Find a good install program. We prefer a C program (faster),
3163 # so one script is as good as another. But avoid the broken or
3164 # incompatible versions:
3165 # SysV /etc/install, /usr/sbin/install
3166 # SunOS /usr/etc/install
3167 # IRIX /sbin/install
3168 # AIX /bin/install
3169 # AmigaOS /C/install, which installs bootblocks on floppy discs
3170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3173 # OS/2's system install, which has a completely different semantic
3174 # ./install, which can be erroneously created by make from ./install.sh.
3175 # Reject install programs that cannot install multiple files.
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3177 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3178 if test -z "$INSTALL"; then
3179 if test "${ac_cv_path_install+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3185 IFS=$as_save_IFS
3186 test -z "$as_dir" && as_dir=.
3187 # Account for people who put trailing slashes in PATH elements.
3188 case $as_dir/ in #((
3189 ./ | .// | /[cC]/* | \
3190 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3191 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3192 /usr/ucb/* ) ;;
3194 # OSF1 and SCO ODT 3.0 have their own names for install.
3195 # Don't use installbsd from OSF since it installs stuff as root
3196 # by default.
3197 for ac_prog in ginstall scoinst install; do
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3200 if test $ac_prog = install &&
3201 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3202 # AIX install. It has an incompatible calling convention.
3204 elif test $ac_prog = install &&
3205 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3206 # program-specific install script used by HP pwplus--don't use.
3208 else
3209 rm -rf conftest.one conftest.two conftest.dir
3210 echo one > conftest.one
3211 echo two > conftest.two
3212 mkdir conftest.dir
3213 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3214 test -s conftest.one && test -s conftest.two &&
3215 test -s conftest.dir/conftest.one &&
3216 test -s conftest.dir/conftest.two
3217 then
3218 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3219 break 3
3223 done
3224 done
3226 esac
3228 done
3229 IFS=$as_save_IFS
3231 rm -rf conftest.one conftest.two conftest.dir
3234 if test "${ac_cv_path_install+set}" = set; then
3235 INSTALL=$ac_cv_path_install
3236 else
3237 # As a last resort, use the slow shell script. Don't cache a
3238 # value for INSTALL within a source directory, because that will
3239 # break other packages using the cache if that directory is
3240 # removed, or if the value is a relative name.
3241 INSTALL=$ac_install_sh
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3245 $as_echo "$INSTALL" >&6; }
3247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3248 # It thinks the first close brace ends the variable substitution.
3249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3253 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3256 $as_echo_n "checking whether build environment is sane... " >&6; }
3257 # Just in case
3258 sleep 1
3259 echo timestamp > conftest.file
3260 # Reject unsafe characters in $srcdir or the absolute working directory
3261 # name. Accept space and tab only in the latter.
3262 am_lf='
3264 case `pwd` in
3265 *[\\\"\#\$\&\'\`$am_lf]*)
3266 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3267 esac
3268 case $srcdir in
3269 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3270 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3271 esac
3273 # Do `set' in a subshell so we don't clobber the current shell's
3274 # arguments. Must try -L first in case configure is actually a
3275 # symlink; some systems play weird games with the mod time of symlinks
3276 # (eg FreeBSD returns the mod time of the symlink's containing
3277 # directory).
3278 if (
3279 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3280 if test "$*" = "X"; then
3281 # -L didn't work.
3282 set X `ls -t "$srcdir/configure" conftest.file`
3284 rm -f conftest.file
3285 if test "$*" != "X $srcdir/configure conftest.file" \
3286 && test "$*" != "X conftest.file $srcdir/configure"; then
3288 # If neither matched, then we have a broken ls. This can happen
3289 # if, for instance, CONFIG_SHELL is bash and it inherits a
3290 # broken ls alias from the environment. This has actually
3291 # happened. Such a system could not be considered "sane".
3292 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3293 alias in your environment" "$LINENO" 5
3296 test "$2" = conftest.file
3298 then
3299 # Ok.
3301 else
3302 as_fn_error "newly created file is older than distributed files!
3303 Check your system clock" "$LINENO" 5
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3307 test "$program_prefix" != NONE &&
3308 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3309 # Use a double $ so make ignores it.
3310 test "$program_suffix" != NONE &&
3311 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3312 # Double any \ or $.
3313 # By default was `s,x,x', remove it if useless.
3314 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3315 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3317 # expand $ac_aux_dir to an absolute path
3318 am_aux_dir=`cd $ac_aux_dir && pwd`
3320 if test x"${MISSING+set}" != xset; then
3321 case $am_aux_dir in
3322 *\ * | *\ *)
3323 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3325 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3326 esac
3328 # Use eval to expand $SHELL
3329 if eval "$MISSING --run true"; then
3330 am_missing_run="$MISSING --run "
3331 else
3332 am_missing_run=
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3334 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3337 if test x"${install_sh}" != xset; then
3338 case $am_aux_dir in
3339 *\ * | *\ *)
3340 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3342 install_sh="\${SHELL} $am_aux_dir/install-sh"
3343 esac
3346 # Installed binaries are usually stripped using `strip' when the user
3347 # run `make install-strip'. However `strip' might not be the right
3348 # tool to use in cross-compilation environments, therefore Automake
3349 # will honor the `STRIP' environment variable to overrule this program.
3350 if test "$cross_compiling" != no; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}strip; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_STRIP+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$STRIP"; then
3360 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3373 done
3374 done
3375 IFS=$as_save_IFS
3379 STRIP=$ac_cv_prog_STRIP
3380 if test -n "$STRIP"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3382 $as_echo "$STRIP" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3390 if test -z "$ac_cv_prog_STRIP"; then
3391 ac_ct_STRIP=$STRIP
3392 # Extract the first word of "strip", so it can be a program name with args.
3393 set dummy strip; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -n "$ac_ct_STRIP"; then
3400 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_ac_ct_STRIP="strip"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 break 2
3413 done
3414 done
3415 IFS=$as_save_IFS
3419 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3420 if test -n "$ac_ct_STRIP"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3422 $as_echo "$ac_ct_STRIP" >&6; }
3423 else
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3428 if test "x$ac_ct_STRIP" = x; then
3429 STRIP=":"
3430 else
3431 case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3436 esac
3437 STRIP=$ac_ct_STRIP
3439 else
3440 STRIP="$ac_cv_prog_STRIP"
3444 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3447 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3448 if test -z "$MKDIR_P"; then
3449 if test "${ac_cv_path_mkdir+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_prog in mkdir gmkdir; do
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3460 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3461 'mkdir (GNU coreutils) '* | \
3462 'mkdir (coreutils) '* | \
3463 'mkdir (fileutils) '4.1*)
3464 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3465 break 3;;
3466 esac
3467 done
3468 done
3469 done
3470 IFS=$as_save_IFS
3474 if test "${ac_cv_path_mkdir+set}" = set; then
3475 MKDIR_P="$ac_cv_path_mkdir -p"
3476 else
3477 # As a last resort, use the slow shell script. Don't cache a
3478 # value for MKDIR_P within a source directory, because that will
3479 # break other packages using the cache if that directory is
3480 # removed, or if the value is a relative name.
3481 test -d ./--version && rmdir ./--version
3482 MKDIR_P="$ac_install_sh -d"
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3486 $as_echo "$MKDIR_P" >&6; }
3488 mkdir_p="$MKDIR_P"
3489 case $mkdir_p in
3490 [\\/$]* | ?:[\\/]*) ;;
3491 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3492 esac
3494 for ac_prog in gawk mawk nawk awk
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3499 $as_echo_n "checking for $ac_word... " >&6; }
3500 if test "${ac_cv_prog_AWK+set}" = set; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 if test -n "$AWK"; then
3504 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_AWK="$ac_prog"
3514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3519 IFS=$as_save_IFS
3523 AWK=$ac_cv_prog_AWK
3524 if test -n "$AWK"; then
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3526 $as_echo "$AWK" >&6; }
3527 else
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3533 test -n "$AWK" && break
3534 done
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3537 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3538 set x ${MAKE-make}
3539 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3540 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3541 $as_echo_n "(cached) " >&6
3542 else
3543 cat >conftest.make <<\_ACEOF
3544 SHELL = /bin/sh
3545 all:
3546 @echo '@@@%%%=$(MAKE)=@@@%%%'
3547 _ACEOF
3548 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3549 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3550 *@@@%%%=?*=@@@%%%*)
3551 eval ac_cv_prog_make_${ac_make}_set=yes;;
3553 eval ac_cv_prog_make_${ac_make}_set=no;;
3554 esac
3555 rm -f conftest.make
3557 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3559 $as_echo "yes" >&6; }
3560 SET_MAKE=
3561 else
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3564 SET_MAKE="MAKE=${MAKE-make}"
3567 rm -rf .tst 2>/dev/null
3568 mkdir .tst 2>/dev/null
3569 if test -d .tst; then
3570 am__leading_dot=.
3571 else
3572 am__leading_dot=_
3574 rmdir .tst 2>/dev/null
3576 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3577 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3578 # is not polluted with repeated "-I."
3579 am__isrc=' -I$(srcdir)'
3580 # test to see if srcdir already configured
3581 if test -f $srcdir/config.status; then
3582 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3586 # test whether we have cygpath
3587 if test -z "$CYGPATH_W"; then
3588 if (cygpath --version) >/dev/null 2>/dev/null; then
3589 CYGPATH_W='cygpath -w'
3590 else
3591 CYGPATH_W=echo
3596 # Define the identity of the package.
3597 PACKAGE='libstdc++'
3598 VERSION='version-unused'
3601 # Some tools Automake needs.
3603 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3606 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3609 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3612 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3615 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3617 # We need awk for the "check" target. The system "awk" is bad on
3618 # some platforms.
3619 # Always define AMTAR for backward compatibility. Yes, it's still used
3620 # in the wild :-( We should find a proper way to deprecate it ...
3621 AMTAR='$${TAR-tar}'
3623 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3632 # -fno-builtin must be present here so that a non-conflicting form of
3633 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3635 save_CXXFLAGS="$CXXFLAGS"
3636 CXXFLAGS="$CXXFLAGS -fno-builtin"
3637 ac_ext=c
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3664 done
3665 done
3666 IFS=$as_save_IFS
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3681 if test -z "$ac_cv_prog_CC"; then
3682 ac_ct_CC=$CC
3683 # Extract the first word of "gcc", so it can be a program name with args.
3684 set dummy gcc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$ac_ct_CC"; then
3691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3692 else
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3694 for as_dir in $PATH
3696 IFS=$as_save_IFS
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_ac_ct_CC="gcc"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 break 2
3704 done
3705 done
3706 IFS=$as_save_IFS
3710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3711 if test -n "$ac_ct_CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3713 $as_echo "$ac_ct_CC" >&6; }
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3719 if test "x$ac_ct_CC" = x; then
3720 CC=""
3721 else
3722 case $cross_compiling:$ac_tool_warned in
3723 yes:)
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3726 ac_tool_warned=yes ;;
3727 esac
3728 CC=$ac_ct_CC
3730 else
3731 CC="$ac_cv_prog_CC"
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}cc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="${ac_tool_prefix}cc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 # Extract the first word of "cc", so it can be a program name with args.
3777 set dummy cc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$CC"; then
3784 ac_cv_prog_CC="$CC" # Let the user override the test.
3785 else
3786 ac_prog_rejected=no
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3795 ac_prog_rejected=yes
3796 continue
3798 ac_cv_prog_CC="cc"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 break 2
3802 done
3803 done
3804 IFS=$as_save_IFS
3806 if test $ac_prog_rejected = yes; then
3807 # We found a bogon in the path, so make sure we never use it.
3808 set dummy $ac_cv_prog_CC
3809 shift
3810 if test $# != 0; then
3811 # We chose a different compiler from the bogus one.
3812 # However, it has the same basename, so the bogon will be chosen
3813 # first if we set CC to just the basename; use the full file name.
3814 shift
3815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3820 CC=$ac_cv_prog_CC
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3831 if test -z "$CC"; then
3832 if test -n "$ac_tool_prefix"; then
3833 for ac_prog in cl.exe
3835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3856 done
3857 done
3858 IFS=$as_save_IFS
3862 CC=$ac_cv_prog_CC
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$CC" && break
3873 done
3875 if test -z "$CC"; then
3876 ac_ct_CC=$CC
3877 for ac_prog in cl.exe
3879 # Extract the first word of "$ac_prog", so it can be a program name with args.
3880 set dummy $ac_prog; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3885 else
3886 if test -n "$ac_ct_CC"; then
3887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3888 else
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3892 IFS=$as_save_IFS
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896 ac_cv_prog_ac_ct_CC="$ac_prog"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 break 2
3900 done
3901 done
3902 IFS=$as_save_IFS
3906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3907 if test -n "$ac_ct_CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3909 $as_echo "$ac_ct_CC" >&6; }
3910 else
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3916 test -n "$ac_ct_CC" && break
3917 done
3919 if test "x$ac_ct_CC" = x; then
3920 CC=""
3921 else
3922 case $cross_compiling:$ac_tool_warned in
3923 yes:)
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3926 ac_tool_warned=yes ;;
3927 esac
3928 CC=$ac_ct_CC
3935 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error "no acceptable C compiler found in \$PATH
3938 See \`config.log' for more details." "$LINENO" 5; }
3940 # Provide some information about the compiler.
3941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3942 set X $ac_compile
3943 ac_compiler=$2
3944 for ac_option in --version -v -V -qversion; do
3945 { { ac_try="$ac_compiler $ac_option >&5"
3946 case "(($ac_try" in
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3949 esac
3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951 $as_echo "$ac_try_echo"; } >&5
3952 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3953 ac_status=$?
3954 if test -s conftest.err; then
3955 sed '10a\
3956 ... rest of stderr output deleted ...
3957 10q' conftest.err >conftest.er1
3958 cat conftest.er1 >&5
3959 rm -f conftest.er1 conftest.err
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }
3963 done
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 main ()
3973 return 0;
3975 _ACEOF
3976 # FIXME: Cleanup?
3977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3978 (eval $ac_link) 2>&5
3979 ac_status=$?
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; then :
3982 gcc_no_link=no
3983 else
3984 gcc_no_link=yes
3986 if test x$gcc_no_link = xyes; then
3987 # Setting cross_compile will disable run tests; it will
3988 # also disable AC_CHECK_FILE but that's generally
3989 # correct if we can't link.
3990 cross_compiling=yes
3991 EXEEXT=
3992 else
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3997 main ()
4001 return 0;
4003 _ACEOF
4004 ac_clean_files_save=$ac_clean_files
4005 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4006 # Try to create an executable without -o first, disregard a.out.
4007 # It will help us diagnose broken compilers, and finding out an intuition
4008 # of exeext.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4010 $as_echo_n "checking for C compiler default output file name... " >&6; }
4011 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4013 # The possible output files:
4014 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4016 ac_rmfiles=
4017 for ac_file in $ac_files
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4022 esac
4023 done
4024 rm -f $ac_rmfiles
4026 if { { ac_try="$ac_link_default"
4027 case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link_default") 2>&5
4034 ac_status=$?
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4038 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4039 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4040 # so that the user can short-circuit this test for compilers unknown to
4041 # Autoconf.
4042 for ac_file in $ac_files ''
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4048 [ab].out )
4049 # We found the default executable, but exeext='' is most
4050 # certainly right.
4051 break;;
4052 *.* )
4053 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4054 then :; else
4055 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 # We set ac_cv_exeext here because the later test for it is not
4058 # safe: cross compilers may not add the suffix if given an `-o'
4059 # argument, so we may need to know it at that point already.
4060 # Even if this section looks crufty: it has the advantage of
4061 # actually working.
4062 break;;
4064 break;;
4065 esac
4066 done
4067 test "$ac_cv_exeext" = no && ac_cv_exeext=
4069 else
4070 ac_file=''
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4073 $as_echo "$ac_file" >&6; }
4074 if test -z "$ac_file"; then :
4075 $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 { as_fn_set_status 77
4081 as_fn_error "C compiler cannot create executables
4082 See \`config.log' for more details." "$LINENO" 5; }; }
4084 ac_exeext=$ac_cv_exeext
4086 # Check that the compiler produces executables we can run. If not, either
4087 # the compiler is broken, or we cross compile.
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4089 $as_echo_n "checking whether the C compiler works... " >&6; }
4090 # If not cross compiling, check that we can run a simple program.
4091 if test "$cross_compiling" != yes; then
4092 if { ac_try='./$ac_file'
4093 { { case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_try") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; }; then
4103 cross_compiling=no
4104 else
4105 if test "$cross_compiling" = maybe; then
4106 cross_compiling=yes
4107 else
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot run C compiled programs.
4111 If you meant to cross compile, use \`--host'.
4112 See \`config.log' for more details." "$LINENO" 5; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4117 $as_echo "yes" >&6; }
4119 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4120 ac_clean_files=$ac_clean_files_save
4121 # Check that the compiler produces executables we can run. If not, either
4122 # the compiler is broken, or we cross compile.
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4124 $as_echo_n "checking whether we are cross compiling... " >&6; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4126 $as_echo "$cross_compiling" >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4129 $as_echo_n "checking for suffix of executables... " >&6; }
4130 if { { ac_try="$ac_link"
4131 case "(($ac_try" in
4132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133 *) ac_try_echo=$ac_try;;
4134 esac
4135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136 $as_echo "$ac_try_echo"; } >&5
4137 (eval "$ac_link") 2>&5
4138 ac_status=$?
4139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4140 test $ac_status = 0; }; then :
4141 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4142 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4143 # work properly (i.e., refer to `conftest.exe'), while it won't with
4144 # `rm'.
4145 for ac_file in conftest.exe conftest conftest.*; do
4146 test -f "$ac_file" || continue
4147 case $ac_file in
4148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4150 break;;
4151 * ) break;;
4152 esac
4153 done
4154 else
4155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157 as_fn_error "cannot compute suffix of executables: cannot compile and link
4158 See \`config.log' for more details." "$LINENO" 5; }
4160 rm -f conftest$ac_cv_exeext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4162 $as_echo "$ac_cv_exeext" >&6; }
4164 rm -f conftest.$ac_ext
4165 EXEEXT=$ac_cv_exeext
4166 ac_exeext=$EXEEXT
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4169 $as_echo_n "checking for suffix of object files... " >&6; }
4170 if test "${ac_cv_objext+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4177 main ()
4181 return 0;
4183 _ACEOF
4184 rm -f conftest.o conftest.obj
4185 if { { ac_try="$ac_compile"
4186 case "(($ac_try" in
4187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4189 esac
4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4191 $as_echo "$ac_try_echo"; } >&5
4192 (eval "$ac_compile") 2>&5
4193 ac_status=$?
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }; then :
4196 for ac_file in conftest.o conftest.obj conftest.*; do
4197 test -f "$ac_file" || continue;
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4201 break;;
4202 esac
4203 done
4204 else
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210 as_fn_error "cannot compute suffix of object files: cannot compile
4211 See \`config.log' for more details." "$LINENO" 5; }
4213 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4216 $as_echo "$ac_cv_objext" >&6; }
4217 OBJEXT=$ac_cv_objext
4218 ac_objext=$OBJEXT
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4220 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4221 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4223 else
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4230 #ifndef __GNUC__
4231 choke me
4232 #endif
4235 return 0;
4237 _ACEOF
4238 if ac_fn_c_try_compile "$LINENO"; then :
4239 ac_compiler_gnu=yes
4240 else
4241 ac_compiler_gnu=no
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4248 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4249 if test $ac_compiler_gnu = yes; then
4250 GCC=yes
4251 else
4252 GCC=
4254 ac_test_CFLAGS=${CFLAGS+set}
4255 ac_save_CFLAGS=$CFLAGS
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4257 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4258 if test "${ac_cv_prog_cc_g+set}" = set; then :
4259 $as_echo_n "(cached) " >&6
4260 else
4261 ac_save_c_werror_flag=$ac_c_werror_flag
4262 ac_c_werror_flag=yes
4263 ac_cv_prog_cc_g=no
4264 CFLAGS="-g"
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4269 main ()
4273 return 0;
4275 _ACEOF
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_cv_prog_cc_g=yes
4278 else
4279 CFLAGS=""
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4284 main ()
4288 return 0;
4290 _ACEOF
4291 if ac_fn_c_try_compile "$LINENO"; then :
4293 else
4294 ac_c_werror_flag=$ac_save_c_werror_flag
4295 CFLAGS="-g"
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4300 main ()
4304 return 0;
4306 _ACEOF
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_g=yes
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 ac_c_werror_flag=$ac_save_c_werror_flag
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4318 $as_echo "$ac_cv_prog_cc_g" >&6; }
4319 if test "$ac_test_CFLAGS" = set; then
4320 CFLAGS=$ac_save_CFLAGS
4321 elif test $ac_cv_prog_cc_g = yes; then
4322 if test "$GCC" = yes; then
4323 CFLAGS="-g -O2"
4324 else
4325 CFLAGS="-g"
4327 else
4328 if test "$GCC" = yes; then
4329 CFLAGS="-O2"
4330 else
4331 CFLAGS=
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4335 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4336 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 ac_cv_prog_cc_c89=no
4340 ac_save_CC=$CC
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4343 #include <stdarg.h>
4344 #include <stdio.h>
4345 #include <sys/types.h>
4346 #include <sys/stat.h>
4347 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4348 struct buf { int x; };
4349 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4350 static char *e (p, i)
4351 char **p;
4352 int i;
4354 return p[i];
4356 static char *f (char * (*g) (char **, int), char **p, ...)
4358 char *s;
4359 va_list v;
4360 va_start (v,p);
4361 s = g (p, va_arg (v,int));
4362 va_end (v);
4363 return s;
4366 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4367 function prototypes and stuff, but not '\xHH' hex character constants.
4368 These don't provoke an error unfortunately, instead are silently treated
4369 as 'x'. The following induces an error, until -std is added to get
4370 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4371 array size at least. It's necessary to write '\x00'==0 to get something
4372 that's true only with -std. */
4373 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4375 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4376 inside strings and character constants. */
4377 #define FOO(x) 'x'
4378 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4380 int test (int i, double x);
4381 struct s1 {int (*f) (int a);};
4382 struct s2 {int (*f) (double a);};
4383 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4384 int argc;
4385 char **argv;
4387 main ()
4389 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4391 return 0;
4393 _ACEOF
4394 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4395 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4397 CC="$ac_save_CC $ac_arg"
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 ac_cv_prog_cc_c89=$ac_arg
4401 rm -f core conftest.err conftest.$ac_objext
4402 test "x$ac_cv_prog_cc_c89" != "xno" && break
4403 done
4404 rm -f conftest.$ac_ext
4405 CC=$ac_save_CC
4408 # AC_CACHE_VAL
4409 case "x$ac_cv_prog_cc_c89" in
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4412 $as_echo "none needed" >&6; } ;;
4413 xno)
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4415 $as_echo "unsupported" >&6; } ;;
4417 CC="$CC $ac_cv_prog_cc_c89"
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4419 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4420 esac
4421 if test "x$ac_cv_prog_cc_c89" != xno; then :
4425 ac_ext=c
4426 ac_cpp='$CPP $CPPFLAGS'
4427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 ac_ext=cpp
4432 ac_cpp='$CXXCPP $CPPFLAGS'
4433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4436 if test -z "$CXX"; then
4437 if test -n "$CCC"; then
4438 CXX=$CCC
4439 else
4440 if test -n "$ac_tool_prefix"; then
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if test "${ac_cv_prog_CXX+set}" = set; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$CXX"; then
4451 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 CXX=$ac_cv_prog_CXX
4471 if test -n "$CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4473 $as_echo "$CXX" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$CXX" && break
4481 done
4483 if test -z "$CXX"; then
4484 ac_ct_CXX=$CXX
4485 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4487 # Extract the first word of "$ac_prog", so it can be a program name with args.
4488 set dummy $ac_prog; ac_word=$2
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4490 $as_echo_n "checking for $ac_word... " >&6; }
4491 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 if test -n "$ac_ct_CXX"; then
4495 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4496 else
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4498 for as_dir in $PATH
4500 IFS=$as_save_IFS
4501 test -z "$as_dir" && as_dir=.
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4504 ac_cv_prog_ac_ct_CXX="$ac_prog"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 break 2
4508 done
4509 done
4510 IFS=$as_save_IFS
4514 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4515 if test -n "$ac_ct_CXX"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4517 $as_echo "$ac_ct_CXX" >&6; }
4518 else
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4524 test -n "$ac_ct_CXX" && break
4525 done
4527 if test "x$ac_ct_CXX" = x; then
4528 CXX="g++"
4529 else
4530 case $cross_compiling:$ac_tool_warned in
4531 yes:)
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4534 ac_tool_warned=yes ;;
4535 esac
4536 CXX=$ac_ct_CXX
4542 # Provide some information about the compiler.
4543 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4544 set X $ac_compile
4545 ac_compiler=$2
4546 for ac_option in --version -v -V -qversion; do
4547 { { ac_try="$ac_compiler $ac_option >&5"
4548 case "(($ac_try" in
4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4551 esac
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4555 ac_status=$?
4556 if test -s conftest.err; then
4557 sed '10a\
4558 ... rest of stderr output deleted ...
4559 10q' conftest.err >conftest.er1
4560 cat conftest.er1 >&5
4561 rm -f conftest.er1 conftest.err
4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4564 test $ac_status = 0; }
4565 done
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4568 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4578 #ifndef __GNUC__
4579 choke me
4580 #endif
4583 return 0;
4585 _ACEOF
4586 if ac_fn_cxx_try_compile "$LINENO"; then :
4587 ac_compiler_gnu=yes
4588 else
4589 ac_compiler_gnu=no
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4596 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4597 if test $ac_compiler_gnu = yes; then
4598 GXX=yes
4599 else
4600 GXX=
4602 ac_test_CXXFLAGS=${CXXFLAGS+set}
4603 ac_save_CXXFLAGS=$CXXFLAGS
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4605 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4606 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4610 ac_cxx_werror_flag=yes
4611 ac_cv_prog_cxx_g=no
4612 CXXFLAGS="-g"
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4617 main ()
4621 return 0;
4623 _ACEOF
4624 if ac_fn_cxx_try_compile "$LINENO"; then :
4625 ac_cv_prog_cxx_g=yes
4626 else
4627 CXXFLAGS=""
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4632 main ()
4636 return 0;
4638 _ACEOF
4639 if ac_fn_cxx_try_compile "$LINENO"; then :
4641 else
4642 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4643 CXXFLAGS="-g"
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4648 main ()
4652 return 0;
4654 _ACEOF
4655 if ac_fn_cxx_try_compile "$LINENO"; then :
4656 ac_cv_prog_cxx_g=yes
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4666 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4667 if test "$ac_test_CXXFLAGS" = set; then
4668 CXXFLAGS=$ac_save_CXXFLAGS
4669 elif test $ac_cv_prog_cxx_g = yes; then
4670 if test "$GXX" = yes; then
4671 CXXFLAGS="-g -O2"
4672 else
4673 CXXFLAGS="-g"
4675 else
4676 if test "$GXX" = yes; then
4677 CXXFLAGS="-O2"
4678 else
4679 CXXFLAGS=
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4688 CXXFLAGS="$save_CXXFLAGS"
4690 # Runs configure.host, and assorted other critical bits. Sets
4691 # up critical shell variables.
4693 ac_ext=c
4694 ac_cpp='$CPP $CPPFLAGS'
4695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4699 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4700 # On Suns, sometimes $CPP names a directory.
4701 if test -n "$CPP" && test -d "$CPP"; then
4702 CPP=
4704 if test -z "$CPP"; then
4705 if test "${ac_cv_prog_CPP+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 # Double quotes because CPP needs to be expanded
4709 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4711 ac_preproc_ok=false
4712 for ac_c_preproc_warn_flag in '' yes
4714 # Use a header file that comes with gcc, so configuring glibc
4715 # with a fresh cross-compiler works.
4716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4717 # <limits.h> exists even on freestanding compilers.
4718 # On the NeXT, cc -E runs the code through the compiler's parser,
4719 # not just through cpp. "Syntax error" is here to catch this case.
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4722 #ifdef __STDC__
4723 # include <limits.h>
4724 #else
4725 # include <assert.h>
4726 #endif
4727 Syntax error
4728 _ACEOF
4729 if ac_fn_c_try_cpp "$LINENO"; then :
4731 else
4732 # Broken: fails on valid input.
4733 continue
4735 rm -f conftest.err conftest.$ac_ext
4737 # OK, works on sane cases. Now check whether nonexistent headers
4738 # can be detected and how.
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4741 #include <ac_nonexistent.h>
4742 _ACEOF
4743 if ac_fn_c_try_cpp "$LINENO"; then :
4744 # Broken: success on invalid input.
4745 continue
4746 else
4747 # Passes both tests.
4748 ac_preproc_ok=:
4749 break
4751 rm -f conftest.err conftest.$ac_ext
4753 done
4754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4755 rm -f conftest.err conftest.$ac_ext
4756 if $ac_preproc_ok; then :
4757 break
4760 done
4761 ac_cv_prog_CPP=$CPP
4764 CPP=$ac_cv_prog_CPP
4765 else
4766 ac_cv_prog_CPP=$CPP
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4769 $as_echo "$CPP" >&6; }
4770 ac_preproc_ok=false
4771 for ac_c_preproc_warn_flag in '' yes
4773 # Use a header file that comes with gcc, so configuring glibc
4774 # with a fresh cross-compiler works.
4775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4776 # <limits.h> exists even on freestanding compilers.
4777 # On the NeXT, cc -E runs the code through the compiler's parser,
4778 # not just through cpp. "Syntax error" is here to catch this case.
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4781 #ifdef __STDC__
4782 # include <limits.h>
4783 #else
4784 # include <assert.h>
4785 #endif
4786 Syntax error
4787 _ACEOF
4788 if ac_fn_c_try_cpp "$LINENO"; then :
4790 else
4791 # Broken: fails on valid input.
4792 continue
4794 rm -f conftest.err conftest.$ac_ext
4796 # OK, works on sane cases. Now check whether nonexistent headers
4797 # can be detected and how.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if ac_fn_c_try_cpp "$LINENO"; then :
4803 # Broken: success on invalid input.
4804 continue
4805 else
4806 # Passes both tests.
4807 ac_preproc_ok=:
4808 break
4810 rm -f conftest.err conftest.$ac_ext
4812 done
4813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4814 rm -f conftest.err conftest.$ac_ext
4815 if $ac_preproc_ok; then :
4817 else
4818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4820 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4821 See \`config.log' for more details." "$LINENO" 5; }
4824 ac_ext=c
4825 ac_cpp='$CPP $CPPFLAGS'
4826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4832 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4833 if test "${ac_cv_path_GREP+set}" = set; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 if test -z "$GREP"; then
4837 ac_path_GREP_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in grep ggrep; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4848 # Check for GNU ac_path_GREP and select it if it is found.
4849 # Check for GNU $ac_path_GREP
4850 case `"$ac_path_GREP" --version 2>&1` in
4851 *GNU*)
4852 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4854 ac_count=0
4855 $as_echo_n 0123456789 >"conftest.in"
4856 while :
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo 'GREP' >> "conftest.nl"
4862 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_GREP="$ac_path_GREP"
4868 ac_path_GREP_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4872 done
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4874 esac
4876 $ac_path_GREP_found && break 3
4877 done
4878 done
4879 done
4880 IFS=$as_save_IFS
4881 if test -z "$ac_cv_path_GREP"; then
4882 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4884 else
4885 ac_cv_path_GREP=$GREP
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4890 $as_echo "$ac_cv_path_GREP" >&6; }
4891 GREP="$ac_cv_path_GREP"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4895 $as_echo_n "checking for egrep... " >&6; }
4896 if test "${ac_cv_path_EGREP+set}" = set; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4900 then ac_cv_path_EGREP="$GREP -E"
4901 else
4902 if test -z "$EGREP"; then
4903 ac_path_EGREP_found=false
4904 # Loop through the user's path and test for each of PROGNAME-LIST
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_prog in egrep; do
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4913 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4914 # Check for GNU ac_path_EGREP and select it if it is found.
4915 # Check for GNU $ac_path_EGREP
4916 case `"$ac_path_EGREP" --version 2>&1` in
4917 *GNU*)
4918 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4920 ac_count=0
4921 $as_echo_n 0123456789 >"conftest.in"
4922 while :
4924 cat "conftest.in" "conftest.in" >"conftest.tmp"
4925 mv "conftest.tmp" "conftest.in"
4926 cp "conftest.in" "conftest.nl"
4927 $as_echo 'EGREP' >> "conftest.nl"
4928 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4930 as_fn_arith $ac_count + 1 && ac_count=$as_val
4931 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4932 # Best one so far, save it but keep looking for a better one
4933 ac_cv_path_EGREP="$ac_path_EGREP"
4934 ac_path_EGREP_max=$ac_count
4936 # 10*(2^10) chars as input seems more than enough
4937 test $ac_count -gt 10 && break
4938 done
4939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4940 esac
4942 $ac_path_EGREP_found && break 3
4943 done
4944 done
4945 done
4946 IFS=$as_save_IFS
4947 if test -z "$ac_cv_path_EGREP"; then
4948 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4950 else
4951 ac_cv_path_EGREP=$EGREP
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4957 $as_echo "$ac_cv_path_EGREP" >&6; }
4958 EGREP="$ac_cv_path_EGREP"
4962 # Keep these sync'd with the list in Makefile.am. The first provides an
4963 # expandable list at autoconf time; the second provides an expandable list
4964 # (i.e., shell variable) at configure time.
4966 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4968 # These need to be absolute paths, yet at the same time need to
4969 # canonicalize only relative paths, because then amd will not unmount
4970 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4971 glibcxx_builddir=`${PWDCMD-pwd}`
4972 case $srcdir in
4973 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4974 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4975 esac
4976 toplevel_builddir=${glibcxx_builddir}/..
4977 toplevel_srcdir=${glibcxx_srcdir}/..
4983 # We use these options to decide which functions to include. They are
4984 # set from the top level.
4986 # Check whether --with-target-subdir was given.
4987 if test "${with_target_subdir+set}" = set; then :
4988 withval=$with_target_subdir;
4993 # Check whether --with-cross-host was given.
4994 if test "${with_cross_host+set}" = set; then :
4995 withval=$with_cross_host;
5000 # Check whether --with-newlib was given.
5001 if test "${with_newlib+set}" = set; then :
5002 withval=$with_newlib;
5006 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5007 # available). Uncomment the next line to force a particular method.
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5009 $as_echo_n "checking whether ln -s works... " >&6; }
5010 LN_S=$as_ln_s
5011 if test "$LN_S" = "ln -s"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5016 $as_echo "no, using $LN_S" >&6; }
5019 #LN_S='cp -p'
5021 if test -n "$ac_tool_prefix"; then
5022 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5023 set dummy ${ac_tool_prefix}as; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_AS+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$AS"; then
5030 ac_cv_prog_AS="$AS" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_AS="${ac_tool_prefix}as"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 AS=$ac_cv_prog_AS
5050 if test -n "$AS"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5052 $as_echo "$AS" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5060 if test -z "$ac_cv_prog_AS"; then
5061 ac_ct_AS=$AS
5062 # Extract the first word of "as", so it can be a program name with args.
5063 set dummy as; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5067 $as_echo_n "(cached) " >&6
5068 else
5069 if test -n "$ac_ct_AS"; then
5070 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5075 IFS=$as_save_IFS
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_ac_ct_AS="as"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 break 2
5083 done
5084 done
5085 IFS=$as_save_IFS
5089 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5090 if test -n "$ac_ct_AS"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5092 $as_echo "$ac_ct_AS" >&6; }
5093 else
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5098 if test "x$ac_ct_AS" = x; then
5099 AS=""
5100 else
5101 case $cross_compiling:$ac_tool_warned in
5102 yes:)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105 ac_tool_warned=yes ;;
5106 esac
5107 AS=$ac_ct_AS
5109 else
5110 AS="$ac_cv_prog_AS"
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5115 set dummy ${ac_tool_prefix}ar; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_AR+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5120 else
5121 if test -n "$AR"; then
5122 ac_cv_prog_AR="$AR" # Let the user override the test.
5123 else
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125 for as_dir in $PATH
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_AR="${ac_tool_prefix}ar"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5141 AR=$ac_cv_prog_AR
5142 if test -n "$AR"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5144 $as_echo "$AR" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5152 if test -z "$ac_cv_prog_AR"; then
5153 ac_ct_AR=$AR
5154 # Extract the first word of "ar", so it can be a program name with args.
5155 set dummy ar; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5159 $as_echo_n "(cached) " >&6
5160 else
5161 if test -n "$ac_ct_AR"; then
5162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5163 else
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165 for as_dir in $PATH
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5171 ac_cv_prog_ac_ct_AR="ar"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5175 done
5176 done
5177 IFS=$as_save_IFS
5181 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5182 if test -n "$ac_ct_AR"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5184 $as_echo "$ac_ct_AR" >&6; }
5185 else
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5190 if test "x$ac_ct_AR" = x; then
5191 AR=""
5192 else
5193 case $cross_compiling:$ac_tool_warned in
5194 yes:)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5198 esac
5199 AR=$ac_ct_AR
5201 else
5202 AR="$ac_cv_prog_AR"
5205 if test -n "$ac_tool_prefix"; then
5206 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5207 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 if test -n "$RANLIB"; then
5214 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5215 else
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH
5219 IFS=$as_save_IFS
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 break 2
5227 done
5228 done
5229 IFS=$as_save_IFS
5233 RANLIB=$ac_cv_prog_RANLIB
5234 if test -n "$RANLIB"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5236 $as_echo "$RANLIB" >&6; }
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5244 if test -z "$ac_cv_prog_RANLIB"; then
5245 ac_ct_RANLIB=$RANLIB
5246 # Extract the first word of "ranlib", so it can be a program name with args.
5247 set dummy ranlib; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5253 if test -n "$ac_ct_RANLIB"; then
5254 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5255 else
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 for as_dir in $PATH
5259 IFS=$as_save_IFS
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_ac_ct_RANLIB="ranlib"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 break 2
5267 done
5268 done
5269 IFS=$as_save_IFS
5273 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5274 if test -n "$ac_ct_RANLIB"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5276 $as_echo "$ac_ct_RANLIB" >&6; }
5277 else
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5282 if test "x$ac_ct_RANLIB" = x; then
5283 RANLIB="ranlib-not-found-in-path-error"
5284 else
5285 case $cross_compiling:$ac_tool_warned in
5286 yes:)
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5289 ac_tool_warned=yes ;;
5290 esac
5291 RANLIB=$ac_ct_RANLIB
5293 else
5294 RANLIB="$ac_cv_prog_RANLIB"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5300 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5301 # Check whether --enable-maintainer-mode was given.
5302 if test "${enable_maintainer_mode+set}" = set; then :
5303 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5304 else
5305 USE_MAINTAINER_MODE=no
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5309 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5310 if test $USE_MAINTAINER_MODE = yes; then
5311 MAINTAINER_MODE_TRUE=
5312 MAINTAINER_MODE_FALSE='#'
5313 else
5314 MAINTAINER_MODE_TRUE='#'
5315 MAINTAINER_MODE_FALSE=
5318 MAINT=$MAINTAINER_MODE_TRUE
5322 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5323 # which are themselves conditionally expanded.
5324 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5325 ## other macros from doing the same. This should be automated.) -pme
5327 # Check for C library flavor since GNU/Linux platforms use different
5328 # configuration directories depending on the C library in use.
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5332 #include <stdio.h>
5333 #if __UCLIBC__
5334 _using_uclibc
5335 #endif
5337 _ACEOF
5338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5339 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5340 uclibc=yes
5341 else
5342 uclibc=no
5344 rm -f conftest*
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5350 #include <stdio.h>
5351 #if __BIONIC__
5352 _using_bionic
5353 #endif
5355 _ACEOF
5356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5358 bionic=yes
5359 else
5360 bionic=no
5362 rm -f conftest*
5365 # Find platform-specific directories containing configuration info.
5366 # Also possibly modify flags used elsewhere, as needed by the platform.
5368 . $glibcxx_srcdir/configure.host
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5370 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5372 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5376 # Libtool setup.
5377 if test "x${with_newlib}" != "xyes"; then
5378 enable_dlopen=yes
5383 case `pwd` in
5384 *\ * | *\ *)
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5386 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5387 esac
5391 macro_version='2.2.7a'
5392 macro_revision='1.3134'
5406 ltmain="$ac_aux_dir/ltmain.sh"
5408 # Backslashify metacharacters that are still active within
5409 # double-quoted strings.
5410 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5412 # Same as above, but do not quote variable references.
5413 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5415 # Sed substitution to delay expansion of an escaped shell variable in a
5416 # double_quote_subst'ed string.
5417 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5419 # Sed substitution to delay expansion of an escaped single quote.
5420 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5422 # Sed substitution to avoid accidental globbing in evaled expressions
5423 no_glob_subst='s/\*/\\\*/g'
5425 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5426 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5430 $as_echo_n "checking how to print strings... " >&6; }
5431 # Test print first, because it will be a builtin if present.
5432 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5433 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5434 ECHO='print -r --'
5435 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='printf %s\n'
5437 else
5438 # Use this function as a fallback that always works.
5439 func_fallback_echo ()
5441 eval 'cat <<_LTECHO_EOF
5443 _LTECHO_EOF'
5445 ECHO='func_fallback_echo'
5448 # func_echo_all arg...
5449 # Invoke $ECHO with all args, space-separated.
5450 func_echo_all ()
5452 $ECHO ""
5455 case "$ECHO" in
5456 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5457 $as_echo "printf" >&6; } ;;
5458 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5459 $as_echo "print -r" >&6; } ;;
5460 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5461 $as_echo "cat" >&6; } ;;
5462 esac
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5478 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5479 if test "${ac_cv_path_SED+set}" = set; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5483 for ac_i in 1 2 3 4 5 6 7; do
5484 ac_script="$ac_script$as_nl$ac_script"
5485 done
5486 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5487 { ac_script=; unset ac_script;}
5488 if test -z "$SED"; then
5489 ac_path_SED_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in sed gsed; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5500 # Check for GNU ac_path_SED and select it if it is found.
5501 # Check for GNU $ac_path_SED
5502 case `"$ac_path_SED" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo '' >> "conftest.nl"
5514 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_SED_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_SED="$ac_path_SED"
5520 ac_path_SED_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_SED_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_SED"; then
5534 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5536 else
5537 ac_cv_path_SED=$SED
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5542 $as_echo "$ac_cv_path_SED" >&6; }
5543 SED="$ac_cv_path_SED"
5544 rm -f conftest.sed
5546 test -z "$SED" && SED=sed
5547 Xsed="$SED -e 1s/^X//"
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5560 $as_echo_n "checking for fgrep... " >&6; }
5561 if test "${ac_cv_path_FGREP+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5565 then ac_cv_path_FGREP="$GREP -F"
5566 else
5567 if test -z "$FGREP"; then
5568 ac_path_FGREP_found=false
5569 # Loop through the user's path and test for each of PROGNAME-LIST
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_prog in fgrep; do
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5578 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5579 # Check for GNU ac_path_FGREP and select it if it is found.
5580 # Check for GNU $ac_path_FGREP
5581 case `"$ac_path_FGREP" --version 2>&1` in
5582 *GNU*)
5583 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5585 ac_count=0
5586 $as_echo_n 0123456789 >"conftest.in"
5587 while :
5589 cat "conftest.in" "conftest.in" >"conftest.tmp"
5590 mv "conftest.tmp" "conftest.in"
5591 cp "conftest.in" "conftest.nl"
5592 $as_echo 'FGREP' >> "conftest.nl"
5593 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5595 as_fn_arith $ac_count + 1 && ac_count=$as_val
5596 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5597 # Best one so far, save it but keep looking for a better one
5598 ac_cv_path_FGREP="$ac_path_FGREP"
5599 ac_path_FGREP_max=$ac_count
5601 # 10*(2^10) chars as input seems more than enough
5602 test $ac_count -gt 10 && break
5603 done
5604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5605 esac
5607 $ac_path_FGREP_found && break 3
5608 done
5609 done
5610 done
5611 IFS=$as_save_IFS
5612 if test -z "$ac_cv_path_FGREP"; then
5613 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615 else
5616 ac_cv_path_FGREP=$FGREP
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5622 $as_echo "$ac_cv_path_FGREP" >&6; }
5623 FGREP="$ac_cv_path_FGREP"
5626 test -z "$GREP" && GREP=grep
5646 # Check whether --with-gnu-ld was given.
5647 if test "${with_gnu_ld+set}" = set; then :
5648 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5649 else
5650 with_gnu_ld=no
5653 ac_prog=ld
5654 if test "$GCC" = yes; then
5655 # Check if gcc -print-prog-name=ld gives a path.
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5657 $as_echo_n "checking for ld used by $CC... " >&6; }
5658 case $host in
5659 *-*-mingw*)
5660 # gcc leaves a trailing carriage return which upsets mingw
5661 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5664 esac
5665 case $ac_prog in
5666 # Accept absolute paths.
5667 [\\/]* | ?:[\\/]*)
5668 re_direlt='/[^/][^/]*/\.\./'
5669 # Canonicalize the pathname of ld
5670 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5671 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5672 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5673 done
5674 test -z "$LD" && LD="$ac_prog"
5677 # If it fails, then pretend we aren't using GCC.
5678 ac_prog=ld
5681 # If it is relative, then search for the first ld in PATH.
5682 with_gnu_ld=unknown
5684 esac
5685 elif test "$with_gnu_ld" = yes; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5687 $as_echo_n "checking for GNU ld... " >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5690 $as_echo_n "checking for non-GNU ld... " >&6; }
5692 if test "${lt_cv_path_LD+set}" = set; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -z "$LD"; then
5696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5697 for ac_dir in $PATH; do
5698 IFS="$lt_save_ifs"
5699 test -z "$ac_dir" && ac_dir=.
5700 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5701 lt_cv_path_LD="$ac_dir/$ac_prog"
5702 # Check to see if the program is GNU ld. I'd rather use --version,
5703 # but apparently some variants of GNU ld only accept -v.
5704 # Break only if it was the GNU/non-GNU ld that we prefer.
5705 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5706 *GNU* | *'with BFD'*)
5707 test "$with_gnu_ld" != no && break
5710 test "$with_gnu_ld" != yes && break
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 else
5717 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5721 LD="$lt_cv_path_LD"
5722 if test -n "$LD"; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5724 $as_echo "$LD" >&6; }
5725 else
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }
5729 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5731 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5732 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5736 case `$LD -v 2>&1 </dev/null` in
5737 *GNU* | *'with BFD'*)
5738 lt_cv_prog_gnu_ld=yes
5741 lt_cv_prog_gnu_ld=no
5743 esac
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5746 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5747 with_gnu_ld=$lt_cv_prog_gnu_ld
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5758 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5759 if test "${lt_cv_path_NM+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5761 else
5762 if test -n "$NM"; then
5763 # Let the user override the test.
5764 lt_cv_path_NM="$NM"
5765 else
5766 lt_nm_to_check="${ac_tool_prefix}nm"
5767 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5768 lt_nm_to_check="$lt_nm_to_check nm"
5770 for lt_tmp_nm in $lt_nm_to_check; do
5771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5772 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5773 IFS="$lt_save_ifs"
5774 test -z "$ac_dir" && ac_dir=.
5775 tmp_nm="$ac_dir/$lt_tmp_nm"
5776 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5777 # Check to see if the nm accepts a BSD-compat flag.
5778 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5779 # nm: unknown option "B" ignored
5780 # Tru64's nm complains that /dev/null is an invalid object file
5781 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5782 */dev/null* | *'Invalid file or object type'*)
5783 lt_cv_path_NM="$tmp_nm -B"
5784 break
5787 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5788 */dev/null*)
5789 lt_cv_path_NM="$tmp_nm -p"
5790 break
5793 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5794 continue # so that we can try to find one that supports BSD flags
5796 esac
5798 esac
5800 done
5801 IFS="$lt_save_ifs"
5802 done
5803 : ${lt_cv_path_NM=no}
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5807 $as_echo "$lt_cv_path_NM" >&6; }
5808 if test "$lt_cv_path_NM" != "no"; then
5809 NM="$lt_cv_path_NM"
5810 else
5811 # Didn't find any BSD compatible name lister, look for dumpbin.
5812 if test -n "$DUMPBIN"; then :
5813 # Let the user override the test.
5814 else
5815 if test -n "$ac_tool_prefix"; then
5816 for ac_prog in dumpbin "link -dump"
5818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$DUMPBIN"; then
5826 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 DUMPBIN=$ac_cv_prog_DUMPBIN
5846 if test -n "$DUMPBIN"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5848 $as_echo "$DUMPBIN" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$DUMPBIN" && break
5856 done
5858 if test -z "$DUMPBIN"; then
5859 ac_ct_DUMPBIN=$DUMPBIN
5860 for ac_prog in dumpbin "link -dump"
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$ac_ct_DUMPBIN"; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5879 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5890 if test -n "$ac_ct_DUMPBIN"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5892 $as_echo "$ac_ct_DUMPBIN" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ac_ct_DUMPBIN" && break
5900 done
5902 if test "x$ac_ct_DUMPBIN" = x; then
5903 DUMPBIN=":"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5909 ac_tool_warned=yes ;;
5910 esac
5911 DUMPBIN=$ac_ct_DUMPBIN
5915 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5916 *COFF*)
5917 DUMPBIN="$DUMPBIN -symbols"
5920 DUMPBIN=:
5922 esac
5925 if test "$DUMPBIN" != ":"; then
5926 NM="$DUMPBIN"
5929 test -z "$NM" && NM=nm
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5937 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5938 if test "${lt_cv_nm_interface+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 lt_cv_nm_interface="BSD nm"
5942 echo "int some_variable = 0;" > conftest.$ac_ext
5943 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5944 (eval "$ac_compile" 2>conftest.err)
5945 cat conftest.err >&5
5946 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5947 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5948 cat conftest.err >&5
5949 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5950 cat conftest.out >&5
5951 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5952 lt_cv_nm_interface="MS dumpbin"
5954 rm -f conftest*
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5957 $as_echo "$lt_cv_nm_interface" >&6; }
5959 # find the maximum length of command line arguments
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5961 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5962 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5966 teststring="ABCD"
5968 case $build_os in
5969 msdosdjgpp*)
5970 # On DJGPP, this test can blow up pretty badly due to problems in libc
5971 # (any single argument exceeding 2000 bytes causes a buffer overrun
5972 # during glob expansion). Even if it were fixed, the result of this
5973 # check would be larger than it should be.
5974 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5977 gnu*)
5978 # Under GNU Hurd, this test is not required because there is
5979 # no limit to the length of command line arguments.
5980 # Libtool will interpret -1 as no limit whatsoever
5981 lt_cv_sys_max_cmd_len=-1;
5984 cygwin* | mingw* | cegcc*)
5985 # On Win9x/ME, this test blows up -- it succeeds, but takes
5986 # about 5 minutes as the teststring grows exponentially.
5987 # Worse, since 9x/ME are not pre-emptively multitasking,
5988 # you end up with a "frozen" computer, even though with patience
5989 # the test eventually succeeds (with a max line length of 256k).
5990 # Instead, let's just punt: use the minimum linelength reported by
5991 # all of the supported platforms: 8192 (on NT/2K/XP).
5992 lt_cv_sys_max_cmd_len=8192;
5995 mint*)
5996 # On MiNT this can take a long time and run out of memory.
5997 lt_cv_sys_max_cmd_len=8192;
6000 amigaos*)
6001 # On AmigaOS with pdksh, this test takes hours, literally.
6002 # So we just punt and use a minimum line length of 8192.
6003 lt_cv_sys_max_cmd_len=8192;
6006 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6007 # This has been around since 386BSD, at least. Likely further.
6008 if test -x /sbin/sysctl; then
6009 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6010 elif test -x /usr/sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6012 else
6013 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6015 # And add a safety zone
6016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 interix*)
6021 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6022 lt_cv_sys_max_cmd_len=196608
6025 osf*)
6026 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6027 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6028 # nice to cause kernel panics so lets avoid the loop below.
6029 # First set a reasonable default.
6030 lt_cv_sys_max_cmd_len=16384
6032 if test -x /sbin/sysconfig; then
6033 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6034 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6035 esac
6038 sco3.2v5*)
6039 lt_cv_sys_max_cmd_len=102400
6041 sysv5* | sco5v6* | sysv4.2uw2*)
6042 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6043 if test -n "$kargmax"; then
6044 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6045 else
6046 lt_cv_sys_max_cmd_len=32768
6050 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6051 if test -n "$lt_cv_sys_max_cmd_len"; then
6052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6053 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6054 else
6055 # Make teststring a little bigger before we do anything with it.
6056 # a 1K string should be a reasonable start.
6057 for i in 1 2 3 4 5 6 7 8 ; do
6058 teststring=$teststring$teststring
6059 done
6060 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6061 # If test is not a shell built-in, we'll probably end up computing a
6062 # maximum length that is only half of the actual maximum length, but
6063 # we can't tell.
6064 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6065 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6066 test $i != 17 # 1/2 MB should be enough
6068 i=`expr $i + 1`
6069 teststring=$teststring$teststring
6070 done
6071 # Only check the string length outside the loop.
6072 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6073 teststring=
6074 # Add a significant safety factor because C++ compilers can tack on
6075 # massive amounts of additional arguments before passing them to the
6076 # linker. It appears as though 1/2 is a usable value.
6077 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6080 esac
6084 if test -n $lt_cv_sys_max_cmd_len ; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6086 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6089 $as_echo "none" >&6; }
6091 max_cmd_len=$lt_cv_sys_max_cmd_len
6098 : ${CP="cp -f"}
6099 : ${MV="mv -f"}
6100 : ${RM="rm -f"}
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6103 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6104 # Try some XSI features
6105 xsi_shell=no
6106 ( _lt_dummy="a/b/c"
6107 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6108 = c,a/b,, \
6109 && eval 'test $(( 1 + 1 )) -eq 2 \
6110 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6111 && xsi_shell=yes
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6113 $as_echo "$xsi_shell" >&6; }
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6117 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6118 lt_shell_append=no
6119 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6120 >/dev/null 2>&1 \
6121 && lt_shell_append=yes
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6123 $as_echo "$lt_shell_append" >&6; }
6126 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6127 lt_unset=unset
6128 else
6129 lt_unset=false
6136 # test EBCDIC or ASCII
6137 case `echo X|tr X '\101'` in
6138 A) # ASCII based system
6139 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6140 lt_SP2NL='tr \040 \012'
6141 lt_NL2SP='tr \015\012 \040\040'
6143 *) # EBCDIC based system
6144 lt_SP2NL='tr \100 \n'
6145 lt_NL2SP='tr \r\n \100\100'
6147 esac
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6158 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6159 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6160 $as_echo_n "(cached) " >&6
6161 else
6162 lt_cv_ld_reload_flag='-r'
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6165 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6166 reload_flag=$lt_cv_ld_reload_flag
6167 case $reload_flag in
6168 "" | " "*) ;;
6169 *) reload_flag=" $reload_flag" ;;
6170 esac
6171 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6172 case $host_os in
6173 darwin*)
6174 if test "$GCC" = yes; then
6175 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6176 else
6177 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6180 esac
6190 if test -n "$ac_tool_prefix"; then
6191 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6192 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$OBJDUMP"; then
6199 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6208 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 OBJDUMP=$ac_cv_prog_OBJDUMP
6219 if test -n "$OBJDUMP"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6221 $as_echo "$OBJDUMP" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6229 if test -z "$ac_cv_prog_OBJDUMP"; then
6230 ac_ct_OBJDUMP=$OBJDUMP
6231 # Extract the first word of "objdump", so it can be a program name with args.
6232 set dummy objdump; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 if test -n "$ac_ct_OBJDUMP"; then
6239 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6248 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6252 done
6253 done
6254 IFS=$as_save_IFS
6258 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6259 if test -n "$ac_ct_OBJDUMP"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6261 $as_echo "$ac_ct_OBJDUMP" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6267 if test "x$ac_ct_OBJDUMP" = x; then
6268 OBJDUMP="false"
6269 else
6270 case $cross_compiling:$ac_tool_warned in
6271 yes:)
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6274 ac_tool_warned=yes ;;
6275 esac
6276 OBJDUMP=$ac_ct_OBJDUMP
6278 else
6279 OBJDUMP="$ac_cv_prog_OBJDUMP"
6282 test -z "$OBJDUMP" && OBJDUMP=objdump
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6293 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6294 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 lt_cv_file_magic_cmd='$MAGIC_CMD'
6298 lt_cv_file_magic_test_file=
6299 lt_cv_deplibs_check_method='unknown'
6300 # Need to set the preceding variable on all platforms that support
6301 # interlibrary dependencies.
6302 # 'none' -- dependencies not supported.
6303 # `unknown' -- same as none, but documents that we really don't know.
6304 # 'pass_all' -- all dependencies passed with no checks.
6305 # 'test_compile' -- check by making test program.
6306 # 'file_magic [[regex]]' -- check by looking for files in library path
6307 # which responds to the $file_magic_cmd with a given extended regex.
6308 # If you have `file' or equivalent on your system and you're not sure
6309 # whether `pass_all' will *always* work, you probably want this one.
6311 case $host_os in
6312 aix[4-9]*)
6313 lt_cv_deplibs_check_method=pass_all
6316 beos*)
6317 lt_cv_deplibs_check_method=pass_all
6320 bsdi[45]*)
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6322 lt_cv_file_magic_cmd='/usr/bin/file -L'
6323 lt_cv_file_magic_test_file=/shlib/libc.so
6326 cygwin*)
6327 # func_win32_libid is a shell function defined in ltmain.sh
6328 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6329 lt_cv_file_magic_cmd='func_win32_libid'
6332 mingw* | pw32*)
6333 # Base MSYS/MinGW do not provide the 'file' command needed by
6334 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6335 # unless we find 'file', for example because we are cross-compiling.
6336 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6337 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6338 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6339 lt_cv_file_magic_cmd='func_win32_libid'
6340 else
6341 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6342 lt_cv_file_magic_cmd='$OBJDUMP -f'
6346 cegcc*)
6347 # use the weaker test based on 'objdump'. See mingw*.
6348 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6349 lt_cv_file_magic_cmd='$OBJDUMP -f'
6352 darwin* | rhapsody*)
6353 lt_cv_deplibs_check_method=pass_all
6356 freebsd* | dragonfly*)
6357 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6358 case $host_cpu in
6359 i*86 )
6360 # Not sure whether the presence of OpenBSD here was a mistake.
6361 # Let's accept both of them until this is cleared up.
6362 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6363 lt_cv_file_magic_cmd=/usr/bin/file
6364 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6366 esac
6367 else
6368 lt_cv_deplibs_check_method=pass_all
6372 gnu*)
6373 lt_cv_deplibs_check_method=pass_all
6376 haiku*)
6377 lt_cv_deplibs_check_method=pass_all
6380 hpux10.20* | hpux11*)
6381 lt_cv_file_magic_cmd=/usr/bin/file
6382 case $host_cpu in
6383 ia64*)
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6385 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6387 hppa*64*)
6388 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]'
6389 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6392 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6393 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6395 esac
6398 interix[3-9]*)
6399 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6403 irix5* | irix6* | nonstopux*)
6404 case $LD in
6405 *-32|*"-32 ") libmagic=32-bit;;
6406 *-n32|*"-n32 ") libmagic=N32;;
6407 *-64|*"-64 ") libmagic=64-bit;;
6408 *) libmagic=never-match;;
6409 esac
6410 lt_cv_deplibs_check_method=pass_all
6413 # This must be Linux ELF.
6414 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6415 lt_cv_deplibs_check_method=pass_all
6418 netbsd*)
6419 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6420 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6421 else
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6426 newos6*)
6427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6428 lt_cv_file_magic_cmd=/usr/bin/file
6429 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6432 *nto* | *qnx*)
6433 lt_cv_deplibs_check_method=pass_all
6436 openbsd*)
6437 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6438 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6439 else
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6444 osf3* | osf4* | osf5*)
6445 lt_cv_deplibs_check_method=pass_all
6448 rdos*)
6449 lt_cv_deplibs_check_method=pass_all
6452 solaris*)
6453 lt_cv_deplibs_check_method=pass_all
6456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6457 lt_cv_deplibs_check_method=pass_all
6460 sysv4 | sysv4.3*)
6461 case $host_vendor in
6462 motorola)
6463 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]'
6464 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6466 ncr)
6467 lt_cv_deplibs_check_method=pass_all
6469 sequent)
6470 lt_cv_file_magic_cmd='/bin/file'
6471 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6473 sni)
6474 lt_cv_file_magic_cmd='/bin/file'
6475 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6476 lt_cv_file_magic_test_file=/lib/libc.so
6478 siemens)
6479 lt_cv_deplibs_check_method=pass_all
6482 lt_cv_deplibs_check_method=pass_all
6484 esac
6487 tpf*)
6488 lt_cv_deplibs_check_method=pass_all
6490 esac
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6494 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6495 file_magic_cmd=$lt_cv_file_magic_cmd
6496 deplibs_check_method=$lt_cv_deplibs_check_method
6497 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}ar; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_AR+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$AR"; then
6519 ac_cv_prog_AR="$AR" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_AR="${ac_tool_prefix}ar"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 AR=$ac_cv_prog_AR
6539 if test -n "$AR"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6541 $as_echo "$AR" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_AR"; then
6550 ac_ct_AR=$AR
6551 # Extract the first word of "ar", so it can be a program name with args.
6552 set dummy ar; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6556 $as_echo_n "(cached) " >&6
6557 else
6558 if test -n "$ac_ct_AR"; then
6559 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6564 IFS=$as_save_IFS
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_AR="ar"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 break 2
6572 done
6573 done
6574 IFS=$as_save_IFS
6578 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6579 if test -n "$ac_ct_AR"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6581 $as_echo "$ac_ct_AR" >&6; }
6582 else
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_AR" = x; then
6588 AR="false"
6589 else
6590 case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596 AR=$ac_ct_AR
6598 else
6599 AR="$ac_cv_prog_AR"
6602 test -z "$AR" && AR=ar
6603 test -z "$AR_FLAGS" && AR_FLAGS=cru
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}strip; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if test "${ac_cv_prog_STRIP+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$STRIP"; then
6624 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 STRIP=$ac_cv_prog_STRIP
6644 if test -n "$STRIP"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6646 $as_echo "$STRIP" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_STRIP"; then
6655 ac_ct_STRIP=$STRIP
6656 # Extract the first word of "strip", so it can be a program name with args.
6657 set dummy strip; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6662 else
6663 if test -n "$ac_ct_STRIP"; then
6664 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_STRIP="strip"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6684 if test -n "$ac_ct_STRIP"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6686 $as_echo "$ac_ct_STRIP" >&6; }
6687 else
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_STRIP" = x; then
6693 STRIP=":"
6694 else
6695 case $cross_compiling:$ac_tool_warned in
6696 yes:)
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6700 esac
6701 STRIP=$ac_ct_STRIP
6703 else
6704 STRIP="$ac_cv_prog_STRIP"
6707 test -z "$STRIP" && STRIP=:
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6720 $as_echo_n "(cached) " >&6
6721 else
6722 if test -n "$RANLIB"; then
6723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6728 IFS=$as_save_IFS
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6732 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 RANLIB=$ac_cv_prog_RANLIB
6743 if test -n "$RANLIB"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6745 $as_echo "$RANLIB" >&6; }
6746 else
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6753 if test -z "$ac_cv_prog_RANLIB"; then
6754 ac_ct_RANLIB=$RANLIB
6755 # Extract the first word of "ranlib", so it can be a program name with args.
6756 set dummy ranlib; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6760 $as_echo_n "(cached) " >&6
6761 else
6762 if test -n "$ac_ct_RANLIB"; then
6763 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6764 else
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 for as_dir in $PATH
6768 IFS=$as_save_IFS
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772 ac_cv_prog_ac_ct_RANLIB="ranlib"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 break 2
6776 done
6777 done
6778 IFS=$as_save_IFS
6782 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6783 if test -n "$ac_ct_RANLIB"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6785 $as_echo "$ac_ct_RANLIB" >&6; }
6786 else
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6791 if test "x$ac_ct_RANLIB" = x; then
6792 RANLIB=":"
6793 else
6794 case $cross_compiling:$ac_tool_warned in
6795 yes:)
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6798 ac_tool_warned=yes ;;
6799 esac
6800 RANLIB=$ac_ct_RANLIB
6802 else
6803 RANLIB="$ac_cv_prog_RANLIB"
6806 test -z "$RANLIB" && RANLIB=:
6813 # Determine commands to create old-style static archives.
6814 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6815 old_postinstall_cmds='chmod 644 $oldlib'
6816 old_postuninstall_cmds=
6818 if test -n "$RANLIB"; then
6819 case $host_os in
6820 openbsd*)
6821 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6824 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6826 esac
6827 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6830 case $host_os in
6831 darwin*)
6832 lock_old_archive_extraction=yes ;;
6834 lock_old_archive_extraction=no ;;
6835 esac
6875 # If no C compiler was specified, use CC.
6876 LTCC=${LTCC-"$CC"}
6878 # If no C compiler flags were specified, use CFLAGS.
6879 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6881 # Allow CC to be a program name with arguments.
6882 compiler=$CC
6885 # Check for command to grab the raw symbol name followed by C symbol from nm.
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6887 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6888 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6892 # These are sane defaults that work on at least a few old systems.
6893 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6895 # Character class describing NM global symbol codes.
6896 symcode='[BCDEGRST]'
6898 # Regexp to match symbols that can be accessed directly from C.
6899 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6901 # Define system-specific variables.
6902 case $host_os in
6903 aix*)
6904 symcode='[BCDT]'
6906 cygwin* | mingw* | pw32* | cegcc*)
6907 symcode='[ABCDGISTW]'
6909 hpux*)
6910 if test "$host_cpu" = ia64; then
6911 symcode='[ABCDEGRST]'
6914 irix* | nonstopux*)
6915 symcode='[BCDEGRST]'
6917 osf*)
6918 symcode='[BCDEGQRST]'
6920 solaris*)
6921 symcode='[BDRT]'
6923 sco3.2v5*)
6924 symcode='[DT]'
6926 sysv4.2uw2*)
6927 symcode='[DT]'
6929 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6930 symcode='[ABDT]'
6932 sysv4)
6933 symcode='[DFNSTU]'
6935 esac
6937 # If we're using GNU nm, then use its standard symbol codes.
6938 case `$NM -V 2>&1` in
6939 *GNU* | *'with BFD'*)
6940 symcode='[ABCDGIRSTW]' ;;
6941 esac
6943 # Transform an extracted symbol line into a proper C declaration.
6944 # Some systems (esp. on ia64) link data and code symbols differently,
6945 # so use this general approach.
6946 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6948 # Transform an extracted symbol line into symbol name and symbol address
6949 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6950 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'"
6952 # Handle CRLF in mingw tool chain
6953 opt_cr=
6954 case $build_os in
6955 mingw*)
6956 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6958 esac
6960 # Try without a prefix underscore, then with it.
6961 for ac_symprfx in "" "_"; do
6963 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6964 symxfrm="\\1 $ac_symprfx\\2 \\2"
6966 # Write the raw and C identifiers.
6967 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6968 # Fake it for dumpbin and say T for any non-static function
6969 # and D for any global variable.
6970 # Also find C++ and __fastcall symbols from MSVC++,
6971 # which start with @ or ?.
6972 lt_cv_sys_global_symbol_pipe="$AWK '"\
6973 " {last_section=section; section=\$ 3};"\
6974 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6975 " \$ 0!~/External *\|/{next};"\
6976 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6977 " {if(hide[section]) next};"\
6978 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6979 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6980 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6981 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6982 " ' prfx=^$ac_symprfx"
6983 else
6984 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987 # Check to see that the pipe works correctly.
6988 pipe_works=no
6990 rm -f conftest*
6991 cat > conftest.$ac_ext <<_LT_EOF
6992 #ifdef __cplusplus
6993 extern "C" {
6994 #endif
6995 char nm_test_var;
6996 void nm_test_func(void);
6997 void nm_test_func(void){}
6998 #ifdef __cplusplus
7000 #endif
7001 int main(){nm_test_var='a';nm_test_func();return(0);}
7002 _LT_EOF
7004 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7005 (eval $ac_compile) 2>&5
7006 ac_status=$?
7007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7008 test $ac_status = 0; }; then
7009 # Now try to grab the symbols.
7010 nlist=conftest.nm
7011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7012 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7013 ac_status=$?
7014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7015 test $ac_status = 0; } && test -s "$nlist"; then
7016 # Try sorting and uniquifying the output.
7017 if sort "$nlist" | uniq > "$nlist"T; then
7018 mv -f "$nlist"T "$nlist"
7019 else
7020 rm -f "$nlist"T
7023 # Make sure that we snagged all the symbols we need.
7024 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7025 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7026 cat <<_LT_EOF > conftest.$ac_ext
7027 #ifdef __cplusplus
7028 extern "C" {
7029 #endif
7031 _LT_EOF
7032 # Now generate the symbol file.
7033 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7035 cat <<_LT_EOF >> conftest.$ac_ext
7037 /* The mapping between symbol names and symbols. */
7038 const struct {
7039 const char *name;
7040 void *address;
7042 lt__PROGRAM__LTX_preloaded_symbols[] =
7044 { "@PROGRAM@", (void *) 0 },
7045 _LT_EOF
7046 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7047 cat <<\_LT_EOF >> conftest.$ac_ext
7048 {0, (void *) 0}
7051 /* This works around a problem in FreeBSD linker */
7052 #ifdef FREEBSD_WORKAROUND
7053 static const void *lt_preloaded_setup() {
7054 return lt__PROGRAM__LTX_preloaded_symbols;
7056 #endif
7058 #ifdef __cplusplus
7060 #endif
7061 _LT_EOF
7062 # Now try linking the two files.
7063 mv conftest.$ac_objext conftstm.$ac_objext
7064 lt_save_LIBS="$LIBS"
7065 lt_save_CFLAGS="$CFLAGS"
7066 LIBS="conftstm.$ac_objext"
7067 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7069 (eval $ac_link) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7073 pipe_works=yes
7075 LIBS="$lt_save_LIBS"
7076 CFLAGS="$lt_save_CFLAGS"
7077 else
7078 echo "cannot find nm_test_func in $nlist" >&5
7080 else
7081 echo "cannot find nm_test_var in $nlist" >&5
7083 else
7084 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7086 else
7087 echo "$progname: failed program was:" >&5
7088 cat conftest.$ac_ext >&5
7090 rm -rf conftest* conftst*
7092 # Do not use the global_symbol_pipe unless it works.
7093 if test "$pipe_works" = yes; then
7094 break
7095 else
7096 lt_cv_sys_global_symbol_pipe=
7098 done
7102 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7103 lt_cv_sys_global_symbol_to_cdecl=
7105 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7107 $as_echo "failed" >&6; }
7108 else
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7110 $as_echo "ok" >&6; }
7134 # Check whether --enable-libtool-lock was given.
7135 if test "${enable_libtool_lock+set}" = set; then :
7136 enableval=$enable_libtool_lock;
7139 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7141 # Some flags need to be propagated to the compiler or linker for good
7142 # libtool support.
7143 case $host in
7144 ia64-*-hpux*)
7145 # Find out which ABI we are using.
7146 echo 'int i;' > conftest.$ac_ext
7147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148 (eval $ac_compile) 2>&5
7149 ac_status=$?
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7151 test $ac_status = 0; }; then
7152 case `/usr/bin/file conftest.$ac_objext` in
7153 *ELF-32*)
7154 HPUX_IA64_MODE="32"
7156 *ELF-64*)
7157 HPUX_IA64_MODE="64"
7159 esac
7161 rm -rf conftest*
7163 *-*-irix6*)
7164 # Find out which ABI we are using.
7165 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7167 (eval $ac_compile) 2>&5
7168 ac_status=$?
7169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7170 test $ac_status = 0; }; then
7171 if test "$lt_cv_prog_gnu_ld" = yes; then
7172 case `/usr/bin/file conftest.$ac_objext` in
7173 *32-bit*)
7174 LD="${LD-ld} -melf32bsmip"
7176 *N32*)
7177 LD="${LD-ld} -melf32bmipn32"
7179 *64-bit*)
7180 LD="${LD-ld} -melf64bmip"
7182 esac
7183 else
7184 case `/usr/bin/file conftest.$ac_objext` in
7185 *32-bit*)
7186 LD="${LD-ld} -32"
7188 *N32*)
7189 LD="${LD-ld} -n32"
7191 *64-bit*)
7192 LD="${LD-ld} -64"
7194 esac
7197 rm -rf conftest*
7200 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7201 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7202 # Find out which ABI we are using.
7203 echo 'int i;' > conftest.$ac_ext
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205 (eval $ac_compile) 2>&5
7206 ac_status=$?
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; }; then
7209 case `/usr/bin/file conftest.o` in
7210 *32-bit*)
7211 case $host in
7212 x86_64-*kfreebsd*-gnu)
7213 LD="${LD-ld} -m elf_i386_fbsd"
7215 x86_64-*linux*)
7216 case `/usr/bin/file conftest.o` in
7217 *x86-64*)
7218 LD="${LD-ld} -m elf32_x86_64"
7221 LD="${LD-ld} -m elf_i386"
7223 esac
7225 powerpc64le-*linux*)
7226 LD="${LD-ld} -m elf32lppclinux"
7228 powerpc64-*linux*)
7229 LD="${LD-ld} -m elf32ppclinux"
7231 s390x-*linux*)
7232 LD="${LD-ld} -m elf_s390"
7234 sparc64-*linux*)
7235 LD="${LD-ld} -m elf32_sparc"
7237 esac
7239 *64-bit*)
7240 case $host in
7241 x86_64-*kfreebsd*-gnu)
7242 LD="${LD-ld} -m elf_x86_64_fbsd"
7244 x86_64-*linux*)
7245 LD="${LD-ld} -m elf_x86_64"
7247 powerpcle-*linux*)
7248 LD="${LD-ld} -m elf64lppc"
7250 powerpc-*linux*)
7251 LD="${LD-ld} -m elf64ppc"
7253 s390*-*linux*|s390*-*tpf*)
7254 LD="${LD-ld} -m elf64_s390"
7256 sparc*-*linux*)
7257 LD="${LD-ld} -m elf64_sparc"
7259 esac
7261 esac
7263 rm -rf conftest*
7266 *-*-sco3.2v5*)
7267 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7268 SAVE_CFLAGS="$CFLAGS"
7269 CFLAGS="$CFLAGS -belf"
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7271 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7272 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 ac_ext=c
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7281 if test x$gcc_no_link = xyes; then
7282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7285 /* end confdefs.h. */
7288 main ()
7292 return 0;
7294 _ACEOF
7295 if ac_fn_c_try_link "$LINENO"; then :
7296 lt_cv_cc_needs_belf=yes
7297 else
7298 lt_cv_cc_needs_belf=no
7300 rm -f core conftest.err conftest.$ac_objext \
7301 conftest$ac_exeext conftest.$ac_ext
7302 ac_ext=c
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7310 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7311 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7312 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7313 CFLAGS="$SAVE_CFLAGS"
7316 sparc*-*solaris*)
7317 # Find out which ABI we are using.
7318 echo 'int i;' > conftest.$ac_ext
7319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7320 (eval $ac_compile) 2>&5
7321 ac_status=$?
7322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7323 test $ac_status = 0; }; then
7324 case `/usr/bin/file conftest.o` in
7325 *64-bit*)
7326 case $lt_cv_prog_gnu_ld in
7327 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7329 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7330 LD="${LD-ld} -64"
7333 esac
7335 esac
7337 rm -rf conftest*
7339 esac
7341 need_locks="$enable_libtool_lock"
7344 case $host_os in
7345 rhapsody* | darwin*)
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$DSYMUTIL"; then
7355 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7375 if test -n "$DSYMUTIL"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7377 $as_echo "$DSYMUTIL" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_DSYMUTIL"; then
7386 ac_ct_DSYMUTIL=$DSYMUTIL
7387 # Extract the first word of "dsymutil", so it can be a program name with args.
7388 set dummy dsymutil; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_DSYMUTIL"; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7415 if test -n "$ac_ct_DSYMUTIL"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7417 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_DSYMUTIL" = x; then
7424 DSYMUTIL=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 DSYMUTIL=$ac_ct_DSYMUTIL
7434 else
7435 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$NMEDIT"; then
7447 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 NMEDIT=$ac_cv_prog_NMEDIT
7467 if test -n "$NMEDIT"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7469 $as_echo "$NMEDIT" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_NMEDIT"; then
7478 ac_ct_NMEDIT=$NMEDIT
7479 # Extract the first word of "nmedit", so it can be a program name with args.
7480 set dummy nmedit; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_NMEDIT"; then
7487 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7507 if test -n "$ac_ct_NMEDIT"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7509 $as_echo "$ac_ct_NMEDIT" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_NMEDIT" = x; then
7516 NMEDIT=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 NMEDIT=$ac_ct_NMEDIT
7526 else
7527 NMEDIT="$ac_cv_prog_NMEDIT"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_LIPO+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$LIPO"; then
7539 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 LIPO=$ac_cv_prog_LIPO
7559 if test -n "$LIPO"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7561 $as_echo "$LIPO" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_LIPO"; then
7570 ac_ct_LIPO=$LIPO
7571 # Extract the first word of "lipo", so it can be a program name with args.
7572 set dummy lipo; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_LIPO"; then
7579 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_LIPO="lipo"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7599 if test -n "$ac_ct_LIPO"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7601 $as_echo "$ac_ct_LIPO" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_LIPO" = x; then
7608 LIPO=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 LIPO=$ac_ct_LIPO
7618 else
7619 LIPO="$ac_cv_prog_LIPO"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL"; then
7631 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL=$ac_cv_prog_OTOOL
7651 if test -n "$OTOOL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7653 $as_echo "$OTOOL" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL"; then
7662 ac_ct_OTOOL=$OTOOL
7663 # Extract the first word of "otool", so it can be a program name with args.
7664 set dummy otool; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL"; then
7671 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL="otool"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7691 if test -n "$ac_ct_OTOOL"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7693 $as_echo "$ac_ct_OTOOL" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL" = x; then
7700 OTOOL=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL=$ac_ct_OTOOL
7710 else
7711 OTOOL="$ac_cv_prog_OTOOL"
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$OTOOL64"; then
7723 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 OTOOL64=$ac_cv_prog_OTOOL64
7743 if test -n "$OTOOL64"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7745 $as_echo "$OTOOL64" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_OTOOL64"; then
7754 ac_ct_OTOOL64=$OTOOL64
7755 # Extract the first word of "otool64", so it can be a program name with args.
7756 set dummy otool64; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7760 $as_echo_n "(cached) " >&6
7761 else
7762 if test -n "$ac_ct_OTOOL64"; then
7763 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7764 else
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_ac_ct_OTOOL64="otool64"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7782 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7783 if test -n "$ac_ct_OTOOL64"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7785 $as_echo "$ac_ct_OTOOL64" >&6; }
7786 else
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_OTOOL64" = x; then
7792 OTOOL64=":"
7793 else
7794 case $cross_compiling:$ac_tool_warned in
7795 yes:)
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7799 esac
7800 OTOOL64=$ac_ct_OTOOL64
7802 else
7803 OTOOL64="$ac_cv_prog_OTOOL64"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7833 $as_echo_n "checking for -single_module linker flag... " >&6; }
7834 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7835 $as_echo_n "(cached) " >&6
7836 else
7837 lt_cv_apple_cc_single_mod=no
7838 if test -z "${LT_MULTI_MODULE}"; then
7839 # By default we will add the -single_module flag. You can override
7840 # by either setting the environment variable LT_MULTI_MODULE
7841 # non-empty at configure time, or by adding -multi_module to the
7842 # link flags.
7843 rm -rf libconftest.dylib*
7844 echo "int foo(void){return 1;}" > conftest.c
7845 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7846 -dynamiclib -Wl,-single_module conftest.c" >&5
7847 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7849 _lt_result=$?
7850 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7851 lt_cv_apple_cc_single_mod=yes
7852 else
7853 cat conftest.err >&5
7855 rm -rf libconftest.dylib*
7856 rm -f conftest.*
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7860 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7862 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7863 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 lt_cv_ld_exported_symbols_list=no
7867 save_LDFLAGS=$LDFLAGS
7868 echo "_main" > conftest.sym
7869 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7870 if test x$gcc_no_link = xyes; then
7871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7877 main ()
7881 return 0;
7883 _ACEOF
7884 if ac_fn_c_try_link "$LINENO"; then :
7885 lt_cv_ld_exported_symbols_list=yes
7886 else
7887 lt_cv_ld_exported_symbols_list=no
7889 rm -f core conftest.err conftest.$ac_objext \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LDFLAGS="$save_LDFLAGS"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7895 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7897 $as_echo_n "checking for -force_load linker flag... " >&6; }
7898 if test "${lt_cv_ld_force_load+set}" = set; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 lt_cv_ld_force_load=no
7902 cat > conftest.c << _LT_EOF
7903 int forced_loaded() { return 2;}
7904 _LT_EOF
7905 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7906 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7907 echo "$AR cru libconftest.a conftest.o" >&5
7908 $AR cru libconftest.a conftest.o 2>&5
7909 cat > conftest.c << _LT_EOF
7910 int main() { return 0;}
7911 _LT_EOF
7912 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7913 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7914 _lt_result=$?
7915 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7916 lt_cv_ld_force_load=yes
7917 else
7918 cat conftest.err >&5
7920 rm -f conftest.err libconftest.a conftest conftest.c
7921 rm -rf conftest.dSYM
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7925 $as_echo "$lt_cv_ld_force_load" >&6; }
7926 case $host_os in
7927 rhapsody* | darwin1.[012])
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7929 darwin1.*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 darwin*) # darwin 5.x on
7932 # if running on 10.5 or later, the deployment target defaults
7933 # to the OS version, if on x86, and 10.4, the deployment
7934 # target defaults to 10.4. Don't you love it?
7935 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7936 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7937 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7938 10.[012][,.]*)
7939 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7940 10.*)
7941 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7942 esac
7944 esac
7945 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7946 _lt_dar_single_mod='$single_module'
7948 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7949 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7950 else
7951 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7953 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7954 _lt_dsymutil='~$DSYMUTIL $lib || :'
7955 else
7956 _lt_dsymutil=
7959 esac
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7962 $as_echo_n "checking for ANSI C header files... " >&6; }
7963 if test "${ac_cv_header_stdc+set}" = set; then :
7964 $as_echo_n "(cached) " >&6
7965 else
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7968 #include <stdlib.h>
7969 #include <stdarg.h>
7970 #include <string.h>
7971 #include <float.h>
7974 main ()
7978 return 0;
7980 _ACEOF
7981 if ac_fn_c_try_compile "$LINENO"; then :
7982 ac_cv_header_stdc=yes
7983 else
7984 ac_cv_header_stdc=no
7986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7988 if test $ac_cv_header_stdc = yes; then
7989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7991 /* end confdefs.h. */
7992 #include <string.h>
7994 _ACEOF
7995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7996 $EGREP "memchr" >/dev/null 2>&1; then :
7998 else
7999 ac_cv_header_stdc=no
8001 rm -f conftest*
8005 if test $ac_cv_header_stdc = yes; then
8006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8009 #include <stdlib.h>
8011 _ACEOF
8012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8013 $EGREP "free" >/dev/null 2>&1; then :
8015 else
8016 ac_cv_header_stdc=no
8018 rm -f conftest*
8022 if test $ac_cv_header_stdc = yes; then
8023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8024 if test "$cross_compiling" = yes; then :
8026 else
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8029 #include <ctype.h>
8030 #include <stdlib.h>
8031 #if ((' ' & 0x0FF) == 0x020)
8032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8034 #else
8035 # define ISLOWER(c) \
8036 (('a' <= (c) && (c) <= 'i') \
8037 || ('j' <= (c) && (c) <= 'r') \
8038 || ('s' <= (c) && (c) <= 'z'))
8039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8040 #endif
8042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8044 main ()
8046 int i;
8047 for (i = 0; i < 256; i++)
8048 if (XOR (islower (i), ISLOWER (i))
8049 || toupper (i) != TOUPPER (i))
8050 return 2;
8051 return 0;
8053 _ACEOF
8054 if ac_fn_c_try_run "$LINENO"; then :
8056 else
8057 ac_cv_header_stdc=no
8059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8060 conftest.$ac_objext conftest.beam conftest.$ac_ext
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8066 $as_echo "$ac_cv_header_stdc" >&6; }
8067 if test $ac_cv_header_stdc = yes; then
8069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8073 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8074 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8075 inttypes.h stdint.h unistd.h
8076 do :
8077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8078 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8080 eval as_val=\$$as_ac_Header
8081 if test "x$as_val" = x""yes; then :
8082 cat >>confdefs.h <<_ACEOF
8083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8084 _ACEOF
8088 done
8091 for ac_header in dlfcn.h
8092 do :
8093 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8095 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_DLFCN_H 1
8098 _ACEOF
8102 done
8109 # Set options
8114 enable_win32_dll=no
8117 # Check whether --enable-shared was given.
8118 if test "${enable_shared+set}" = set; then :
8119 enableval=$enable_shared; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_shared=yes ;;
8122 no) enable_shared=no ;;
8124 enable_shared=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_shared=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_shared=yes
8148 # Check whether --enable-static was given.
8149 if test "${enable_static+set}" = set; then :
8150 enableval=$enable_static; p=${PACKAGE-default}
8151 case $enableval in
8152 yes) enable_static=yes ;;
8153 no) enable_static=no ;;
8155 enable_static=no
8156 # Look at the argument we got. We use all the common list separators.
8157 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8158 for pkg in $enableval; do
8159 IFS="$lt_save_ifs"
8160 if test "X$pkg" = "X$p"; then
8161 enable_static=yes
8163 done
8164 IFS="$lt_save_ifs"
8166 esac
8167 else
8168 enable_static=yes
8180 # Check whether --with-pic was given.
8181 if test "${with_pic+set}" = set; then :
8182 withval=$with_pic; pic_mode="$withval"
8183 else
8184 pic_mode=default
8188 test -z "$pic_mode" && pic_mode=default
8196 # Check whether --enable-fast-install was given.
8197 if test "${enable_fast_install+set}" = set; then :
8198 enableval=$enable_fast_install; p=${PACKAGE-default}
8199 case $enableval in
8200 yes) enable_fast_install=yes ;;
8201 no) enable_fast_install=no ;;
8203 enable_fast_install=no
8204 # Look at the argument we got. We use all the common list separators.
8205 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8206 for pkg in $enableval; do
8207 IFS="$lt_save_ifs"
8208 if test "X$pkg" = "X$p"; then
8209 enable_fast_install=yes
8211 done
8212 IFS="$lt_save_ifs"
8214 esac
8215 else
8216 enable_fast_install=yes
8229 # This can be used to rebuild libtool when needed
8230 LIBTOOL_DEPS="$ltmain"
8232 # Always use our own libtool.
8233 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8260 test -z "$LN_S" && LN_S="ln -s"
8275 if test -n "${ZSH_VERSION+set}" ; then
8276 setopt NO_GLOB_SUBST
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8280 $as_echo_n "checking for objdir... " >&6; }
8281 if test "${lt_cv_objdir+set}" = set; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 rm -f .libs 2>/dev/null
8285 mkdir .libs 2>/dev/null
8286 if test -d .libs; then
8287 lt_cv_objdir=.libs
8288 else
8289 # MS-DOS does not allow filenames that begin with a dot.
8290 lt_cv_objdir=_libs
8292 rmdir .libs 2>/dev/null
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8295 $as_echo "$lt_cv_objdir" >&6; }
8296 objdir=$lt_cv_objdir
8302 cat >>confdefs.h <<_ACEOF
8303 #define LT_OBJDIR "$lt_cv_objdir/"
8304 _ACEOF
8309 case $host_os in
8310 aix3*)
8311 # AIX sometimes has problems with the GCC collect2 program. For some
8312 # reason, if we set the COLLECT_NAMES environment variable, the problems
8313 # vanish in a puff of smoke.
8314 if test "X${COLLECT_NAMES+set}" != Xset; then
8315 COLLECT_NAMES=
8316 export COLLECT_NAMES
8319 esac
8321 # Global variables:
8322 ofile=libtool
8323 can_build_shared=yes
8325 # All known linkers require a `.a' archive for static linking (except MSVC,
8326 # which needs '.lib').
8327 libext=a
8329 with_gnu_ld="$lt_cv_prog_gnu_ld"
8331 old_CC="$CC"
8332 old_CFLAGS="$CFLAGS"
8334 # Set sane defaults for various variables
8335 test -z "$CC" && CC=cc
8336 test -z "$LTCC" && LTCC=$CC
8337 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8338 test -z "$LD" && LD=ld
8339 test -z "$ac_objext" && ac_objext=o
8341 for cc_temp in $compiler""; do
8342 case $cc_temp in
8343 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8344 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8345 \-*) ;;
8346 *) break;;
8347 esac
8348 done
8349 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8352 # Only perform the check for file, if the check method requires it
8353 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8354 case $deplibs_check_method in
8355 file_magic*)
8356 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8358 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8359 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 case $MAGIC_CMD in
8363 [\\/*] | ?:[\\/]*)
8364 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8367 lt_save_MAGIC_CMD="$MAGIC_CMD"
8368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8369 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8370 for ac_dir in $ac_dummy; do
8371 IFS="$lt_save_ifs"
8372 test -z "$ac_dir" && ac_dir=.
8373 if test -f $ac_dir/${ac_tool_prefix}file; then
8374 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8375 if test -n "$file_magic_test_file"; then
8376 case $deplibs_check_method in
8377 "file_magic "*)
8378 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8379 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8380 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8381 $EGREP "$file_magic_regex" > /dev/null; then
8383 else
8384 cat <<_LT_EOF 1>&2
8386 *** Warning: the command libtool uses to detect shared libraries,
8387 *** $file_magic_cmd, produces output that libtool cannot recognize.
8388 *** The result is that libtool may fail to recognize shared libraries
8389 *** as such. This will affect the creation of libtool libraries that
8390 *** depend on shared libraries, but programs linked with such libtool
8391 *** libraries will work regardless of this problem. Nevertheless, you
8392 *** may want to report the problem to your system manager and/or to
8393 *** bug-libtool@gnu.org
8395 _LT_EOF
8396 fi ;;
8397 esac
8399 break
8401 done
8402 IFS="$lt_save_ifs"
8403 MAGIC_CMD="$lt_save_MAGIC_CMD"
8405 esac
8408 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8409 if test -n "$MAGIC_CMD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8411 $as_echo "$MAGIC_CMD" >&6; }
8412 else
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8421 if test -z "$lt_cv_path_MAGIC_CMD"; then
8422 if test -n "$ac_tool_prefix"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8424 $as_echo_n "checking for file... " >&6; }
8425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 case $MAGIC_CMD in
8429 [\\/*] | ?:[\\/]*)
8430 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433 lt_save_MAGIC_CMD="$MAGIC_CMD"
8434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8435 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8436 for ac_dir in $ac_dummy; do
8437 IFS="$lt_save_ifs"
8438 test -z "$ac_dir" && ac_dir=.
8439 if test -f $ac_dir/file; then
8440 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8441 if test -n "$file_magic_test_file"; then
8442 case $deplibs_check_method in
8443 "file_magic "*)
8444 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8445 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8446 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8447 $EGREP "$file_magic_regex" > /dev/null; then
8449 else
8450 cat <<_LT_EOF 1>&2
8452 *** Warning: the command libtool uses to detect shared libraries,
8453 *** $file_magic_cmd, produces output that libtool cannot recognize.
8454 *** The result is that libtool may fail to recognize shared libraries
8455 *** as such. This will affect the creation of libtool libraries that
8456 *** depend on shared libraries, but programs linked with such libtool
8457 *** libraries will work regardless of this problem. Nevertheless, you
8458 *** may want to report the problem to your system manager and/or to
8459 *** bug-libtool@gnu.org
8461 _LT_EOF
8462 fi ;;
8463 esac
8465 break
8467 done
8468 IFS="$lt_save_ifs"
8469 MAGIC_CMD="$lt_save_MAGIC_CMD"
8471 esac
8474 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8475 if test -n "$MAGIC_CMD"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8477 $as_echo "$MAGIC_CMD" >&6; }
8478 else
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8484 else
8485 MAGIC_CMD=:
8491 esac
8493 # Use C for the default configuration in the libtool script
8495 lt_save_CC="$CC"
8496 ac_ext=c
8497 ac_cpp='$CPP $CPPFLAGS'
8498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8503 # Source file extension for C test sources.
8504 ac_ext=c
8506 # Object file extension for compiled C test sources.
8507 objext=o
8508 objext=$objext
8510 # Code to be used in simple compile tests
8511 lt_simple_compile_test_code="int some_variable = 0;"
8513 # Code to be used in simple link tests
8514 lt_simple_link_test_code='int main(){return(0);}'
8522 # If no C compiler was specified, use CC.
8523 LTCC=${LTCC-"$CC"}
8525 # If no C compiler flags were specified, use CFLAGS.
8526 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8528 # Allow CC to be a program name with arguments.
8529 compiler=$CC
8531 # Save the default compiler, since it gets overwritten when the other
8532 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8533 compiler_DEFAULT=$CC
8535 # save warnings/boilerplate of simple test code
8536 ac_outfile=conftest.$ac_objext
8537 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8538 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8539 _lt_compiler_boilerplate=`cat conftest.err`
8540 $RM conftest*
8542 ac_outfile=conftest.$ac_objext
8543 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8544 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8545 _lt_linker_boilerplate=`cat conftest.err`
8546 $RM -r conftest*
8549 ## CAVEAT EMPTOR:
8550 ## There is no encapsulation within the following macros, do not change
8551 ## the running order or otherwise move them around unless you know exactly
8552 ## what you are doing...
8553 if test -n "$compiler"; then
8555 lt_prog_compiler_no_builtin_flag=
8557 if test "$GCC" = yes; then
8558 case $cc_basename in
8559 nvcc*)
8560 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8562 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8563 esac
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8566 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8567 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 lt_cv_prog_compiler_rtti_exceptions=no
8571 ac_outfile=conftest.$ac_objext
8572 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573 lt_compiler_flag="-fno-rtti -fno-exceptions"
8574 # Insert the option either (1) after the last *FLAGS variable, or
8575 # (2) before a word containing "conftest.", or (3) at the end.
8576 # Note that $ac_compile itself does not contain backslashes and begins
8577 # with a dollar sign (not a hyphen), so the echo should work correctly.
8578 # The option is referenced via a variable to avoid confusing sed.
8579 lt_compile=`echo "$ac_compile" | $SED \
8580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582 -e 's:$: $lt_compiler_flag:'`
8583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8584 (eval "$lt_compile" 2>conftest.err)
8585 ac_status=$?
8586 cat conftest.err >&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 if (exit $ac_status) && test -s "$ac_outfile"; then
8589 # The compiler can only warn and ignore the option if not recognized
8590 # So say no if there are warnings other than the usual output.
8591 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8593 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8594 lt_cv_prog_compiler_rtti_exceptions=yes
8597 $RM conftest*
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8601 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8603 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8604 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8605 else
8616 lt_prog_compiler_wl=
8617 lt_prog_compiler_pic=
8618 lt_prog_compiler_static=
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8623 if test "$GCC" = yes; then
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_static='-static'
8627 case $host_os in
8628 aix*)
8629 # All AIX code is PIC.
8630 if test "$host_cpu" = ia64; then
8631 # AIX 5 now supports IA64 processor
8632 lt_prog_compiler_static='-Bstatic'
8634 lt_prog_compiler_pic='-fPIC'
8637 amigaos*)
8638 case $host_cpu in
8639 powerpc)
8640 # see comment about AmigaOS4 .so support
8641 lt_prog_compiler_pic='-fPIC'
8643 m68k)
8644 # FIXME: we need at least 68020 code to build shared libraries, but
8645 # adding the `-m68020' flag to GCC prevents building anything better,
8646 # like `-m68040'.
8647 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8649 esac
8652 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8653 # PIC is the default for these OSes.
8656 mingw* | cygwin* | pw32* | os2* | cegcc*)
8657 # This hack is so that the source file can tell whether it is being
8658 # built for inclusion in a dll (and should export symbols for example).
8659 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8660 # (--disable-auto-import) libraries
8661 lt_prog_compiler_pic='-DDLL_EXPORT'
8664 darwin* | rhapsody*)
8665 # PIC is the default on this platform
8666 # Common symbols not allowed in MH_DYLIB files
8667 lt_prog_compiler_pic='-fno-common'
8670 haiku*)
8671 # PIC is the default for Haiku.
8672 # The "-static" flag exists, but is broken.
8673 lt_prog_compiler_static=
8676 hpux*)
8677 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8678 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8679 # sets the default TLS model and affects inlining.
8680 case $host_cpu in
8681 hppa*64*)
8682 # +Z the default
8685 lt_prog_compiler_pic='-fPIC'
8687 esac
8690 interix[3-9]*)
8691 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8692 # Instead, we relocate shared libraries at runtime.
8695 msdosdjgpp*)
8696 # Just because we use GCC doesn't mean we suddenly get shared libraries
8697 # on systems that don't support them.
8698 lt_prog_compiler_can_build_shared=no
8699 enable_shared=no
8702 *nto* | *qnx*)
8703 # QNX uses GNU C++, but need to define -shared option too, otherwise
8704 # it will coredump.
8705 lt_prog_compiler_pic='-fPIC -shared'
8708 sysv4*MP*)
8709 if test -d /usr/nec; then
8710 lt_prog_compiler_pic=-Kconform_pic
8715 lt_prog_compiler_pic='-fPIC'
8717 esac
8719 case $cc_basename in
8720 nvcc*) # Cuda Compiler Driver 2.2
8721 lt_prog_compiler_wl='-Xlinker '
8722 lt_prog_compiler_pic='-Xcompiler -fPIC'
8724 esac
8725 else
8726 # PORTME Check for flag to pass linker flags through the system compiler.
8727 case $host_os in
8728 aix*)
8729 lt_prog_compiler_wl='-Wl,'
8730 if test "$host_cpu" = ia64; then
8731 # AIX 5 now supports IA64 processor
8732 lt_prog_compiler_static='-Bstatic'
8733 else
8734 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8738 mingw* | cygwin* | pw32* | os2* | cegcc*)
8739 # This hack is so that the source file can tell whether it is being
8740 # built for inclusion in a dll (and should export symbols for example).
8741 lt_prog_compiler_pic='-DDLL_EXPORT'
8744 hpux9* | hpux10* | hpux11*)
8745 lt_prog_compiler_wl='-Wl,'
8746 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8747 # not for PA HP-UX.
8748 case $host_cpu in
8749 hppa*64*|ia64*)
8750 # +Z the default
8753 lt_prog_compiler_pic='+Z'
8755 esac
8756 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8757 lt_prog_compiler_static='${wl}-a ${wl}archive'
8760 irix5* | irix6* | nonstopux*)
8761 lt_prog_compiler_wl='-Wl,'
8762 # PIC (with -KPIC) is the default.
8763 lt_prog_compiler_static='-non_shared'
8766 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8767 case $cc_basename in
8768 # old Intel for x86_64 which still supported -KPIC.
8769 ecc*)
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-KPIC'
8772 lt_prog_compiler_static='-static'
8774 # icc used to be incompatible with GCC.
8775 # ICC 10 doesn't accept -KPIC any more.
8776 icc* | ifort*)
8777 lt_prog_compiler_wl='-Wl,'
8778 lt_prog_compiler_pic='-fPIC'
8779 lt_prog_compiler_static='-static'
8781 # Lahey Fortran 8.1.
8782 lf95*)
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='--shared'
8785 lt_prog_compiler_static='--static'
8787 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8788 # Portland Group compilers (*not* the Pentium gcc compiler,
8789 # which looks to be a dead project)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-fpic'
8792 lt_prog_compiler_static='-Bstatic'
8794 ccc*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # All Alpha code is PIC.
8797 lt_prog_compiler_static='-non_shared'
8799 xl* | bgxl* | bgf* | mpixl*)
8800 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8801 lt_prog_compiler_wl='-Wl,'
8802 lt_prog_compiler_pic='-qpic'
8803 lt_prog_compiler_static='-qstaticlink'
8806 case `$CC -V 2>&1 | sed 5q` in
8807 *Sun\ F* | *Sun*Fortran*)
8808 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8809 lt_prog_compiler_pic='-KPIC'
8810 lt_prog_compiler_static='-Bstatic'
8811 lt_prog_compiler_wl=''
8813 *Sun\ C*)
8814 # Sun C 5.9
8815 lt_prog_compiler_pic='-KPIC'
8816 lt_prog_compiler_static='-Bstatic'
8817 lt_prog_compiler_wl='-Wl,'
8819 esac
8821 esac
8824 newsos6)
8825 lt_prog_compiler_pic='-KPIC'
8826 lt_prog_compiler_static='-Bstatic'
8829 *nto* | *qnx*)
8830 # QNX uses GNU C++, but need to define -shared option too, otherwise
8831 # it will coredump.
8832 lt_prog_compiler_pic='-fPIC -shared'
8835 osf3* | osf4* | osf5*)
8836 lt_prog_compiler_wl='-Wl,'
8837 # All OSF/1 code is PIC.
8838 lt_prog_compiler_static='-non_shared'
8841 rdos*)
8842 lt_prog_compiler_static='-non_shared'
8845 solaris*)
8846 lt_prog_compiler_pic='-KPIC'
8847 lt_prog_compiler_static='-Bstatic'
8848 case $cc_basename in
8849 f77* | f90* | f95*)
8850 lt_prog_compiler_wl='-Qoption ld ';;
8852 lt_prog_compiler_wl='-Wl,';;
8853 esac
8856 sunos4*)
8857 lt_prog_compiler_wl='-Qoption ld '
8858 lt_prog_compiler_pic='-PIC'
8859 lt_prog_compiler_static='-Bstatic'
8862 sysv4 | sysv4.2uw2* | sysv4.3*)
8863 lt_prog_compiler_wl='-Wl,'
8864 lt_prog_compiler_pic='-KPIC'
8865 lt_prog_compiler_static='-Bstatic'
8868 sysv4*MP*)
8869 if test -d /usr/nec ;then
8870 lt_prog_compiler_pic='-Kconform_pic'
8871 lt_prog_compiler_static='-Bstatic'
8875 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8876 lt_prog_compiler_wl='-Wl,'
8877 lt_prog_compiler_pic='-KPIC'
8878 lt_prog_compiler_static='-Bstatic'
8881 unicos*)
8882 lt_prog_compiler_wl='-Wl,'
8883 lt_prog_compiler_can_build_shared=no
8886 uts4*)
8887 lt_prog_compiler_pic='-pic'
8888 lt_prog_compiler_static='-Bstatic'
8892 lt_prog_compiler_can_build_shared=no
8894 esac
8897 case $host_os in
8898 # For platforms which do not support PIC, -DPIC is meaningless:
8899 *djgpp*)
8900 lt_prog_compiler_pic=
8903 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8905 esac
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8907 $as_echo "$lt_prog_compiler_pic" >&6; }
8915 # Check to make sure the PIC flag actually works.
8917 if test -n "$lt_prog_compiler_pic"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8919 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8920 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 lt_cv_prog_compiler_pic_works=no
8924 ac_outfile=conftest.$ac_objext
8925 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8926 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8927 # Insert the option either (1) after the last *FLAGS variable, or
8928 # (2) before a word containing "conftest.", or (3) at the end.
8929 # Note that $ac_compile itself does not contain backslashes and begins
8930 # with a dollar sign (not a hyphen), so the echo should work correctly.
8931 # The option is referenced via a variable to avoid confusing sed.
8932 lt_compile=`echo "$ac_compile" | $SED \
8933 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8935 -e 's:$: $lt_compiler_flag:'`
8936 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8937 (eval "$lt_compile" 2>conftest.err)
8938 ac_status=$?
8939 cat conftest.err >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 if (exit $ac_status) && test -s "$ac_outfile"; then
8942 # The compiler can only warn and ignore the option if not recognized
8943 # So say no if there are warnings other than the usual output.
8944 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8945 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8946 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8947 lt_cv_prog_compiler_pic_works=yes
8950 $RM conftest*
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8954 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8956 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8957 case $lt_prog_compiler_pic in
8958 "" | " "*) ;;
8959 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8960 esac
8961 else
8962 lt_prog_compiler_pic=
8963 lt_prog_compiler_can_build_shared=no
8974 # Check to make sure the static flag actually works.
8976 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8979 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 lt_cv_prog_compiler_static_works=no
8983 save_LDFLAGS="$LDFLAGS"
8984 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8985 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8986 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8987 # The linker can only warn and ignore the option if not recognized
8988 # So say no if there are warnings
8989 if test -s conftest.err; then
8990 # Append any errors to the config.log.
8991 cat conftest.err 1>&5
8992 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8993 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8994 if diff conftest.exp conftest.er2 >/dev/null; then
8995 lt_cv_prog_compiler_static_works=yes
8997 else
8998 lt_cv_prog_compiler_static_works=yes
9001 $RM -r conftest*
9002 LDFLAGS="$save_LDFLAGS"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9006 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9008 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9010 else
9011 lt_prog_compiler_static=
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 lt_cv_prog_compiler_c_o=no
9026 $RM -r conftest 2>/dev/null
9027 mkdir conftest
9028 cd conftest
9029 mkdir out
9030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9032 lt_compiler_flag="-o out/conftest2.$ac_objext"
9033 # Insert the option either (1) after the last *FLAGS variable, or
9034 # (2) before a word containing "conftest.", or (3) at the end.
9035 # Note that $ac_compile itself does not contain backslashes and begins
9036 # with a dollar sign (not a hyphen), so the echo should work correctly.
9037 lt_compile=`echo "$ac_compile" | $SED \
9038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9040 -e 's:$: $lt_compiler_flag:'`
9041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9042 (eval "$lt_compile" 2>out/conftest.err)
9043 ac_status=$?
9044 cat out/conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9047 then
9048 # The compiler can only warn and ignore the option if not recognized
9049 # So say no if there are warnings
9050 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9051 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9052 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9053 lt_cv_prog_compiler_c_o=yes
9056 chmod u+w . 2>&5
9057 $RM conftest*
9058 # SGI C++ compiler will create directory out/ii_files/ for
9059 # template instantiation
9060 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9061 $RM out/* && rmdir out
9062 cd ..
9063 $RM -r conftest
9064 $RM conftest*
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9076 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9077 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 lt_cv_prog_compiler_c_o=no
9081 $RM -r conftest 2>/dev/null
9082 mkdir conftest
9083 cd conftest
9084 mkdir out
9085 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9087 lt_compiler_flag="-o out/conftest2.$ac_objext"
9088 # Insert the option either (1) after the last *FLAGS variable, or
9089 # (2) before a word containing "conftest.", or (3) at the end.
9090 # Note that $ac_compile itself does not contain backslashes and begins
9091 # with a dollar sign (not a hyphen), so the echo should work correctly.
9092 lt_compile=`echo "$ac_compile" | $SED \
9093 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9094 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9095 -e 's:$: $lt_compiler_flag:'`
9096 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9097 (eval "$lt_compile" 2>out/conftest.err)
9098 ac_status=$?
9099 cat out/conftest.err >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9102 then
9103 # The compiler can only warn and ignore the option if not recognized
9104 # So say no if there are warnings
9105 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9106 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9107 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9108 lt_cv_prog_compiler_c_o=yes
9111 chmod u+w . 2>&5
9112 $RM conftest*
9113 # SGI C++ compiler will create directory out/ii_files/ for
9114 # template instantiation
9115 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9116 $RM out/* && rmdir out
9117 cd ..
9118 $RM -r conftest
9119 $RM conftest*
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9123 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9128 hard_links="nottested"
9129 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9130 # do not overwrite the value of need_locks provided by the user
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9132 $as_echo_n "checking if we can lock with hard links... " >&6; }
9133 hard_links=yes
9134 $RM conftest*
9135 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9136 touch conftest.a
9137 ln conftest.a conftest.b 2>&5 || hard_links=no
9138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9140 $as_echo "$hard_links" >&6; }
9141 if test "$hard_links" = no; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9143 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9144 need_locks=warn
9146 else
9147 need_locks=no
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9156 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9158 runpath_var=
9159 allow_undefined_flag=
9160 always_export_symbols=no
9161 archive_cmds=
9162 archive_expsym_cmds=
9163 compiler_needs_object=no
9164 enable_shared_with_static_runtimes=no
9165 export_dynamic_flag_spec=
9166 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9167 hardcode_automatic=no
9168 hardcode_direct=no
9169 hardcode_direct_absolute=no
9170 hardcode_libdir_flag_spec=
9171 hardcode_libdir_flag_spec_ld=
9172 hardcode_libdir_separator=
9173 hardcode_minus_L=no
9174 hardcode_shlibpath_var=unsupported
9175 inherit_rpath=no
9176 link_all_deplibs=unknown
9177 module_cmds=
9178 module_expsym_cmds=
9179 old_archive_from_new_cmds=
9180 old_archive_from_expsyms_cmds=
9181 thread_safe_flag_spec=
9182 whole_archive_flag_spec=
9183 # include_expsyms should be a list of space-separated symbols to be *always*
9184 # included in the symbol list
9185 include_expsyms=
9186 # exclude_expsyms can be an extended regexp of symbols to exclude
9187 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9188 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9189 # as well as any symbol that contains `d'.
9190 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9191 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9192 # platforms (ab)use it in PIC code, but their linkers get confused if
9193 # the symbol is explicitly referenced. Since portable code cannot
9194 # rely on this symbol name, it's probably fine to never include it in
9195 # preloaded symbol tables.
9196 # Exclude shared library initialization/finalization symbols.
9197 extract_expsyms_cmds=
9199 case $host_os in
9200 cygwin* | mingw* | pw32* | cegcc*)
9201 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9202 # When not using gcc, we currently assume that we are using
9203 # Microsoft Visual C++.
9204 if test "$GCC" != yes; then
9205 with_gnu_ld=no
9208 interix*)
9209 # we just hope/assume this is gcc and not c89 (= MSVC++)
9210 with_gnu_ld=yes
9212 openbsd*)
9213 with_gnu_ld=no
9215 esac
9217 ld_shlibs=yes
9219 # On some targets, GNU ld is compatible enough with the native linker
9220 # that we're better off using the native interface for both.
9221 lt_use_gnu_ld_interface=no
9222 if test "$with_gnu_ld" = yes; then
9223 case $host_os in
9224 aix*)
9225 # The AIX port of GNU ld has always aspired to compatibility
9226 # with the native linker. However, as the warning in the GNU ld
9227 # block says, versions before 2.19.5* couldn't really create working
9228 # shared libraries, regardless of the interface used.
9229 case `$LD -v 2>&1` in
9230 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9231 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9232 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9234 lt_use_gnu_ld_interface=yes
9236 esac
9239 lt_use_gnu_ld_interface=yes
9241 esac
9244 if test "$lt_use_gnu_ld_interface" = yes; then
9245 # If archive_cmds runs LD, not CC, wlarc should be empty
9246 wlarc='${wl}'
9248 # Set some defaults for GNU ld with shared library support. These
9249 # are reset later if shared libraries are not supported. Putting them
9250 # here allows them to be overridden if necessary.
9251 runpath_var=LD_RUN_PATH
9252 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9253 export_dynamic_flag_spec='${wl}--export-dynamic'
9254 # ancient GNU ld didn't support --whole-archive et. al.
9255 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9256 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9257 else
9258 whole_archive_flag_spec=
9260 supports_anon_versioning=no
9261 case `$LD -v 2>&1` in
9262 *GNU\ gold*) supports_anon_versioning=yes ;;
9263 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9264 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9265 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9266 *\ 2.11.*) ;; # other 2.11 versions
9267 *) supports_anon_versioning=yes ;;
9268 esac
9270 # See if GNU ld supports shared libraries.
9271 case $host_os in
9272 aix[3-9]*)
9273 # On AIX/PPC, the GNU linker is very broken
9274 if test "$host_cpu" != ia64; then
9275 ld_shlibs=no
9276 cat <<_LT_EOF 1>&2
9278 *** Warning: the GNU linker, at least up to release 2.19, is reported
9279 *** to be unable to reliably create shared libraries on AIX.
9280 *** Therefore, libtool is disabling shared libraries support. If you
9281 *** really care for shared libraries, you may want to install binutils
9282 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9283 *** You will then need to restart the configuration process.
9285 _LT_EOF
9289 amigaos*)
9290 case $host_cpu in
9291 powerpc)
9292 # see comment about AmigaOS4 .so support
9293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294 archive_expsym_cmds=''
9296 m68k)
9297 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)'
9298 hardcode_libdir_flag_spec='-L$libdir'
9299 hardcode_minus_L=yes
9301 esac
9304 beos*)
9305 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9306 allow_undefined_flag=unsupported
9307 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9308 # support --undefined. This deserves some investigation. FIXME
9309 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 else
9311 ld_shlibs=no
9315 cygwin* | mingw* | pw32* | cegcc*)
9316 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9317 # as there is no search path for DLLs.
9318 hardcode_libdir_flag_spec='-L$libdir'
9319 export_dynamic_flag_spec='${wl}--export-all-symbols'
9320 allow_undefined_flag=unsupported
9321 always_export_symbols=no
9322 enable_shared_with_static_runtimes=yes
9323 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9325 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9326 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 # If the export-symbols file already is a .def file (1st line
9328 # is EXPORTS), use it as is; otherwise, prepend...
9329 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9330 cp $export_symbols $output_objdir/$soname.def;
9331 else
9332 echo EXPORTS > $output_objdir/$soname.def;
9333 cat $export_symbols >> $output_objdir/$soname.def;
9335 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9336 else
9337 ld_shlibs=no
9341 haiku*)
9342 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 link_all_deplibs=yes
9346 interix[3-9]*)
9347 hardcode_direct=no
9348 hardcode_shlibpath_var=no
9349 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9350 export_dynamic_flag_spec='${wl}-E'
9351 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9352 # Instead, shared libraries are loaded at an image base (0x10000000 by
9353 # default) and relocated if they conflict, which is a slow very memory
9354 # consuming and fragmenting process. To avoid this, we pick a random,
9355 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9356 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9357 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9358 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'
9361 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9362 tmp_diet=no
9363 if test "$host_os" = linux-dietlibc; then
9364 case $cc_basename in
9365 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9366 esac
9368 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9369 && test "$tmp_diet" = no
9370 then
9371 tmp_addflag=' $pic_flag'
9372 tmp_sharedflag='-shared'
9373 case $cc_basename,$host_cpu in
9374 pgcc*) # Portland Group C compiler
9375 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'
9376 tmp_addflag=' $pic_flag'
9378 pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group f77 and f90 compilers
9380 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'
9381 tmp_addflag=' $pic_flag -Mnomain' ;;
9382 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9383 tmp_addflag=' -i_dynamic' ;;
9384 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9385 tmp_addflag=' -i_dynamic -nofor_main' ;;
9386 ifc* | ifort*) # Intel Fortran compiler
9387 tmp_addflag=' -nofor_main' ;;
9388 lf95*) # Lahey Fortran 8.1
9389 whole_archive_flag_spec=
9390 tmp_sharedflag='--shared' ;;
9391 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9392 tmp_sharedflag='-qmkshrobj'
9393 tmp_addflag= ;;
9394 nvcc*) # Cuda Compiler Driver 2.2
9395 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'
9396 compiler_needs_object=yes
9398 esac
9399 case `$CC -V 2>&1 | sed 5q` in
9400 *Sun\ C*) # Sun C 5.9
9401 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'
9402 compiler_needs_object=yes
9403 tmp_sharedflag='-G' ;;
9404 *Sun\ F*) # Sun Fortran 8.3
9405 tmp_sharedflag='-G' ;;
9406 esac
9407 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 if test "x$supports_anon_versioning" = xyes; then
9410 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9411 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9412 echo "local: *; };" >> $output_objdir/$libname.ver~
9413 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9416 case $cc_basename in
9417 xlf* | bgf* | bgxlf* | mpixlf*)
9418 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9419 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9420 hardcode_libdir_flag_spec=
9421 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9422 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9423 if test "x$supports_anon_versioning" = xyes; then
9424 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9426 echo "local: *; };" >> $output_objdir/$libname.ver~
9427 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9430 esac
9431 else
9432 ld_shlibs=no
9436 netbsd*)
9437 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9438 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9439 wlarc=
9440 else
9441 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9442 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9446 solaris*)
9447 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9448 ld_shlibs=no
9449 cat <<_LT_EOF 1>&2
9451 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9452 *** create shared libraries on Solaris systems. Therefore, libtool
9453 *** is disabling shared libraries support. We urge you to upgrade GNU
9454 *** binutils to release 2.9.1 or newer. Another option is to modify
9455 *** your PATH or compiler configuration so that the native linker is
9456 *** used, and then restart.
9458 _LT_EOF
9459 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9460 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9461 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9462 else
9463 ld_shlibs=no
9467 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9468 case `$LD -v 2>&1` in
9469 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9470 ld_shlibs=no
9471 cat <<_LT_EOF 1>&2
9473 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9474 *** reliably create shared libraries on SCO systems. Therefore, libtool
9475 *** is disabling shared libraries support. We urge you to upgrade GNU
9476 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9477 *** your PATH or compiler configuration so that the native linker is
9478 *** used, and then restart.
9480 _LT_EOF
9483 # For security reasons, it is highly recommended that you always
9484 # use absolute paths for naming shared libraries, and exclude the
9485 # DT_RUNPATH tag from executables and libraries. But doing so
9486 # requires that you compile everything twice, which is a pain.
9487 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9489 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9490 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9491 else
9492 ld_shlibs=no
9495 esac
9498 sunos4*)
9499 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9500 wlarc=
9501 hardcode_direct=yes
9502 hardcode_shlibpath_var=no
9506 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9509 else
9510 ld_shlibs=no
9513 esac
9515 if test "$ld_shlibs" = no; then
9516 runpath_var=
9517 hardcode_libdir_flag_spec=
9518 export_dynamic_flag_spec=
9519 whole_archive_flag_spec=
9521 else
9522 # PORTME fill in a description of your system's linker (not GNU ld)
9523 case $host_os in
9524 aix3*)
9525 allow_undefined_flag=unsupported
9526 always_export_symbols=yes
9527 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'
9528 # Note: this linker hardcodes the directories in LIBPATH if there
9529 # are no directories specified by -L.
9530 hardcode_minus_L=yes
9531 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9532 # Neither direct hardcoding nor static linking is supported with a
9533 # broken collect2.
9534 hardcode_direct=unsupported
9538 aix[4-9]*)
9539 if test "$host_cpu" = ia64; then
9540 # On IA64, the linker does run time linking by default, so we don't
9541 # have to do anything special.
9542 aix_use_runtimelinking=no
9543 exp_sym_flag='-Bexport'
9544 no_entry_flag=""
9545 else
9546 # If we're using GNU nm, then we don't want the "-C" option.
9547 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9548 # Also, AIX nm treats weak defined symbols like other global
9549 # defined symbols, whereas GNU nm marks them as "W".
9550 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9551 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'
9552 else
9553 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'
9555 aix_use_runtimelinking=no
9557 # Test if we are trying to use run time linking or normal
9558 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9559 # need to do runtime linking.
9560 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9561 for ld_flag in $LDFLAGS; do
9562 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9563 aix_use_runtimelinking=yes
9564 break
9566 done
9568 esac
9570 exp_sym_flag='-bexport'
9571 no_entry_flag='-bnoentry'
9574 # When large executables or shared objects are built, AIX ld can
9575 # have problems creating the table of contents. If linking a library
9576 # or program results in "error TOC overflow" add -mminimal-toc to
9577 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9578 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9580 archive_cmds=''
9581 hardcode_direct=yes
9582 hardcode_direct_absolute=yes
9583 hardcode_libdir_separator=':'
9584 link_all_deplibs=yes
9585 file_list_spec='${wl}-f,'
9587 if test "$GCC" = yes; then
9588 case $host_os in aix4.[012]|aix4.[012].*)
9589 # We only want to do this on AIX 4.2 and lower, the check
9590 # below for broken collect2 doesn't work under 4.3+
9591 collect2name=`${CC} -print-prog-name=collect2`
9592 if test -f "$collect2name" &&
9593 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9594 then
9595 # We have reworked collect2
9597 else
9598 # We have old collect2
9599 hardcode_direct=unsupported
9600 # It fails to find uninstalled libraries when the uninstalled
9601 # path is not listed in the libpath. Setting hardcode_minus_L
9602 # to unsupported forces relinking
9603 hardcode_minus_L=yes
9604 hardcode_libdir_flag_spec='-L$libdir'
9605 hardcode_libdir_separator=
9608 esac
9609 shared_flag='-shared'
9610 if test "$aix_use_runtimelinking" = yes; then
9611 shared_flag="$shared_flag "'${wl}-G'
9613 else
9614 # not using gcc
9615 if test "$host_cpu" = ia64; then
9616 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9617 # chokes on -Wl,-G. The following line is correct:
9618 shared_flag='-G'
9619 else
9620 if test "$aix_use_runtimelinking" = yes; then
9621 shared_flag='${wl}-G'
9622 else
9623 shared_flag='${wl}-bM:SRE'
9628 export_dynamic_flag_spec='${wl}-bexpall'
9629 # It seems that -bexpall does not export symbols beginning with
9630 # underscore (_), so it is better to generate a list of symbols to export.
9631 always_export_symbols=yes
9632 if test "$aix_use_runtimelinking" = yes; then
9633 # Warning - without using the other runtime loading flags (-brtl),
9634 # -berok will link without error, but may produce a broken library.
9635 allow_undefined_flag='-berok'
9636 # Determine the default libpath from the value encoded in an
9637 # empty executable.
9638 if test x$gcc_no_link = xyes; then
9639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9645 main ()
9649 return 0;
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9654 lt_aix_libpath_sed='
9655 /Import File Strings/,/^$/ {
9656 /^0/ {
9657 s/^0 *\(.*\)$/\1/
9661 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9662 # Check for a 64-bit object if we didn't find anything.
9663 if test -z "$aix_libpath"; then
9664 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9671 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9672 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"
9673 else
9674 if test "$host_cpu" = ia64; then
9675 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9676 allow_undefined_flag="-z nodefs"
9677 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"
9678 else
9679 # Determine the default libpath from the value encoded in an
9680 # empty executable.
9681 if test x$gcc_no_link = xyes; then
9682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9688 main ()
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9697 lt_aix_libpath_sed='
9698 /Import File Strings/,/^$/ {
9699 /^0/ {
9700 s/^0 *\(.*\)$/\1/
9704 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9705 # Check for a 64-bit object if we didn't find anything.
9706 if test -z "$aix_libpath"; then
9707 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9714 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9715 # Warning - without using the other run time loading flags,
9716 # -berok will link without error, but may produce a broken library.
9717 no_undefined_flag=' ${wl}-bernotok'
9718 allow_undefined_flag=' ${wl}-berok'
9719 if test "$with_gnu_ld" = yes; then
9720 # We only use this code for GNU lds that support --whole-archive.
9721 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9722 else
9723 # Exported symbols can be pulled into shared objects from archives
9724 whole_archive_flag_spec='$convenience'
9726 archive_cmds_need_lc=yes
9727 # This is similar to how AIX traditionally builds its shared libraries.
9728 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'
9733 amigaos*)
9734 case $host_cpu in
9735 powerpc)
9736 # see comment about AmigaOS4 .so support
9737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9738 archive_expsym_cmds=''
9740 m68k)
9741 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)'
9742 hardcode_libdir_flag_spec='-L$libdir'
9743 hardcode_minus_L=yes
9745 esac
9748 bsdi[45]*)
9749 export_dynamic_flag_spec=-rdynamic
9752 cygwin* | mingw* | pw32* | cegcc*)
9753 # When not using gcc, we currently assume that we are using
9754 # Microsoft Visual C++.
9755 # hardcode_libdir_flag_spec is actually meaningless, as there is
9756 # no search path for DLLs.
9757 hardcode_libdir_flag_spec=' '
9758 allow_undefined_flag=unsupported
9759 # Tell ltmain to make .lib files, not .a files.
9760 libext=lib
9761 # Tell ltmain to make .dll files, not .so files.
9762 shrext_cmds=".dll"
9763 # FIXME: Setting linknames here is a bad hack.
9764 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9765 # The linker will automatically build a .lib file if we build a DLL.
9766 old_archive_from_new_cmds='true'
9767 # FIXME: Should let the user specify the lib program.
9768 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9769 fix_srcfile_path='`cygpath -w "$srcfile"`'
9770 enable_shared_with_static_runtimes=yes
9773 darwin* | rhapsody*)
9776 archive_cmds_need_lc=no
9777 hardcode_direct=no
9778 hardcode_automatic=yes
9779 hardcode_shlibpath_var=unsupported
9780 if test "$lt_cv_ld_force_load" = "yes"; then
9781 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\"`'
9782 else
9783 whole_archive_flag_spec=''
9785 link_all_deplibs=yes
9786 allow_undefined_flag="$_lt_dar_allow_undefined"
9787 case $cc_basename in
9788 ifort*) _lt_dar_can_shared=yes ;;
9789 *) _lt_dar_can_shared=$GCC ;;
9790 esac
9791 if test "$_lt_dar_can_shared" = "yes"; then
9792 output_verbose_link_cmd=func_echo_all
9793 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9794 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9795 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}"
9796 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}"
9798 else
9799 ld_shlibs=no
9804 dgux*)
9805 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9806 hardcode_libdir_flag_spec='-L$libdir'
9807 hardcode_shlibpath_var=no
9810 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9811 # support. Future versions do this automatically, but an explicit c++rt0.o
9812 # does not break anything, and helps significantly (at the cost of a little
9813 # extra space).
9814 freebsd2.2*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9816 hardcode_libdir_flag_spec='-R$libdir'
9817 hardcode_direct=yes
9818 hardcode_shlibpath_var=no
9821 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9822 freebsd2.*)
9823 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9824 hardcode_direct=yes
9825 hardcode_minus_L=yes
9826 hardcode_shlibpath_var=no
9829 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9830 freebsd* | dragonfly*)
9831 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9832 hardcode_libdir_flag_spec='-R$libdir'
9833 hardcode_direct=yes
9834 hardcode_shlibpath_var=no
9837 hpux9*)
9838 if test "$GCC" = yes; then
9839 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'
9840 else
9841 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'
9843 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9844 hardcode_libdir_separator=:
9845 hardcode_direct=yes
9847 # hardcode_minus_L: Not really in the search PATH,
9848 # but as the default location of the library.
9849 hardcode_minus_L=yes
9850 export_dynamic_flag_spec='${wl}-E'
9853 hpux10*)
9854 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9855 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9859 if test "$with_gnu_ld" = no; then
9860 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9861 hardcode_libdir_flag_spec_ld='+b $libdir'
9862 hardcode_libdir_separator=:
9863 hardcode_direct=yes
9864 hardcode_direct_absolute=yes
9865 export_dynamic_flag_spec='${wl}-E'
9866 # hardcode_minus_L: Not really in the search PATH,
9867 # but as the default location of the library.
9868 hardcode_minus_L=yes
9872 hpux11*)
9873 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9874 case $host_cpu in
9875 hppa*64*)
9876 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ia64*)
9879 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9884 esac
9885 else
9886 case $host_cpu in
9887 hppa*64*)
9888 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9890 ia64*)
9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9895 # Older versions of the 11.00 compiler do not understand -b yet
9896 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9898 $as_echo_n "checking if $CC understands -b... " >&6; }
9899 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 lt_cv_prog_compiler__b=no
9903 save_LDFLAGS="$LDFLAGS"
9904 LDFLAGS="$LDFLAGS -b"
9905 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9906 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9907 # The linker can only warn and ignore the option if not recognized
9908 # So say no if there are warnings
9909 if test -s conftest.err; then
9910 # Append any errors to the config.log.
9911 cat conftest.err 1>&5
9912 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9913 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9914 if diff conftest.exp conftest.er2 >/dev/null; then
9915 lt_cv_prog_compiler__b=yes
9917 else
9918 lt_cv_prog_compiler__b=yes
9921 $RM -r conftest*
9922 LDFLAGS="$save_LDFLAGS"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9926 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9928 if test x"$lt_cv_prog_compiler__b" = xyes; then
9929 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9930 else
9931 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9935 esac
9937 if test "$with_gnu_ld" = no; then
9938 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_separator=:
9941 case $host_cpu in
9942 hppa*64*|ia64*)
9943 hardcode_direct=no
9944 hardcode_shlibpath_var=no
9947 hardcode_direct=yes
9948 hardcode_direct_absolute=yes
9949 export_dynamic_flag_spec='${wl}-E'
9951 # hardcode_minus_L: Not really in the search PATH,
9952 # but as the default location of the library.
9953 hardcode_minus_L=yes
9955 esac
9959 irix5* | irix6* | nonstopux*)
9960 if test "$GCC" = yes; then
9961 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'
9962 # Try to use the -exported_symbol ld option, if it does not
9963 # work, assume that -exports_file does not work either and
9964 # implicitly export all symbols.
9965 save_LDFLAGS="$LDFLAGS"
9966 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9967 if test x$gcc_no_link = xyes; then
9968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int foo(void) {}
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 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'
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LDFLAGS="$save_LDFLAGS"
9981 else
9982 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'
9983 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'
9985 archive_cmds_need_lc='no'
9986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987 hardcode_libdir_separator=:
9988 inherit_rpath=yes
9989 link_all_deplibs=yes
9992 netbsd*)
9993 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9994 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9995 else
9996 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9998 hardcode_libdir_flag_spec='-R$libdir'
9999 hardcode_direct=yes
10000 hardcode_shlibpath_var=no
10003 newsos6)
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_direct=yes
10006 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10007 hardcode_libdir_separator=:
10008 hardcode_shlibpath_var=no
10011 *nto* | *qnx*)
10014 openbsd*)
10015 if test -f /usr/libexec/ld.so; then
10016 hardcode_direct=yes
10017 hardcode_shlibpath_var=no
10018 hardcode_direct_absolute=yes
10019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10022 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10023 export_dynamic_flag_spec='${wl}-E'
10024 else
10025 case $host_os in
10026 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10027 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec='-R$libdir'
10031 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10032 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10034 esac
10036 else
10037 ld_shlibs=no
10041 os2*)
10042 hardcode_libdir_flag_spec='-L$libdir'
10043 hardcode_minus_L=yes
10044 allow_undefined_flag=unsupported
10045 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'
10046 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10049 osf3*)
10050 if test "$GCC" = yes; then
10051 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10052 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'
10053 else
10054 allow_undefined_flag=' -expect_unresolved \*'
10055 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'
10057 archive_cmds_need_lc='no'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 hardcode_libdir_separator=:
10062 osf4* | osf5*) # as osf3* with the addition of -msym flag
10063 if test "$GCC" = yes; then
10064 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10065 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'
10066 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10067 else
10068 allow_undefined_flag=' -expect_unresolved \*'
10069 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'
10070 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~
10071 $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'
10073 # Both c and cxx compiler support -rpath directly
10074 hardcode_libdir_flag_spec='-rpath $libdir'
10076 archive_cmds_need_lc='no'
10077 hardcode_libdir_separator=:
10080 solaris*)
10081 no_undefined_flag=' -z defs'
10082 if test "$GCC" = yes; then
10083 wlarc='${wl}'
10084 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10086 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10087 else
10088 case `$CC -V 2>&1` in
10089 *"Compilers 5.0"*)
10090 wlarc=''
10091 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10093 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10096 wlarc='${wl}'
10097 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10098 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10099 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10101 esac
10103 hardcode_libdir_flag_spec='-R$libdir'
10104 hardcode_shlibpath_var=no
10105 case $host_os in
10106 solaris2.[0-5] | solaris2.[0-5].*) ;;
10108 # The compiler driver will combine and reorder linker options,
10109 # but understands `-z linker_flag'. GCC discards it without `$wl',
10110 # but is careful enough not to reorder.
10111 # Supported since Solaris 2.6 (maybe 2.5.1?)
10112 if test "$GCC" = yes; then
10113 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10114 else
10115 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10118 esac
10119 link_all_deplibs=yes
10122 sunos4*)
10123 if test "x$host_vendor" = xsequent; then
10124 # Use $CC to link under sequent, because it throws in some extra .o
10125 # files that make .init and .fini sections work.
10126 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10127 else
10128 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_libdir_flag_spec='-L$libdir'
10131 hardcode_direct=yes
10132 hardcode_minus_L=yes
10133 hardcode_shlibpath_var=no
10136 sysv4)
10137 case $host_vendor in
10138 sni)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=yes # is this really true???
10142 siemens)
10143 ## LD is ld it makes a PLAMLIB
10144 ## CC just makes a GrossModule.
10145 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10146 reload_cmds='$CC -r -o $output$reload_objs'
10147 hardcode_direct=no
10149 motorola)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10153 esac
10154 runpath_var='LD_RUN_PATH'
10155 hardcode_shlibpath_var=no
10158 sysv4.3*)
10159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_shlibpath_var=no
10161 export_dynamic_flag_spec='-Bexport'
10164 sysv4*MP*)
10165 if test -d /usr/nec; then
10166 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_shlibpath_var=no
10168 runpath_var=LD_RUN_PATH
10169 hardcode_runpath_var=yes
10170 ld_shlibs=yes
10174 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10175 no_undefined_flag='${wl}-z,text'
10176 archive_cmds_need_lc=no
10177 hardcode_shlibpath_var=no
10178 runpath_var='LD_RUN_PATH'
10180 if test "$GCC" = yes; then
10181 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 else
10184 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10189 sysv5* | sco3.2v5* | sco5v6*)
10190 # Note: We can NOT use -z defs as we might desire, because we do not
10191 # link with -lc, and that would cause any symbols used from libc to
10192 # always be unresolved, which means just about no library would
10193 # ever link correctly. If we're not using GNU ld we use -z text
10194 # though, which does catch some bad symbols but isn't as heavy-handed
10195 # as -z defs.
10196 no_undefined_flag='${wl}-z,text'
10197 allow_undefined_flag='${wl}-z,nodefs'
10198 archive_cmds_need_lc=no
10199 hardcode_shlibpath_var=no
10200 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10201 hardcode_libdir_separator=':'
10202 link_all_deplibs=yes
10203 export_dynamic_flag_spec='${wl}-Bexport'
10204 runpath_var='LD_RUN_PATH'
10206 if test "$GCC" = yes; then
10207 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10208 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209 else
10210 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215 uts4*)
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_libdir_flag_spec='-L$libdir'
10218 hardcode_shlibpath_var=no
10222 ld_shlibs=no
10224 esac
10226 if test x$host_vendor = xsni; then
10227 case $host in
10228 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10229 export_dynamic_flag_spec='${wl}-Blargedynsym'
10231 esac
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10236 $as_echo "$ld_shlibs" >&6; }
10237 test "$ld_shlibs" = no && can_build_shared=no
10239 with_gnu_ld=$with_gnu_ld
10256 # Do we need to explicitly link libc?
10258 case "x$archive_cmds_need_lc" in
10259 x|xyes)
10260 # Assume -lc should be added
10261 archive_cmds_need_lc=yes
10263 if test "$enable_shared" = yes && test "$GCC" = yes; then
10264 case $archive_cmds in
10265 *'~'*)
10266 # FIXME: we may have to deal with multi-command sequences.
10268 '$CC '*)
10269 # Test whether the compiler implicitly links with -lc since on some
10270 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10271 # to ld, don't add -lc before -lgcc.
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10273 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10274 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 $RM conftest*
10278 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10280 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10281 (eval $ac_compile) 2>&5
10282 ac_status=$?
10283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10284 test $ac_status = 0; } 2>conftest.err; then
10285 soname=conftest
10286 lib=conftest
10287 libobjs=conftest.$ac_objext
10288 deplibs=
10289 wl=$lt_prog_compiler_wl
10290 pic_flag=$lt_prog_compiler_pic
10291 compiler_flags=-v
10292 linker_flags=-v
10293 verstring=
10294 output_objdir=.
10295 libname=conftest
10296 lt_save_allow_undefined_flag=$allow_undefined_flag
10297 allow_undefined_flag=
10298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10299 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10300 ac_status=$?
10301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10302 test $ac_status = 0; }
10303 then
10304 lt_cv_archive_cmds_need_lc=no
10305 else
10306 lt_cv_archive_cmds_need_lc=yes
10308 allow_undefined_flag=$lt_save_allow_undefined_flag
10309 else
10310 cat conftest.err 1>&5
10312 $RM conftest*
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10316 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10317 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10319 esac
10322 esac
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10481 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10483 if test "$GCC" = yes; then
10484 case $host_os in
10485 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10486 *) lt_awk_arg="/^libraries:/" ;;
10487 esac
10488 case $host_os in
10489 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10490 *) lt_sed_strip_eq="s,=/,/,g" ;;
10491 esac
10492 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10493 case $lt_search_path_spec in
10494 *\;*)
10495 # if the path contains ";" then we assume it to be the separator
10496 # otherwise default to the standard path separator (i.e. ":") - it is
10497 # assumed that no part of a normal pathname contains ";" but that should
10498 # okay in the real world where ";" in dirpaths is itself problematic.
10499 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10502 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10504 esac
10505 # Ok, now we have the path, separated by spaces, we can step through it
10506 # and add multilib dir if necessary.
10507 lt_tmp_lt_search_path_spec=
10508 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10509 for lt_sys_path in $lt_search_path_spec; do
10510 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10511 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10512 else
10513 test -d "$lt_sys_path" && \
10514 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10516 done
10517 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10518 BEGIN {RS=" "; FS="/|\n";} {
10519 lt_foo="";
10520 lt_count=0;
10521 for (lt_i = NF; lt_i > 0; lt_i--) {
10522 if ($lt_i != "" && $lt_i != ".") {
10523 if ($lt_i == "..") {
10524 lt_count++;
10525 } else {
10526 if (lt_count == 0) {
10527 lt_foo="/" $lt_i lt_foo;
10528 } else {
10529 lt_count--;
10534 if (lt_foo != "") { lt_freq[lt_foo]++; }
10535 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10537 # AWK program above erroneously prepends '/' to C:/dos/paths
10538 # for these hosts.
10539 case $host_os in
10540 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10541 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10542 esac
10543 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10544 else
10545 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10547 library_names_spec=
10548 libname_spec='lib$name'
10549 soname_spec=
10550 shrext_cmds=".so"
10551 postinstall_cmds=
10552 postuninstall_cmds=
10553 finish_cmds=
10554 finish_eval=
10555 shlibpath_var=
10556 shlibpath_overrides_runpath=unknown
10557 version_type=none
10558 dynamic_linker="$host_os ld.so"
10559 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10560 need_lib_prefix=unknown
10561 hardcode_into_libs=no
10563 # when you set need_version to no, make sure it does not cause -set_version
10564 # flags to be left without arguments
10565 need_version=unknown
10567 case $host_os in
10568 aix3*)
10569 version_type=linux
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10571 shlibpath_var=LIBPATH
10573 # AIX 3 has no versioning support, so we append a major version to the name.
10574 soname_spec='${libname}${release}${shared_ext}$major'
10577 aix[4-9]*)
10578 version_type=linux
10579 need_lib_prefix=no
10580 need_version=no
10581 hardcode_into_libs=yes
10582 if test "$host_cpu" = ia64; then
10583 # AIX 5 supports IA64
10584 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 else
10587 # With GCC up to 2.95.x, collect2 would create an import file
10588 # for dependence libraries. The import file would start with
10589 # the line `#! .'. This would cause the generated library to
10590 # depend on `.', always an invalid library. This was fixed in
10591 # development snapshots of GCC prior to 3.0.
10592 case $host_os in
10593 aix4 | aix4.[01] | aix4.[01].*)
10594 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10595 echo ' yes '
10596 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10598 else
10599 can_build_shared=no
10602 esac
10603 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10604 # soname into executable. Probably we can add versioning support to
10605 # collect2, so additional links can be useful in future.
10606 if test "$aix_use_runtimelinking" = yes; then
10607 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10608 # instead of lib<name>.a to let people know that these are not
10609 # typical AIX shared libraries.
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10611 else
10612 # We preserve .a as extension for shared libraries through AIX4.2
10613 # and later when we are not doing run time linking.
10614 library_names_spec='${libname}${release}.a $libname.a'
10615 soname_spec='${libname}${release}${shared_ext}$major'
10617 shlibpath_var=LIBPATH
10621 amigaos*)
10622 case $host_cpu in
10623 powerpc)
10624 # Since July 2007 AmigaOS4 officially supports .so libraries.
10625 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10628 m68k)
10629 library_names_spec='$libname.ixlibrary $libname.a'
10630 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10631 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'
10633 esac
10636 beos*)
10637 library_names_spec='${libname}${shared_ext}'
10638 dynamic_linker="$host_os ld.so"
10639 shlibpath_var=LIBRARY_PATH
10642 bsdi[45]*)
10643 version_type=linux
10644 need_version=no
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10648 shlibpath_var=LD_LIBRARY_PATH
10649 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10650 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10651 # the default ld.so.conf also contains /usr/contrib/lib and
10652 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10653 # libtool to hard-code these into programs
10656 cygwin* | mingw* | pw32* | cegcc*)
10657 version_type=windows
10658 shrext_cmds=".dll"
10659 need_version=no
10660 need_lib_prefix=no
10662 case $GCC,$host_os in
10663 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10664 library_names_spec='$libname.dll.a'
10665 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10666 postinstall_cmds='base_file=`basename \${file}`~
10667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10668 dldir=$destdir/`dirname \$dlpath`~
10669 test -d \$dldir || mkdir -p \$dldir~
10670 $install_prog $dir/$dlname \$dldir/$dlname~
10671 chmod a+x \$dldir/$dlname~
10672 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10673 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10675 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10676 dlpath=$dir/\$dldll~
10677 $RM \$dlpath'
10678 shlibpath_overrides_runpath=yes
10680 case $host_os in
10681 cygwin*)
10682 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10683 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10685 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10687 mingw* | cegcc*)
10688 # MinGW DLLs use traditional 'lib' prefix
10689 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10691 pw32*)
10692 # pw32 DLLs use 'pw' prefix rather than 'lib'
10693 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695 esac
10699 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 esac
10702 dynamic_linker='Win32 ld.exe'
10703 # FIXME: first we should search . and the directory the executable is in
10704 shlibpath_var=PATH
10707 darwin* | rhapsody*)
10708 dynamic_linker="$host_os dyld"
10709 version_type=darwin
10710 need_lib_prefix=no
10711 need_version=no
10712 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10713 soname_spec='${libname}${release}${major}$shared_ext'
10714 shlibpath_overrides_runpath=yes
10715 shlibpath_var=DYLD_LIBRARY_PATH
10716 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10718 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10719 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10722 dgux*)
10723 version_type=linux
10724 need_lib_prefix=no
10725 need_version=no
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10731 freebsd* | dragonfly*)
10732 # DragonFly does not have aout. When/if they implement a new
10733 # versioning mechanism, adjust this.
10734 if test -x /usr/bin/objformat; then
10735 objformat=`/usr/bin/objformat`
10736 else
10737 case $host_os in
10738 freebsd[23].*) objformat=aout ;;
10739 *) objformat=elf ;;
10740 esac
10742 version_type=freebsd-$objformat
10743 case $version_type in
10744 freebsd-elf*)
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10746 need_version=no
10747 need_lib_prefix=no
10749 freebsd-*)
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10751 need_version=yes
10753 esac
10754 shlibpath_var=LD_LIBRARY_PATH
10755 case $host_os in
10756 freebsd2.*)
10757 shlibpath_overrides_runpath=yes
10759 freebsd3.[01]* | freebsdelf3.[01]*)
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10764 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10765 shlibpath_overrides_runpath=no
10766 hardcode_into_libs=yes
10768 *) # from 4.6 on, and DragonFly
10769 shlibpath_overrides_runpath=yes
10770 hardcode_into_libs=yes
10772 esac
10775 gnu*)
10776 version_type=linux
10777 need_lib_prefix=no
10778 need_version=no
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LD_LIBRARY_PATH
10782 hardcode_into_libs=yes
10785 haiku*)
10786 version_type=linux
10787 need_lib_prefix=no
10788 need_version=no
10789 dynamic_linker="$host_os runtime_loader"
10790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 shlibpath_var=LIBRARY_PATH
10793 shlibpath_overrides_runpath=yes
10794 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10795 hardcode_into_libs=yes
10798 hpux9* | hpux10* | hpux11*)
10799 # Give a soname corresponding to the major version so that dld.sl refuses to
10800 # link against other versions.
10801 version_type=sunos
10802 need_lib_prefix=no
10803 need_version=no
10804 case $host_cpu in
10805 ia64*)
10806 shrext_cmds='.so'
10807 hardcode_into_libs=yes
10808 dynamic_linker="$host_os dld.so"
10809 shlibpath_var=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 if test "X$HPUX_IA64_MODE" = X32; then
10814 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10815 else
10816 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10820 hppa*64*)
10821 shrext_cmds='.sl'
10822 hardcode_into_libs=yes
10823 dynamic_linker="$host_os dld.sl"
10824 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10825 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10829 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10832 shrext_cmds='.sl'
10833 dynamic_linker="$host_os dld.sl"
10834 shlibpath_var=SHLIB_PATH
10835 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 soname_spec='${libname}${release}${shared_ext}$major'
10839 esac
10840 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10841 postinstall_cmds='chmod 555 $lib'
10842 # or fails outright, so override atomically:
10843 install_override_mode=555
10846 interix[3-9]*)
10847 version_type=linux
10848 need_lib_prefix=no
10849 need_version=no
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10853 shlibpath_var=LD_LIBRARY_PATH
10854 shlibpath_overrides_runpath=no
10855 hardcode_into_libs=yes
10858 irix5* | irix6* | nonstopux*)
10859 case $host_os in
10860 nonstopux*) version_type=nonstopux ;;
10862 if test "$lt_cv_prog_gnu_ld" = yes; then
10863 version_type=linux
10864 else
10865 version_type=irix
10866 fi ;;
10867 esac
10868 need_lib_prefix=no
10869 need_version=no
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10872 case $host_os in
10873 irix5* | nonstopux*)
10874 libsuff= shlibsuff=
10877 case $LD in # libtool.m4 will add one of these switches to LD
10878 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10879 libsuff= shlibsuff= libmagic=32-bit;;
10880 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10881 libsuff=32 shlibsuff=N32 libmagic=N32;;
10882 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10883 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10884 *) libsuff= shlibsuff= libmagic=never-match;;
10885 esac
10887 esac
10888 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10889 shlibpath_overrides_runpath=no
10890 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10891 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10892 hardcode_into_libs=yes
10895 # No shared lib support for Linux oldld, aout, or coff.
10896 linux*oldld* | linux*aout* | linux*coff*)
10897 dynamic_linker=no
10900 # This must be Linux ELF.
10901 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10902 version_type=linux
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10911 # Some binutils ld are patched to set DT_RUNPATH
10912 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10913 $as_echo_n "(cached) " >&6
10914 else
10915 lt_cv_shlibpath_overrides_runpath=no
10916 save_LDFLAGS=$LDFLAGS
10917 save_libdir=$libdir
10918 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10919 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10920 if test x$gcc_no_link = xyes; then
10921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10927 main ()
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10936 lt_cv_shlibpath_overrides_runpath=yes
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LDFLAGS=$save_LDFLAGS
10942 libdir=$save_libdir
10946 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10948 # This implies no fast_install, which is unacceptable.
10949 # Some rework will be needed to allow for fast_install
10950 # before this can be enabled.
10951 hardcode_into_libs=yes
10953 # Append ld.so.conf contents to the search path
10954 if test -f /etc/ld.so.conf; then
10955 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' ' '`
10956 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10959 # We used to test for /lib/ld.so.1 and disable shared libraries on
10960 # powerpc, because MkLinux only supported shared libraries with the
10961 # GNU dynamic linker. Since this was broken with cross compilers,
10962 # most powerpc-linux boxes support dynamic linking these days and
10963 # people can always --disable-shared, the test was removed, and we
10964 # assume the GNU/Linux dynamic linker is in use.
10965 dynamic_linker='GNU/Linux ld.so'
10968 netbsd*)
10969 version_type=sunos
10970 need_lib_prefix=no
10971 need_version=no
10972 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10974 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10975 dynamic_linker='NetBSD (a.out) ld.so'
10976 else
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 dynamic_linker='NetBSD ld.elf_so'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 hardcode_into_libs=yes
10986 newsos6)
10987 version_type=linux
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=yes
10993 *nto* | *qnx*)
10994 version_type=qnx
10995 need_lib_prefix=no
10996 need_version=no
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=no
11001 hardcode_into_libs=yes
11002 dynamic_linker='ldqnx.so'
11005 openbsd*)
11006 version_type=sunos
11007 sys_lib_dlsearch_path_spec="/usr/lib"
11008 need_lib_prefix=no
11009 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11010 case $host_os in
11011 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11012 *) need_version=no ;;
11013 esac
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11018 case $host_os in
11019 openbsd2.[89] | openbsd2.[89].*)
11020 shlibpath_overrides_runpath=no
11023 shlibpath_overrides_runpath=yes
11025 esac
11026 else
11027 shlibpath_overrides_runpath=yes
11031 os2*)
11032 libname_spec='$name'
11033 shrext_cmds=".dll"
11034 need_lib_prefix=no
11035 library_names_spec='$libname${shared_ext} $libname.a'
11036 dynamic_linker='OS/2 ld.exe'
11037 shlibpath_var=LIBPATH
11040 osf3* | osf4* | osf5*)
11041 version_type=osf
11042 need_lib_prefix=no
11043 need_version=no
11044 soname_spec='${libname}${release}${shared_ext}$major'
11045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11048 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11051 rdos*)
11052 dynamic_linker=no
11055 solaris*)
11056 version_type=linux
11057 need_lib_prefix=no
11058 need_version=no
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 hardcode_into_libs=yes
11064 # ldd complains unless libraries are executable
11065 postinstall_cmds='chmod +x $lib'
11068 sunos4*)
11069 version_type=sunos
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11071 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11074 if test "$with_gnu_ld" = yes; then
11075 need_lib_prefix=no
11077 need_version=yes
11080 sysv4 | sysv4.3*)
11081 version_type=linux
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 case $host_vendor in
11086 sni)
11087 shlibpath_overrides_runpath=no
11088 need_lib_prefix=no
11089 runpath_var=LD_RUN_PATH
11091 siemens)
11092 need_lib_prefix=no
11094 motorola)
11095 need_lib_prefix=no
11096 need_version=no
11097 shlibpath_overrides_runpath=no
11098 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11100 esac
11103 sysv4*MP*)
11104 if test -d /usr/nec ;then
11105 version_type=linux
11106 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11107 soname_spec='$libname${shared_ext}.$major'
11108 shlibpath_var=LD_LIBRARY_PATH
11112 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11113 version_type=freebsd-elf
11114 need_lib_prefix=no
11115 need_version=no
11116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11117 soname_spec='${libname}${release}${shared_ext}$major'
11118 shlibpath_var=LD_LIBRARY_PATH
11119 shlibpath_overrides_runpath=yes
11120 hardcode_into_libs=yes
11121 if test "$with_gnu_ld" = yes; then
11122 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11123 else
11124 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11125 case $host_os in
11126 sco3.2v5*)
11127 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11129 esac
11131 sys_lib_dlsearch_path_spec='/usr/lib'
11134 tpf*)
11135 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11136 version_type=linux
11137 need_lib_prefix=no
11138 need_version=no
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 shlibpath_overrides_runpath=no
11142 hardcode_into_libs=yes
11145 uts4*)
11146 version_type=linux
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11153 dynamic_linker=no
11155 esac
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11157 $as_echo "$dynamic_linker" >&6; }
11158 test "$dynamic_linker" = no && can_build_shared=no
11160 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11161 if test "$GCC" = yes; then
11162 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11165 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11166 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11168 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11169 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11264 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11265 hardcode_action=
11266 if test -n "$hardcode_libdir_flag_spec" ||
11267 test -n "$runpath_var" ||
11268 test "X$hardcode_automatic" = "Xyes" ; then
11270 # We can hardcode non-existent directories.
11271 if test "$hardcode_direct" != no &&
11272 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11273 # have to relink, otherwise we might link with an installed library
11274 # when we should be linking with a yet-to-be-installed one
11275 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11276 test "$hardcode_minus_L" != no; then
11277 # Linking always hardcodes the temporary library directory.
11278 hardcode_action=relink
11279 else
11280 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11281 hardcode_action=immediate
11283 else
11284 # We cannot hardcode anything, or else we can only hardcode existing
11285 # directories.
11286 hardcode_action=unsupported
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11289 $as_echo "$hardcode_action" >&6; }
11291 if test "$hardcode_action" = relink ||
11292 test "$inherit_rpath" = yes; then
11293 # Fast installation is not supported
11294 enable_fast_install=no
11295 elif test "$shlibpath_overrides_runpath" = yes ||
11296 test "$enable_shared" = no; then
11297 # Fast installation is not necessary
11298 enable_fast_install=needless
11306 if test "x$enable_dlopen" != xyes; then
11307 enable_dlopen=unknown
11308 enable_dlopen_self=unknown
11309 enable_dlopen_self_static=unknown
11310 else
11311 lt_cv_dlopen=no
11312 lt_cv_dlopen_libs=
11314 case $host_os in
11315 beos*)
11316 lt_cv_dlopen="load_add_on"
11317 lt_cv_dlopen_libs=
11318 lt_cv_dlopen_self=yes
11321 mingw* | pw32* | cegcc*)
11322 lt_cv_dlopen="LoadLibrary"
11323 lt_cv_dlopen_libs=
11326 cygwin*)
11327 lt_cv_dlopen="dlopen"
11328 lt_cv_dlopen_libs=
11331 darwin*)
11332 # if libdl is installed we need to link against it
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11334 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11335 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-ldl $LIBS"
11340 if test x$gcc_no_link = xyes; then
11341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11349 #ifdef __cplusplus
11350 extern "C"
11351 #endif
11352 char dlopen ();
11354 main ()
11356 return dlopen ();
11358 return 0;
11360 _ACEOF
11361 if ac_fn_c_try_link "$LINENO"; then :
11362 ac_cv_lib_dl_dlopen=yes
11363 else
11364 ac_cv_lib_dl_dlopen=no
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_lib_save_LIBS
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11371 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11372 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11373 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11374 else
11376 lt_cv_dlopen="dyld"
11377 lt_cv_dlopen_libs=
11378 lt_cv_dlopen_self=yes
11385 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11386 if test "x$ac_cv_func_shl_load" = x""yes; then :
11387 lt_cv_dlopen="shl_load"
11388 else
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11390 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11391 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-ldld $LIBS"
11396 if test x$gcc_no_link = xyes; then
11397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11405 #ifdef __cplusplus
11406 extern "C"
11407 #endif
11408 char shl_load ();
11410 main ()
11412 return shl_load ();
11414 return 0;
11416 _ACEOF
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_dld_shl_load=yes
11419 else
11420 ac_cv_lib_dld_shl_load=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11428 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11429 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11430 else
11431 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11432 if test "x$ac_cv_func_dlopen" = x""yes; then :
11433 lt_cv_dlopen="dlopen"
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-ldl $LIBS"
11442 if test x$gcc_no_link = xyes; then
11443 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char dlopen ();
11456 main ()
11458 return dlopen ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 ac_cv_lib_dl_dlopen=yes
11465 else
11466 ac_cv_lib_dl_dlopen=no
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
11470 LIBS=$ac_check_lib_save_LIBS
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11473 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11474 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11475 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11476 else
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11478 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11479 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lsvld $LIBS"
11484 if test x$gcc_no_link = xyes; then
11485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char dlopen ();
11498 main ()
11500 return dlopen ();
11502 return 0;
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506 ac_cv_lib_svld_dlopen=yes
11507 else
11508 ac_cv_lib_svld_dlopen=no
11510 rm -f core conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11515 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11516 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11517 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11518 else
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11520 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11521 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-ldld $LIBS"
11526 if test x$gcc_no_link = xyes; then
11527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char dld_link ();
11540 main ()
11542 return dld_link ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 ac_cv_lib_dld_dld_link=yes
11549 else
11550 ac_cv_lib_dld_dld_link=no
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11557 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11558 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11559 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11578 esac
11580 if test "x$lt_cv_dlopen" != xno; then
11581 enable_dlopen=yes
11582 else
11583 enable_dlopen=no
11586 case $lt_cv_dlopen in
11587 dlopen)
11588 save_CPPFLAGS="$CPPFLAGS"
11589 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11591 save_LDFLAGS="$LDFLAGS"
11592 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11594 save_LIBS="$LIBS"
11595 LIBS="$lt_cv_dlopen_libs $LIBS"
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11598 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11599 if test "${lt_cv_dlopen_self+set}" = set; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 if test "$cross_compiling" = yes; then :
11603 lt_cv_dlopen_self=cross
11604 else
11605 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11606 lt_status=$lt_dlunknown
11607 cat > conftest.$ac_ext <<_LT_EOF
11608 #line 11608 "configure"
11609 #include "confdefs.h"
11611 #if HAVE_DLFCN_H
11612 #include <dlfcn.h>
11613 #endif
11615 #include <stdio.h>
11617 #ifdef RTLD_GLOBAL
11618 # define LT_DLGLOBAL RTLD_GLOBAL
11619 #else
11620 # ifdef DL_GLOBAL
11621 # define LT_DLGLOBAL DL_GLOBAL
11622 # else
11623 # define LT_DLGLOBAL 0
11624 # endif
11625 #endif
11627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11628 find out it does not work in some platform. */
11629 #ifndef LT_DLLAZY_OR_NOW
11630 # ifdef RTLD_LAZY
11631 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11632 # else
11633 # ifdef DL_LAZY
11634 # define LT_DLLAZY_OR_NOW DL_LAZY
11635 # else
11636 # ifdef RTLD_NOW
11637 # define LT_DLLAZY_OR_NOW RTLD_NOW
11638 # else
11639 # ifdef DL_NOW
11640 # define LT_DLLAZY_OR_NOW DL_NOW
11641 # else
11642 # define LT_DLLAZY_OR_NOW 0
11643 # endif
11644 # endif
11645 # endif
11646 # endif
11647 #endif
11649 /* When -fvisbility=hidden is used, assume the code has been annotated
11650 correspondingly for the symbols needed. */
11651 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11652 void fnord () __attribute__((visibility("default")));
11653 #endif
11655 void fnord () { int i=42; }
11656 int main ()
11658 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11659 int status = $lt_dlunknown;
11661 if (self)
11663 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11664 else
11666 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11667 else puts (dlerror ());
11669 /* dlclose (self); */
11671 else
11672 puts (dlerror ());
11674 return status;
11676 _LT_EOF
11677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11678 (eval $ac_link) 2>&5
11679 ac_status=$?
11680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11681 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11682 (./conftest; exit; ) >&5 2>/dev/null
11683 lt_status=$?
11684 case x$lt_status in
11685 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11686 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11687 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11688 esac
11689 else :
11690 # compilation failed
11691 lt_cv_dlopen_self=no
11694 rm -fr conftest*
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11699 $as_echo "$lt_cv_dlopen_self" >&6; }
11701 if test "x$lt_cv_dlopen_self" = xyes; then
11702 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11704 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11705 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11706 $as_echo_n "(cached) " >&6
11707 else
11708 if test "$cross_compiling" = yes; then :
11709 lt_cv_dlopen_self_static=cross
11710 else
11711 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11712 lt_status=$lt_dlunknown
11713 cat > conftest.$ac_ext <<_LT_EOF
11714 #line 11714 "configure"
11715 #include "confdefs.h"
11717 #if HAVE_DLFCN_H
11718 #include <dlfcn.h>
11719 #endif
11721 #include <stdio.h>
11723 #ifdef RTLD_GLOBAL
11724 # define LT_DLGLOBAL RTLD_GLOBAL
11725 #else
11726 # ifdef DL_GLOBAL
11727 # define LT_DLGLOBAL DL_GLOBAL
11728 # else
11729 # define LT_DLGLOBAL 0
11730 # endif
11731 #endif
11733 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11734 find out it does not work in some platform. */
11735 #ifndef LT_DLLAZY_OR_NOW
11736 # ifdef RTLD_LAZY
11737 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11738 # else
11739 # ifdef DL_LAZY
11740 # define LT_DLLAZY_OR_NOW DL_LAZY
11741 # else
11742 # ifdef RTLD_NOW
11743 # define LT_DLLAZY_OR_NOW RTLD_NOW
11744 # else
11745 # ifdef DL_NOW
11746 # define LT_DLLAZY_OR_NOW DL_NOW
11747 # else
11748 # define LT_DLLAZY_OR_NOW 0
11749 # endif
11750 # endif
11751 # endif
11752 # endif
11753 #endif
11755 /* When -fvisbility=hidden is used, assume the code has been annotated
11756 correspondingly for the symbols needed. */
11757 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11758 void fnord () __attribute__((visibility("default")));
11759 #endif
11761 void fnord () { int i=42; }
11762 int main ()
11764 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11765 int status = $lt_dlunknown;
11767 if (self)
11769 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11770 else
11772 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11773 else puts (dlerror ());
11775 /* dlclose (self); */
11777 else
11778 puts (dlerror ());
11780 return status;
11782 _LT_EOF
11783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11784 (eval $ac_link) 2>&5
11785 ac_status=$?
11786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11787 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11788 (./conftest; exit; ) >&5 2>/dev/null
11789 lt_status=$?
11790 case x$lt_status in
11791 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11792 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11793 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11794 esac
11795 else :
11796 # compilation failed
11797 lt_cv_dlopen_self_static=no
11800 rm -fr conftest*
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11805 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11808 CPPFLAGS="$save_CPPFLAGS"
11809 LDFLAGS="$save_LDFLAGS"
11810 LIBS="$save_LIBS"
11812 esac
11814 case $lt_cv_dlopen_self in
11815 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11816 *) enable_dlopen_self=unknown ;;
11817 esac
11819 case $lt_cv_dlopen_self_static in
11820 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11821 *) enable_dlopen_self_static=unknown ;;
11822 esac
11841 striplib=
11842 old_striplib=
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11844 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11845 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11846 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11847 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 # FIXME - insert some real tests, host_os isn't really good enough
11852 case $host_os in
11853 darwin*)
11854 if test -n "$STRIP" ; then
11855 striplib="$STRIP -x"
11856 old_striplib="$STRIP -S"
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11859 else
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11868 esac
11882 # Report which library types will actually be built
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11884 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11886 $as_echo "$can_build_shared" >&6; }
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11889 $as_echo_n "checking whether to build shared libraries... " >&6; }
11890 test "$can_build_shared" = "no" && enable_shared=no
11892 # On AIX, shared libraries and static libraries use the same namespace, and
11893 # are all built from PIC.
11894 case $host_os in
11895 aix3*)
11896 test "$enable_shared" = yes && enable_static=no
11897 if test -n "$RANLIB"; then
11898 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11899 postinstall_cmds='$RANLIB $lib'
11903 aix[4-9]*)
11904 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11905 test "$enable_shared" = yes && enable_static=no
11908 esac
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11910 $as_echo "$enable_shared" >&6; }
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11913 $as_echo_n "checking whether to build static libraries... " >&6; }
11914 # Make sure either enable_shared or enable_static is yes.
11915 test "$enable_shared" = yes || enable_static=yes
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11917 $as_echo "$enable_static" >&6; }
11923 ac_ext=c
11924 ac_cpp='$CPP $CPPFLAGS'
11925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929 CC="$lt_save_CC"
11931 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11932 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11933 (test "X$CXX" != "Xg++"))) ; then
11934 ac_ext=cpp
11935 ac_cpp='$CXXCPP $CPPFLAGS'
11936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11940 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11941 if test -z "$CXXCPP"; then
11942 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11943 $as_echo_n "(cached) " >&6
11944 else
11945 # Double quotes because CXXCPP needs to be expanded
11946 for CXXCPP in "$CXX -E" "/lib/cpp"
11948 ac_preproc_ok=false
11949 for ac_cxx_preproc_warn_flag in '' yes
11951 # Use a header file that comes with gcc, so configuring glibc
11952 # with a fresh cross-compiler works.
11953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11954 # <limits.h> exists even on freestanding compilers.
11955 # On the NeXT, cc -E runs the code through the compiler's parser,
11956 # not just through cpp. "Syntax error" is here to catch this case.
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #ifdef __STDC__
11960 # include <limits.h>
11961 #else
11962 # include <assert.h>
11963 #endif
11964 Syntax error
11965 _ACEOF
11966 if ac_fn_cxx_try_cpp "$LINENO"; then :
11968 else
11969 # Broken: fails on valid input.
11970 continue
11972 rm -f conftest.err conftest.$ac_ext
11974 # OK, works on sane cases. Now check whether nonexistent headers
11975 # can be detected and how.
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11978 #include <ac_nonexistent.h>
11979 _ACEOF
11980 if ac_fn_cxx_try_cpp "$LINENO"; then :
11981 # Broken: success on invalid input.
11982 continue
11983 else
11984 # Passes both tests.
11985 ac_preproc_ok=:
11986 break
11988 rm -f conftest.err conftest.$ac_ext
11990 done
11991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11992 rm -f conftest.err conftest.$ac_ext
11993 if $ac_preproc_ok; then :
11994 break
11997 done
11998 ac_cv_prog_CXXCPP=$CXXCPP
12001 CXXCPP=$ac_cv_prog_CXXCPP
12002 else
12003 ac_cv_prog_CXXCPP=$CXXCPP
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12006 $as_echo "$CXXCPP" >&6; }
12007 ac_preproc_ok=false
12008 for ac_cxx_preproc_warn_flag in '' yes
12010 # Use a header file that comes with gcc, so configuring glibc
12011 # with a fresh cross-compiler works.
12012 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12013 # <limits.h> exists even on freestanding compilers.
12014 # On the NeXT, cc -E runs the code through the compiler's parser,
12015 # not just through cpp. "Syntax error" is here to catch this case.
12016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12018 #ifdef __STDC__
12019 # include <limits.h>
12020 #else
12021 # include <assert.h>
12022 #endif
12023 Syntax error
12024 _ACEOF
12025 if ac_fn_cxx_try_cpp "$LINENO"; then :
12027 else
12028 # Broken: fails on valid input.
12029 continue
12031 rm -f conftest.err conftest.$ac_ext
12033 # OK, works on sane cases. Now check whether nonexistent headers
12034 # can be detected and how.
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 #include <ac_nonexistent.h>
12038 _ACEOF
12039 if ac_fn_cxx_try_cpp "$LINENO"; then :
12040 # Broken: success on invalid input.
12041 continue
12042 else
12043 # Passes both tests.
12044 ac_preproc_ok=:
12045 break
12047 rm -f conftest.err conftest.$ac_ext
12049 done
12050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12051 rm -f conftest.err conftest.$ac_ext
12052 if $ac_preproc_ok; then :
12054 else
12055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12057 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12058 See \`config.log' for more details." "$LINENO" 5; }
12061 ac_ext=c
12062 ac_cpp='$CPP $CPPFLAGS'
12063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12067 else
12068 _lt_caught_CXX_error=yes
12071 ac_ext=cpp
12072 ac_cpp='$CXXCPP $CPPFLAGS'
12073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12077 archive_cmds_need_lc_CXX=no
12078 allow_undefined_flag_CXX=
12079 always_export_symbols_CXX=no
12080 archive_expsym_cmds_CXX=
12081 compiler_needs_object_CXX=no
12082 export_dynamic_flag_spec_CXX=
12083 hardcode_direct_CXX=no
12084 hardcode_direct_absolute_CXX=no
12085 hardcode_libdir_flag_spec_CXX=
12086 hardcode_libdir_flag_spec_ld_CXX=
12087 hardcode_libdir_separator_CXX=
12088 hardcode_minus_L_CXX=no
12089 hardcode_shlibpath_var_CXX=unsupported
12090 hardcode_automatic_CXX=no
12091 inherit_rpath_CXX=no
12092 module_cmds_CXX=
12093 module_expsym_cmds_CXX=
12094 link_all_deplibs_CXX=unknown
12095 old_archive_cmds_CXX=$old_archive_cmds
12096 reload_flag_CXX=$reload_flag
12097 reload_cmds_CXX=$reload_cmds
12098 no_undefined_flag_CXX=
12099 whole_archive_flag_spec_CXX=
12100 enable_shared_with_static_runtimes_CXX=no
12102 # Source file extension for C++ test sources.
12103 ac_ext=cpp
12105 # Object file extension for compiled C++ test sources.
12106 objext=o
12107 objext_CXX=$objext
12109 # No sense in running all these tests if we already determined that
12110 # the CXX compiler isn't working. Some variables (like enable_shared)
12111 # are currently assumed to apply to all compilers on this platform,
12112 # and will be corrupted by setting them based on a non-working compiler.
12113 if test "$_lt_caught_CXX_error" != yes; then
12114 # Code to be used in simple compile tests
12115 lt_simple_compile_test_code="int some_variable = 0;"
12117 # Code to be used in simple link tests
12118 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12120 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12127 # If no C compiler was specified, use CC.
12128 LTCC=${LTCC-"$CC"}
12130 # If no C compiler flags were specified, use CFLAGS.
12131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12133 # Allow CC to be a program name with arguments.
12134 compiler=$CC
12137 # save warnings/boilerplate of simple test code
12138 ac_outfile=conftest.$ac_objext
12139 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12140 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12141 _lt_compiler_boilerplate=`cat conftest.err`
12142 $RM conftest*
12144 ac_outfile=conftest.$ac_objext
12145 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12146 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12147 _lt_linker_boilerplate=`cat conftest.err`
12148 $RM -r conftest*
12151 # Allow CC to be a program name with arguments.
12152 lt_save_CC=$CC
12153 lt_save_LD=$LD
12154 lt_save_GCC=$GCC
12155 GCC=$GXX
12156 lt_save_with_gnu_ld=$with_gnu_ld
12157 lt_save_path_LD=$lt_cv_path_LD
12158 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12159 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12160 else
12161 $as_unset lt_cv_prog_gnu_ld
12163 if test -n "${lt_cv_path_LDCXX+set}"; then
12164 lt_cv_path_LD=$lt_cv_path_LDCXX
12165 else
12166 $as_unset lt_cv_path_LD
12168 test -z "${LDCXX+set}" || LD=$LDCXX
12169 CC=${CXX-"c++"}
12170 compiler=$CC
12171 compiler_CXX=$CC
12172 for cc_temp in $compiler""; do
12173 case $cc_temp in
12174 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12175 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12176 \-*) ;;
12177 *) break;;
12178 esac
12179 done
12180 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12183 if test -n "$compiler"; then
12184 # We don't want -fno-exception when compiling C++ code, so set the
12185 # no_builtin_flag separately
12186 if test "$GXX" = yes; then
12187 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12188 else
12189 lt_prog_compiler_no_builtin_flag_CXX=
12192 if test "$GXX" = yes; then
12193 # Set up default GNU C++ configuration
12197 # Check whether --with-gnu-ld was given.
12198 if test "${with_gnu_ld+set}" = set; then :
12199 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12200 else
12201 with_gnu_ld=no
12204 ac_prog=ld
12205 if test "$GCC" = yes; then
12206 # Check if gcc -print-prog-name=ld gives a path.
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12208 $as_echo_n "checking for ld used by $CC... " >&6; }
12209 case $host in
12210 *-*-mingw*)
12211 # gcc leaves a trailing carriage return which upsets mingw
12212 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12215 esac
12216 case $ac_prog in
12217 # Accept absolute paths.
12218 [\\/]* | ?:[\\/]*)
12219 re_direlt='/[^/][^/]*/\.\./'
12220 # Canonicalize the pathname of ld
12221 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12222 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12223 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12224 done
12225 test -z "$LD" && LD="$ac_prog"
12228 # If it fails, then pretend we aren't using GCC.
12229 ac_prog=ld
12232 # If it is relative, then search for the first ld in PATH.
12233 with_gnu_ld=unknown
12235 esac
12236 elif test "$with_gnu_ld" = yes; then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12238 $as_echo_n "checking for GNU ld... " >&6; }
12239 else
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12241 $as_echo_n "checking for non-GNU ld... " >&6; }
12243 if test "${lt_cv_path_LD+set}" = set; then :
12244 $as_echo_n "(cached) " >&6
12245 else
12246 if test -z "$LD"; then
12247 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12248 for ac_dir in $PATH; do
12249 IFS="$lt_save_ifs"
12250 test -z "$ac_dir" && ac_dir=.
12251 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12252 lt_cv_path_LD="$ac_dir/$ac_prog"
12253 # Check to see if the program is GNU ld. I'd rather use --version,
12254 # but apparently some variants of GNU ld only accept -v.
12255 # Break only if it was the GNU/non-GNU ld that we prefer.
12256 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12257 *GNU* | *'with BFD'*)
12258 test "$with_gnu_ld" != no && break
12261 test "$with_gnu_ld" != yes && break
12263 esac
12265 done
12266 IFS="$lt_save_ifs"
12267 else
12268 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12272 LD="$lt_cv_path_LD"
12273 if test -n "$LD"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12275 $as_echo "$LD" >&6; }
12276 else
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12280 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12282 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12283 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12284 $as_echo_n "(cached) " >&6
12285 else
12286 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12287 case `$LD -v 2>&1 </dev/null` in
12288 *GNU* | *'with BFD'*)
12289 lt_cv_prog_gnu_ld=yes
12292 lt_cv_prog_gnu_ld=no
12294 esac
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12297 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12298 with_gnu_ld=$lt_cv_prog_gnu_ld
12306 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12307 # archiving commands below assume that GNU ld is being used.
12308 if test "$with_gnu_ld" = yes; then
12309 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12310 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'
12312 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12313 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12315 # If archive_cmds runs LD, not CC, wlarc should be empty
12316 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12317 # investigate it a little bit more. (MM)
12318 wlarc='${wl}'
12320 # ancient GNU ld didn't support --whole-archive et. al.
12321 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12322 $GREP 'no-whole-archive' > /dev/null; then
12323 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12324 else
12325 whole_archive_flag_spec_CXX=
12327 else
12328 with_gnu_ld=no
12329 wlarc=
12331 # A generic and very simple default shared library creation
12332 # command for GNU C++ for the case where it uses the native
12333 # linker, instead of GNU ld. If possible, this setting should
12334 # overridden to take advantage of the native linker features on
12335 # the platform it is being used on.
12336 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12339 # Commands to make compiler produce verbose output that lists
12340 # what "hidden" libraries, object files and flags are used when
12341 # linking a shared library.
12342 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12344 else
12345 GXX=no
12346 with_gnu_ld=no
12347 wlarc=
12350 # PORTME: fill in a description of your system's C++ link characteristics
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12352 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12353 ld_shlibs_CXX=yes
12354 case $host_os in
12355 aix3*)
12356 # FIXME: insert proper C++ library support
12357 ld_shlibs_CXX=no
12359 aix[4-9]*)
12360 if test "$host_cpu" = ia64; then
12361 # On IA64, the linker does run time linking by default, so we don't
12362 # have to do anything special.
12363 aix_use_runtimelinking=no
12364 exp_sym_flag='-Bexport'
12365 no_entry_flag=""
12366 else
12367 aix_use_runtimelinking=no
12369 # Test if we are trying to use run time linking or normal
12370 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12371 # need to do runtime linking.
12372 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12373 for ld_flag in $LDFLAGS; do
12374 case $ld_flag in
12375 *-brtl*)
12376 aix_use_runtimelinking=yes
12377 break
12379 esac
12380 done
12382 esac
12384 exp_sym_flag='-bexport'
12385 no_entry_flag='-bnoentry'
12388 # When large executables or shared objects are built, AIX ld can
12389 # have problems creating the table of contents. If linking a library
12390 # or program results in "error TOC overflow" add -mminimal-toc to
12391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12394 archive_cmds_CXX=''
12395 hardcode_direct_CXX=yes
12396 hardcode_direct_absolute_CXX=yes
12397 hardcode_libdir_separator_CXX=':'
12398 link_all_deplibs_CXX=yes
12399 file_list_spec_CXX='${wl}-f,'
12401 if test "$GXX" = yes; then
12402 case $host_os in aix4.[012]|aix4.[012].*)
12403 # We only want to do this on AIX 4.2 and lower, the check
12404 # below for broken collect2 doesn't work under 4.3+
12405 collect2name=`${CC} -print-prog-name=collect2`
12406 if test -f "$collect2name" &&
12407 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12408 then
12409 # We have reworked collect2
12411 else
12412 # We have old collect2
12413 hardcode_direct_CXX=unsupported
12414 # It fails to find uninstalled libraries when the uninstalled
12415 # path is not listed in the libpath. Setting hardcode_minus_L
12416 # to unsupported forces relinking
12417 hardcode_minus_L_CXX=yes
12418 hardcode_libdir_flag_spec_CXX='-L$libdir'
12419 hardcode_libdir_separator_CXX=
12421 esac
12422 shared_flag='-shared'
12423 if test "$aix_use_runtimelinking" = yes; then
12424 shared_flag="$shared_flag "'${wl}-G'
12426 else
12427 # not using gcc
12428 if test "$host_cpu" = ia64; then
12429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12430 # chokes on -Wl,-G. The following line is correct:
12431 shared_flag='-G'
12432 else
12433 if test "$aix_use_runtimelinking" = yes; then
12434 shared_flag='${wl}-G'
12435 else
12436 shared_flag='${wl}-bM:SRE'
12441 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12442 # It seems that -bexpall does not export symbols beginning with
12443 # underscore (_), so it is better to generate a list of symbols to
12444 # export.
12445 always_export_symbols_CXX=yes
12446 if test "$aix_use_runtimelinking" = yes; then
12447 # Warning - without using the other runtime loading flags (-brtl),
12448 # -berok will link without error, but may produce a broken library.
12449 allow_undefined_flag_CXX='-berok'
12450 # Determine the default libpath from the value encoded in an empty
12451 # executable.
12452 if test x$gcc_no_link = xyes; then
12453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12459 main ()
12463 return 0;
12465 _ACEOF
12466 if ac_fn_cxx_try_link "$LINENO"; then :
12468 lt_aix_libpath_sed='
12469 /Import File Strings/,/^$/ {
12470 /^0/ {
12471 s/^0 *\(.*\)$/\1/
12475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12476 # Check for a 64-bit object if we didn't find anything.
12477 if test -z "$aix_libpath"; then
12478 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12485 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12487 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"
12488 else
12489 if test "$host_cpu" = ia64; then
12490 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12491 allow_undefined_flag_CXX="-z nodefs"
12492 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"
12493 else
12494 # Determine the default libpath from the value encoded in an
12495 # empty executable.
12496 if test x$gcc_no_link = xyes; then
12497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12503 main ()
12507 return 0;
12509 _ACEOF
12510 if ac_fn_cxx_try_link "$LINENO"; then :
12512 lt_aix_libpath_sed='
12513 /Import File Strings/,/^$/ {
12514 /^0/ {
12515 s/^0 *\(.*\)$/\1/
12519 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12520 # Check for a 64-bit object if we didn't find anything.
12521 if test -z "$aix_libpath"; then
12522 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12529 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12530 # Warning - without using the other run time loading flags,
12531 # -berok will link without error, but may produce a broken library.
12532 no_undefined_flag_CXX=' ${wl}-bernotok'
12533 allow_undefined_flag_CXX=' ${wl}-berok'
12534 if test "$with_gnu_ld" = yes; then
12535 # We only use this code for GNU lds that support --whole-archive.
12536 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12537 else
12538 # Exported symbols can be pulled into shared objects from archives
12539 whole_archive_flag_spec_CXX='$convenience'
12541 archive_cmds_need_lc_CXX=yes
12542 # This is similar to how AIX traditionally builds its shared
12543 # libraries.
12544 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'
12549 beos*)
12550 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12551 allow_undefined_flag_CXX=unsupported
12552 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12553 # support --undefined. This deserves some investigation. FIXME
12554 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12555 else
12556 ld_shlibs_CXX=no
12560 chorus*)
12561 case $cc_basename in
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12566 esac
12569 cygwin* | mingw* | pw32* | cegcc*)
12570 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12571 # as there is no search path for DLLs.
12572 hardcode_libdir_flag_spec_CXX='-L$libdir'
12573 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12574 allow_undefined_flag_CXX=unsupported
12575 always_export_symbols_CXX=no
12576 enable_shared_with_static_runtimes_CXX=yes
12578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12579 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'
12580 # If the export-symbols file already is a .def file (1st line
12581 # is EXPORTS), use it as is; otherwise, prepend...
12582 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12583 cp $export_symbols $output_objdir/$soname.def;
12584 else
12585 echo EXPORTS > $output_objdir/$soname.def;
12586 cat $export_symbols >> $output_objdir/$soname.def;
12588 $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'
12589 else
12590 ld_shlibs_CXX=no
12593 darwin* | rhapsody*)
12596 archive_cmds_need_lc_CXX=no
12597 hardcode_direct_CXX=no
12598 hardcode_automatic_CXX=yes
12599 hardcode_shlibpath_var_CXX=unsupported
12600 if test "$lt_cv_ld_force_load" = "yes"; then
12601 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\"`'
12602 else
12603 whole_archive_flag_spec_CXX=''
12605 link_all_deplibs_CXX=yes
12606 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12607 case $cc_basename in
12608 ifort*) _lt_dar_can_shared=yes ;;
12609 *) _lt_dar_can_shared=$GCC ;;
12610 esac
12611 if test "$_lt_dar_can_shared" = "yes"; then
12612 output_verbose_link_cmd=func_echo_all
12613 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}"
12614 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12615 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}"
12616 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}"
12617 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12618 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}"
12619 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}"
12622 else
12623 ld_shlibs_CXX=no
12628 dgux*)
12629 case $cc_basename in
12630 ec++*)
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 ghcx*)
12635 # Green Hills C++ Compiler
12636 # FIXME: insert proper C++ library support
12637 ld_shlibs_CXX=no
12640 # FIXME: insert proper C++ library support
12641 ld_shlibs_CXX=no
12643 esac
12646 freebsd2.*)
12647 # C++ shared libraries reported to be fairly broken before
12648 # switch to ELF
12649 ld_shlibs_CXX=no
12652 freebsd-elf*)
12653 archive_cmds_need_lc_CXX=no
12656 freebsd* | dragonfly*)
12657 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12658 # conventions
12659 ld_shlibs_CXX=yes
12662 gnu*)
12665 haiku*)
12666 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12667 link_all_deplibs_CXX=yes
12670 hpux9*)
12671 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12672 hardcode_libdir_separator_CXX=:
12673 export_dynamic_flag_spec_CXX='${wl}-E'
12674 hardcode_direct_CXX=yes
12675 hardcode_minus_L_CXX=yes # Not in the search PATH,
12676 # but as the default
12677 # location of the library.
12679 case $cc_basename in
12680 CC*)
12681 # FIXME: insert proper C++ library support
12682 ld_shlibs_CXX=no
12684 aCC*)
12685 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'
12686 # Commands to make compiler produce verbose output that lists
12687 # what "hidden" libraries, object files and flags are used when
12688 # linking a shared library.
12690 # There doesn't appear to be a way to prevent this compiler from
12691 # explicitly linking system object files so we need to strip them
12692 # from the output so that they don't get included in the library
12693 # dependencies.
12694 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"'
12697 if test "$GXX" = yes; then
12698 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'
12699 else
12700 # FIXME: insert proper C++ library support
12701 ld_shlibs_CXX=no
12704 esac
12707 hpux10*|hpux11*)
12708 if test $with_gnu_ld = no; then
12709 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12710 hardcode_libdir_separator_CXX=:
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12716 export_dynamic_flag_spec_CXX='${wl}-E'
12718 esac
12720 case $host_cpu in
12721 hppa*64*|ia64*)
12722 hardcode_direct_CXX=no
12723 hardcode_shlibpath_var_CXX=no
12726 hardcode_direct_CXX=yes
12727 hardcode_direct_absolute_CXX=yes
12728 hardcode_minus_L_CXX=yes # Not in the search PATH,
12729 # but as the default
12730 # location of the library.
12732 esac
12734 case $cc_basename in
12735 CC*)
12736 # FIXME: insert proper C++ library support
12737 ld_shlibs_CXX=no
12739 aCC*)
12740 case $host_cpu in
12741 hppa*64*)
12742 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12744 ia64*)
12745 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 esac
12751 # Commands to make compiler produce verbose output that lists
12752 # what "hidden" libraries, object files and flags are used when
12753 # linking a shared library.
12755 # There doesn't appear to be a way to prevent this compiler from
12756 # explicitly linking system object files so we need to strip them
12757 # from the output so that they don't get included in the library
12758 # dependencies.
12759 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"'
12762 if test "$GXX" = yes; then
12763 if test $with_gnu_ld = no; then
12764 case $host_cpu in
12765 hppa*64*)
12766 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12768 ia64*)
12769 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12772 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'
12774 esac
12776 else
12777 # FIXME: insert proper C++ library support
12778 ld_shlibs_CXX=no
12781 esac
12784 interix[3-9]*)
12785 hardcode_direct_CXX=no
12786 hardcode_shlibpath_var_CXX=no
12787 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12788 export_dynamic_flag_spec_CXX='${wl}-E'
12789 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12790 # Instead, shared libraries are loaded at an image base (0x10000000 by
12791 # default) and relocated if they conflict, which is a slow very memory
12792 # consuming and fragmenting process. To avoid this, we pick a random,
12793 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12794 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12795 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'
12796 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'
12798 irix5* | irix6*)
12799 case $cc_basename in
12800 CC*)
12801 # SGI C++
12802 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'
12804 # Archives containing C++ object files must be created using
12805 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12806 # necessary to make sure instantiated templates are included
12807 # in the archive.
12808 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12811 if test "$GXX" = yes; then
12812 if test "$with_gnu_ld" = no; then
12813 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'
12814 else
12815 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'
12818 link_all_deplibs_CXX=yes
12820 esac
12821 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12822 hardcode_libdir_separator_CXX=:
12823 inherit_rpath_CXX=yes
12826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12827 case $cc_basename in
12828 KCC*)
12829 # Kuck and Associates, Inc. (KAI) C++ Compiler
12831 # KCC will only create a shared library if the output file
12832 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12833 # to its proper name (with version) after linking.
12834 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'
12835 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'
12836 # Commands to make compiler produce verbose output that lists
12837 # what "hidden" libraries, object files and flags are used when
12838 # linking a shared library.
12840 # There doesn't appear to be a way to prevent this compiler from
12841 # explicitly linking system object files so we need to strip them
12842 # from the output so that they don't get included in the library
12843 # dependencies.
12844 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"'
12846 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12849 # Archives containing C++ object files must be created using
12850 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12851 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12853 icpc* | ecpc* )
12854 # Intel C++
12855 with_gnu_ld=yes
12856 # version 8.0 and above of icpc choke on multiply defined symbols
12857 # if we add $predep_objects and $postdep_objects, however 7.1 and
12858 # earlier do not add the objects themselves.
12859 case `$CC -V 2>&1` in
12860 *"Version 7."*)
12861 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 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'
12864 *) # Version 8.0 or newer
12865 tmp_idyn=
12866 case $host_cpu in
12867 ia64*) tmp_idyn=' -i_dynamic';;
12868 esac
12869 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870 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'
12872 esac
12873 archive_cmds_need_lc_CXX=no
12874 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12875 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12876 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12878 pgCC* | pgcpp*)
12879 # Portland Group C++ compiler
12880 case `$CC -V` in
12881 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12882 prelink_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12885 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12886 old_archive_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12889 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12890 $RANLIB $oldlib'
12891 archive_cmds_CXX='tpldir=Template.dir~
12892 rm -rf $tpldir~
12893 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12894 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12895 archive_expsym_cmds_CXX='tpldir=Template.dir~
12896 rm -rf $tpldir~
12897 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12898 $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'
12900 *) # Version 6 and above use weak symbols
12901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12902 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'
12904 esac
12906 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12907 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12908 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'
12910 cxx*)
12911 # Compaq C++
12912 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12913 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'
12915 runpath_var=LD_RUN_PATH
12916 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12917 hardcode_libdir_separator_CXX=:
12919 # Commands to make compiler produce verbose output that lists
12920 # what "hidden" libraries, object files and flags are used when
12921 # linking a shared library.
12923 # There doesn't appear to be a way to prevent this compiler from
12924 # explicitly linking system object files so we need to strip them
12925 # from the output so that they don't get included in the library
12926 # dependencies.
12927 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'
12929 xl* | mpixl* | bgxl*)
12930 # IBM XL 8.0 on PPC, with GNU ld
12931 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12932 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12933 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12934 if test "x$supports_anon_versioning" = xyes; then
12935 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12937 echo "local: *; };" >> $output_objdir/$libname.ver~
12938 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12942 case `$CC -V 2>&1 | sed 5q` in
12943 *Sun\ C*)
12944 # Sun C++ 5.9
12945 no_undefined_flag_CXX=' -zdefs'
12946 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12947 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'
12948 hardcode_libdir_flag_spec_CXX='-R$libdir'
12949 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'
12950 compiler_needs_object_CXX=yes
12952 # Not sure whether something based on
12953 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12954 # would be better.
12955 output_verbose_link_cmd='func_echo_all'
12957 # Archives containing C++ object files must be created using
12958 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12959 # necessary to make sure instantiated templates are included
12960 # in the archive.
12961 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12963 esac
12965 esac
12968 lynxos*)
12969 # FIXME: insert proper C++ library support
12970 ld_shlibs_CXX=no
12973 m88k*)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12978 mvs*)
12979 case $cc_basename in
12980 cxx*)
12981 # FIXME: insert proper C++ library support
12982 ld_shlibs_CXX=no
12985 # FIXME: insert proper C++ library support
12986 ld_shlibs_CXX=no
12988 esac
12991 netbsd*)
12992 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12993 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12994 wlarc=
12995 hardcode_libdir_flag_spec_CXX='-R$libdir'
12996 hardcode_direct_CXX=yes
12997 hardcode_shlibpath_var_CXX=no
12999 # Workaround some broken pre-1.5 toolchains
13000 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13003 *nto* | *qnx*)
13004 ld_shlibs_CXX=yes
13007 openbsd2*)
13008 # C++ shared libraries are fairly broken
13009 ld_shlibs_CXX=no
13012 openbsd*)
13013 if test -f /usr/libexec/ld.so; then
13014 hardcode_direct_CXX=yes
13015 hardcode_shlibpath_var_CXX=no
13016 hardcode_direct_absolute_CXX=yes
13017 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13019 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13020 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13021 export_dynamic_flag_spec_CXX='${wl}-E'
13022 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13024 output_verbose_link_cmd=func_echo_all
13025 else
13026 ld_shlibs_CXX=no
13030 osf3* | osf4* | osf5*)
13031 case $cc_basename in
13032 KCC*)
13033 # Kuck and Associates, Inc. (KAI) C++ Compiler
13035 # KCC will only create a shared library if the output file
13036 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13037 # to its proper name (with version) after linking.
13038 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'
13040 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13041 hardcode_libdir_separator_CXX=:
13043 # Archives containing C++ object files must be created using
13044 # the KAI C++ compiler.
13045 case $host in
13046 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13047 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13048 esac
13050 RCC*)
13051 # Rational C++ 2.4.1
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 cxx*)
13056 case $host in
13057 osf3*)
13058 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13059 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'
13060 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063 allow_undefined_flag_CXX=' -expect_unresolved \*'
13064 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'
13065 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13066 echo "-hidden">> $lib.exp~
13067 $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~
13068 $RM $lib.exp'
13069 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13071 esac
13073 hardcode_libdir_separator_CXX=:
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13079 # There doesn't appear to be a way to prevent this compiler from
13080 # explicitly linking system object files so we need to strip them
13081 # from the output so that they don't get included in the library
13082 # dependencies.
13083 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"'
13086 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13087 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13088 case $host in
13089 osf3*)
13090 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'
13093 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'
13095 esac
13097 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13098 hardcode_libdir_separator_CXX=:
13100 # Commands to make compiler produce verbose output that lists
13101 # what "hidden" libraries, object files and flags are used when
13102 # linking a shared library.
13103 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13105 else
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13110 esac
13113 psos*)
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13118 sunos4*)
13119 case $cc_basename in
13120 CC*)
13121 # Sun C++ 4.x
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 lcc*)
13126 # Lucid
13127 # FIXME: insert proper C++ library support
13128 ld_shlibs_CXX=no
13131 # FIXME: insert proper C++ library support
13132 ld_shlibs_CXX=no
13134 esac
13137 solaris*)
13138 case $cc_basename in
13139 CC*)
13140 # Sun C++ 4.2, 5.x and Centerline C++
13141 archive_cmds_need_lc_CXX=yes
13142 no_undefined_flag_CXX=' -zdefs'
13143 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13144 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13145 $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'
13147 hardcode_libdir_flag_spec_CXX='-R$libdir'
13148 hardcode_shlibpath_var_CXX=no
13149 case $host_os in
13150 solaris2.[0-5] | solaris2.[0-5].*) ;;
13152 # The compiler driver will combine and reorder linker options,
13153 # but understands `-z linker_flag'.
13154 # Supported since Solaris 2.6 (maybe 2.5.1?)
13155 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13157 esac
13158 link_all_deplibs_CXX=yes
13160 output_verbose_link_cmd='func_echo_all'
13162 # Archives containing C++ object files must be created using
13163 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13164 # necessary to make sure instantiated templates are included
13165 # in the archive.
13166 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13168 gcx*)
13169 # Green Hills C++ Compiler
13170 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 # The C++ compiler must be used to create the archive.
13173 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13176 # GNU C++ compiler with Solaris linker
13177 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13178 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13179 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13180 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 else
13189 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13190 # platform.
13191 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13192 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13193 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13195 # Commands to make compiler produce verbose output that lists
13196 # what "hidden" libraries, object files and flags are used when
13197 # linking a shared library.
13198 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13201 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13202 case $host_os in
13203 solaris2.[0-5] | solaris2.[0-5].*) ;;
13205 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13207 esac
13210 esac
13213 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13214 no_undefined_flag_CXX='${wl}-z,text'
13215 archive_cmds_need_lc_CXX=no
13216 hardcode_shlibpath_var_CXX=no
13217 runpath_var='LD_RUN_PATH'
13219 case $cc_basename in
13220 CC*)
13221 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13222 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 esac
13231 sysv5* | sco3.2v5* | sco5v6*)
13232 # Note: We can NOT use -z defs as we might desire, because we do not
13233 # link with -lc, and that would cause any symbols used from libc to
13234 # always be unresolved, which means just about no library would
13235 # ever link correctly. If we're not using GNU ld we use -z text
13236 # though, which does catch some bad symbols but isn't as heavy-handed
13237 # as -z defs.
13238 no_undefined_flag_CXX='${wl}-z,text'
13239 allow_undefined_flag_CXX='${wl}-z,nodefs'
13240 archive_cmds_need_lc_CXX=no
13241 hardcode_shlibpath_var_CXX=no
13242 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13243 hardcode_libdir_separator_CXX=':'
13244 link_all_deplibs_CXX=yes
13245 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13246 runpath_var='LD_RUN_PATH'
13248 case $cc_basename in
13249 CC*)
13250 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13253 '"$old_archive_cmds_CXX"
13254 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13255 '"$reload_cmds_CXX"
13258 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13259 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 esac
13264 tandem*)
13265 case $cc_basename in
13266 NCC*)
13267 # NonStop-UX NCC 3.20
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13272 # FIXME: insert proper C++ library support
13273 ld_shlibs_CXX=no
13275 esac
13278 vxworks*)
13279 # FIXME: insert proper C++ library support
13280 ld_shlibs_CXX=no
13284 # FIXME: insert proper C++ library support
13285 ld_shlibs_CXX=no
13287 esac
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13290 $as_echo "$ld_shlibs_CXX" >&6; }
13291 test "$ld_shlibs_CXX" = no && can_build_shared=no
13293 GCC_CXX="$GXX"
13294 LD_CXX="$LD"
13296 ## CAVEAT EMPTOR:
13297 ## There is no encapsulation within the following macros, do not change
13298 ## the running order or otherwise move them around unless you know exactly
13299 ## what you are doing...
13300 # Dependencies to place before and after the object being linked:
13301 predep_objects_CXX=
13302 postdep_objects_CXX=
13303 predeps_CXX=
13304 postdeps_CXX=
13305 compiler_lib_search_path_CXX=
13307 cat > conftest.$ac_ext <<_LT_EOF
13308 class Foo
13310 public:
13311 Foo (void) { a = 0; }
13312 private:
13313 int a;
13315 _LT_EOF
13317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13318 (eval $ac_compile) 2>&5
13319 ac_status=$?
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 # Parse the compiler output and extract the necessary
13323 # objects, libraries and library flags.
13325 # Sentinel used to keep track of whether or not we are before
13326 # the conftest object file.
13327 pre_test_object_deps_done=no
13329 for p in `eval "$output_verbose_link_cmd"`; do
13330 case $p in
13332 -L* | -R* | -l*)
13333 # Some compilers place space between "-{L,R}" and the path.
13334 # Remove the space.
13335 if test $p = "-L" ||
13336 test $p = "-R"; then
13337 prev=$p
13338 continue
13339 else
13340 prev=
13343 if test "$pre_test_object_deps_done" = no; then
13344 case $p in
13345 -L* | -R*)
13346 # Internal compiler library paths should come after those
13347 # provided the user. The postdeps already come after the
13348 # user supplied libs so there is no need to process them.
13349 if test -z "$compiler_lib_search_path_CXX"; then
13350 compiler_lib_search_path_CXX="${prev}${p}"
13351 else
13352 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13355 # The "-l" case would never come before the object being
13356 # linked, so don't bother handling this case.
13357 esac
13358 else
13359 if test -z "$postdeps_CXX"; then
13360 postdeps_CXX="${prev}${p}"
13361 else
13362 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13367 *.$objext)
13368 # This assumes that the test object file only shows up
13369 # once in the compiler output.
13370 if test "$p" = "conftest.$objext"; then
13371 pre_test_object_deps_done=yes
13372 continue
13375 if test "$pre_test_object_deps_done" = no; then
13376 if test -z "$predep_objects_CXX"; then
13377 predep_objects_CXX="$p"
13378 else
13379 predep_objects_CXX="$predep_objects_CXX $p"
13381 else
13382 if test -z "$postdep_objects_CXX"; then
13383 postdep_objects_CXX="$p"
13384 else
13385 postdep_objects_CXX="$postdep_objects_CXX $p"
13390 *) ;; # Ignore the rest.
13392 esac
13393 done
13395 # Clean up.
13396 rm -f a.out a.exe
13397 else
13398 echo "libtool.m4: error: problem compiling CXX test program"
13401 $RM -f confest.$objext
13403 # PORTME: override above test on systems where it is broken
13404 case $host_os in
13405 interix[3-9]*)
13406 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13407 # hack all around it, let's just trust "g++" to DTRT.
13408 predep_objects_CXX=
13409 postdep_objects_CXX=
13410 postdeps_CXX=
13413 linux*)
13414 case `$CC -V 2>&1 | sed 5q` in
13415 *Sun\ C*)
13416 # Sun C++ 5.9
13418 # The more standards-conforming stlport4 library is
13419 # incompatible with the Cstd library. Avoid specifying
13420 # it if it's in CXXFLAGS. Ignore libCrun as
13421 # -library=stlport4 depends on it.
13422 case " $CXX $CXXFLAGS " in
13423 *" -library=stlport4 "*)
13424 solaris_use_stlport4=yes
13426 esac
13428 if test "$solaris_use_stlport4" != yes; then
13429 postdeps_CXX='-library=Cstd -library=Crun'
13432 esac
13435 solaris*)
13436 case $cc_basename in
13437 CC*)
13438 # The more standards-conforming stlport4 library is
13439 # incompatible with the Cstd library. Avoid specifying
13440 # it if it's in CXXFLAGS. Ignore libCrun as
13441 # -library=stlport4 depends on it.
13442 case " $CXX $CXXFLAGS " in
13443 *" -library=stlport4 "*)
13444 solaris_use_stlport4=yes
13446 esac
13448 # Adding this requires a known-good setup of shared libraries for
13449 # Sun compiler versions before 5.6, else PIC objects from an old
13450 # archive will be linked into the output, leading to subtle bugs.
13451 if test "$solaris_use_stlport4" != yes; then
13452 postdeps_CXX='-library=Cstd -library=Crun'
13455 esac
13457 esac
13460 case " $postdeps_CXX " in
13461 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13462 esac
13463 compiler_lib_search_dirs_CXX=
13464 if test -n "${compiler_lib_search_path_CXX}"; then
13465 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13498 lt_prog_compiler_wl_CXX=
13499 lt_prog_compiler_pic_CXX=
13500 lt_prog_compiler_static_CXX=
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13505 # C++ specific cases for pic, static, wl, etc.
13506 if test "$GXX" = yes; then
13507 lt_prog_compiler_wl_CXX='-Wl,'
13508 lt_prog_compiler_static_CXX='-static'
13510 case $host_os in
13511 aix*)
13512 # All AIX code is PIC.
13513 if test "$host_cpu" = ia64; then
13514 # AIX 5 now supports IA64 processor
13515 lt_prog_compiler_static_CXX='-Bstatic'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13520 amigaos*)
13521 case $host_cpu in
13522 powerpc)
13523 # see comment about AmigaOS4 .so support
13524 lt_prog_compiler_pic_CXX='-fPIC'
13526 m68k)
13527 # FIXME: we need at least 68020 code to build shared libraries, but
13528 # adding the `-m68020' flag to GCC prevents building anything better,
13529 # like `-m68040'.
13530 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13532 esac
13535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13536 # PIC is the default for these OSes.
13538 mingw* | cygwin* | os2* | pw32* | cegcc*)
13539 # This hack is so that the source file can tell whether it is being
13540 # built for inclusion in a dll (and should export symbols for example).
13541 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13542 # (--disable-auto-import) libraries
13543 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13545 darwin* | rhapsody*)
13546 # PIC is the default on this platform
13547 # Common symbols not allowed in MH_DYLIB files
13548 lt_prog_compiler_pic_CXX='-fno-common'
13550 *djgpp*)
13551 # DJGPP does not support shared libraries at all
13552 lt_prog_compiler_pic_CXX=
13554 haiku*)
13555 # PIC is the default for Haiku.
13556 # The "-static" flag exists, but is broken.
13557 lt_prog_compiler_static_CXX=
13559 interix[3-9]*)
13560 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13561 # Instead, we relocate shared libraries at runtime.
13563 sysv4*MP*)
13564 if test -d /usr/nec; then
13565 lt_prog_compiler_pic_CXX=-Kconform_pic
13568 hpux*)
13569 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13570 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13571 # sets the default TLS model and affects inlining.
13572 case $host_cpu in
13573 hppa*64*)
13576 lt_prog_compiler_pic_CXX='-fPIC'
13578 esac
13580 *qnx* | *nto*)
13581 # QNX uses GNU C++, but need to define -shared option too, otherwise
13582 # it will coredump.
13583 lt_prog_compiler_pic_CXX='-fPIC -shared'
13586 lt_prog_compiler_pic_CXX='-fPIC'
13588 esac
13589 else
13590 case $host_os in
13591 aix[4-9]*)
13592 # All AIX code is PIC.
13593 if test "$host_cpu" = ia64; then
13594 # AIX 5 now supports IA64 processor
13595 lt_prog_compiler_static_CXX='-Bstatic'
13596 else
13597 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13600 chorus*)
13601 case $cc_basename in
13602 cxch68*)
13603 # Green Hills C++ Compiler
13604 # _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"
13606 esac
13608 dgux*)
13609 case $cc_basename in
13610 ec++*)
13611 lt_prog_compiler_pic_CXX='-KPIC'
13613 ghcx*)
13614 # Green Hills C++ Compiler
13615 lt_prog_compiler_pic_CXX='-pic'
13619 esac
13621 freebsd* | dragonfly*)
13622 # FreeBSD uses GNU C++
13624 hpux9* | hpux10* | hpux11*)
13625 case $cc_basename in
13626 CC*)
13627 lt_prog_compiler_wl_CXX='-Wl,'
13628 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13629 if test "$host_cpu" != ia64; then
13630 lt_prog_compiler_pic_CXX='+Z'
13633 aCC*)
13634 lt_prog_compiler_wl_CXX='-Wl,'
13635 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13636 case $host_cpu in
13637 hppa*64*|ia64*)
13638 # +Z the default
13641 lt_prog_compiler_pic_CXX='+Z'
13643 esac
13647 esac
13649 interix*)
13650 # This is c89, which is MS Visual C++ (no shared libs)
13651 # Anyone wants to do a port?
13653 irix5* | irix6* | nonstopux*)
13654 case $cc_basename in
13655 CC*)
13656 lt_prog_compiler_wl_CXX='-Wl,'
13657 lt_prog_compiler_static_CXX='-non_shared'
13658 # CC pic flag -KPIC is the default.
13662 esac
13664 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13665 case $cc_basename in
13666 KCC*)
13667 # KAI C++ Compiler
13668 lt_prog_compiler_wl_CXX='--backend -Wl,'
13669 lt_prog_compiler_pic_CXX='-fPIC'
13671 ecpc* )
13672 # old Intel C++ for x86_64 which still supported -KPIC.
13673 lt_prog_compiler_wl_CXX='-Wl,'
13674 lt_prog_compiler_pic_CXX='-KPIC'
13675 lt_prog_compiler_static_CXX='-static'
13677 icpc* )
13678 # Intel C++, used to be incompatible with GCC.
13679 # ICC 10 doesn't accept -KPIC any more.
13680 lt_prog_compiler_wl_CXX='-Wl,'
13681 lt_prog_compiler_pic_CXX='-fPIC'
13682 lt_prog_compiler_static_CXX='-static'
13684 pgCC* | pgcpp*)
13685 # Portland Group C++ compiler
13686 lt_prog_compiler_wl_CXX='-Wl,'
13687 lt_prog_compiler_pic_CXX='-fpic'
13688 lt_prog_compiler_static_CXX='-Bstatic'
13690 cxx*)
13691 # Compaq C++
13692 # Make sure the PIC flag is empty. It appears that all Alpha
13693 # Linux and Compaq Tru64 Unix objects are PIC.
13694 lt_prog_compiler_pic_CXX=
13695 lt_prog_compiler_static_CXX='-non_shared'
13697 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13698 # IBM XL 8.0, 9.0 on PPC and BlueGene
13699 lt_prog_compiler_wl_CXX='-Wl,'
13700 lt_prog_compiler_pic_CXX='-qpic'
13701 lt_prog_compiler_static_CXX='-qstaticlink'
13704 case `$CC -V 2>&1 | sed 5q` in
13705 *Sun\ C*)
13706 # Sun C++ 5.9
13707 lt_prog_compiler_pic_CXX='-KPIC'
13708 lt_prog_compiler_static_CXX='-Bstatic'
13709 lt_prog_compiler_wl_CXX='-Qoption ld '
13711 esac
13713 esac
13715 lynxos*)
13717 m88k*)
13719 mvs*)
13720 case $cc_basename in
13721 cxx*)
13722 lt_prog_compiler_pic_CXX='-W c,exportall'
13726 esac
13728 netbsd*)
13730 *qnx* | *nto*)
13731 # QNX uses GNU C++, but need to define -shared option too, otherwise
13732 # it will coredump.
13733 lt_prog_compiler_pic_CXX='-fPIC -shared'
13735 osf3* | osf4* | osf5*)
13736 case $cc_basename in
13737 KCC*)
13738 lt_prog_compiler_wl_CXX='--backend -Wl,'
13740 RCC*)
13741 # Rational C++ 2.4.1
13742 lt_prog_compiler_pic_CXX='-pic'
13744 cxx*)
13745 # Digital/Compaq C++
13746 lt_prog_compiler_wl_CXX='-Wl,'
13747 # Make sure the PIC flag is empty. It appears that all Alpha
13748 # Linux and Compaq Tru64 Unix objects are PIC.
13749 lt_prog_compiler_pic_CXX=
13750 lt_prog_compiler_static_CXX='-non_shared'
13754 esac
13756 psos*)
13758 solaris*)
13759 case $cc_basename in
13760 CC*)
13761 # Sun C++ 4.2, 5.x and Centerline C++
13762 lt_prog_compiler_pic_CXX='-KPIC'
13763 lt_prog_compiler_static_CXX='-Bstatic'
13764 lt_prog_compiler_wl_CXX='-Qoption ld '
13766 gcx*)
13767 # Green Hills C++ Compiler
13768 lt_prog_compiler_pic_CXX='-PIC'
13772 esac
13774 sunos4*)
13775 case $cc_basename in
13776 CC*)
13777 # Sun C++ 4.x
13778 lt_prog_compiler_pic_CXX='-pic'
13779 lt_prog_compiler_static_CXX='-Bstatic'
13781 lcc*)
13782 # Lucid
13783 lt_prog_compiler_pic_CXX='-pic'
13787 esac
13789 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13790 case $cc_basename in
13791 CC*)
13792 lt_prog_compiler_wl_CXX='-Wl,'
13793 lt_prog_compiler_pic_CXX='-KPIC'
13794 lt_prog_compiler_static_CXX='-Bstatic'
13796 esac
13798 tandem*)
13799 case $cc_basename in
13800 NCC*)
13801 # NonStop-UX NCC 3.20
13802 lt_prog_compiler_pic_CXX='-KPIC'
13806 esac
13808 vxworks*)
13811 lt_prog_compiler_can_build_shared_CXX=no
13813 esac
13816 case $host_os in
13817 # For platforms which do not support PIC, -DPIC is meaningless:
13818 *djgpp*)
13819 lt_prog_compiler_pic_CXX=
13822 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13824 esac
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13826 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13831 # Check to make sure the PIC flag actually works.
13833 if test -n "$lt_prog_compiler_pic_CXX"; then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13835 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13836 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 lt_cv_prog_compiler_pic_works_CXX=no
13840 ac_outfile=conftest.$ac_objext
13841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13842 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 # The option is referenced via a variable to avoid confusing sed.
13848 lt_compile=`echo "$ac_compile" | $SED \
13849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13851 -e 's:$: $lt_compiler_flag:'`
13852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13853 (eval "$lt_compile" 2>conftest.err)
13854 ac_status=$?
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 if (exit $ac_status) && test -s "$ac_outfile"; then
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings other than the usual output.
13860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13861 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13862 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13863 lt_cv_prog_compiler_pic_works_CXX=yes
13866 $RM conftest*
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13870 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13872 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13873 case $lt_prog_compiler_pic_CXX in
13874 "" | " "*) ;;
13875 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13876 esac
13877 else
13878 lt_prog_compiler_pic_CXX=
13879 lt_prog_compiler_can_build_shared_CXX=no
13887 # Check to make sure the static flag actually works.
13889 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13891 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13892 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_static_works_CXX=no
13896 save_LDFLAGS="$LDFLAGS"
13897 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13898 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13899 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13900 # The linker can only warn and ignore the option if not recognized
13901 # So say no if there are warnings
13902 if test -s conftest.err; then
13903 # Append any errors to the config.log.
13904 cat conftest.err 1>&5
13905 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13907 if diff conftest.exp conftest.er2 >/dev/null; then
13908 lt_cv_prog_compiler_static_works_CXX=yes
13910 else
13911 lt_cv_prog_compiler_static_works_CXX=yes
13914 $RM -r conftest*
13915 LDFLAGS="$save_LDFLAGS"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13919 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13921 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13923 else
13924 lt_prog_compiler_static_CXX=
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13932 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13933 $as_echo_n "(cached) " >&6
13934 else
13935 lt_cv_prog_compiler_c_o_CXX=no
13936 $RM -r conftest 2>/dev/null
13937 mkdir conftest
13938 cd conftest
13939 mkdir out
13940 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13942 lt_compiler_flag="-o out/conftest2.$ac_objext"
13943 # Insert the option either (1) after the last *FLAGS variable, or
13944 # (2) before a word containing "conftest.", or (3) at the end.
13945 # Note that $ac_compile itself does not contain backslashes and begins
13946 # with a dollar sign (not a hyphen), so the echo should work correctly.
13947 lt_compile=`echo "$ac_compile" | $SED \
13948 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13950 -e 's:$: $lt_compiler_flag:'`
13951 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13952 (eval "$lt_compile" 2>out/conftest.err)
13953 ac_status=$?
13954 cat out/conftest.err >&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13957 then
13958 # The compiler can only warn and ignore the option if not recognized
13959 # So say no if there are warnings
13960 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13961 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13962 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13963 lt_cv_prog_compiler_c_o_CXX=yes
13966 chmod u+w . 2>&5
13967 $RM conftest*
13968 # SGI C++ compiler will create directory out/ii_files/ for
13969 # template instantiation
13970 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13971 $RM out/* && rmdir out
13972 cd ..
13973 $RM -r conftest
13974 $RM conftest*
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13978 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13984 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 lt_cv_prog_compiler_c_o_CXX=no
13988 $RM -r conftest 2>/dev/null
13989 mkdir conftest
13990 cd conftest
13991 mkdir out
13992 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13994 lt_compiler_flag="-o out/conftest2.$ac_objext"
13995 # Insert the option either (1) after the last *FLAGS variable, or
13996 # (2) before a word containing "conftest.", or (3) at the end.
13997 # Note that $ac_compile itself does not contain backslashes and begins
13998 # with a dollar sign (not a hyphen), so the echo should work correctly.
13999 lt_compile=`echo "$ac_compile" | $SED \
14000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14002 -e 's:$: $lt_compiler_flag:'`
14003 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14004 (eval "$lt_compile" 2>out/conftest.err)
14005 ac_status=$?
14006 cat out/conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14009 then
14010 # The compiler can only warn and ignore the option if not recognized
14011 # So say no if there are warnings
14012 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14013 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14014 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14015 lt_cv_prog_compiler_c_o_CXX=yes
14018 chmod u+w . 2>&5
14019 $RM conftest*
14020 # SGI C++ compiler will create directory out/ii_files/ for
14021 # template instantiation
14022 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14023 $RM out/* && rmdir out
14024 cd ..
14025 $RM -r conftest
14026 $RM conftest*
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14030 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14035 hard_links="nottested"
14036 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14037 # do not overwrite the value of need_locks provided by the user
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14039 $as_echo_n "checking if we can lock with hard links... " >&6; }
14040 hard_links=yes
14041 $RM conftest*
14042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14043 touch conftest.a
14044 ln conftest.a conftest.b 2>&5 || hard_links=no
14045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14047 $as_echo "$hard_links" >&6; }
14048 if test "$hard_links" = no; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14050 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14051 need_locks=warn
14053 else
14054 need_locks=no
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14060 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14062 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14063 case $host_os in
14064 aix[4-9]*)
14065 # If we're using GNU nm, then we don't want the "-C" option.
14066 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14067 # Also, AIX nm treats weak defined symbols like other global defined
14068 # symbols, whereas GNU nm marks them as "W".
14069 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14070 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'
14071 else
14072 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'
14075 pw32*)
14076 export_symbols_cmds_CXX="$ltdll_cmds"
14078 cygwin* | mingw* | cegcc*)
14079 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'
14082 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14084 esac
14085 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14088 $as_echo "$ld_shlibs_CXX" >&6; }
14089 test "$ld_shlibs_CXX" = no && can_build_shared=no
14091 with_gnu_ld_CXX=$with_gnu_ld
14099 # Do we need to explicitly link libc?
14101 case "x$archive_cmds_need_lc_CXX" in
14102 x|xyes)
14103 # Assume -lc should be added
14104 archive_cmds_need_lc_CXX=yes
14106 if test "$enable_shared" = yes && test "$GCC" = yes; then
14107 case $archive_cmds_CXX in
14108 *'~'*)
14109 # FIXME: we may have to deal with multi-command sequences.
14111 '$CC '*)
14112 # Test whether the compiler implicitly links with -lc since on some
14113 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14114 # to ld, don't add -lc before -lgcc.
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14116 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14117 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 $RM conftest*
14121 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14124 (eval $ac_compile) 2>&5
14125 ac_status=$?
14126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127 test $ac_status = 0; } 2>conftest.err; then
14128 soname=conftest
14129 lib=conftest
14130 libobjs=conftest.$ac_objext
14131 deplibs=
14132 wl=$lt_prog_compiler_wl_CXX
14133 pic_flag=$lt_prog_compiler_pic_CXX
14134 compiler_flags=-v
14135 linker_flags=-v
14136 verstring=
14137 output_objdir=.
14138 libname=conftest
14139 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14140 allow_undefined_flag_CXX=
14141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14142 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14143 ac_status=$?
14144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14145 test $ac_status = 0; }
14146 then
14147 lt_cv_archive_cmds_need_lc_CXX=no
14148 else
14149 lt_cv_archive_cmds_need_lc_CXX=yes
14151 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14152 else
14153 cat conftest.err 1>&5
14155 $RM conftest*
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14159 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14160 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14162 esac
14165 esac
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14233 library_names_spec=
14234 libname_spec='lib$name'
14235 soname_spec=
14236 shrext_cmds=".so"
14237 postinstall_cmds=
14238 postuninstall_cmds=
14239 finish_cmds=
14240 finish_eval=
14241 shlibpath_var=
14242 shlibpath_overrides_runpath=unknown
14243 version_type=none
14244 dynamic_linker="$host_os ld.so"
14245 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14246 need_lib_prefix=unknown
14247 hardcode_into_libs=no
14249 # when you set need_version to no, make sure it does not cause -set_version
14250 # flags to be left without arguments
14251 need_version=unknown
14253 case $host_os in
14254 aix3*)
14255 version_type=linux
14256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14257 shlibpath_var=LIBPATH
14259 # AIX 3 has no versioning support, so we append a major version to the name.
14260 soname_spec='${libname}${release}${shared_ext}$major'
14263 aix[4-9]*)
14264 version_type=linux
14265 need_lib_prefix=no
14266 need_version=no
14267 hardcode_into_libs=yes
14268 if test "$host_cpu" = ia64; then
14269 # AIX 5 supports IA64
14270 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14271 shlibpath_var=LD_LIBRARY_PATH
14272 else
14273 # With GCC up to 2.95.x, collect2 would create an import file
14274 # for dependence libraries. The import file would start with
14275 # the line `#! .'. This would cause the generated library to
14276 # depend on `.', always an invalid library. This was fixed in
14277 # development snapshots of GCC prior to 3.0.
14278 case $host_os in
14279 aix4 | aix4.[01] | aix4.[01].*)
14280 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14281 echo ' yes '
14282 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14284 else
14285 can_build_shared=no
14288 esac
14289 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14290 # soname into executable. Probably we can add versioning support to
14291 # collect2, so additional links can be useful in future.
14292 if test "$aix_use_runtimelinking" = yes; then
14293 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14294 # instead of lib<name>.a to let people know that these are not
14295 # typical AIX shared libraries.
14296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14297 else
14298 # We preserve .a as extension for shared libraries through AIX4.2
14299 # and later when we are not doing run time linking.
14300 library_names_spec='${libname}${release}.a $libname.a'
14301 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LIBPATH
14307 amigaos*)
14308 case $host_cpu in
14309 powerpc)
14310 # Since July 2007 AmigaOS4 officially supports .so libraries.
14311 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314 m68k)
14315 library_names_spec='$libname.ixlibrary $libname.a'
14316 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14317 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'
14319 esac
14322 beos*)
14323 library_names_spec='${libname}${shared_ext}'
14324 dynamic_linker="$host_os ld.so"
14325 shlibpath_var=LIBRARY_PATH
14328 bsdi[45]*)
14329 version_type=linux
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14334 shlibpath_var=LD_LIBRARY_PATH
14335 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14336 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14337 # the default ld.so.conf also contains /usr/contrib/lib and
14338 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14339 # libtool to hard-code these into programs
14342 cygwin* | mingw* | pw32* | cegcc*)
14343 version_type=windows
14344 shrext_cmds=".dll"
14345 need_version=no
14346 need_lib_prefix=no
14348 case $GCC,$host_os in
14349 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14350 library_names_spec='$libname.dll.a'
14351 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14352 postinstall_cmds='base_file=`basename \${file}`~
14353 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14354 dldir=$destdir/`dirname \$dlpath`~
14355 test -d \$dldir || mkdir -p \$dldir~
14356 $install_prog $dir/$dlname \$dldir/$dlname~
14357 chmod a+x \$dldir/$dlname~
14358 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14359 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14361 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14362 dlpath=$dir/\$dldll~
14363 $RM \$dlpath'
14364 shlibpath_overrides_runpath=yes
14366 case $host_os in
14367 cygwin*)
14368 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14369 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 mingw* | cegcc*)
14373 # MinGW DLLs use traditional 'lib' prefix
14374 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14376 pw32*)
14377 # pw32 DLLs use 'pw' prefix rather than 'lib'
14378 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14380 esac
14384 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14386 esac
14387 dynamic_linker='Win32 ld.exe'
14388 # FIXME: first we should search . and the directory the executable is in
14389 shlibpath_var=PATH
14392 darwin* | rhapsody*)
14393 dynamic_linker="$host_os dyld"
14394 version_type=darwin
14395 need_lib_prefix=no
14396 need_version=no
14397 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14398 soname_spec='${libname}${release}${major}$shared_ext'
14399 shlibpath_overrides_runpath=yes
14400 shlibpath_var=DYLD_LIBRARY_PATH
14401 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14403 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14406 dgux*)
14407 version_type=linux
14408 need_lib_prefix=no
14409 need_version=no
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 shlibpath_var=LD_LIBRARY_PATH
14415 freebsd* | dragonfly*)
14416 # DragonFly does not have aout. When/if they implement a new
14417 # versioning mechanism, adjust this.
14418 if test -x /usr/bin/objformat; then
14419 objformat=`/usr/bin/objformat`
14420 else
14421 case $host_os in
14422 freebsd[23].*) objformat=aout ;;
14423 *) objformat=elf ;;
14424 esac
14426 version_type=freebsd-$objformat
14427 case $version_type in
14428 freebsd-elf*)
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14430 need_version=no
14431 need_lib_prefix=no
14433 freebsd-*)
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14435 need_version=yes
14437 esac
14438 shlibpath_var=LD_LIBRARY_PATH
14439 case $host_os in
14440 freebsd2.*)
14441 shlibpath_overrides_runpath=yes
14443 freebsd3.[01]* | freebsdelf3.[01]*)
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14448 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14449 shlibpath_overrides_runpath=no
14450 hardcode_into_libs=yes
14452 *) # from 4.6 on, and DragonFly
14453 shlibpath_overrides_runpath=yes
14454 hardcode_into_libs=yes
14456 esac
14459 gnu*)
14460 version_type=linux
14461 need_lib_prefix=no
14462 need_version=no
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LD_LIBRARY_PATH
14466 hardcode_into_libs=yes
14469 haiku*)
14470 version_type=linux
14471 need_lib_prefix=no
14472 need_version=no
14473 dynamic_linker="$host_os runtime_loader"
14474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 shlibpath_var=LIBRARY_PATH
14477 shlibpath_overrides_runpath=yes
14478 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14479 hardcode_into_libs=yes
14482 hpux9* | hpux10* | hpux11*)
14483 # Give a soname corresponding to the major version so that dld.sl refuses to
14484 # link against other versions.
14485 version_type=sunos
14486 need_lib_prefix=no
14487 need_version=no
14488 case $host_cpu in
14489 ia64*)
14490 shrext_cmds='.so'
14491 hardcode_into_libs=yes
14492 dynamic_linker="$host_os dld.so"
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14496 soname_spec='${libname}${release}${shared_ext}$major'
14497 if test "X$HPUX_IA64_MODE" = X32; then
14498 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14499 else
14500 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14504 hppa*64*)
14505 shrext_cmds='.sl'
14506 hardcode_into_libs=yes
14507 dynamic_linker="$host_os dld.sl"
14508 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14509 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14513 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14516 shrext_cmds='.sl'
14517 dynamic_linker="$host_os dld.sl"
14518 shlibpath_var=SHLIB_PATH
14519 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14521 soname_spec='${libname}${release}${shared_ext}$major'
14523 esac
14524 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14525 postinstall_cmds='chmod 555 $lib'
14526 # or fails outright, so override atomically:
14527 install_override_mode=555
14530 interix[3-9]*)
14531 version_type=linux
14532 need_lib_prefix=no
14533 need_version=no
14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14535 soname_spec='${libname}${release}${shared_ext}$major'
14536 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14537 shlibpath_var=LD_LIBRARY_PATH
14538 shlibpath_overrides_runpath=no
14539 hardcode_into_libs=yes
14542 irix5* | irix6* | nonstopux*)
14543 case $host_os in
14544 nonstopux*) version_type=nonstopux ;;
14546 if test "$lt_cv_prog_gnu_ld" = yes; then
14547 version_type=linux
14548 else
14549 version_type=irix
14550 fi ;;
14551 esac
14552 need_lib_prefix=no
14553 need_version=no
14554 soname_spec='${libname}${release}${shared_ext}$major'
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14556 case $host_os in
14557 irix5* | nonstopux*)
14558 libsuff= shlibsuff=
14561 case $LD in # libtool.m4 will add one of these switches to LD
14562 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14563 libsuff= shlibsuff= libmagic=32-bit;;
14564 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14565 libsuff=32 shlibsuff=N32 libmagic=N32;;
14566 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14567 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14568 *) libsuff= shlibsuff= libmagic=never-match;;
14569 esac
14571 esac
14572 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14573 shlibpath_overrides_runpath=no
14574 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14575 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14576 hardcode_into_libs=yes
14579 # No shared lib support for Linux oldld, aout, or coff.
14580 linux*oldld* | linux*aout* | linux*coff*)
14581 dynamic_linker=no
14584 # This must be Linux ELF.
14585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14586 version_type=linux
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14592 shlibpath_var=LD_LIBRARY_PATH
14593 shlibpath_overrides_runpath=no
14595 # Some binutils ld are patched to set DT_RUNPATH
14596 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 lt_cv_shlibpath_overrides_runpath=no
14600 save_LDFLAGS=$LDFLAGS
14601 save_libdir=$libdir
14602 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14603 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14604 if test x$gcc_no_link = xyes; then
14605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14611 main ()
14615 return 0;
14617 _ACEOF
14618 if ac_fn_cxx_try_link "$LINENO"; then :
14619 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14620 lt_cv_shlibpath_overrides_runpath=yes
14623 rm -f core conftest.err conftest.$ac_objext \
14624 conftest$ac_exeext conftest.$ac_ext
14625 LDFLAGS=$save_LDFLAGS
14626 libdir=$save_libdir
14630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14632 # This implies no fast_install, which is unacceptable.
14633 # Some rework will be needed to allow for fast_install
14634 # before this can be enabled.
14635 hardcode_into_libs=yes
14637 # Append ld.so.conf contents to the search path
14638 if test -f /etc/ld.so.conf; then
14639 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' ' '`
14640 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14643 # We used to test for /lib/ld.so.1 and disable shared libraries on
14644 # powerpc, because MkLinux only supported shared libraries with the
14645 # GNU dynamic linker. Since this was broken with cross compilers,
14646 # most powerpc-linux boxes support dynamic linking these days and
14647 # people can always --disable-shared, the test was removed, and we
14648 # assume the GNU/Linux dynamic linker is in use.
14649 dynamic_linker='GNU/Linux ld.so'
14652 netbsd*)
14653 version_type=sunos
14654 need_lib_prefix=no
14655 need_version=no
14656 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14658 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14659 dynamic_linker='NetBSD (a.out) ld.so'
14660 else
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14662 soname_spec='${libname}${release}${shared_ext}$major'
14663 dynamic_linker='NetBSD ld.elf_so'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14667 hardcode_into_libs=yes
14670 newsos6)
14671 version_type=linux
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 shlibpath_var=LD_LIBRARY_PATH
14674 shlibpath_overrides_runpath=yes
14677 *nto* | *qnx*)
14678 version_type=qnx
14679 need_lib_prefix=no
14680 need_version=no
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 shlibpath_overrides_runpath=no
14685 hardcode_into_libs=yes
14686 dynamic_linker='ldqnx.so'
14689 openbsd*)
14690 version_type=sunos
14691 sys_lib_dlsearch_path_spec="/usr/lib"
14692 need_lib_prefix=no
14693 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14694 case $host_os in
14695 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14696 *) need_version=no ;;
14697 esac
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14702 case $host_os in
14703 openbsd2.[89] | openbsd2.[89].*)
14704 shlibpath_overrides_runpath=no
14707 shlibpath_overrides_runpath=yes
14709 esac
14710 else
14711 shlibpath_overrides_runpath=yes
14715 os2*)
14716 libname_spec='$name'
14717 shrext_cmds=".dll"
14718 need_lib_prefix=no
14719 library_names_spec='$libname${shared_ext} $libname.a'
14720 dynamic_linker='OS/2 ld.exe'
14721 shlibpath_var=LIBPATH
14724 osf3* | osf4* | osf5*)
14725 version_type=osf
14726 need_lib_prefix=no
14727 need_version=no
14728 soname_spec='${libname}${release}${shared_ext}$major'
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 shlibpath_var=LD_LIBRARY_PATH
14731 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14732 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14735 rdos*)
14736 dynamic_linker=no
14739 solaris*)
14740 version_type=linux
14741 need_lib_prefix=no
14742 need_version=no
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14744 soname_spec='${libname}${release}${shared_ext}$major'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 hardcode_into_libs=yes
14748 # ldd complains unless libraries are executable
14749 postinstall_cmds='chmod +x $lib'
14752 sunos4*)
14753 version_type=sunos
14754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14755 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14756 shlibpath_var=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath=yes
14758 if test "$with_gnu_ld" = yes; then
14759 need_lib_prefix=no
14761 need_version=yes
14764 sysv4 | sysv4.3*)
14765 version_type=linux
14766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14767 soname_spec='${libname}${release}${shared_ext}$major'
14768 shlibpath_var=LD_LIBRARY_PATH
14769 case $host_vendor in
14770 sni)
14771 shlibpath_overrides_runpath=no
14772 need_lib_prefix=no
14773 runpath_var=LD_RUN_PATH
14775 siemens)
14776 need_lib_prefix=no
14778 motorola)
14779 need_lib_prefix=no
14780 need_version=no
14781 shlibpath_overrides_runpath=no
14782 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14784 esac
14787 sysv4*MP*)
14788 if test -d /usr/nec ;then
14789 version_type=linux
14790 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14791 soname_spec='$libname${shared_ext}.$major'
14792 shlibpath_var=LD_LIBRARY_PATH
14796 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14797 version_type=freebsd-elf
14798 need_lib_prefix=no
14799 need_version=no
14800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14801 soname_spec='${libname}${release}${shared_ext}$major'
14802 shlibpath_var=LD_LIBRARY_PATH
14803 shlibpath_overrides_runpath=yes
14804 hardcode_into_libs=yes
14805 if test "$with_gnu_ld" = yes; then
14806 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14807 else
14808 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14809 case $host_os in
14810 sco3.2v5*)
14811 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14813 esac
14815 sys_lib_dlsearch_path_spec='/usr/lib'
14818 tpf*)
14819 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14820 version_type=linux
14821 need_lib_prefix=no
14822 need_version=no
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 shlibpath_var=LD_LIBRARY_PATH
14825 shlibpath_overrides_runpath=no
14826 hardcode_into_libs=yes
14829 uts4*)
14830 version_type=linux
14831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14832 soname_spec='${libname}${release}${shared_ext}$major'
14833 shlibpath_var=LD_LIBRARY_PATH
14837 dynamic_linker=no
14839 esac
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14841 $as_echo "$dynamic_linker" >&6; }
14842 test "$dynamic_linker" = no && can_build_shared=no
14844 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14845 if test "$GCC" = yes; then
14846 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14849 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14850 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14852 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14853 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14894 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14895 hardcode_action_CXX=
14896 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14897 test -n "$runpath_var_CXX" ||
14898 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14900 # We can hardcode non-existent directories.
14901 if test "$hardcode_direct_CXX" != no &&
14902 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14903 # have to relink, otherwise we might link with an installed library
14904 # when we should be linking with a yet-to-be-installed one
14905 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14906 test "$hardcode_minus_L_CXX" != no; then
14907 # Linking always hardcodes the temporary library directory.
14908 hardcode_action_CXX=relink
14909 else
14910 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14911 hardcode_action_CXX=immediate
14913 else
14914 # We cannot hardcode anything, or else we can only hardcode existing
14915 # directories.
14916 hardcode_action_CXX=unsupported
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14919 $as_echo "$hardcode_action_CXX" >&6; }
14921 if test "$hardcode_action_CXX" = relink ||
14922 test "$inherit_rpath_CXX" = yes; then
14923 # Fast installation is not supported
14924 enable_fast_install=no
14925 elif test "$shlibpath_overrides_runpath" = yes ||
14926 test "$enable_shared" = no; then
14927 # Fast installation is not necessary
14928 enable_fast_install=needless
14937 fi # test -n "$compiler"
14939 CC=$lt_save_CC
14940 LDCXX=$LD
14941 LD=$lt_save_LD
14942 GCC=$lt_save_GCC
14943 with_gnu_ld=$lt_save_with_gnu_ld
14944 lt_cv_path_LDCXX=$lt_cv_path_LD
14945 lt_cv_path_LD=$lt_save_path_LD
14946 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14947 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14948 fi # test "$_lt_caught_CXX_error" != yes
14950 ac_ext=c
14951 ac_cpp='$CPP $CPPFLAGS'
14952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14968 ac_config_commands="$ac_config_commands libtool"
14973 # Only expand once:
14979 case $host in
14980 *-cygwin* | *-mingw*)
14981 # 'host' will be top-level target in the case of a target lib,
14982 # we must compare to with_cross_host to decide if this is a native
14983 # or cross-compiler and select where to install dlls appropriately.
14984 if test -n "$with_cross_host" &&
14985 test x"$with_cross_host" != x"no"; then
14986 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14987 else
14988 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14992 lt_host_flags=
14994 esac
15001 if test "$enable_vtable_verify" = yes; then
15002 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15003 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15007 # libtool variables for C++ shared and position-independent compiles.
15009 # Use glibcxx_lt_pic_flag to designate the automake variable
15010 # used to encapsulate the default libtool approach to creating objects
15011 # with position-independent code. Default: -prefer-pic.
15013 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15014 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15016 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15017 # creating position-independent objects. This varies with the target
15018 # hardware and operating system, but is often: -DPIC -fPIC.
15019 if test "$enable_shared" = yes; then
15020 glibcxx_lt_pic_flag="-prefer-pic"
15021 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15022 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15024 else
15025 glibcxx_lt_pic_flag=
15026 glibcxx_compiler_pic_flag=
15027 glibcxx_compiler_shared_flag=
15033 # Override the libtool's pic_flag and pic_mode.
15034 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15035 # NB: this impacts --with-pic and --without-pic.
15036 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15037 pic_mode='default'
15039 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15040 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15042 # Possibly disable most of the library.
15043 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15044 ## than just ignoring the results. Faster /and/ more correct, win win.
15046 # Check whether --enable-hosted-libstdcxx was given.
15047 if test "${enable_hosted_libstdcxx+set}" = set; then :
15048 enableval=$enable_hosted_libstdcxx;
15049 else
15050 case "$host" in
15051 arm*-*-symbianelf*)
15052 enable_hosted_libstdcxx=no
15055 enable_hosted_libstdcxx=yes
15057 esac
15060 if test "$enable_hosted_libstdcxx" = no; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15062 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15063 is_hosted=no
15064 hosted_define=0
15065 enable_abi_check=no
15066 enable_libstdcxx_pch=no
15067 else
15068 is_hosted=yes
15069 hosted_define=1
15073 cat >>confdefs.h <<_ACEOF
15074 #define _GLIBCXX_HOSTED $hosted_define
15075 _ACEOF
15079 # Enable descriptive messages to standard output on termination.
15081 # Check whether --enable-libstdcxx-verbose was given.
15082 if test "${enable_libstdcxx_verbose+set}" = set; then :
15083 enableval=$enable_libstdcxx_verbose;
15084 else
15085 enable_libstdcxx_verbose=yes
15088 if test x"$enable_libstdcxx_verbose" = xyes; then
15089 verbose_define=1
15090 else
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15092 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15093 verbose_define=0
15096 cat >>confdefs.h <<_ACEOF
15097 #define _GLIBCXX_VERBOSE $verbose_define
15098 _ACEOF
15102 # Enable compiler support that doesn't require linking.
15104 # Check whether --enable-libstdcxx-pch was given.
15105 if test "${enable_libstdcxx_pch+set}" = set; then :
15106 enableval=$enable_libstdcxx_pch;
15107 case "$enableval" in
15108 yes|no) ;;
15109 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15110 esac
15112 else
15113 enable_libstdcxx_pch=$is_hosted
15117 if test $enable_libstdcxx_pch = yes; then
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15119 $as_echo_n "checking for compiler with PCH support... " >&6; }
15120 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15121 $as_echo_n "(cached) " >&6
15122 else
15123 ac_save_CXXFLAGS="$CXXFLAGS"
15124 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15126 ac_ext=cpp
15127 ac_cpp='$CXXCPP $CPPFLAGS'
15128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15132 echo '#include <math.h>' > conftest.h
15133 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15134 -o conftest.h.gch 1>&5 2>&1 &&
15135 echo '#error "pch failed"' > conftest.h &&
15136 echo '#include "conftest.h"' > conftest.cc &&
15137 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15138 then
15139 glibcxx_cv_prog_CXX_pch=yes
15140 else
15141 glibcxx_cv_prog_CXX_pch=no
15143 rm -f conftest*
15144 CXXFLAGS=$ac_save_CXXFLAGS
15145 ac_ext=c
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15154 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15155 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15159 $as_echo_n "checking for enabled PCH... " >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15161 $as_echo "$enable_libstdcxx_pch" >&6; }
15164 if test $enable_libstdcxx_pch = yes; then
15165 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15166 else
15167 glibcxx_PCHFLAGS=""
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15173 $as_echo_n "checking for thread model used by GCC... " >&6; }
15174 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15176 $as_echo "$target_thread_file" >&6; }
15178 case $target_thread_file in
15179 aix) thread_header=config/rs6000/gthr-aix.h ;;
15180 dce) thread_header=config/pa/gthr-dce.h ;;
15181 lynx) thread_header=config/gthr-lynx.h ;;
15182 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15183 posix) thread_header=gthr-posix.h ;;
15184 rtems) thread_header=config/gthr-rtems.h ;;
15185 single) thread_header=gthr-single.h ;;
15186 tpf) thread_header=config/s390/gthr-tpf.h ;;
15187 vxworks) thread_header=config/gthr-vxworks.h ;;
15188 win32) thread_header=config/i386/gthr-win32.h ;;
15189 esac
15195 ac_ext=cpp
15196 ac_cpp='$CXXCPP $CPPFLAGS'
15197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15201 old_CXXFLAGS="$CXXFLAGS"
15203 # Do link tests if possible, instead asm tests, limited to some platforms
15204 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15205 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15206 atomic_builtins_link_tests=no
15207 if test x$gcc_no_link != xyes; then
15208 # Can do link tests. Limit to some tested platforms
15209 case "$host" in
15210 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15211 atomic_builtins_link_tests=yes
15213 esac
15216 if test x$atomic_builtins_link_tests = xyes; then
15218 # Do link tests.
15220 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15223 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15224 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15228 if test x$gcc_no_link = xyes; then
15229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15235 main ()
15237 typedef bool atomic_type;
15238 atomic_type c1;
15239 atomic_type c2;
15240 atomic_type c3(0);
15241 // N.B. __atomic_fetch_add is not supported for bool.
15242 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15243 __ATOMIC_RELAXED);
15244 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15245 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15248 return 0;
15250 _ACEOF
15251 if ac_fn_cxx_try_link "$LINENO"; then :
15252 glibcxx_cv_atomic_bool=yes
15253 else
15254 glibcxx_cv_atomic_bool=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15262 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15265 $as_echo_n "checking for atomic builtins for short... " >&6; }
15266 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15270 if test x$gcc_no_link = xyes; then
15271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15277 main ()
15279 typedef short atomic_type;
15280 atomic_type c1;
15281 atomic_type c2;
15282 atomic_type c3(0);
15283 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15284 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15285 __ATOMIC_RELAXED);
15286 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15287 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15290 return 0;
15292 _ACEOF
15293 if ac_fn_cxx_try_link "$LINENO"; then :
15294 glibcxx_cv_atomic_short=yes
15295 else
15296 glibcxx_cv_atomic_short=no
15298 rm -f core conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext conftest.$ac_ext
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15304 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15307 $as_echo_n "checking for atomic builtins for int... " >&6; }
15308 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15309 $as_echo_n "(cached) " >&6
15310 else
15312 if test x$gcc_no_link = xyes; then
15313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15319 main ()
15321 typedef int atomic_type;
15322 atomic_type c1;
15323 atomic_type c2;
15324 atomic_type c3(0);
15325 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15326 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15327 __ATOMIC_RELAXED);
15328 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15329 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15332 return 0;
15334 _ACEOF
15335 if ac_fn_cxx_try_link "$LINENO"; then :
15336 glibcxx_cv_atomic_int=yes
15337 else
15338 glibcxx_cv_atomic_int=no
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15346 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15349 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15350 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15354 if test x$gcc_no_link = xyes; then
15355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15361 main ()
15363 typedef long long atomic_type;
15364 atomic_type c1;
15365 atomic_type c2;
15366 atomic_type c3(0);
15367 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15368 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15369 __ATOMIC_RELAXED);
15370 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15371 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15374 return 0;
15376 _ACEOF
15377 if ac_fn_cxx_try_link "$LINENO"; then :
15378 glibcxx_cv_atomic_long_long=yes
15379 else
15380 glibcxx_cv_atomic_long_long=no
15382 rm -f core conftest.err conftest.$ac_objext \
15383 conftest$ac_exeext conftest.$ac_ext
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15388 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15390 else
15392 # Do asm tests.
15394 # Compile unoptimized.
15395 CXXFLAGS='-O0 -S'
15397 # Fake what AC_TRY_COMPILE does.
15399 cat > conftest.$ac_ext << EOF
15400 #line 15400 "configure"
15401 int main()
15403 typedef bool atomic_type;
15404 atomic_type c1;
15405 atomic_type c2;
15406 atomic_type c3(0);
15407 // N.B. __atomic_fetch_add is not supported for bool.
15408 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15409 __ATOMIC_RELAXED);
15410 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15411 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15413 return 0;
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15418 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15420 (eval $ac_compile) 2>&5
15421 ac_status=$?
15422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15423 test $ac_status = 0; }; then
15424 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15425 glibcxx_cv_atomic_bool=no
15426 else
15427 glibcxx_cv_atomic_bool=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15431 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15432 rm -f conftest*
15434 cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15436 int main()
15438 typedef short atomic_type;
15439 atomic_type c1;
15440 atomic_type c2;
15441 atomic_type c3(0);
15442 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15443 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15444 __ATOMIC_RELAXED);
15445 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15446 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15448 return 0;
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15453 $as_echo_n "checking for atomic builtins for short... " >&6; }
15454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15455 (eval $ac_compile) 2>&5
15456 ac_status=$?
15457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458 test $ac_status = 0; }; then
15459 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15460 glibcxx_cv_atomic_short=no
15461 else
15462 glibcxx_cv_atomic_short=yes
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15466 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15467 rm -f conftest*
15469 cat > conftest.$ac_ext << EOF
15470 #line 15470 "configure"
15471 int main()
15473 // NB: _Atomic_word not necessarily int.
15474 typedef int atomic_type;
15475 atomic_type c1;
15476 atomic_type c2;
15477 atomic_type c3(0);
15478 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15479 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15480 __ATOMIC_RELAXED);
15481 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15482 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15484 return 0;
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15489 $as_echo_n "checking for atomic builtins for int... " >&6; }
15490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15491 (eval $ac_compile) 2>&5
15492 ac_status=$?
15493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15494 test $ac_status = 0; }; then
15495 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15496 glibcxx_cv_atomic_int=no
15497 else
15498 glibcxx_cv_atomic_int=yes
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15502 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15503 rm -f conftest*
15505 cat > conftest.$ac_ext << EOF
15506 #line 15506 "configure"
15507 int main()
15509 typedef long long atomic_type;
15510 atomic_type c1;
15511 atomic_type c2;
15512 atomic_type c3(0);
15513 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15514 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15515 __ATOMIC_RELAXED);
15516 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15517 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15519 return 0;
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15524 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15526 (eval $ac_compile) 2>&5
15527 ac_status=$?
15528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529 test $ac_status = 0; }; then
15530 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15531 glibcxx_cv_atomic_long_long=no
15532 else
15533 glibcxx_cv_atomic_long_long=yes
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15537 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15538 rm -f conftest*
15542 CXXFLAGS="$old_CXXFLAGS"
15543 ac_ext=c
15544 ac_cpp='$CPP $CPPFLAGS'
15545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550 # Set atomicity_dir to builtins if all but the long long test above passes,
15551 # or if the builtins were already chosen (e.g. by configure.host).
15552 if { test "$glibcxx_cv_atomic_bool" = yes \
15553 && test "$glibcxx_cv_atomic_short" = yes \
15554 && test "$glibcxx_cv_atomic_int" = yes; } \
15555 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15557 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15559 atomicity_dir=cpu/generic/atomicity_builtins
15562 # If still generic, set to mutex.
15563 if test $atomicity_dir = "cpu/generic" ; then
15564 atomicity_dir=cpu/generic/atomicity_mutex
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15566 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15567 if test "x$target_thread_file" = xsingle; then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15569 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15571 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15572 else
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15574 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15576 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15583 # Fake what AC_TRY_COMPILE does, without linking as this is
15584 # unnecessary for this test.
15586 cat > conftest.$ac_ext << EOF
15587 #line 15587 "configure"
15588 int main()
15590 _Decimal32 d1;
15591 _Decimal64 d2;
15592 _Decimal128 d3;
15593 return 0;
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15598 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15600 (eval $ac_compile) 2>&5
15601 ac_status=$?
15602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15603 test $ac_status = 0; }; then
15605 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15607 enable_dfp=yes
15608 else
15609 enable_dfp=no
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15612 $as_echo "$enable_dfp" >&6; }
15613 rm -f conftest*
15618 ac_ext=cpp
15619 ac_cpp='$CXXCPP $CPPFLAGS'
15620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15625 # Fake what AC_TRY_COMPILE does, without linking as this is
15626 # unnecessary for this test.
15628 cat > conftest.$ac_ext << EOF
15629 #line 15629 "configure"
15630 template<typename T1, typename T2>
15631 struct same
15632 { typedef T2 type; };
15634 template<typename T>
15635 struct same<T, T>;
15637 int main()
15639 typename same<long, __int128>::type i1;
15640 typename same<long long, __int128>::type i2;
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15645 $as_echo_n "checking for __int128... " >&6; }
15646 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15647 (eval $ac_compile) 2>&5
15648 ac_status=$?
15649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 test $ac_status = 0; }; then
15652 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15654 enable_int128=yes
15655 else
15656 enable_int128=no
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15659 $as_echo "$enable_int128" >&6; }
15660 rm -f conftest*
15662 cat > conftest.$ac_ext << EOF
15663 #line 15663 "configure"
15664 template<typename T1, typename T2>
15665 struct same
15666 { typedef T2 type; };
15668 template<typename T>
15669 struct same<T, T>;
15671 int main()
15673 typename same<double, __float128>::type f1;
15674 typename same<long double, __float128>::type f2;
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15679 $as_echo_n "checking for __float128... " >&6; }
15680 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15684 test $ac_status = 0; }; then
15686 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15688 enable_float128=yes
15689 else
15690 enable_float128=no
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15693 $as_echo "$enable_float128" >&6; }
15694 rm -f conftest*
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15703 if test "$enable_float128" = yes; then
15704 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15707 # Checks for compiler support that doesn't require linking.
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15722 # Check for maintainer-mode bits.
15723 if test x"$USE_MAINTAINER_MODE" = xno; then
15724 WERROR=''
15725 else
15726 WERROR='-Werror'
15729 # Check for -ffunction-sections -fdata-sections
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15731 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15732 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15735 int foo; void bar() { };
15737 main ()
15741 return 0;
15743 _ACEOF
15744 if ac_fn_cxx_try_compile "$LINENO"; then :
15745 ac_fdsections=yes
15746 else
15747 ac_fdsections=no
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 if test "$ac_test_CXXFLAGS" = set; then
15751 CXXFLAGS="$ac_save_CXXFLAGS"
15752 else
15753 # this is the suspicious part
15754 CXXFLAGS=''
15756 if test x"$ac_fdsections" = x"yes"; then
15757 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15760 $as_echo "$ac_fdsections" >&6; }
15762 ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772 # Enable all the variable C++ runtime options that don't require linking.
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15775 $as_echo_n "checking for underlying I/O to use... " >&6; }
15776 # Check whether --enable-cstdio was given.
15777 if test "${enable_cstdio+set}" = set; then :
15778 enableval=$enable_cstdio;
15779 case "$enableval" in
15780 stdio) ;;
15781 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15782 esac
15784 else
15785 enable_cstdio=stdio
15790 # Now that libio has been removed, you can have any color you want as long
15791 # as it's black. This is one big no-op until other packages are added, but
15792 # showing the framework never hurts.
15793 case ${enable_cstdio} in
15794 stdio)
15795 CSTDIO_H=config/io/c_io_stdio.h
15796 BASIC_FILE_H=config/io/basic_file_stdio.h
15797 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15799 $as_echo "stdio" >&6; }
15801 esac
15808 # Check whether --enable-clocale was given.
15809 if test "${enable_clocale+set}" = set; then :
15810 enableval=$enable_clocale;
15811 case "$enableval" in
15812 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15813 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15814 esac
15816 else
15817 enable_clocale=auto
15822 # Deal with gettext issues. Default to not using it (=no) until we detect
15823 # support for it later. Let the user turn it off via --e/d, but let that
15824 # default to on for easier handling.
15825 USE_NLS=no
15826 # Check whether --enable-nls was given.
15827 if test "${enable_nls+set}" = set; then :
15828 enableval=$enable_nls;
15829 else
15830 enable_nls=yes
15834 # Either a known package, or "auto"
15835 if test $enable_clocale = no || test $enable_clocale = yes; then
15836 enable_clocale=auto
15838 enable_clocale_flag=$enable_clocale
15840 # Probe for locale model to use if none specified.
15841 # Default to "generic".
15842 if test $enable_clocale_flag = auto; then
15843 case ${target_os} in
15844 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15845 enable_clocale_flag=gnu
15847 darwin*)
15848 enable_clocale_flag=darwin
15850 dragonfly* | freebsd*)
15851 enable_clocale_flag=dragonfly
15853 openbsd*)
15854 enable_clocale_flag=newlib
15857 if test x"$with_newlib" = x"yes"; then
15858 enable_clocale_flag=newlib
15859 else
15860 enable_clocale_flag=generic
15863 esac
15866 # Sanity check model, and test for special functionality.
15867 if test $enable_clocale_flag = gnu; then
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15871 #include <features.h>
15872 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15873 _GLIBCXX_ok
15874 #endif
15876 _ACEOF
15877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15878 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15879 enable_clocale_flag=gnu
15880 else
15881 enable_clocale_flag=generic
15883 rm -f conftest*
15886 # Set it to scream when it hurts.
15887 ac_save_CFLAGS="$CFLAGS"
15888 CFLAGS="-Wimplicit-function-declaration -Werror"
15890 # Use strxfrm_l if available.
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 #define _GNU_SOURCE 1
15894 #include <string.h>
15895 #include <locale.h>
15897 main ()
15899 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_compile "$LINENO"; then :
15906 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 # Use strerror_l if available.
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #define _GNU_SOURCE 1
15915 #include <string.h>
15916 #include <locale.h>
15918 main ()
15920 __locale_t loc; strerror_l(5, loc);
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_compile "$LINENO"; then :
15927 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15932 CFLAGS="$ac_save_CFLAGS"
15935 # Perhaps use strerror_r if available, and strerror_l isn't.
15936 ac_save_CFLAGS="$CFLAGS"
15937 CFLAGS="-Wimplicit-function-declaration -Werror"
15938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15939 /* end confdefs.h. */
15940 #define _GNU_SOURCE 1
15941 #include <string.h>
15942 #include <locale.h>
15944 main ()
15946 char s[128]; strerror_r(5, s, 128);
15948 return 0;
15950 _ACEOF
15951 if ac_fn_c_try_compile "$LINENO"; then :
15953 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15957 CFLAGS="$ac_save_CFLAGS"
15959 # Set configure bits for specified locale package
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15961 $as_echo_n "checking for C locale to use... " >&6; }
15962 case ${enable_clocale_flag} in
15963 generic)
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15965 $as_echo "generic" >&6; }
15967 CLOCALE_H=config/locale/generic/c_locale.h
15968 CLOCALE_CC=config/locale/generic/c_locale.cc
15969 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15970 CCOLLATE_CC=config/locale/generic/collate_members.cc
15971 CCTYPE_CC=config/locale/generic/ctype_members.cc
15972 CMESSAGES_H=config/locale/generic/messages_members.h
15973 CMESSAGES_CC=config/locale/generic/messages_members.cc
15974 CMONEY_CC=config/locale/generic/monetary_members.cc
15975 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15976 CTIME_H=config/locale/generic/time_members.h
15977 CTIME_CC=config/locale/generic/time_members.cc
15978 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15980 darwin)
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15982 $as_echo "darwin" >&6; }
15984 CLOCALE_H=config/locale/generic/c_locale.h
15985 CLOCALE_CC=config/locale/generic/c_locale.cc
15986 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15987 CCOLLATE_CC=config/locale/generic/collate_members.cc
15988 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15989 CMESSAGES_H=config/locale/generic/messages_members.h
15990 CMESSAGES_CC=config/locale/generic/messages_members.cc
15991 CMONEY_CC=config/locale/generic/monetary_members.cc
15992 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15993 CTIME_H=config/locale/generic/time_members.h
15994 CTIME_CC=config/locale/generic/time_members.cc
15995 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 dragonfly)
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16000 $as_echo "dragonfly or freebsd" >&6; }
16002 CLOCALE_H=config/locale/dragonfly/c_locale.h
16003 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16004 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16005 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16006 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16007 CMESSAGES_H=config/locale/generic/messages_members.h
16008 CMESSAGES_CC=config/locale/generic/messages_members.cc
16009 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16010 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16011 CTIME_H=config/locale/dragonfly/time_members.h
16012 CTIME_CC=config/locale/dragonfly/time_members.cc
16013 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 gnu)
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16018 $as_echo "gnu" >&6; }
16020 # Declare intention to use gettext, and add support for specific
16021 # languages.
16022 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16023 ALL_LINGUAS="de fr"
16025 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16026 # Extract the first word of "msgfmt", so it can be a program name with args.
16027 set dummy msgfmt; ac_word=$2
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16029 $as_echo_n "checking for $ac_word... " >&6; }
16030 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16031 $as_echo_n "(cached) " >&6
16032 else
16033 if test -n "$check_msgfmt"; then
16034 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16035 else
16036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16037 for as_dir in $PATH
16039 IFS=$as_save_IFS
16040 test -z "$as_dir" && as_dir=.
16041 for ac_exec_ext in '' $ac_executable_extensions; do
16042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16043 ac_cv_prog_check_msgfmt="yes"
16044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16045 break 2
16047 done
16048 done
16049 IFS=$as_save_IFS
16051 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16054 check_msgfmt=$ac_cv_prog_check_msgfmt
16055 if test -n "$check_msgfmt"; then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16057 $as_echo "$check_msgfmt" >&6; }
16058 else
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16064 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16065 USE_NLS=yes
16067 # Export the build objects.
16068 for ling in $ALL_LINGUAS; do \
16069 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16070 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16071 done
16075 CLOCALE_H=config/locale/gnu/c_locale.h
16076 CLOCALE_CC=config/locale/gnu/c_locale.cc
16077 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16078 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16079 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16080 CMESSAGES_H=config/locale/gnu/messages_members.h
16081 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16082 CMONEY_CC=config/locale/gnu/monetary_members.cc
16083 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16084 CTIME_H=config/locale/gnu/time_members.h
16085 CTIME_CC=config/locale/gnu/time_members.cc
16086 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16088 ieee_1003.1-2001)
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16090 $as_echo "IEEE 1003.1" >&6; }
16092 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16093 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16094 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16095 CCOLLATE_CC=config/locale/generic/collate_members.cc
16096 CCTYPE_CC=config/locale/generic/ctype_members.cc
16097 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16098 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16099 CMONEY_CC=config/locale/generic/monetary_members.cc
16100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16101 CTIME_H=config/locale/generic/time_members.h
16102 CTIME_CC=config/locale/generic/time_members.cc
16103 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16105 newlib)
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16107 $as_echo "newlib" >&6; }
16109 CLOCALE_H=config/locale/generic/c_locale.h
16110 CLOCALE_CC=config/locale/generic/c_locale.cc
16111 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16112 CCOLLATE_CC=config/locale/generic/collate_members.cc
16113 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16114 CMESSAGES_H=config/locale/generic/messages_members.h
16115 CMESSAGES_CC=config/locale/generic/messages_members.cc
16116 CMONEY_CC=config/locale/generic/monetary_members.cc
16117 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16118 CTIME_H=config/locale/generic/time_members.h
16119 CTIME_CC=config/locale/generic/time_members.cc
16120 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16122 esac
16124 # This is where the testsuite looks for locale catalogs, using the
16125 # -DLOCALEDIR define during testsuite compilation.
16126 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16129 # A standalone libintl (e.g., GNU libintl) may be in use.
16130 if test $USE_NLS = yes; then
16131 for ac_header in libintl.h
16132 do :
16133 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16134 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_LIBINTL_H 1
16137 _ACEOF
16139 else
16140 USE_NLS=no
16143 done
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16146 $as_echo_n "checking for library containing gettext... " >&6; }
16147 if test "${ac_cv_search_gettext+set}" = set; then :
16148 $as_echo_n "(cached) " >&6
16149 else
16150 ac_func_search_save_LIBS=$LIBS
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 #ifdef __cplusplus
16158 extern "C"
16159 #endif
16160 char gettext ();
16162 main ()
16164 return gettext ();
16166 return 0;
16168 _ACEOF
16169 for ac_lib in '' intl; do
16170 if test -z "$ac_lib"; then
16171 ac_res="none required"
16172 else
16173 ac_res=-l$ac_lib
16174 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16176 if test x$gcc_no_link = xyes; then
16177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16179 if ac_fn_c_try_link "$LINENO"; then :
16180 ac_cv_search_gettext=$ac_res
16182 rm -f core conftest.err conftest.$ac_objext \
16183 conftest$ac_exeext
16184 if test "${ac_cv_search_gettext+set}" = set; then :
16185 break
16187 done
16188 if test "${ac_cv_search_gettext+set}" = set; then :
16190 else
16191 ac_cv_search_gettext=no
16193 rm conftest.$ac_ext
16194 LIBS=$ac_func_search_save_LIBS
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16197 $as_echo "$ac_cv_search_gettext" >&6; }
16198 ac_res=$ac_cv_search_gettext
16199 if test "$ac_res" != no; then :
16200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16202 else
16203 USE_NLS=no
16207 if test $USE_NLS = yes; then
16209 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16229 $as_echo_n "checking for std::allocator base class... " >&6; }
16230 # Check whether --enable-libstdcxx-allocator was given.
16231 if test "${enable_libstdcxx_allocator+set}" = set; then :
16232 enableval=$enable_libstdcxx_allocator;
16233 case "$enableval" in
16234 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16235 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16236 esac
16238 else
16239 enable_libstdcxx_allocator=auto
16244 # If they didn't use this option switch, or if they specified --enable
16245 # with no specific model, we'll have to look for one. If they
16246 # specified --disable (???), do likewise.
16247 if test $enable_libstdcxx_allocator = no ||
16248 test $enable_libstdcxx_allocator = yes;
16249 then
16250 enable_libstdcxx_allocator=auto
16253 # Either a known package, or "auto". Auto implies the default choice
16254 # for a particular platform.
16255 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16257 # Probe for host-specific support if no specific model is specified.
16258 # Default to "new".
16259 if test $enable_libstdcxx_allocator_flag = auto; then
16260 case ${target_os} in
16261 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16262 enable_libstdcxx_allocator_flag=new
16265 enable_libstdcxx_allocator_flag=new
16267 esac
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16270 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16273 # Set configure bits for specified locale package
16274 case ${enable_libstdcxx_allocator_flag} in
16275 bitmap)
16276 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16279 malloc)
16280 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16284 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16287 new)
16288 ALLOCATOR_H=config/allocator/new_allocator_base.h
16289 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16291 pool)
16292 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16293 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16295 esac
16302 # Check whether --enable-cheaders was given.
16303 if test "${enable_cheaders+set}" = set; then :
16304 enableval=$enable_cheaders;
16305 case "$enableval" in
16306 c|c_std|c_global) ;;
16307 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16308 esac
16310 else
16311 enable_cheaders=$c_model
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16316 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16318 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16320 # Allow overrides to configure.host here.
16321 if test $enable_cheaders = c_global; then
16322 c_compatibility=yes
16331 # Check whether --enable-long-long was given.
16332 if test "${enable_long_long+set}" = set; then :
16333 enableval=$enable_long_long;
16334 case "$enableval" in
16335 yes|no) ;;
16336 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16337 esac
16339 else
16340 enable_long_long=yes
16344 if test $enable_long_long = yes; then
16346 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16350 $as_echo_n "checking for enabled long long specializations... " >&6; }
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16352 $as_echo "$enable_long_long" >&6; }
16355 # Check whether --enable-wchar_t was given.
16356 if test "${enable_wchar_t+set}" = set; then :
16357 enableval=$enable_wchar_t;
16358 case "$enableval" in
16359 yes|no) ;;
16360 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16361 esac
16363 else
16364 enable_wchar_t=yes
16369 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16370 for ac_header in wchar.h
16371 do :
16372 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16373 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_WCHAR_H 1
16376 _ACEOF
16377 ac_has_wchar_h=yes
16378 else
16379 ac_has_wchar_h=no
16382 done
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16385 $as_echo_n "checking for mbstate_t... " >&6; }
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #include <wchar.h>
16390 main ()
16392 mbstate_t teststate;
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_compile "$LINENO"; then :
16398 have_mbstate_t=yes
16399 else
16400 have_mbstate_t=no
16402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16404 $as_echo "$have_mbstate_t" >&6; }
16405 if test x"$have_mbstate_t" = xyes; then
16407 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16411 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16412 # ac_has_wchar_h.
16413 for ac_header in wctype.h
16414 do :
16415 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16416 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_WCTYPE_H 1
16419 _ACEOF
16420 ac_has_wctype_h=yes
16421 else
16422 ac_has_wctype_h=no
16425 done
16428 if test x"$enable_wchar_t" = x"yes"; then
16431 ac_ext=cpp
16432 ac_cpp='$CXXCPP $CPPFLAGS'
16433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16438 if test x"$ac_has_wchar_h" = xyes &&
16439 test x"$ac_has_wctype_h" = xyes; then
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #include <wchar.h>
16443 #include <stddef.h>
16444 wint_t i;
16445 long l = WEOF;
16446 long j = WCHAR_MIN;
16447 long k = WCHAR_MAX;
16448 namespace test
16450 using ::btowc;
16451 using ::fgetwc;
16452 using ::fgetws;
16453 using ::fputwc;
16454 using ::fputws;
16455 using ::fwide;
16456 using ::fwprintf;
16457 using ::fwscanf;
16458 using ::getwc;
16459 using ::getwchar;
16460 using ::mbrlen;
16461 using ::mbrtowc;
16462 using ::mbsinit;
16463 using ::mbsrtowcs;
16464 using ::putwc;
16465 using ::putwchar;
16466 using ::swprintf;
16467 using ::swscanf;
16468 using ::ungetwc;
16469 using ::vfwprintf;
16470 using ::vswprintf;
16471 using ::vwprintf;
16472 using ::wcrtomb;
16473 using ::wcscat;
16474 using ::wcschr;
16475 using ::wcscmp;
16476 using ::wcscoll;
16477 using ::wcscpy;
16478 using ::wcscspn;
16479 using ::wcsftime;
16480 using ::wcslen;
16481 using ::wcsncat;
16482 using ::wcsncmp;
16483 using ::wcsncpy;
16484 using ::wcspbrk;
16485 using ::wcsrchr;
16486 using ::wcsrtombs;
16487 using ::wcsspn;
16488 using ::wcsstr;
16489 using ::wcstod;
16490 using ::wcstok;
16491 using ::wcstol;
16492 using ::wcstoul;
16493 using ::wcsxfrm;
16494 using ::wctob;
16495 using ::wmemchr;
16496 using ::wmemcmp;
16497 using ::wmemcpy;
16498 using ::wmemmove;
16499 using ::wmemset;
16500 using ::wprintf;
16501 using ::wscanf;
16505 main ()
16509 return 0;
16511 _ACEOF
16512 if ac_fn_cxx_try_compile "$LINENO"; then :
16514 else
16515 enable_wchar_t=no
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518 else
16519 enable_wchar_t=no
16522 ac_ext=c
16523 ac_cpp='$CPP $CPPFLAGS'
16524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16530 if test x"$enable_wchar_t" = x"yes"; then
16532 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16537 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16539 $as_echo "$enable_wchar_t" >&6; }
16543 # Check whether --enable-c99 was given.
16544 if test "${enable_c99+set}" = set; then :
16545 enableval=$enable_c99;
16546 case "$enableval" in
16547 yes|no) ;;
16548 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16549 esac
16551 else
16552 enable_c99=yes
16557 if test x"$enable_c99" = x"yes"; then
16559 ac_ext=cpp
16560 ac_cpp='$CXXCPP $CPPFLAGS'
16561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16567 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16568 # to be spuriously enabled.
16569 ac_save_CXXFLAGS="$CXXFLAGS"
16570 CXXFLAGS="$CXXFLAGS -std=c++98"
16571 ac_save_LIBS="$LIBS"
16572 ac_save_gcc_no_link="$gcc_no_link"
16574 if test x$gcc_no_link != xyes; then
16575 # Use -fno-exceptions to that the C driver can link these tests without
16576 # hitting undefined references to personality routines.
16577 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16579 $as_echo_n "checking for sin in -lm... " >&6; }
16580 if test "${ac_cv_lib_m_sin+set}" = set; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_lib_save_LIBS=$LIBS
16584 LIBS="-lm $LIBS"
16585 if test x$gcc_no_link = xyes; then
16586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16591 /* Override any GCC internal prototype to avoid an error.
16592 Use char because int might match the return type of a GCC
16593 builtin and then its argument prototype would still apply. */
16594 #ifdef __cplusplus
16595 extern "C"
16596 #endif
16597 char sin ();
16599 main ()
16601 return sin ();
16603 return 0;
16605 _ACEOF
16606 if ac_fn_cxx_try_link "$LINENO"; then :
16607 ac_cv_lib_m_sin=yes
16608 else
16609 ac_cv_lib_m_sin=no
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16613 LIBS=$ac_check_lib_save_LIBS
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16616 $as_echo "$ac_cv_lib_m_sin" >&6; }
16617 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16618 LIBS="$LIBS -lm"
16619 else
16621 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16622 gcc_no_link=yes
16628 # Check for the existence of <math.h> functions used if C99 is enabled.
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16630 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16631 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16632 $as_echo_n "(cached) " >&6
16633 else
16635 if test x$gcc_no_link = xyes; then
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_compile "$LINENO"; then :
16663 glibcxx_cv_c99_math_cxx98=yes
16664 else
16665 glibcxx_cv_c99_math_cxx98=no
16667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16668 else
16669 if test x$gcc_no_link = xyes; then
16670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 #include <math.h>
16675 volatile double d1, d2;
16676 volatile int i;
16678 main ()
16680 i = fpclassify(d1);
16681 i = isfinite(d1);
16682 i = isinf(d1);
16683 i = isnan(d1);
16684 i = isnormal(d1);
16685 i = signbit(d1);
16686 i = isgreater(d1, d2);
16687 i = isgreaterequal(d1, d2);
16688 i = isless(d1, d2);
16689 i = islessequal(d1, d2);
16690 i = islessgreater(d1, d2);
16691 i = islessgreater(d1, d2);
16692 i = isunordered(d1, d2);
16695 return 0;
16697 _ACEOF
16698 if ac_fn_cxx_try_link "$LINENO"; then :
16699 glibcxx_cv_c99_math_cxx98=yes
16700 else
16701 glibcxx_cv_c99_math_cxx98=no
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16710 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16711 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16713 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16717 # Check for the existence of <complex.h> complex math functions.
16718 # This is necessary even though libstdc++ uses the builtin versions
16719 # of these functions, because if the builtin cannot be used, a reference
16720 # to the library function is emitted.
16721 for ac_header in tgmath.h
16722 do :
16723 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_TGMATH_H 1
16727 _ACEOF
16728 ac_has_tgmath_h=yes
16729 else
16730 ac_has_tgmath_h=no
16733 done
16735 for ac_header in complex.h
16736 do :
16737 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16738 if test "x$ac_cv_header_complex_h" = x""yes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_COMPLEX_H 1
16741 _ACEOF
16742 ac_has_complex_h=yes
16743 else
16744 ac_has_complex_h=no
16747 done
16749 if test x"$ac_has_complex_h" = x"yes"; then
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16751 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16752 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16753 $as_echo_n "(cached) " >&6
16754 else
16756 if test x$gcc_no_link = xyes; then
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #include <complex.h>
16760 typedef __complex__ float float_type;
16761 typedef __complex__ double double_type;
16762 typedef __complex__ long double ld_type;
16763 volatile float_type tmpf;
16764 volatile double_type tmpd;
16765 volatile ld_type tmpld;
16766 volatile float f;
16767 volatile double d;
16768 volatile long double ld;
16770 main ()
16772 f = cabsf(tmpf);
16773 f = cargf(tmpf);
16774 tmpf = ccosf(tmpf);
16775 tmpf = ccoshf(tmpf);
16776 tmpf = cexpf(tmpf);
16777 tmpf = clogf(tmpf);
16778 tmpf = csinf(tmpf);
16779 tmpf = csinhf(tmpf);
16780 tmpf = csqrtf(tmpf);
16781 tmpf = ctanf(tmpf);
16782 tmpf = ctanhf(tmpf);
16783 tmpf = cpowf(tmpf, tmpf);
16784 tmpf = cprojf(tmpf);
16785 d = cabs(tmpd);
16786 d = carg(tmpd);
16787 tmpd = ccos(tmpd);
16788 tmpd = ccosh(tmpd);
16789 tmpd = cexp(tmpd);
16790 tmpd = clog(tmpd);
16791 tmpd = csin(tmpd);
16792 tmpd = csinh(tmpd);
16793 tmpd = csqrt(tmpd);
16794 tmpd = ctan(tmpd);
16795 tmpd = ctanh(tmpd);
16796 tmpd = cpow(tmpd, tmpd);
16797 tmpd = cproj(tmpd);
16798 ld = cabsl(tmpld);
16799 ld = cargl(tmpld);
16800 tmpld = ccosl(tmpld);
16801 tmpld = ccoshl(tmpld);
16802 tmpld = cexpl(tmpld);
16803 tmpld = clogl(tmpld);
16804 tmpld = csinl(tmpld);
16805 tmpld = csinhl(tmpld);
16806 tmpld = csqrtl(tmpld);
16807 tmpld = ctanl(tmpld);
16808 tmpld = ctanhl(tmpld);
16809 tmpld = cpowl(tmpld, tmpld);
16810 tmpld = cprojl(tmpld);
16813 return 0;
16815 _ACEOF
16816 if ac_fn_cxx_try_compile "$LINENO"; then :
16817 glibcxx_cv_c99_complex_cxx98=yes
16818 else
16819 glibcxx_cv_c99_complex_cxx98=no
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822 else
16823 if test x$gcc_no_link = xyes; then
16824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16827 /* end confdefs.h. */
16828 #include <complex.h>
16829 typedef __complex__ float float_type;
16830 typedef __complex__ double double_type;
16831 typedef __complex__ long double ld_type;
16832 volatile float_type tmpf;
16833 volatile double_type tmpd;
16834 volatile ld_type tmpld;
16835 volatile float f;
16836 volatile double d;
16837 volatile long double ld;
16839 main ()
16841 f = cabsf(tmpf);
16842 f = cargf(tmpf);
16843 tmpf = ccosf(tmpf);
16844 tmpf = ccoshf(tmpf);
16845 tmpf = cexpf(tmpf);
16846 tmpf = clogf(tmpf);
16847 tmpf = csinf(tmpf);
16848 tmpf = csinhf(tmpf);
16849 tmpf = csqrtf(tmpf);
16850 tmpf = ctanf(tmpf);
16851 tmpf = ctanhf(tmpf);
16852 tmpf = cpowf(tmpf, tmpf);
16853 tmpf = cprojf(tmpf);
16854 d = cabs(tmpd);
16855 d = carg(tmpd);
16856 tmpd = ccos(tmpd);
16857 tmpd = ccosh(tmpd);
16858 tmpd = cexp(tmpd);
16859 tmpd = clog(tmpd);
16860 tmpd = csin(tmpd);
16861 tmpd = csinh(tmpd);
16862 tmpd = csqrt(tmpd);
16863 tmpd = ctan(tmpd);
16864 tmpd = ctanh(tmpd);
16865 tmpd = cpow(tmpd, tmpd);
16866 tmpd = cproj(tmpd);
16867 ld = cabsl(tmpld);
16868 ld = cargl(tmpld);
16869 tmpld = ccosl(tmpld);
16870 tmpld = ccoshl(tmpld);
16871 tmpld = cexpl(tmpld);
16872 tmpld = clogl(tmpld);
16873 tmpld = csinl(tmpld);
16874 tmpld = csinhl(tmpld);
16875 tmpld = csqrtl(tmpld);
16876 tmpld = ctanl(tmpld);
16877 tmpld = ctanhl(tmpld);
16878 tmpld = cpowl(tmpld, tmpld);
16879 tmpld = cprojl(tmpld);
16882 return 0;
16884 _ACEOF
16885 if ac_fn_cxx_try_link "$LINENO"; then :
16886 glibcxx_cv_c99_complex_cxx98=yes
16887 else
16888 glibcxx_cv_c99_complex_cxx98=no
16890 rm -f core conftest.err conftest.$ac_objext \
16891 conftest$ac_exeext conftest.$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16898 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16899 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16901 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16905 # Check for the existence in <stdio.h> of vscanf, et. al.
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16907 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16908 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16912 if test x$gcc_no_link = xyes; then
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdio.h>
16916 #include <stdarg.h>
16917 void foo(char* fmt, ...)
16919 va_list args; va_start(args, fmt);
16920 vfscanf(stderr, "%i", args);
16921 vscanf("%i", args);
16922 vsnprintf(fmt, 0, "%i", args);
16923 vsscanf(fmt, "%i", args);
16924 snprintf(fmt, 0, "%i");
16927 main ()
16931 return 0;
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_stdio_cxx98=yes
16936 else
16937 glibcxx_cv_c99_stdio_cxx98=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940 else
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <stdio.h>
16947 #include <stdarg.h>
16948 void foo(char* fmt, ...)
16950 va_list args; va_start(args, fmt);
16951 vfscanf(stderr, "%i", args);
16952 vscanf("%i", args);
16953 vsnprintf(fmt, 0, "%i", args);
16954 vsscanf(fmt, "%i", args);
16955 snprintf(fmt, 0, "%i");
16958 main ()
16962 return 0;
16964 _ACEOF
16965 if ac_fn_cxx_try_link "$LINENO"; then :
16966 glibcxx_cv_c99_stdio_cxx98=yes
16967 else
16968 glibcxx_cv_c99_stdio_cxx98=no
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16977 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16978 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16980 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16984 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16986 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16987 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16991 if test x$gcc_no_link = xyes; then
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
17000 main ()
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17015 return 0;
17017 _ACEOF
17018 if ac_fn_cxx_try_compile "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib_cxx98=yes
17020 else
17021 glibcxx_cv_c99_stdlib_cxx98=no
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 else
17025 if test x$gcc_no_link = xyes; then
17026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <stdlib.h>
17031 volatile float f;
17032 volatile long double ld;
17033 volatile unsigned long long ll;
17034 lldiv_t mydivt;
17036 main ()
17038 char* tmp;
17039 f = strtof("gnu", &tmp);
17040 ld = strtold("gnu", &tmp);
17041 ll = strtoll("gnu", &tmp, 10);
17042 ll = strtoull("gnu", &tmp, 10);
17043 ll = llabs(10);
17044 mydivt = lldiv(10,1);
17045 ll = mydivt.quot;
17046 ll = mydivt.rem;
17047 ll = atoll("10");
17048 _Exit(0);
17051 return 0;
17053 _ACEOF
17054 if ac_fn_cxx_try_link "$LINENO"; then :
17055 glibcxx_cv_c99_stdlib_cxx98=yes
17056 else
17057 glibcxx_cv_c99_stdlib_cxx98=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17066 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17067 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17069 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17073 # Check for the existence in <wchar.h> of wcstold, etc.
17074 if test x"$ac_has_wchar_h" = xyes &&
17075 test x"$ac_has_wctype_h" = xyes; then
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17077 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17078 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #include <wchar.h>
17085 namespace test
17087 using ::wcstold;
17088 using ::wcstoll;
17089 using ::wcstoull;
17093 main ()
17097 return 0;
17099 _ACEOF
17100 if ac_fn_cxx_try_compile "$LINENO"; then :
17101 glibcxx_cv_c99_wchar_cxx98=yes
17102 else
17103 glibcxx_cv_c99_wchar_cxx98=no
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 # Checks for wide character functions that may not be present.
17111 # Injection of these is wrapped with guard macros.
17112 # NB: only put functions here, instead of immediately above, if
17113 # absolutely necessary.
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 #include <wchar.h>
17117 namespace test { using ::vfwscanf; }
17119 main ()
17123 return 0;
17125 _ACEOF
17126 if ac_fn_cxx_try_compile "$LINENO"; then :
17128 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <wchar.h>
17136 namespace test { using ::vswscanf; }
17138 main ()
17142 return 0;
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17147 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 #include <wchar.h>
17155 namespace test { using ::vwscanf; }
17157 main ()
17161 return 0;
17163 _ACEOF
17164 if ac_fn_cxx_try_compile "$LINENO"; then :
17166 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #include <wchar.h>
17174 namespace test { using ::wcstof; }
17176 main ()
17180 return 0;
17182 _ACEOF
17183 if ac_fn_cxx_try_compile "$LINENO"; then :
17185 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #include <wctype.h>
17194 main ()
17196 wint_t t; int i = iswblank(t);
17198 return 0;
17200 _ACEOF
17201 if ac_fn_cxx_try_compile "$LINENO"; then :
17203 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17209 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17210 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17212 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17217 # Option parsed, now set things appropriately.
17218 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17219 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17220 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17223 enable_c99=no;
17224 else
17226 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17230 gcc_no_link="$ac_save_gcc_no_link"
17231 LIBS="$ac_save_LIBS"
17232 CXXFLAGS="$ac_save_CXXFLAGS"
17233 ac_ext=c
17234 ac_cpp='$CPP $CPPFLAGS'
17235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17241 ac_ext=cpp
17242 ac_cpp='$CXXCPP $CPPFLAGS'
17243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17249 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17250 ac_save_CXXFLAGS="$CXXFLAGS"
17251 CXXFLAGS="$CXXFLAGS -std=c++11"
17252 ac_save_LIBS="$LIBS"
17253 ac_save_gcc_no_link="$gcc_no_link"
17255 if test x$gcc_no_link != xyes; then
17256 # Use -fno-exceptions to that the C driver can link these tests without
17257 # hitting undefined references to personality routines.
17258 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17260 $as_echo_n "checking for sin in -lm... " >&6; }
17261 if test "${ac_cv_lib_m_sin+set}" = set; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 ac_check_lib_save_LIBS=$LIBS
17265 LIBS="-lm $LIBS"
17266 if test x$gcc_no_link = xyes; then
17267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 /* Override any GCC internal prototype to avoid an error.
17273 Use char because int might match the return type of a GCC
17274 builtin and then its argument prototype would still apply. */
17275 #ifdef __cplusplus
17276 extern "C"
17277 #endif
17278 char sin ();
17280 main ()
17282 return sin ();
17284 return 0;
17286 _ACEOF
17287 if ac_fn_cxx_try_link "$LINENO"; then :
17288 ac_cv_lib_m_sin=yes
17289 else
17290 ac_cv_lib_m_sin=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 LIBS=$ac_check_lib_save_LIBS
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17297 $as_echo "$ac_cv_lib_m_sin" >&6; }
17298 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17299 LIBS="$LIBS -lm"
17300 else
17302 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17303 gcc_no_link=yes
17309 # Check for the existence of <math.h> functions used if C99 is enabled.
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17311 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17312 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17313 $as_echo_n "(cached) " >&6
17314 else
17316 if test x$gcc_no_link = xyes; then
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <math.h>
17320 volatile double d1, d2;
17321 volatile int i;
17323 main ()
17325 i = fpclassify(d1);
17326 i = isfinite(d1);
17327 i = isinf(d1);
17328 i = isnan(d1);
17329 i = isnormal(d1);
17330 i = signbit(d1);
17331 i = isgreater(d1, d2);
17332 i = isgreaterequal(d1, d2);
17333 i = isless(d1, d2);
17334 i = islessequal(d1, d2);
17335 i = islessgreater(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = isunordered(d1, d2);
17340 return 0;
17342 _ACEOF
17343 if ac_fn_cxx_try_compile "$LINENO"; then :
17344 glibcxx_cv_c99_math_cxx11=yes
17345 else
17346 glibcxx_cv_c99_math_cxx11=no
17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17349 else
17350 if test x$gcc_no_link = xyes; then
17351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17355 #include <math.h>
17356 volatile double d1, d2;
17357 volatile int i;
17359 main ()
17361 i = fpclassify(d1);
17362 i = isfinite(d1);
17363 i = isinf(d1);
17364 i = isnan(d1);
17365 i = isnormal(d1);
17366 i = signbit(d1);
17367 i = isgreater(d1, d2);
17368 i = isgreaterequal(d1, d2);
17369 i = isless(d1, d2);
17370 i = islessequal(d1, d2);
17371 i = islessgreater(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = isunordered(d1, d2);
17376 return 0;
17378 _ACEOF
17379 if ac_fn_cxx_try_link "$LINENO"; then :
17380 glibcxx_cv_c99_math_cxx11=yes
17381 else
17382 glibcxx_cv_c99_math_cxx11=no
17384 rm -f core conftest.err conftest.$ac_objext \
17385 conftest$ac_exeext conftest.$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17391 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17392 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17394 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17398 # Check for the existence of <complex.h> complex math functions.
17399 # This is necessary even though libstdc++ uses the builtin versions
17400 # of these functions, because if the builtin cannot be used, a reference
17401 # to the library function is emitted.
17402 for ac_header in tgmath.h
17403 do :
17404 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17405 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_TGMATH_H 1
17408 _ACEOF
17409 ac_has_tgmath_h=yes
17410 else
17411 ac_has_tgmath_h=no
17414 done
17416 for ac_header in complex.h
17417 do :
17418 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17419 if test "x$ac_cv_header_complex_h" = x""yes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_COMPLEX_H 1
17422 _ACEOF
17423 ac_has_complex_h=yes
17424 else
17425 ac_has_complex_h=no
17428 done
17430 if test x"$ac_has_complex_h" = x"yes"; then
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17432 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17433 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17437 if test x$gcc_no_link = xyes; then
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #include <complex.h>
17441 typedef __complex__ float float_type;
17442 typedef __complex__ double double_type;
17443 typedef __complex__ long double ld_type;
17444 volatile float_type tmpf;
17445 volatile double_type tmpd;
17446 volatile ld_type tmpld;
17447 volatile float f;
17448 volatile double d;
17449 volatile long double ld;
17451 main ()
17453 f = cabsf(tmpf);
17454 f = cargf(tmpf);
17455 tmpf = ccosf(tmpf);
17456 tmpf = ccoshf(tmpf);
17457 tmpf = cexpf(tmpf);
17458 tmpf = clogf(tmpf);
17459 tmpf = csinf(tmpf);
17460 tmpf = csinhf(tmpf);
17461 tmpf = csqrtf(tmpf);
17462 tmpf = ctanf(tmpf);
17463 tmpf = ctanhf(tmpf);
17464 tmpf = cpowf(tmpf, tmpf);
17465 tmpf = cprojf(tmpf);
17466 d = cabs(tmpd);
17467 d = carg(tmpd);
17468 tmpd = ccos(tmpd);
17469 tmpd = ccosh(tmpd);
17470 tmpd = cexp(tmpd);
17471 tmpd = clog(tmpd);
17472 tmpd = csin(tmpd);
17473 tmpd = csinh(tmpd);
17474 tmpd = csqrt(tmpd);
17475 tmpd = ctan(tmpd);
17476 tmpd = ctanh(tmpd);
17477 tmpd = cpow(tmpd, tmpd);
17478 tmpd = cproj(tmpd);
17479 ld = cabsl(tmpld);
17480 ld = cargl(tmpld);
17481 tmpld = ccosl(tmpld);
17482 tmpld = ccoshl(tmpld);
17483 tmpld = cexpl(tmpld);
17484 tmpld = clogl(tmpld);
17485 tmpld = csinl(tmpld);
17486 tmpld = csinhl(tmpld);
17487 tmpld = csqrtl(tmpld);
17488 tmpld = ctanl(tmpld);
17489 tmpld = ctanhl(tmpld);
17490 tmpld = cpowl(tmpld, tmpld);
17491 tmpld = cprojl(tmpld);
17494 return 0;
17496 _ACEOF
17497 if ac_fn_cxx_try_compile "$LINENO"; then :
17498 glibcxx_cv_c99_complex_cxx11=yes
17499 else
17500 glibcxx_cv_c99_complex_cxx11=no
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 else
17504 if test x$gcc_no_link = xyes; then
17505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <complex.h>
17510 typedef __complex__ float float_type;
17511 typedef __complex__ double double_type;
17512 typedef __complex__ long double ld_type;
17513 volatile float_type tmpf;
17514 volatile double_type tmpd;
17515 volatile ld_type tmpld;
17516 volatile float f;
17517 volatile double d;
17518 volatile long double ld;
17520 main ()
17522 f = cabsf(tmpf);
17523 f = cargf(tmpf);
17524 tmpf = ccosf(tmpf);
17525 tmpf = ccoshf(tmpf);
17526 tmpf = cexpf(tmpf);
17527 tmpf = clogf(tmpf);
17528 tmpf = csinf(tmpf);
17529 tmpf = csinhf(tmpf);
17530 tmpf = csqrtf(tmpf);
17531 tmpf = ctanf(tmpf);
17532 tmpf = ctanhf(tmpf);
17533 tmpf = cpowf(tmpf, tmpf);
17534 tmpf = cprojf(tmpf);
17535 d = cabs(tmpd);
17536 d = carg(tmpd);
17537 tmpd = ccos(tmpd);
17538 tmpd = ccosh(tmpd);
17539 tmpd = cexp(tmpd);
17540 tmpd = clog(tmpd);
17541 tmpd = csin(tmpd);
17542 tmpd = csinh(tmpd);
17543 tmpd = csqrt(tmpd);
17544 tmpd = ctan(tmpd);
17545 tmpd = ctanh(tmpd);
17546 tmpd = cpow(tmpd, tmpd);
17547 tmpd = cproj(tmpd);
17548 ld = cabsl(tmpld);
17549 ld = cargl(tmpld);
17550 tmpld = ccosl(tmpld);
17551 tmpld = ccoshl(tmpld);
17552 tmpld = cexpl(tmpld);
17553 tmpld = clogl(tmpld);
17554 tmpld = csinl(tmpld);
17555 tmpld = csinhl(tmpld);
17556 tmpld = csqrtl(tmpld);
17557 tmpld = ctanl(tmpld);
17558 tmpld = ctanhl(tmpld);
17559 tmpld = cpowl(tmpld, tmpld);
17560 tmpld = cprojl(tmpld);
17563 return 0;
17565 _ACEOF
17566 if ac_fn_cxx_try_link "$LINENO"; then :
17567 glibcxx_cv_c99_complex_cxx11=yes
17568 else
17569 glibcxx_cv_c99_complex_cxx11=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17579 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17580 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17582 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17586 # Check for the existence in <stdio.h> of vscanf, et. al.
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17588 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17589 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17593 if test x$gcc_no_link = xyes; then
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <stdio.h>
17597 #include <stdarg.h>
17598 void foo(char* fmt, ...)
17600 va_list args; va_start(args, fmt);
17601 vfscanf(stderr, "%i", args);
17602 vscanf("%i", args);
17603 vsnprintf(fmt, 0, "%i", args);
17604 vsscanf(fmt, "%i", args);
17605 snprintf(fmt, 0, "%i");
17608 main ()
17612 return 0;
17614 _ACEOF
17615 if ac_fn_cxx_try_compile "$LINENO"; then :
17616 glibcxx_cv_c99_stdio_cxx11=yes
17617 else
17618 glibcxx_cv_c99_stdio_cxx11=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 else
17622 if test x$gcc_no_link = xyes; then
17623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <stdio.h>
17628 #include <stdarg.h>
17629 void foo(char* fmt, ...)
17631 va_list args; va_start(args, fmt);
17632 vfscanf(stderr, "%i", args);
17633 vscanf("%i", args);
17634 vsnprintf(fmt, 0, "%i", args);
17635 vsscanf(fmt, "%i", args);
17636 snprintf(fmt, 0, "%i");
17639 main ()
17643 return 0;
17645 _ACEOF
17646 if ac_fn_cxx_try_link "$LINENO"; then :
17647 glibcxx_cv_c99_stdio_cxx11=yes
17648 else
17649 glibcxx_cv_c99_stdio_cxx11=no
17651 rm -f core conftest.err conftest.$ac_objext \
17652 conftest$ac_exeext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17658 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17659 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17661 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17665 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17667 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17668 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 if test x$gcc_no_link = xyes; then
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <stdlib.h>
17676 volatile float f;
17677 volatile long double ld;
17678 volatile unsigned long long ll;
17679 lldiv_t mydivt;
17681 main ()
17683 char* tmp;
17684 f = strtof("gnu", &tmp);
17685 ld = strtold("gnu", &tmp);
17686 ll = strtoll("gnu", &tmp, 10);
17687 ll = strtoull("gnu", &tmp, 10);
17688 ll = llabs(10);
17689 mydivt = lldiv(10,1);
17690 ll = mydivt.quot;
17691 ll = mydivt.rem;
17692 ll = atoll("10");
17693 _Exit(0);
17696 return 0;
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700 glibcxx_cv_c99_stdlib_cxx11=yes
17701 else
17702 glibcxx_cv_c99_stdlib_cxx11=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705 else
17706 if test x$gcc_no_link = xyes; then
17707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #include <stdlib.h>
17712 volatile float f;
17713 volatile long double ld;
17714 volatile unsigned long long ll;
17715 lldiv_t mydivt;
17717 main ()
17719 char* tmp;
17720 f = strtof("gnu", &tmp);
17721 ld = strtold("gnu", &tmp);
17722 ll = strtoll("gnu", &tmp, 10);
17723 ll = strtoull("gnu", &tmp, 10);
17724 ll = llabs(10);
17725 mydivt = lldiv(10,1);
17726 ll = mydivt.quot;
17727 ll = mydivt.rem;
17728 ll = atoll("10");
17729 _Exit(0);
17732 return 0;
17734 _ACEOF
17735 if ac_fn_cxx_try_link "$LINENO"; then :
17736 glibcxx_cv_c99_stdlib_cxx11=yes
17737 else
17738 glibcxx_cv_c99_stdlib_cxx11=no
17740 rm -f core conftest.err conftest.$ac_objext \
17741 conftest$ac_exeext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17747 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17748 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17750 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17754 # Check for the existence in <wchar.h> of wcstold, etc.
17755 if test x"$ac_has_wchar_h" = xyes &&
17756 test x"$ac_has_wctype_h" = xyes; then
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17758 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17759 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17760 $as_echo_n "(cached) " >&6
17761 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 #include <wchar.h>
17766 namespace test
17768 using ::wcstold;
17769 using ::wcstoll;
17770 using ::wcstoull;
17774 main ()
17778 return 0;
17780 _ACEOF
17781 if ac_fn_cxx_try_compile "$LINENO"; then :
17782 glibcxx_cv_c99_wchar_cxx11=yes
17783 else
17784 glibcxx_cv_c99_wchar_cxx11=no
17786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 # Checks for wide character functions that may not be present.
17792 # Injection of these is wrapped with guard macros.
17793 # NB: only put functions here, instead of immediately above, if
17794 # absolutely necessary.
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <wchar.h>
17798 namespace test { using ::vfwscanf; }
17800 main ()
17804 return 0;
17806 _ACEOF
17807 if ac_fn_cxx_try_compile "$LINENO"; then :
17809 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <wchar.h>
17817 namespace test { using ::vswscanf; }
17819 main ()
17823 return 0;
17825 _ACEOF
17826 if ac_fn_cxx_try_compile "$LINENO"; then :
17828 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #include <wchar.h>
17836 namespace test { using ::vwscanf; }
17838 main ()
17842 return 0;
17844 _ACEOF
17845 if ac_fn_cxx_try_compile "$LINENO"; then :
17847 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 #include <wchar.h>
17855 namespace test { using ::wcstof; }
17857 main ()
17861 return 0;
17863 _ACEOF
17864 if ac_fn_cxx_try_compile "$LINENO"; then :
17866 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h. */
17873 #include <wctype.h>
17875 main ()
17877 wint_t t; int i = iswblank(t);
17879 return 0;
17881 _ACEOF
17882 if ac_fn_cxx_try_compile "$LINENO"; then :
17884 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17890 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17891 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17893 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17898 gcc_no_link="$ac_save_gcc_no_link"
17899 LIBS="$ac_save_LIBS"
17900 CXXFLAGS="$ac_save_CXXFLAGS"
17901 ac_ext=c
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17910 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17912 $as_echo "$enable_c99" >&6; }
17915 # Check whether --enable-concept-checks was given.
17916 if test "${enable_concept_checks+set}" = set; then :
17917 enableval=$enable_concept_checks;
17918 case "$enableval" in
17919 yes|no) ;;
17920 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17921 esac
17923 else
17924 enable_concept_checks=no
17928 if test $enable_concept_checks = yes; then
17930 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17935 # Check whether --enable-libstdcxx-debug-flags was given.
17936 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17937 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17938 xno | x) enable_libstdcxx_debug_flags= ;;
17939 x-*) ;;
17940 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17941 esac
17942 else
17943 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17948 # Option parsed, now set things appropriately
17949 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17953 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17957 $as_echo_n "checking for additional debug build... " >&6; }
17958 # Check whether --enable-libstdcxx-debug was given.
17959 if test "${enable_libstdcxx_debug+set}" = set; then :
17960 enableval=$enable_libstdcxx_debug;
17961 case "$enableval" in
17962 yes|no) ;;
17963 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17964 esac
17966 else
17967 enable_libstdcxx_debug=no
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17972 $as_echo "$enable_libstdcxx_debug" >&6; }
17977 enable_parallel=no;
17979 # See if configured libgomp/omp.h exists. (libgomp may be in
17980 # noconfigdirs but not explicitly disabled.)
17981 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17982 enable_parallel=yes;
17983 else
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17985 $as_echo "$as_me: target-libgomp not built" >&6;}
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17989 $as_echo_n "checking for parallel mode support... " >&6; }
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17991 $as_echo "$enable_parallel" >&6; }
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17994 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17995 # Check whether --enable-cxx-flags was given.
17996 if test "${enable_cxx_flags+set}" = set; then :
17997 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17998 xno | x) enable_cxx_flags= ;;
17999 x-*) ;;
18000 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18001 esac
18002 else
18003 enable_cxx_flags=
18008 # Run through flags (either default or command-line) and set anything
18009 # extra (e.g., #defines) that must accompany particular g++ options.
18010 if test -n "$enable_cxx_flags"; then
18011 for f in $enable_cxx_flags; do
18012 case "$f" in
18013 -fhonor-std) ;;
18014 -*) ;;
18015 *) # and we're trying to pass /what/ exactly?
18016 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18017 esac
18018 done
18021 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18023 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18027 # Check whether --enable-fully-dynamic-string was given.
18028 if test "${enable_fully_dynamic_string+set}" = set; then :
18029 enableval=$enable_fully_dynamic_string;
18030 case "$enableval" in
18031 yes|no) ;;
18032 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18033 esac
18035 else
18036 enable_fully_dynamic_string=no
18040 if test $enable_fully_dynamic_string = yes; then
18041 enable_fully_dynamic_string_def=1
18042 else
18043 enable_fully_dynamic_string_def=0
18046 cat >>confdefs.h <<_ACEOF
18047 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18048 _ACEOF
18053 # Check whether --enable-extern-template was given.
18054 if test "${enable_extern_template+set}" = set; then :
18055 enableval=$enable_extern_template;
18056 case "$enableval" in
18057 yes|no) ;;
18058 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18059 esac
18061 else
18062 enable_extern_template=yes
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18068 $as_echo_n "checking for extern template support... " >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18070 $as_echo "$enable_extern_template" >&6; }
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18077 $as_echo_n "checking for custom python install directory... " >&6; }
18079 # Check whether --with-python-dir was given.
18080 if test "${with_python_dir+set}" = set; then :
18081 withval=$with_python_dir; with_python_dir=$withval
18082 else
18083 with_python_dir="no"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18087 $as_echo "${with_python_dir}" >&6; }
18089 # Needed for installing Python modules during make install.
18090 python_mod_dir="${with_python_dir}"
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18096 $as_echo_n "checking for -Werror... " >&6; }
18097 # Check whether --enable-werror was given.
18098 if test "${enable_werror+set}" = set; then :
18099 enableval=$enable_werror;
18100 case "$enableval" in
18101 yes|no) ;;
18102 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18103 esac
18105 else
18106 enable_werror=yes
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18111 $as_echo "$enable_werror" >&6; }
18116 # Check whether --enable-vtable-verify was given.
18117 if test "${enable_vtable_verify+set}" = set; then :
18118 enableval=$enable_vtable_verify;
18119 case "$enableval" in
18120 yes|no) ;;
18121 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18122 esac
18124 else
18125 enable_vtable_verify=no
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18131 $as_echo_n "checking for vtable verify support... " >&6; }
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18133 $as_echo "$enable_vtable_verify" >&6; }
18135 vtv_cygmin=no
18136 if test $enable_vtable_verify = yes; then
18137 case ${target_os} in
18138 cygwin*|mingw32*)
18139 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18140 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18141 vtv_cygmin=yes
18143 darwin*)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18147 solaris2*)
18148 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18149 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18152 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18153 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18155 esac
18156 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18157 else
18158 VTV_CXXFLAGS=
18159 VTV_PCH_CXXFLAGS=
18160 VTV_CXXLINKFLAGS=
18166 if test x$vtv_cygmin = xyes; then
18167 VTV_CYGMIN_TRUE=
18168 VTV_CYGMIN_FALSE='#'
18169 else
18170 VTV_CYGMIN_TRUE='#'
18171 VTV_CYGMIN_FALSE=
18177 # Checks for operating systems support that doesn't require linking.
18181 ac_ext=cpp
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18188 # and we don't need a declaration for C++14 anyway.
18189 ac_save_CXXFLAGS="$CXXFLAGS"
18190 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18193 $as_echo_n "checking for gets declaration... " >&6; }
18194 if test "${glibcxx_cv_gets+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <stdio.h>
18201 namespace test
18203 using ::gets;
18206 _ACEOF
18207 if ac_fn_cxx_try_compile "$LINENO"; then :
18208 glibcxx_cv_gets=yes
18209 else
18210 glibcxx_cv_gets=no
18213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 if test $glibcxx_cv_gets = yes; then
18219 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18223 $as_echo "$glibcxx_cv_gets" >&6; }
18225 CXXFLAGS="$ac_save_CXXFLAGS"
18226 ac_ext=c
18227 ac_cpp='$CPP $CPPFLAGS'
18228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236 ac_ext=cpp
18237 ac_cpp='$CXXCPP $CPPFLAGS'
18238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18242 ac_save_CXXFLAGS="$CXXFLAGS"
18243 CXXFLAGS="$CXXFLAGS -std=c++11"
18245 case "$host" in
18246 *-*-solaris2.*)
18247 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18248 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18250 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18251 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18257 #include <math.h>
18258 #undef isfinite
18259 namespace std {
18260 inline bool isfinite(float __x)
18261 { return __builtin_isfinite(__x); }
18264 _ACEOF
18265 if ac_fn_cxx_try_compile "$LINENO"; then :
18266 glibcxx_cv_math11_fp_overload=no
18267 else
18268 glibcxx_cv_math11_fp_overload=yes
18271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 # autoheader cannot handle indented templates.
18278 if test $glibcxx_cv_math11_fp_overload = yes; then
18279 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18283 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18285 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18286 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18288 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18289 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18290 $as_echo_n "(cached) " >&6
18291 else
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <math.h>
18296 namespace std {
18297 template<typename _Tp>
18298 struct __is_integer;
18299 template<>
18300 struct __is_integer<int>
18302 enum { __value = 1 };
18305 namespace __gnu_cxx {
18306 template<bool, typename>
18307 struct __enable_if;
18308 template<typename _Tp>
18309 struct __enable_if<true, _Tp>
18310 { typedef _Tp __type; };
18312 namespace std {
18313 template<typename _Tp>
18314 constexpr typename __gnu_cxx::__enable_if
18315 <__is_integer<_Tp>::__value, double>::__type
18316 log2(_Tp __x)
18317 { return __builtin_log2(__x); }
18320 main (void)
18322 int i = 1000;
18323 return std::log2(i);
18326 _ACEOF
18327 if ac_fn_cxx_try_compile "$LINENO"; then :
18328 glibcxx_cv_math11_int_overload=no
18329 else
18330 glibcxx_cv_math11_int_overload=yes
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 # autoheader cannot handle indented templates.
18340 if test $glibcxx_cv_math11_int_overload = yes; then
18341 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18345 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18348 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18349 # functions (instead of or as well as the C99 generic macros) then we
18350 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18351 # and must use the ones from <math.h> instead.
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18353 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18354 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h. */
18360 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18361 #include <math.h>
18362 #undef isinf
18363 namespace std {
18364 using ::isinf;
18365 bool isinf(float);
18366 bool isinf(long double);
18368 using std::isinf;
18369 bool b = isinf(0.0);
18371 _ACEOF
18372 if ac_fn_cxx_try_compile "$LINENO"; then :
18373 glibcxx_cv_obsolete_isinf=yes
18374 else
18375 glibcxx_cv_obsolete_isinf=no
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18382 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18383 if test $glibcxx_cv_obsolete_isinf = yes; then
18385 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18390 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18391 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18392 $as_echo_n "(cached) " >&6
18393 else
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18398 #include <math.h>
18399 #undef isnan
18400 namespace std {
18401 using ::isnan;
18402 bool isnan(float);
18403 bool isnan(long double);
18405 using std::isnan;
18406 bool b = isnan(0.0);
18408 _ACEOF
18409 if ac_fn_cxx_try_compile "$LINENO"; then :
18410 glibcxx_cv_obsolete_isnan=yes
18411 else
18412 glibcxx_cv_obsolete_isnan=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18419 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18420 if test $glibcxx_cv_obsolete_isnan = yes; then
18422 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18426 esac
18428 CXXFLAGS="$ac_save_CXXFLAGS"
18429 ac_ext=c
18430 ac_cpp='$CPP $CPPFLAGS'
18431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18439 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18440 if test "${glibcxx_cv_system_error1+set}" = set; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <errno.h>
18448 main ()
18450 int i = EOWNERDEAD;
18452 return 0;
18454 _ACEOF
18455 if ac_fn_c_try_compile "$LINENO"; then :
18456 glibcxx_cv_system_error1=yes
18457 else
18458 glibcxx_cv_system_error1=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18465 $as_echo "$glibcxx_cv_system_error1" >&6; }
18466 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18468 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18472 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18473 if test "${glibcxx_cv_system_error2+set}" = set; then :
18474 $as_echo_n "(cached) " >&6
18475 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 #include <errno.h>
18481 main ()
18483 int i = ENOTRECOVERABLE;
18485 return 0;
18487 _ACEOF
18488 if ac_fn_c_try_compile "$LINENO"; then :
18489 glibcxx_cv_system_error2=yes
18490 else
18491 glibcxx_cv_system_error2=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18498 $as_echo "$glibcxx_cv_system_error2" >&6; }
18499 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18501 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18505 $as_echo_n "checking for ENOLINK... " >&6; }
18506 if test "${glibcxx_cv_system_error3+set}" = set; then :
18507 $as_echo_n "(cached) " >&6
18508 else
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h. */
18512 #include <errno.h>
18514 main ()
18516 int i = ENOLINK;
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_compile "$LINENO"; then :
18522 glibcxx_cv_system_error3=yes
18523 else
18524 glibcxx_cv_system_error3=no
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18531 $as_echo "$glibcxx_cv_system_error3" >&6; }
18532 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18534 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18538 $as_echo_n "checking for EPROTO... " >&6; }
18539 if test "${glibcxx_cv_system_error4+set}" = set; then :
18540 $as_echo_n "(cached) " >&6
18541 else
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <errno.h>
18547 main ()
18549 int i = EPROTO;
18551 return 0;
18553 _ACEOF
18554 if ac_fn_c_try_compile "$LINENO"; then :
18555 glibcxx_cv_system_error4=yes
18556 else
18557 glibcxx_cv_system_error4=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18564 $as_echo "$glibcxx_cv_system_error4" >&6; }
18565 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18567 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18571 $as_echo_n "checking for ENODATA... " >&6; }
18572 if test "${glibcxx_cv_system_error5+set}" = set; then :
18573 $as_echo_n "(cached) " >&6
18574 else
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <errno.h>
18580 main ()
18582 int i = ENODATA;
18584 return 0;
18586 _ACEOF
18587 if ac_fn_c_try_compile "$LINENO"; then :
18588 glibcxx_cv_system_error5=yes
18589 else
18590 glibcxx_cv_system_error5=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18597 $as_echo "$glibcxx_cv_system_error5" >&6; }
18598 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18600 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18604 $as_echo_n "checking for ENOSR... " >&6; }
18605 if test "${glibcxx_cv_system_error6+set}" = set; then :
18606 $as_echo_n "(cached) " >&6
18607 else
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <errno.h>
18613 main ()
18615 int i = ENOSR;
18617 return 0;
18619 _ACEOF
18620 if ac_fn_c_try_compile "$LINENO"; then :
18621 glibcxx_cv_system_error6=yes
18622 else
18623 glibcxx_cv_system_error6=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18630 $as_echo "$glibcxx_cv_system_error6" >&6; }
18631 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18633 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18637 $as_echo_n "checking for ENOSTR... " >&6; }
18638 if test "${glibcxx_cv_system_error7+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <errno.h>
18646 main ()
18648 int i = ENOSTR;
18650 return 0;
18652 _ACEOF
18653 if ac_fn_c_try_compile "$LINENO"; then :
18654 glibcxx_cv_system_error7=yes
18655 else
18656 glibcxx_cv_system_error7=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18663 $as_echo "$glibcxx_cv_system_error7" >&6; }
18664 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18666 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18670 $as_echo_n "checking for ETIME... " >&6; }
18671 if test "${glibcxx_cv_system_error8+set}" = set; then :
18672 $as_echo_n "(cached) " >&6
18673 else
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 #include <errno.h>
18679 main ()
18681 int i = ETIME;
18683 return 0;
18685 _ACEOF
18686 if ac_fn_c_try_compile "$LINENO"; then :
18687 glibcxx_cv_system_error8=yes
18688 else
18689 glibcxx_cv_system_error8=no
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18696 $as_echo "$glibcxx_cv_system_error8" >&6; }
18697 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18699 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18703 $as_echo_n "checking for EBADMSG... " >&6; }
18704 if test "${glibcxx_cv_system_error9+set}" = set; then :
18705 $as_echo_n "(cached) " >&6
18706 else
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 #include <errno.h>
18712 main ()
18714 int i = EBADMSG;
18716 return 0;
18718 _ACEOF
18719 if ac_fn_c_try_compile "$LINENO"; then :
18720 glibcxx_cv_system_error9=yes
18721 else
18722 glibcxx_cv_system_error9=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18729 $as_echo "$glibcxx_cv_system_error9" >&6; }
18730 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18732 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18736 $as_echo_n "checking for ECANCELED... " >&6; }
18737 if test "${glibcxx_cv_system_error10+set}" = set; then :
18738 $as_echo_n "(cached) " >&6
18739 else
18741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18742 /* end confdefs.h. */
18743 #include <errno.h>
18745 main ()
18747 int i = ECANCELED;
18749 return 0;
18751 _ACEOF
18752 if ac_fn_c_try_compile "$LINENO"; then :
18753 glibcxx_cv_system_error10=yes
18754 else
18755 glibcxx_cv_system_error10=no
18757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18762 $as_echo "$glibcxx_cv_system_error10" >&6; }
18763 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18765 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18769 $as_echo_n "checking for EOVERFLOW... " >&6; }
18770 if test "${glibcxx_cv_system_error11+set}" = set; then :
18771 $as_echo_n "(cached) " >&6
18772 else
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 #include <errno.h>
18778 main ()
18780 int i = EOVERFLOW;
18782 return 0;
18784 _ACEOF
18785 if ac_fn_c_try_compile "$LINENO"; then :
18786 glibcxx_cv_system_error11=yes
18787 else
18788 glibcxx_cv_system_error11=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18795 $as_echo "$glibcxx_cv_system_error11" >&6; }
18796 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18798 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18802 $as_echo_n "checking for ENOTSUP... " >&6; }
18803 if test "${glibcxx_cv_system_error12+set}" = set; then :
18804 $as_echo_n "(cached) " >&6
18805 else
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18809 #include <errno.h>
18811 main ()
18813 int i = ENOTSUP;
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_compile "$LINENO"; then :
18819 glibcxx_cv_system_error12=yes
18820 else
18821 glibcxx_cv_system_error12=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18828 $as_echo "$glibcxx_cv_system_error12" >&6; }
18829 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18831 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18835 $as_echo_n "checking for EIDRM... " >&6; }
18836 if test "${glibcxx_cv_system_error13+set}" = set; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <errno.h>
18844 main ()
18846 int i = EIDRM;
18848 return 0;
18850 _ACEOF
18851 if ac_fn_c_try_compile "$LINENO"; then :
18852 glibcxx_cv_system_error13=yes
18853 else
18854 glibcxx_cv_system_error13=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18861 $as_echo "$glibcxx_cv_system_error13" >&6; }
18862 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18864 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18868 $as_echo_n "checking for ETXTBSY... " >&6; }
18869 if test "${glibcxx_cv_system_error14+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18871 else
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 #include <errno.h>
18877 main ()
18879 int i = ETXTBSY;
18881 return 0;
18883 _ACEOF
18884 if ac_fn_c_try_compile "$LINENO"; then :
18885 glibcxx_cv_system_error14=yes
18886 else
18887 glibcxx_cv_system_error14=no
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18894 $as_echo "$glibcxx_cv_system_error14" >&6; }
18895 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18897 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18901 $as_echo_n "checking for ECHILD... " >&6; }
18902 if test "${glibcxx_cv_system_error15+set}" = set; then :
18903 $as_echo_n "(cached) " >&6
18904 else
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908 #include <errno.h>
18910 main ()
18912 int i = ECHILD;
18914 return 0;
18916 _ACEOF
18917 if ac_fn_c_try_compile "$LINENO"; then :
18918 glibcxx_cv_system_error15=yes
18919 else
18920 glibcxx_cv_system_error15=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18927 $as_echo "$glibcxx_cv_system_error15" >&6; }
18928 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18930 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18934 $as_echo_n "checking for ENOSPC... " >&6; }
18935 if test "${glibcxx_cv_system_error16+set}" = set; then :
18936 $as_echo_n "(cached) " >&6
18937 else
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 #include <errno.h>
18943 main ()
18945 int i = ENOSPC;
18947 return 0;
18949 _ACEOF
18950 if ac_fn_c_try_compile "$LINENO"; then :
18951 glibcxx_cv_system_error16=yes
18952 else
18953 glibcxx_cv_system_error16=no
18955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18960 $as_echo "$glibcxx_cv_system_error16" >&6; }
18961 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18963 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18967 $as_echo_n "checking for EPERM... " >&6; }
18968 if test "${glibcxx_cv_system_error17+set}" = set; then :
18969 $as_echo_n "(cached) " >&6
18970 else
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 #include <errno.h>
18976 main ()
18978 int i = EPERM;
18980 return 0;
18982 _ACEOF
18983 if ac_fn_c_try_compile "$LINENO"; then :
18984 glibcxx_cv_system_error17=yes
18985 else
18986 glibcxx_cv_system_error17=no
18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18993 $as_echo "$glibcxx_cv_system_error17" >&6; }
18994 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18996 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19000 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19001 if test "${glibcxx_cv_system_error18+set}" = set; then :
19002 $as_echo_n "(cached) " >&6
19003 else
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19007 #include <errno.h>
19009 main ()
19011 int i = ETIMEDOUT;
19013 return 0;
19015 _ACEOF
19016 if ac_fn_c_try_compile "$LINENO"; then :
19017 glibcxx_cv_system_error18=yes
19018 else
19019 glibcxx_cv_system_error18=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19026 $as_echo "$glibcxx_cv_system_error18" >&6; }
19027 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19029 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19033 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19034 if test "${glibcxx_cv_system_error19+set}" = set; then :
19035 $as_echo_n "(cached) " >&6
19036 else
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #include <errno.h>
19042 main ()
19044 int i = EWOULDBLOCK;
19046 return 0;
19048 _ACEOF
19049 if ac_fn_c_try_compile "$LINENO"; then :
19050 glibcxx_cv_system_error19=yes
19051 else
19052 glibcxx_cv_system_error19=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19059 $as_echo "$glibcxx_cv_system_error19" >&6; }
19060 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19062 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19069 # Test uchar.h.
19070 for ac_header in uchar.h
19071 do :
19072 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19073 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_UCHAR_H 1
19076 _ACEOF
19077 ac_has_uchar_h=yes
19078 else
19079 ac_has_uchar_h=no
19082 done
19086 ac_ext=cpp
19087 ac_cpp='$CXXCPP $CPPFLAGS'
19088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092 ac_save_CXXFLAGS="$CXXFLAGS"
19093 CXXFLAGS="$CXXFLAGS -std=c++11"
19095 if test x"$ac_has_uchar_h" = x"yes"; then
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19097 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <uchar.h>
19101 #ifdef __STDC_UTF_16__
19102 long i = __STDC_UTF_16__;
19103 #endif
19104 #ifdef __STDC_UTF_32__
19105 long j = __STDC_UTF_32__;
19106 #endif
19107 namespace test
19109 using ::c16rtomb;
19110 using ::c32rtomb;
19111 using ::mbrtoc16;
19112 using ::mbrtoc32;
19116 main ()
19120 return 0;
19122 _ACEOF
19123 if ac_fn_cxx_try_compile "$LINENO"; then :
19124 ac_c11_uchar_cxx11=yes
19125 else
19126 ac_c11_uchar_cxx11=no
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 else
19130 ac_c11_uchar_cxx11=no
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19133 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19134 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19136 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19140 CXXFLAGS="$ac_save_CXXFLAGS"
19141 ac_ext=c
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149 # For the streamoff typedef.
19153 ac_ext=cpp
19154 ac_cpp='$CXXCPP $CPPFLAGS'
19155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19161 $as_echo_n "checking for int64_t... " >&6; }
19162 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19163 $as_echo_n "(cached) " >&6
19164 else
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 #include <stdint.h>
19170 main ()
19172 int64_t var;
19174 return 0;
19176 _ACEOF
19177 if ac_fn_cxx_try_compile "$LINENO"; then :
19178 glibcxx_cv_INT64_T=yes
19179 else
19180 glibcxx_cv_INT64_T=no
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 if test $glibcxx_cv_INT64_T = yes; then
19189 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19192 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19195 $as_echo_n "checking for int64_t as long... " >&6; }
19196 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19197 $as_echo_n "(cached) " >&6
19198 else
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #include <stdint.h>
19203 template<typename, typename> struct same { enum { value = -1 }; };
19204 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19205 int array[same<int64_t, long>::value];
19207 main ()
19211 return 0;
19213 _ACEOF
19214 if ac_fn_cxx_try_compile "$LINENO"; then :
19215 glibcxx_cv_int64_t_long=yes
19216 else
19217 glibcxx_cv_int64_t_long=no
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19224 if test $glibcxx_cv_int64_t_long = yes; then
19226 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19229 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19233 $as_echo_n "checking for int64_t as long long... " >&6; }
19234 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19236 else
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 #include <stdint.h>
19241 template<typename, typename> struct same { enum { value = -1 }; };
19242 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19243 int array[same<int64_t, long long>::value];
19245 main ()
19249 return 0;
19251 _ACEOF
19252 if ac_fn_cxx_try_compile "$LINENO"; then :
19253 glibcxx_cv_int64_t_long_long=yes
19254 else
19255 glibcxx_cv_int64_t_long_long=no
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 if test $glibcxx_cv_int64_t_long_long = yes; then
19264 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19267 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19271 ac_ext=c
19272 ac_cpp='$CPP $CPPFLAGS'
19273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279 # For LFS support.
19282 ac_ext=cpp
19283 ac_cpp='$CXXCPP $CPPFLAGS'
19284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19288 ac_save_CXXFLAGS="$CXXFLAGS"
19289 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19291 $as_echo_n "checking for LFS support... " >&6; }
19292 if test "${glibcxx_cv_LFS+set}" = set; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19296 if test x$gcc_no_link = xyes; then
19297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19298 /* end confdefs.h. */
19299 #include <unistd.h>
19300 #include <stdio.h>
19301 #include <sys/stat.h>
19304 main ()
19306 FILE* fp;
19307 fopen64("t", "w");
19308 fseeko64(fp, 0, SEEK_CUR);
19309 ftello64(fp);
19310 lseek64(1, 0, SEEK_CUR);
19311 struct stat64 buf;
19312 fstat64(1, &buf);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_compile "$LINENO"; then :
19318 glibcxx_cv_LFS=yes
19319 else
19320 glibcxx_cv_LFS=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 else
19324 if test x$gcc_no_link = xyes; then
19325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19329 #include <unistd.h>
19330 #include <stdio.h>
19331 #include <sys/stat.h>
19334 main ()
19336 FILE* fp;
19337 fopen64("t", "w");
19338 fseeko64(fp, 0, SEEK_CUR);
19339 ftello64(fp);
19340 lseek64(1, 0, SEEK_CUR);
19341 struct stat64 buf;
19342 fstat64(1, &buf);
19344 return 0;
19346 _ACEOF
19347 if ac_fn_cxx_try_link "$LINENO"; then :
19348 glibcxx_cv_LFS=yes
19349 else
19350 glibcxx_cv_LFS=no
19352 rm -f core conftest.err conftest.$ac_objext \
19353 conftest$ac_exeext conftest.$ac_ext
19358 if test $glibcxx_cv_LFS = yes; then
19360 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19364 $as_echo "$glibcxx_cv_LFS" >&6; }
19365 CXXFLAGS="$ac_save_CXXFLAGS"
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374 # For showmanyc_helper().
19375 for ac_header in sys/ioctl.h sys/filio.h
19376 do :
19377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19379 eval as_val=\$$as_ac_Header
19380 if test "x$as_val" = x""yes; then :
19381 cat >>confdefs.h <<_ACEOF
19382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19383 _ACEOF
19387 done
19392 ac_ext=cpp
19393 ac_cpp='$CXXCPP $CPPFLAGS'
19394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398 ac_save_CXXFLAGS="$CXXFLAGS"
19399 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19402 $as_echo_n "checking for poll... " >&6; }
19403 if test "${glibcxx_cv_POLL+set}" = set; then :
19404 $as_echo_n "(cached) " >&6
19405 else
19407 if test x$gcc_no_link = xyes; then
19408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19409 /* end confdefs.h. */
19410 #include <poll.h>
19412 main ()
19414 struct pollfd pfd[1];
19415 pfd[0].events = POLLIN;
19416 poll(pfd, 1, 0);
19418 return 0;
19420 _ACEOF
19421 if ac_fn_cxx_try_compile "$LINENO"; then :
19422 glibcxx_cv_POLL=yes
19423 else
19424 glibcxx_cv_POLL=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 else
19428 if test x$gcc_no_link = xyes; then
19429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 #include <poll.h>
19435 main ()
19437 struct pollfd pfd[1];
19438 pfd[0].events = POLLIN;
19439 poll(pfd, 1, 0);
19441 return 0;
19443 _ACEOF
19444 if ac_fn_cxx_try_link "$LINENO"; then :
19445 glibcxx_cv_POLL=yes
19446 else
19447 glibcxx_cv_POLL=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19455 if test $glibcxx_cv_POLL = yes; then
19457 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19461 $as_echo "$glibcxx_cv_POLL" >&6; }
19463 CXXFLAGS="$ac_save_CXXFLAGS"
19464 ac_ext=c
19465 ac_cpp='$CPP $CPPFLAGS'
19466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19474 ac_ext=cpp
19475 ac_cpp='$CXXCPP $CPPFLAGS'
19476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19480 ac_save_CXXFLAGS="$CXXFLAGS"
19481 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19484 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19485 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19486 $as_echo_n "(cached) " >&6
19487 else
19489 if test x$gcc_no_link = xyes; then
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 #include <sys/stat.h>
19494 main ()
19496 struct stat buffer;
19497 fstat(0, &buffer);
19498 S_ISREG(buffer.st_mode);
19500 return 0;
19502 _ACEOF
19503 if ac_fn_cxx_try_compile "$LINENO"; then :
19504 glibcxx_cv_S_ISREG=yes
19505 else
19506 glibcxx_cv_S_ISREG=no
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 else
19510 if test x$gcc_no_link = xyes; then
19511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19515 #include <sys/stat.h>
19517 main ()
19519 struct stat buffer;
19520 fstat(0, &buffer);
19521 S_ISREG(buffer.st_mode);
19523 return 0;
19525 _ACEOF
19526 if ac_fn_cxx_try_link "$LINENO"; then :
19527 glibcxx_cv_S_ISREG=yes
19528 else
19529 glibcxx_cv_S_ISREG=no
19531 rm -f core conftest.err conftest.$ac_objext \
19532 conftest$ac_exeext conftest.$ac_ext
19537 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19541 if test x$gcc_no_link = xyes; then
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19544 #include <sys/stat.h>
19546 main ()
19548 struct stat buffer;
19549 fstat(0, &buffer);
19550 S_IFREG & buffer.st_mode;
19552 return 0;
19554 _ACEOF
19555 if ac_fn_cxx_try_compile "$LINENO"; then :
19556 glibcxx_cv_S_IFREG=yes
19557 else
19558 glibcxx_cv_S_IFREG=no
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 else
19562 if test x$gcc_no_link = xyes; then
19563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19567 #include <sys/stat.h>
19569 main ()
19571 struct stat buffer;
19572 fstat(0, &buffer);
19573 S_IFREG & buffer.st_mode;
19575 return 0;
19577 _ACEOF
19578 if ac_fn_cxx_try_link "$LINENO"; then :
19579 glibcxx_cv_S_IFREG=yes
19580 else
19581 glibcxx_cv_S_IFREG=no
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext conftest.$ac_ext
19589 res=no
19590 if test $glibcxx_cv_S_ISREG = yes; then
19592 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19594 res=S_ISREG
19595 elif test $glibcxx_cv_S_IFREG = yes; then
19597 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19599 res=S_IFREG
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19602 $as_echo "$res" >&6; }
19604 CXXFLAGS="$ac_save_CXXFLAGS"
19605 ac_ext=c
19606 ac_cpp='$CPP $CPPFLAGS'
19607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19613 # For xsputn_2().
19614 for ac_header in sys/uio.h
19615 do :
19616 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19617 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19618 cat >>confdefs.h <<_ACEOF
19619 #define HAVE_SYS_UIO_H 1
19620 _ACEOF
19624 done
19629 ac_ext=cpp
19630 ac_cpp='$CXXCPP $CPPFLAGS'
19631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635 ac_save_CXXFLAGS="$CXXFLAGS"
19636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19639 $as_echo_n "checking for writev... " >&6; }
19640 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19644 if test x$gcc_no_link = xyes; then
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647 #include <sys/uio.h>
19649 main ()
19651 struct iovec iov[2];
19652 writev(0, iov, 0);
19654 return 0;
19656 _ACEOF
19657 if ac_fn_cxx_try_compile "$LINENO"; then :
19658 glibcxx_cv_WRITEV=yes
19659 else
19660 glibcxx_cv_WRITEV=no
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 else
19664 if test x$gcc_no_link = xyes; then
19665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 #include <sys/uio.h>
19671 main ()
19673 struct iovec iov[2];
19674 writev(0, iov, 0);
19676 return 0;
19678 _ACEOF
19679 if ac_fn_cxx_try_link "$LINENO"; then :
19680 glibcxx_cv_WRITEV=yes
19681 else
19682 glibcxx_cv_WRITEV=no
19684 rm -f core conftest.err conftest.$ac_objext \
19685 conftest$ac_exeext conftest.$ac_ext
19690 if test $glibcxx_cv_WRITEV = yes; then
19692 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19696 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19698 CXXFLAGS="$ac_save_CXXFLAGS"
19699 ac_ext=c
19700 ac_cpp='$CPP $CPPFLAGS'
19701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19707 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19708 # so that the check is done with the C compiler (not C++).
19709 # Checking with C++ can break a canadian cross build if either
19710 # file does not exist in C but does in C++.
19711 for ac_header in fenv.h complex.h
19712 do :
19713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19715 eval as_val=\$$as_ac_Header
19716 if test "x$as_val" = x""yes; then :
19717 cat >>confdefs.h <<_ACEOF
19718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19719 _ACEOF
19723 done
19726 # For C99 support to TR1.
19730 ac_ext=cpp
19731 ac_cpp='$CXXCPP $CPPFLAGS'
19732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19737 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19738 # undefined and fake C99 facilities may be spuriously enabled.
19739 ac_save_CXXFLAGS="$CXXFLAGS"
19740 CXXFLAGS="$CXXFLAGS -std=c++98"
19742 # Check for the existence of <complex.h> complex math functions used
19743 # by tr1/complex.
19744 for ac_header in complex.h
19745 do :
19746 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19747 if test "x$ac_cv_header_complex_h" = x""yes; then :
19748 cat >>confdefs.h <<_ACEOF
19749 #define HAVE_COMPLEX_H 1
19750 _ACEOF
19751 ac_has_complex_h=yes
19752 else
19753 ac_has_complex_h=no
19756 done
19758 ac_c99_complex_tr1=no;
19759 if test x"$ac_has_complex_h" = x"yes"; then
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19761 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19764 #include <complex.h>
19766 main ()
19768 typedef __complex__ float float_type; float_type tmpf;
19769 cacosf(tmpf);
19770 casinf(tmpf);
19771 catanf(tmpf);
19772 cacoshf(tmpf);
19773 casinhf(tmpf);
19774 catanhf(tmpf);
19775 typedef __complex__ double double_type; double_type tmpd;
19776 cacos(tmpd);
19777 casin(tmpd);
19778 catan(tmpd);
19779 cacosh(tmpd);
19780 casinh(tmpd);
19781 catanh(tmpd);
19782 typedef __complex__ long double ld_type; ld_type tmpld;
19783 cacosl(tmpld);
19784 casinl(tmpld);
19785 catanl(tmpld);
19786 cacoshl(tmpld);
19787 casinhl(tmpld);
19788 catanhl(tmpld);
19791 return 0;
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_c99_complex_tr1=yes
19796 else
19797 ac_c99_complex_tr1=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19802 $as_echo "$ac_c99_complex_tr1" >&6; }
19803 if test x"$ac_c99_complex_tr1" = x"yes"; then
19805 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19809 # Check for the existence of <ctype.h> functions.
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19811 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19812 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818 #include <ctype.h>
19820 main ()
19822 int ch;
19823 int ret;
19824 ret = isblank(ch);
19827 return 0;
19829 _ACEOF
19830 if ac_fn_cxx_try_compile "$LINENO"; then :
19831 glibcxx_cv_c99_ctype_tr1=yes
19832 else
19833 glibcxx_cv_c99_ctype_tr1=no
19835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19840 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19841 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19843 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19847 # Check for the existence of <fenv.h> functions.
19848 for ac_header in fenv.h
19849 do :
19850 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19851 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19852 cat >>confdefs.h <<_ACEOF
19853 #define HAVE_FENV_H 1
19854 _ACEOF
19855 ac_has_fenv_h=yes
19856 else
19857 ac_has_fenv_h=no
19860 done
19862 ac_c99_fenv_tr1=no;
19863 if test x"$ac_has_fenv_h" = x"yes"; then
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19865 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <fenv.h>
19870 main ()
19872 int except, mode;
19873 fexcept_t* pflag;
19874 fenv_t* penv;
19875 int ret;
19876 ret = feclearexcept(except);
19877 ret = fegetexceptflag(pflag, except);
19878 ret = feraiseexcept(except);
19879 ret = fesetexceptflag(pflag, except);
19880 ret = fetestexcept(except);
19881 ret = fegetround();
19882 ret = fesetround(mode);
19883 ret = fegetenv(penv);
19884 ret = feholdexcept(penv);
19885 ret = fesetenv(penv);
19886 ret = feupdateenv(penv);
19889 return 0;
19891 _ACEOF
19892 if ac_fn_cxx_try_compile "$LINENO"; then :
19893 ac_c99_fenv_tr1=yes
19894 else
19895 ac_c99_fenv_tr1=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19900 $as_echo "$ac_c99_fenv_tr1" >&6; }
19901 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19903 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19907 # Check for the existence of <stdint.h> types.
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19909 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19910 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19911 $as_echo_n "(cached) " >&6
19912 else
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #define __STDC_LIMIT_MACROS
19917 #define __STDC_CONSTANT_MACROS
19918 #include <stdint.h>
19920 main ()
19922 typedef int8_t my_int8_t;
19923 my_int8_t i8 = INT8_MIN;
19924 i8 = INT8_MAX;
19925 typedef int16_t my_int16_t;
19926 my_int16_t i16 = INT16_MIN;
19927 i16 = INT16_MAX;
19928 typedef int32_t my_int32_t;
19929 my_int32_t i32 = INT32_MIN;
19930 i32 = INT32_MAX;
19931 typedef int64_t my_int64_t;
19932 my_int64_t i64 = INT64_MIN;
19933 i64 = INT64_MAX;
19934 typedef int_fast8_t my_int_fast8_t;
19935 my_int_fast8_t if8 = INT_FAST8_MIN;
19936 if8 = INT_FAST8_MAX;
19937 typedef int_fast16_t my_int_fast16_t;
19938 my_int_fast16_t if16 = INT_FAST16_MIN;
19939 if16 = INT_FAST16_MAX;
19940 typedef int_fast32_t my_int_fast32_t;
19941 my_int_fast32_t if32 = INT_FAST32_MIN;
19942 if32 = INT_FAST32_MAX;
19943 typedef int_fast64_t my_int_fast64_t;
19944 my_int_fast64_t if64 = INT_FAST64_MIN;
19945 if64 = INT_FAST64_MAX;
19946 typedef int_least8_t my_int_least8_t;
19947 my_int_least8_t il8 = INT_LEAST8_MIN;
19948 il8 = INT_LEAST8_MAX;
19949 typedef int_least16_t my_int_least16_t;
19950 my_int_least16_t il16 = INT_LEAST16_MIN;
19951 il16 = INT_LEAST16_MAX;
19952 typedef int_least32_t my_int_least32_t;
19953 my_int_least32_t il32 = INT_LEAST32_MIN;
19954 il32 = INT_LEAST32_MAX;
19955 typedef int_least64_t my_int_least64_t;
19956 my_int_least64_t il64 = INT_LEAST64_MIN;
19957 il64 = INT_LEAST64_MAX;
19958 typedef intmax_t my_intmax_t;
19959 my_intmax_t im = INTMAX_MAX;
19960 im = INTMAX_MIN;
19961 typedef intptr_t my_intptr_t;
19962 my_intptr_t ip = INTPTR_MAX;
19963 ip = INTPTR_MIN;
19964 typedef uint8_t my_uint8_t;
19965 my_uint8_t ui8 = UINT8_MAX;
19966 ui8 = UINT8_MAX;
19967 typedef uint16_t my_uint16_t;
19968 my_uint16_t ui16 = UINT16_MAX;
19969 ui16 = UINT16_MAX;
19970 typedef uint32_t my_uint32_t;
19971 my_uint32_t ui32 = UINT32_MAX;
19972 ui32 = UINT32_MAX;
19973 typedef uint64_t my_uint64_t;
19974 my_uint64_t ui64 = UINT64_MAX;
19975 ui64 = UINT64_MAX;
19976 typedef uint_fast8_t my_uint_fast8_t;
19977 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19978 uif8 = UINT_FAST8_MAX;
19979 typedef uint_fast16_t my_uint_fast16_t;
19980 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19981 uif16 = UINT_FAST16_MAX;
19982 typedef uint_fast32_t my_uint_fast32_t;
19983 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19984 uif32 = UINT_FAST32_MAX;
19985 typedef uint_fast64_t my_uint_fast64_t;
19986 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19987 uif64 = UINT_FAST64_MAX;
19988 typedef uint_least8_t my_uint_least8_t;
19989 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19990 uil8 = UINT_LEAST8_MAX;
19991 typedef uint_least16_t my_uint_least16_t;
19992 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19993 uil16 = UINT_LEAST16_MAX;
19994 typedef uint_least32_t my_uint_least32_t;
19995 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19996 uil32 = UINT_LEAST32_MAX;
19997 typedef uint_least64_t my_uint_least64_t;
19998 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19999 uil64 = UINT_LEAST64_MAX;
20000 typedef uintmax_t my_uintmax_t;
20001 my_uintmax_t uim = UINTMAX_MAX;
20002 uim = UINTMAX_MAX;
20003 typedef uintptr_t my_uintptr_t;
20004 my_uintptr_t uip = UINTPTR_MAX;
20005 uip = UINTPTR_MAX;
20008 return 0;
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012 glibcxx_cv_c99_stdint_tr1=yes
20013 else
20014 glibcxx_cv_c99_stdint_tr1=no
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20021 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20022 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20028 # Check for the existence of <math.h> functions.
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20030 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20031 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20032 $as_echo_n "(cached) " >&6
20033 else
20035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20036 /* end confdefs.h. */
20037 #include <math.h>
20039 main ()
20041 typedef double_t my_double_t;
20042 typedef float_t my_float_t;
20043 acosh(0.0);
20044 acoshf(0.0f);
20045 acoshl(0.0l);
20046 asinh(0.0);
20047 asinhf(0.0f);
20048 asinhl(0.0l);
20049 atanh(0.0);
20050 atanhf(0.0f);
20051 atanhl(0.0l);
20052 cbrt(0.0);
20053 cbrtf(0.0f);
20054 cbrtl(0.0l);
20055 copysign(0.0, 0.0);
20056 copysignf(0.0f, 0.0f);
20057 copysignl(0.0l, 0.0l);
20058 erf(0.0);
20059 erff(0.0f);
20060 erfl(0.0l);
20061 erfc(0.0);
20062 erfcf(0.0f);
20063 erfcl(0.0l);
20064 exp2(0.0);
20065 exp2f(0.0f);
20066 exp2l(0.0l);
20067 expm1(0.0);
20068 expm1f(0.0f);
20069 expm1l(0.0l);
20070 fdim(0.0, 0.0);
20071 fdimf(0.0f, 0.0f);
20072 fdiml(0.0l, 0.0l);
20073 fma(0.0, 0.0, 0.0);
20074 fmaf(0.0f, 0.0f, 0.0f);
20075 fmal(0.0l, 0.0l, 0.0l);
20076 fmax(0.0, 0.0);
20077 fmaxf(0.0f, 0.0f);
20078 fmaxl(0.0l, 0.0l);
20079 fmin(0.0, 0.0);
20080 fminf(0.0f, 0.0f);
20081 fminl(0.0l, 0.0l);
20082 hypot(0.0, 0.0);
20083 hypotf(0.0f, 0.0f);
20084 hypotl(0.0l, 0.0l);
20085 ilogb(0.0);
20086 ilogbf(0.0f);
20087 ilogbl(0.0l);
20088 lgamma(0.0);
20089 lgammaf(0.0f);
20090 lgammal(0.0l);
20091 #ifndef __APPLE__ /* see below */
20092 llrint(0.0);
20093 llrintf(0.0f);
20094 llrintl(0.0l);
20095 llround(0.0);
20096 llroundf(0.0f);
20097 llroundl(0.0l);
20098 #endif
20099 log1p(0.0);
20100 log1pf(0.0f);
20101 log1pl(0.0l);
20102 log2(0.0);
20103 log2f(0.0f);
20104 log2l(0.0l);
20105 logb(0.0);
20106 logbf(0.0f);
20107 logbl(0.0l);
20108 lrint(0.0);
20109 lrintf(0.0f);
20110 lrintl(0.0l);
20111 lround(0.0);
20112 lroundf(0.0f);
20113 lroundl(0.0l);
20114 nan(0);
20115 nanf(0);
20116 nanl(0);
20117 nearbyint(0.0);
20118 nearbyintf(0.0f);
20119 nearbyintl(0.0l);
20120 nextafter(0.0, 0.0);
20121 nextafterf(0.0f, 0.0f);
20122 nextafterl(0.0l, 0.0l);
20123 nexttoward(0.0, 0.0);
20124 nexttowardf(0.0f, 0.0f);
20125 nexttowardl(0.0l, 0.0l);
20126 remainder(0.0, 0.0);
20127 remainderf(0.0f, 0.0f);
20128 remainderl(0.0l, 0.0l);
20129 remquo(0.0, 0.0, 0);
20130 remquof(0.0f, 0.0f, 0);
20131 remquol(0.0l, 0.0l, 0);
20132 rint(0.0);
20133 rintf(0.0f);
20134 rintl(0.0l);
20135 round(0.0);
20136 roundf(0.0f);
20137 roundl(0.0l);
20138 scalbln(0.0, 0l);
20139 scalblnf(0.0f, 0l);
20140 scalblnl(0.0l, 0l);
20141 scalbn(0.0, 0);
20142 scalbnf(0.0f, 0);
20143 scalbnl(0.0l, 0);
20144 tgamma(0.0);
20145 tgammaf(0.0f);
20146 tgammal(0.0l);
20147 trunc(0.0);
20148 truncf(0.0f);
20149 truncl(0.0l);
20152 return 0;
20154 _ACEOF
20155 if ac_fn_cxx_try_compile "$LINENO"; then :
20156 glibcxx_cv_c99_math_tr1=yes
20157 else
20158 glibcxx_cv_c99_math_tr1=no
20160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20165 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20166 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20168 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20171 case "${target_os}" in
20172 darwin*)
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20174 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20175 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20177 else
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <math.h>
20183 main ()
20185 llrint(0.0);
20186 llrintf(0.0f);
20187 llrintl(0.0l);
20188 llround(0.0);
20189 llroundf(0.0f);
20190 llroundl(0.0l);
20193 return 0;
20195 _ACEOF
20196 if ac_fn_cxx_try_compile "$LINENO"; then :
20197 glibcxx_cv_c99_math_llround=yes
20198 else
20199 glibcxx_cv_c99_math_llround=no
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20206 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20208 esac
20209 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20211 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20216 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20217 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20218 ac_c99_inttypes_tr1=no;
20219 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20221 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20223 /* end confdefs.h. */
20224 #include <inttypes.h>
20226 main ()
20228 intmax_t i, numer, denom, base;
20229 const char* s;
20230 char** endptr;
20231 intmax_t ret = imaxabs(i);
20232 imaxdiv_t dret = imaxdiv(numer, denom);
20233 ret = strtoimax(s, endptr, base);
20234 uintmax_t uret = strtoumax(s, endptr, base);
20237 return 0;
20239 _ACEOF
20240 if ac_fn_cxx_try_compile "$LINENO"; then :
20241 ac_c99_inttypes_tr1=yes
20242 else
20243 ac_c99_inttypes_tr1=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20248 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20249 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20251 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20255 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20256 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20257 ac_c99_inttypes_wchar_t_tr1=no;
20258 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20260 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h. */
20263 #include <inttypes.h>
20265 main ()
20267 intmax_t base;
20268 const wchar_t* s;
20269 wchar_t** endptr;
20270 intmax_t ret = wcstoimax(s, endptr, base);
20271 uintmax_t uret = wcstoumax(s, endptr, base);
20274 return 0;
20276 _ACEOF
20277 if ac_fn_cxx_try_compile "$LINENO"; then :
20278 ac_c99_inttypes_wchar_t_tr1=yes
20279 else
20280 ac_c99_inttypes_wchar_t_tr1=no
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20285 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20286 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20288 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20292 # Check for the existence of the <stdbool.h> header.
20293 for ac_header in stdbool.h
20294 do :
20295 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20296 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20297 cat >>confdefs.h <<_ACEOF
20298 #define HAVE_STDBOOL_H 1
20299 _ACEOF
20303 done
20306 # Check for the existence of the <stdalign.h> header.
20307 for ac_header in stdalign.h
20308 do :
20309 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20310 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20311 cat >>confdefs.h <<_ACEOF
20312 #define HAVE_STDALIGN_H 1
20313 _ACEOF
20317 done
20320 CXXFLAGS="$ac_save_CXXFLAGS"
20321 ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20333 $as_echo_n "checking for the value of EOF... " >&6; }
20334 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20335 $as_echo_n "(cached) " >&6
20336 else
20338 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20340 else
20341 as_fn_error "computing EOF failed" "$LINENO" 5
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20347 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20349 cat >>confdefs.h <<_ACEOF
20350 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20351 _ACEOF
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20355 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20356 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20357 $as_echo_n "(cached) " >&6
20358 else
20360 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20362 else
20363 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20369 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20371 cat >>confdefs.h <<_ACEOF
20372 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20373 _ACEOF
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20377 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20378 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20380 else
20382 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20384 else
20385 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20391 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20393 cat >>confdefs.h <<_ACEOF
20394 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20395 _ACEOF
20399 # For gettimeofday support.
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20403 $as_echo_n "checking for gettimeofday... " >&6; }
20406 ac_ext=cpp
20407 ac_cpp='$CXXCPP $CPPFLAGS'
20408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412 ac_save_CXXFLAGS="$CXXFLAGS"
20413 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20415 ac_has_gettimeofday=no;
20416 for ac_header in sys/time.h
20417 do :
20418 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20419 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20420 cat >>confdefs.h <<_ACEOF
20421 #define HAVE_SYS_TIME_H 1
20422 _ACEOF
20423 ac_has_sys_time_h=yes
20424 else
20425 ac_has_sys_time_h=no
20428 done
20430 if test x"$ac_has_sys_time_h" = x"yes"; then
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20432 $as_echo_n "checking for gettimeofday... " >&6; }
20433 if test x$gcc_no_link = xyes; then
20434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20436 #include <sys/time.h>
20438 main ()
20440 timeval tv; gettimeofday(&tv, 0);
20442 return 0;
20444 _ACEOF
20445 if ac_fn_cxx_try_compile "$LINENO"; then :
20446 ac_has_gettimeofday=yes
20447 else
20448 ac_has_gettimeofday=no
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451 else
20452 if test x$gcc_no_link = xyes; then
20453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <sys/time.h>
20459 main ()
20461 timeval tv; gettimeofday(&tv, 0);
20463 return 0;
20465 _ACEOF
20466 if ac_fn_cxx_try_link "$LINENO"; then :
20467 ac_has_gettimeofday=yes
20468 else
20469 ac_has_gettimeofday=no
20471 rm -f core conftest.err conftest.$ac_objext \
20472 conftest$ac_exeext conftest.$ac_ext
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20476 $as_echo "$ac_has_gettimeofday" >&6; }
20479 if test x"$ac_has_gettimeofday" = x"yes"; then
20481 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20485 CXXFLAGS="$ac_save_CXXFLAGS"
20486 ac_ext=c
20487 ac_cpp='$CPP $CPPFLAGS'
20488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20494 # For clock_gettime, nanosleep and sched_yield support.
20497 # Check whether --enable-libstdcxx-time was given.
20498 if test "${enable_libstdcxx_time+set}" = set; then :
20499 enableval=$enable_libstdcxx_time;
20500 case "$enableval" in
20501 yes|no|rt) ;;
20502 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20503 esac
20505 else
20506 enable_libstdcxx_time=auto
20512 ac_ext=cpp
20513 ac_cpp='$CXXCPP $CPPFLAGS'
20514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20518 ac_save_CXXFLAGS="$CXXFLAGS"
20519 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20520 ac_save_LIBS="$LIBS"
20522 ac_has_clock_monotonic=no
20523 ac_has_clock_realtime=no
20524 ac_has_nanosleep=no
20525 ac_has_sched_yield=no
20527 if test x"$enable_libstdcxx_time" = x"auto"; then
20529 case "${target_os}" in
20530 cygwin*)
20531 ac_has_nanosleep=yes
20533 darwin*)
20534 ac_has_nanosleep=yes
20535 ac_has_sched_yield=yes
20537 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20539 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <features.h>
20544 main ()
20547 #if ! __GLIBC_PREREQ(2, 17)
20548 #error
20549 #endif
20552 return 0;
20554 _ACEOF
20555 if ac_fn_cxx_try_compile "$LINENO"; then :
20556 glibcxx_glibc217=yes
20557 else
20558 glibcxx_glibc217=no
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20562 $as_echo "$glibcxx_glibc217" >&6; }
20564 if test x"$glibcxx_glibc217" = x"yes"; then
20565 ac_has_clock_monotonic=yes
20566 ac_has_clock_realtime=yes
20568 ac_has_nanosleep=yes
20569 ac_has_sched_yield=yes
20571 freebsd*|netbsd*|dragonfly*|rtems*)
20572 ac_has_clock_monotonic=yes
20573 ac_has_clock_realtime=yes
20574 ac_has_nanosleep=yes
20575 ac_has_sched_yield=yes
20577 openbsd*)
20578 ac_has_clock_monotonic=yes
20579 ac_has_clock_realtime=yes
20580 ac_has_nanosleep=yes
20582 solaris*)
20583 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20584 ac_has_clock_monotonic=yes
20585 ac_has_clock_realtime=yes
20586 ac_has_nanosleep=yes
20587 ac_has_sched_yield=yes
20589 esac
20591 elif test x"$enable_libstdcxx_time" != x"no"; then
20593 if test x"$enable_libstdcxx_time" = x"rt"; then
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20595 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20596 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20597 $as_echo_n "(cached) " >&6
20598 else
20599 ac_func_search_save_LIBS=$LIBS
20600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20603 /* Override any GCC internal prototype to avoid an error.
20604 Use char because int might match the return type of a GCC
20605 builtin and then its argument prototype would still apply. */
20606 #ifdef __cplusplus
20607 extern "C"
20608 #endif
20609 char clock_gettime ();
20611 main ()
20613 return clock_gettime ();
20615 return 0;
20617 _ACEOF
20618 for ac_lib in '' rt posix4; do
20619 if test -z "$ac_lib"; then
20620 ac_res="none required"
20621 else
20622 ac_res=-l$ac_lib
20623 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20625 if test x$gcc_no_link = xyes; then
20626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20628 if ac_fn_cxx_try_link "$LINENO"; then :
20629 ac_cv_search_clock_gettime=$ac_res
20631 rm -f core conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext
20633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20634 break
20636 done
20637 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20639 else
20640 ac_cv_search_clock_gettime=no
20642 rm conftest.$ac_ext
20643 LIBS=$ac_func_search_save_LIBS
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20646 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20647 ac_res=$ac_cv_search_clock_gettime
20648 if test "$ac_res" != no; then :
20649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20654 $as_echo_n "checking for library containing nanosleep... " >&6; }
20655 if test "${ac_cv_search_nanosleep+set}" = set; then :
20656 $as_echo_n "(cached) " >&6
20657 else
20658 ac_func_search_save_LIBS=$LIBS
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20662 /* Override any GCC internal prototype to avoid an error.
20663 Use char because int might match the return type of a GCC
20664 builtin and then its argument prototype would still apply. */
20665 #ifdef __cplusplus
20666 extern "C"
20667 #endif
20668 char nanosleep ();
20670 main ()
20672 return nanosleep ();
20674 return 0;
20676 _ACEOF
20677 for ac_lib in '' rt posix4; do
20678 if test -z "$ac_lib"; then
20679 ac_res="none required"
20680 else
20681 ac_res=-l$ac_lib
20682 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20684 if test x$gcc_no_link = xyes; then
20685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20687 if ac_fn_cxx_try_link "$LINENO"; then :
20688 ac_cv_search_nanosleep=$ac_res
20690 rm -f core conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext
20692 if test "${ac_cv_search_nanosleep+set}" = set; then :
20693 break
20695 done
20696 if test "${ac_cv_search_nanosleep+set}" = set; then :
20698 else
20699 ac_cv_search_nanosleep=no
20701 rm conftest.$ac_ext
20702 LIBS=$ac_func_search_save_LIBS
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20705 $as_echo "$ac_cv_search_nanosleep" >&6; }
20706 ac_res=$ac_cv_search_nanosleep
20707 if test "$ac_res" != no; then :
20708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20712 else
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20714 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20715 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20716 $as_echo_n "(cached) " >&6
20717 else
20718 ac_func_search_save_LIBS=$LIBS
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 /* Override any GCC internal prototype to avoid an error.
20723 Use char because int might match the return type of a GCC
20724 builtin and then its argument prototype would still apply. */
20725 #ifdef __cplusplus
20726 extern "C"
20727 #endif
20728 char clock_gettime ();
20730 main ()
20732 return clock_gettime ();
20734 return 0;
20736 _ACEOF
20737 for ac_lib in '' posix4; do
20738 if test -z "$ac_lib"; then
20739 ac_res="none required"
20740 else
20741 ac_res=-l$ac_lib
20742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20744 if test x$gcc_no_link = xyes; then
20745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20747 if ac_fn_cxx_try_link "$LINENO"; then :
20748 ac_cv_search_clock_gettime=$ac_res
20750 rm -f core conftest.err conftest.$ac_objext \
20751 conftest$ac_exeext
20752 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20753 break
20755 done
20756 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20758 else
20759 ac_cv_search_clock_gettime=no
20761 rm conftest.$ac_ext
20762 LIBS=$ac_func_search_save_LIBS
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20765 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20766 ac_res=$ac_cv_search_clock_gettime
20767 if test "$ac_res" != no; then :
20768 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20773 $as_echo_n "checking for library containing nanosleep... " >&6; }
20774 if test "${ac_cv_search_nanosleep+set}" = set; then :
20775 $as_echo_n "(cached) " >&6
20776 else
20777 ac_func_search_save_LIBS=$LIBS
20778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20781 /* Override any GCC internal prototype to avoid an error.
20782 Use char because int might match the return type of a GCC
20783 builtin and then its argument prototype would still apply. */
20784 #ifdef __cplusplus
20785 extern "C"
20786 #endif
20787 char nanosleep ();
20789 main ()
20791 return nanosleep ();
20793 return 0;
20795 _ACEOF
20796 for ac_lib in '' posix4; do
20797 if test -z "$ac_lib"; then
20798 ac_res="none required"
20799 else
20800 ac_res=-l$ac_lib
20801 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20803 if test x$gcc_no_link = xyes; then
20804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20806 if ac_fn_cxx_try_link "$LINENO"; then :
20807 ac_cv_search_nanosleep=$ac_res
20809 rm -f core conftest.err conftest.$ac_objext \
20810 conftest$ac_exeext
20811 if test "${ac_cv_search_nanosleep+set}" = set; then :
20812 break
20814 done
20815 if test "${ac_cv_search_nanosleep+set}" = set; then :
20817 else
20818 ac_cv_search_nanosleep=no
20820 rm conftest.$ac_ext
20821 LIBS=$ac_func_search_save_LIBS
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20824 $as_echo "$ac_cv_search_nanosleep" >&6; }
20825 ac_res=$ac_cv_search_nanosleep
20826 if test "$ac_res" != no; then :
20827 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20833 case "$ac_cv_search_clock_gettime" in
20834 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20836 esac
20837 case "$ac_cv_search_nanosleep" in
20838 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20840 esac
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20843 $as_echo_n "checking for library containing sched_yield... " >&6; }
20844 if test "${ac_cv_search_sched_yield+set}" = set; then :
20845 $as_echo_n "(cached) " >&6
20846 else
20847 ac_func_search_save_LIBS=$LIBS
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20851 /* Override any GCC internal prototype to avoid an error.
20852 Use char because int might match the return type of a GCC
20853 builtin and then its argument prototype would still apply. */
20854 #ifdef __cplusplus
20855 extern "C"
20856 #endif
20857 char sched_yield ();
20859 main ()
20861 return sched_yield ();
20863 return 0;
20865 _ACEOF
20866 for ac_lib in '' rt posix4; do
20867 if test -z "$ac_lib"; then
20868 ac_res="none required"
20869 else
20870 ac_res=-l$ac_lib
20871 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20873 if test x$gcc_no_link = xyes; then
20874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20876 if ac_fn_cxx_try_link "$LINENO"; then :
20877 ac_cv_search_sched_yield=$ac_res
20879 rm -f core conftest.err conftest.$ac_objext \
20880 conftest$ac_exeext
20881 if test "${ac_cv_search_sched_yield+set}" = set; then :
20882 break
20884 done
20885 if test "${ac_cv_search_sched_yield+set}" = set; then :
20887 else
20888 ac_cv_search_sched_yield=no
20890 rm conftest.$ac_ext
20891 LIBS=$ac_func_search_save_LIBS
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20894 $as_echo "$ac_cv_search_sched_yield" >&6; }
20895 ac_res=$ac_cv_search_sched_yield
20896 if test "$ac_res" != no; then :
20897 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20902 case "$ac_cv_search_sched_yield" in
20903 -lposix4*)
20904 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20905 ac_has_sched_yield=yes
20907 -lrt*)
20908 if test x"$enable_libstdcxx_time" = x"rt"; then
20909 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20910 ac_has_sched_yield=yes
20914 ac_has_sched_yield=yes
20916 esac
20918 for ac_header in unistd.h
20919 do :
20920 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20921 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20922 cat >>confdefs.h <<_ACEOF
20923 #define HAVE_UNISTD_H 1
20924 _ACEOF
20925 ac_has_unistd_h=yes
20926 else
20927 ac_has_unistd_h=no
20930 done
20933 if test x"$ac_has_unistd_h" = x"yes"; then
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20935 $as_echo_n "checking for monotonic clock... " >&6; }
20936 if test x$gcc_no_link = xyes; then
20937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20941 #include <unistd.h>
20942 #include <time.h>
20945 main ()
20947 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20948 timespec tp;
20949 #endif
20950 clock_gettime(CLOCK_MONOTONIC, &tp);
20953 return 0;
20955 _ACEOF
20956 if ac_fn_cxx_try_link "$LINENO"; then :
20957 ac_has_clock_monotonic=yes
20958 else
20959 ac_has_clock_monotonic=no
20961 rm -f core conftest.err conftest.$ac_objext \
20962 conftest$ac_exeext conftest.$ac_ext
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20965 $as_echo "$ac_has_clock_monotonic" >&6; }
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20968 $as_echo_n "checking for realtime clock... " >&6; }
20969 if test x$gcc_no_link = xyes; then
20970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #include <unistd.h>
20975 #include <time.h>
20978 main ()
20980 #if _POSIX_TIMERS > 0
20981 timespec tp;
20982 #endif
20983 clock_gettime(CLOCK_REALTIME, &tp);
20986 return 0;
20988 _ACEOF
20989 if ac_fn_cxx_try_link "$LINENO"; then :
20990 ac_has_clock_realtime=yes
20991 else
20992 ac_has_clock_realtime=no
20994 rm -f core conftest.err conftest.$ac_objext \
20995 conftest$ac_exeext conftest.$ac_ext
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20998 $as_echo "$ac_has_clock_realtime" >&6; }
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21001 $as_echo_n "checking for nanosleep... " >&6; }
21002 if test x$gcc_no_link = xyes; then
21003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <unistd.h>
21008 #include <time.h>
21011 main ()
21013 #if _POSIX_TIMERS > 0
21014 timespec tp;
21015 #endif
21016 nanosleep(&tp, 0);
21019 return 0;
21021 _ACEOF
21022 if ac_fn_cxx_try_link "$LINENO"; then :
21023 ac_has_nanosleep=yes
21024 else
21025 ac_has_nanosleep=no
21027 rm -f core conftest.err conftest.$ac_objext \
21028 conftest$ac_exeext conftest.$ac_ext
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21031 $as_echo "$ac_has_nanosleep" >&6; }
21035 if test x"$ac_has_clock_monotonic" != x"yes"; then
21036 case ${target_os} in
21037 linux*)
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21039 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21042 #include <unistd.h>
21043 #include <time.h>
21044 #include <sys/syscall.h>
21047 main ()
21049 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21050 timespec tp;
21051 #endif
21052 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21053 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21056 return 0;
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 ac_has_clock_monotonic_syscall=yes
21061 else
21062 ac_has_clock_monotonic_syscall=no
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21066 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21067 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21069 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21071 ac_has_clock_monotonic=yes
21072 ac_has_clock_realtime=yes
21073 fi;;
21074 esac
21077 if test x"$ac_has_clock_monotonic" = x"yes"; then
21079 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21083 if test x"$ac_has_clock_realtime" = x"yes"; then
21085 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21089 if test x"$ac_has_sched_yield" = x"yes"; then
21091 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21095 if test x"$ac_has_nanosleep" = x"yes"; then
21097 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21099 else
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21101 $as_echo_n "checking for sleep... " >&6; }
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21104 #include <unistd.h>
21106 main ()
21108 sleep(1)
21110 return 0;
21112 _ACEOF
21113 if ac_fn_cxx_try_compile "$LINENO"; then :
21114 ac_has_sleep=yes
21115 else
21116 ac_has_sleep=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21119 if test x"$ac_has_sleep" = x"yes"; then
21121 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21125 $as_echo "$ac_has_sleep" >&6; }
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21127 $as_echo_n "checking for usleep... " >&6; }
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <unistd.h>
21132 main ()
21134 sleep(1);
21135 usleep(100);
21137 return 0;
21139 _ACEOF
21140 if ac_fn_cxx_try_compile "$LINENO"; then :
21141 ac_has_usleep=yes
21142 else
21143 ac_has_usleep=no
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 if test x"$ac_has_usleep" = x"yes"; then
21148 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21152 $as_echo "$ac_has_usleep" >&6; }
21155 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21157 $as_echo_n "checking for Sleep... " >&6; }
21158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21159 /* end confdefs.h. */
21160 #include <windows.h>
21162 main ()
21164 Sleep(1)
21166 return 0;
21168 _ACEOF
21169 if ac_fn_cxx_try_compile "$LINENO"; then :
21170 ac_has_win32_sleep=yes
21171 else
21172 ac_has_win32_sleep=no
21174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21175 if test x"$ac_has_win32_sleep" = x"yes"; then
21177 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21181 $as_echo "$ac_has_win32_sleep" >&6; }
21186 CXXFLAGS="$ac_save_CXXFLAGS"
21187 LIBS="$ac_save_LIBS"
21188 ac_ext=c
21189 ac_cpp='$CPP $CPPFLAGS'
21190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196 # Check for tmpnam which is obsolescent in POSIX.1-2008
21198 ac_ext=cpp
21199 ac_cpp='$CXXCPP $CPPFLAGS'
21200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21204 ac_save_CXXFLAGS="$CXXFLAGS"
21205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21207 $as_echo_n "checking for tmpnam... " >&6; }
21208 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21209 $as_echo_n "(cached) " >&6
21210 else
21211 if test x$gcc_no_link = xyes; then
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 #include <stdio.h>
21216 main ()
21218 char *tmp = tmpnam(NULL);
21220 return 0;
21222 _ACEOF
21223 if ac_fn_cxx_try_compile "$LINENO"; then :
21224 glibcxx_cv_TMPNAM=yes
21225 else
21226 glibcxx_cv_TMPNAM=no
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 else
21230 if test x$gcc_no_link = xyes; then
21231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h. */
21235 #include <stdio.h>
21237 main ()
21239 char *tmp = tmpnam(NULL);
21241 return 0;
21243 _ACEOF
21244 if ac_fn_cxx_try_link "$LINENO"; then :
21245 glibcxx_cv_TMPNAM=yes
21246 else
21247 glibcxx_cv_TMPNAM=no
21249 rm -f core conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21255 if test $glibcxx_cv_TMPNAM = yes; then
21257 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21261 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21262 CXXFLAGS="$ac_save_CXXFLAGS"
21263 ac_ext=c
21264 ac_cpp='$CPP $CPPFLAGS'
21265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21272 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21273 if test "x$ac_cv_header_locale_h" = x""yes; then :
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21276 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21277 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281 /* end confdefs.h. */
21282 #include <locale.h>
21284 main ()
21286 return LC_MESSAGES
21288 return 0;
21290 _ACEOF
21291 if ac_fn_c_try_compile "$LINENO"; then :
21292 ac_cv_val_LC_MESSAGES=yes
21293 else
21294 ac_cv_val_LC_MESSAGES=no
21296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21299 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21300 if test $ac_cv_val_LC_MESSAGES = yes; then
21302 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21311 # For hardware_concurrency
21312 for ac_header in sys/sysinfo.h
21313 do :
21314 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21315 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21316 cat >>confdefs.h <<_ACEOF
21317 #define HAVE_SYS_SYSINFO_H 1
21318 _ACEOF
21322 done
21327 ac_ext=cpp
21328 ac_cpp='$CXXCPP $CPPFLAGS'
21329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333 ac_save_CXXFLAGS="$CXXFLAGS"
21334 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21337 $as_echo_n "checking for get_nprocs... " >&6; }
21338 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21339 $as_echo_n "(cached) " >&6
21340 else
21342 if test x$gcc_no_link = xyes; then
21343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21345 #include <sys/sysinfo.h>
21347 main ()
21349 int n = get_nprocs();
21351 return 0;
21353 _ACEOF
21354 if ac_fn_cxx_try_compile "$LINENO"; then :
21355 glibcxx_cv_GET_NPROCS=yes
21356 else
21357 glibcxx_cv_GET_NPROCS=no
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 else
21361 if test x$gcc_no_link = xyes; then
21362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21366 #include <sys/sysinfo.h>
21368 main ()
21370 int n = get_nprocs();
21372 return 0;
21374 _ACEOF
21375 if ac_fn_cxx_try_link "$LINENO"; then :
21376 glibcxx_cv_GET_NPROCS=yes
21377 else
21378 glibcxx_cv_GET_NPROCS=no
21380 rm -f core conftest.err conftest.$ac_objext \
21381 conftest$ac_exeext conftest.$ac_ext
21386 if test $glibcxx_cv_GET_NPROCS = yes; then
21388 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21392 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21394 CXXFLAGS="$ac_save_CXXFLAGS"
21395 ac_ext=c
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21402 for ac_header in unistd.h
21403 do :
21404 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21405 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE_UNISTD_H 1
21408 _ACEOF
21412 done
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 ac_save_CXXFLAGS="$CXXFLAGS"
21424 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21427 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21428 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21432 if test x$gcc_no_link = xyes; then
21433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21434 /* end confdefs.h. */
21435 #include <unistd.h>
21437 main ()
21439 int n = sysconf(_SC_NPROCESSORS_ONLN);
21441 return 0;
21443 _ACEOF
21444 if ac_fn_cxx_try_compile "$LINENO"; then :
21445 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21446 else
21447 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 else
21451 if test x$gcc_no_link = xyes; then
21452 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21456 #include <unistd.h>
21458 main ()
21460 int n = sysconf(_SC_NPROCESSORS_ONLN);
21462 return 0;
21464 _ACEOF
21465 if ac_fn_cxx_try_link "$LINENO"; then :
21466 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21467 else
21468 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21470 rm -f core conftest.err conftest.$ac_objext \
21471 conftest$ac_exeext conftest.$ac_ext
21476 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21478 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21482 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21484 CXXFLAGS="$ac_save_CXXFLAGS"
21485 ac_ext=c
21486 ac_cpp='$CPP $CPPFLAGS'
21487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21495 ac_ext=cpp
21496 ac_cpp='$CXXCPP $CPPFLAGS'
21497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21501 ac_save_CXXFLAGS="$CXXFLAGS"
21502 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21505 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21506 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21507 $as_echo_n "(cached) " >&6
21508 else
21510 if test x$gcc_no_link = xyes; then
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21513 #include <unistd.h>
21515 main ()
21517 int n = sysconf(_SC_NPROC_ONLN);
21519 return 0;
21521 _ACEOF
21522 if ac_fn_cxx_try_compile "$LINENO"; then :
21523 glibcxx_cv_SC_NPROC_ONLN=yes
21524 else
21525 glibcxx_cv_SC_NPROC_ONLN=no
21527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21528 else
21529 if test x$gcc_no_link = xyes; then
21530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h. */
21534 #include <unistd.h>
21536 main ()
21538 int n = sysconf(_SC_NPROC_ONLN);
21540 return 0;
21542 _ACEOF
21543 if ac_fn_cxx_try_link "$LINENO"; then :
21544 glibcxx_cv_SC_NPROC_ONLN=yes
21545 else
21546 glibcxx_cv_SC_NPROC_ONLN=no
21548 rm -f core conftest.err conftest.$ac_objext \
21549 conftest$ac_exeext conftest.$ac_ext
21554 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21556 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21560 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21562 CXXFLAGS="$ac_save_CXXFLAGS"
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21573 ac_ext=cpp
21574 ac_cpp='$CXXCPP $CPPFLAGS'
21575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21579 ac_save_CXXFLAGS="$CXXFLAGS"
21580 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21583 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21584 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21585 $as_echo_n "(cached) " >&6
21586 else
21588 if test x$gcc_no_link = xyes; then
21589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21590 /* end confdefs.h. */
21591 #include <pthread.h>
21593 main ()
21595 int n = pthread_num_processors_np();
21597 return 0;
21599 _ACEOF
21600 if ac_fn_cxx_try_compile "$LINENO"; then :
21601 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21602 else
21603 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21606 else
21607 if test x$gcc_no_link = xyes; then
21608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611 /* end confdefs.h. */
21612 #include <pthread.h>
21614 main ()
21616 int n = pthread_num_processors_np();
21618 return 0;
21620 _ACEOF
21621 if ac_fn_cxx_try_link "$LINENO"; then :
21622 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21623 else
21624 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21626 rm -f core conftest.err conftest.$ac_objext \
21627 conftest$ac_exeext conftest.$ac_ext
21632 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21634 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21638 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21640 CXXFLAGS="$ac_save_CXXFLAGS"
21641 ac_ext=c
21642 ac_cpp='$CPP $CPPFLAGS'
21643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21651 ac_ext=cpp
21652 ac_cpp='$CXXCPP $CPPFLAGS'
21653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657 ac_save_CXXFLAGS="$CXXFLAGS"
21658 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21661 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21662 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21663 $as_echo_n "(cached) " >&6
21664 else
21666 if test x$gcc_no_link = xyes; then
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21670 #include <stddef.h>
21671 #include <sys/sysctl.h>
21674 main ()
21677 int count;
21678 size_t size = sizeof(count);
21679 int mib[] = { CTL_HW, HW_NCPU };
21680 sysctl(mib, 2, &count, &size, NULL, 0);
21683 return 0;
21685 _ACEOF
21686 if ac_fn_cxx_try_compile "$LINENO"; then :
21687 glibcxx_cv_SYSCTL_HW_NCPU=yes
21688 else
21689 glibcxx_cv_SYSCTL_HW_NCPU=no
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 else
21693 if test x$gcc_no_link = xyes; then
21694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21697 /* end confdefs.h. */
21699 #include <stddef.h>
21700 #include <sys/sysctl.h>
21703 main ()
21706 int count;
21707 size_t size = sizeof(count);
21708 int mib[] = { CTL_HW, HW_NCPU };
21709 sysctl(mib, 2, &count, &size, NULL, 0);
21712 return 0;
21714 _ACEOF
21715 if ac_fn_cxx_try_link "$LINENO"; then :
21716 glibcxx_cv_SYSCTL_HW_NCPU=yes
21717 else
21718 glibcxx_cv_SYSCTL_HW_NCPU=no
21720 rm -f core conftest.err conftest.$ac_objext \
21721 conftest$ac_exeext conftest.$ac_ext
21726 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21728 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21732 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21734 CXXFLAGS="$ac_save_CXXFLAGS"
21735 ac_ext=c
21736 ac_cpp='$CPP $CPPFLAGS'
21737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21744 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21745 # Note that this test has to be run with the C language.
21746 # Otherwise, sdt.h will try to include some headers from
21747 # libstdc++ itself.
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21755 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21756 $as_echo_n "(cached) " >&6
21757 else
21759 # Because we have to run the test in C, we use grep rather
21760 # than the compiler to check for the bug. The bug is that
21761 # were strings without trailing whitespace, causing g++
21762 # to look for operator"". The pattern searches for the fixed
21763 # output.
21764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21767 #include <sys/sdt.h>
21768 int f() { STAP_PROBE(hi, bob); }
21770 _ACEOF
21771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21772 $EGREP " \",\" " >/dev/null 2>&1; then :
21773 glibcxx_cv_sys_sdt_h=yes
21774 else
21775 glibcxx_cv_sys_sdt_h=no
21777 rm -f conftest*
21782 ac_ext=c
21783 ac_cpp='$CPP $CPPFLAGS'
21784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21788 if test $glibcxx_cv_sys_sdt_h = yes; then
21790 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21794 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21797 # Check for available headers.
21798 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21799 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21800 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21801 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21802 wchar.h wctype.h linux/random.h
21803 do :
21804 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21805 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21806 eval as_val=\$$as_ac_Header
21807 if test "x$as_val" = x""yes; then :
21808 cat >>confdefs.h <<_ACEOF
21809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21810 _ACEOF
21814 done
21817 # Only do link tests if native. Else, hardcode.
21818 if $GLIBCXX_IS_NATIVE; then
21820 # We can do more elaborate tests that assume a working linker.
21821 CANADIAN=no
21825 # Check whether --with-gnu-ld was given.
21826 if test "${with_gnu_ld+set}" = set; then :
21827 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21828 else
21829 with_gnu_ld=no
21832 ac_prog=ld
21833 if test "$GCC" = yes; then
21834 # Check if gcc -print-prog-name=ld gives a path.
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21836 $as_echo_n "checking for ld used by $CC... " >&6; }
21837 case $host in
21838 *-*-mingw*)
21839 # gcc leaves a trailing carriage return which upsets mingw
21840 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21842 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21843 esac
21844 case $ac_prog in
21845 # Accept absolute paths.
21846 [\\/]* | ?:[\\/]*)
21847 re_direlt='/[^/][^/]*/\.\./'
21848 # Canonicalize the pathname of ld
21849 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21850 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21851 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21852 done
21853 test -z "$LD" && LD="$ac_prog"
21856 # If it fails, then pretend we aren't using GCC.
21857 ac_prog=ld
21860 # If it is relative, then search for the first ld in PATH.
21861 with_gnu_ld=unknown
21863 esac
21864 elif test "$with_gnu_ld" = yes; then
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21866 $as_echo_n "checking for GNU ld... " >&6; }
21867 else
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21869 $as_echo_n "checking for non-GNU ld... " >&6; }
21871 if test "${lt_cv_path_LD+set}" = set; then :
21872 $as_echo_n "(cached) " >&6
21873 else
21874 if test -z "$LD"; then
21875 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21876 for ac_dir in $PATH; do
21877 IFS="$lt_save_ifs"
21878 test -z "$ac_dir" && ac_dir=.
21879 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21880 lt_cv_path_LD="$ac_dir/$ac_prog"
21881 # Check to see if the program is GNU ld. I'd rather use --version,
21882 # but apparently some variants of GNU ld only accept -v.
21883 # Break only if it was the GNU/non-GNU ld that we prefer.
21884 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21885 *GNU* | *'with BFD'*)
21886 test "$with_gnu_ld" != no && break
21889 test "$with_gnu_ld" != yes && break
21891 esac
21893 done
21894 IFS="$lt_save_ifs"
21895 else
21896 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21900 LD="$lt_cv_path_LD"
21901 if test -n "$LD"; then
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21903 $as_echo "$LD" >&6; }
21904 else
21905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21906 $as_echo "no" >&6; }
21908 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21910 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21911 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21912 $as_echo_n "(cached) " >&6
21913 else
21914 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21915 case `$LD -v 2>&1 </dev/null` in
21916 *GNU* | *'with BFD'*)
21917 lt_cv_prog_gnu_ld=yes
21920 lt_cv_prog_gnu_ld=no
21922 esac
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21925 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21926 with_gnu_ld=$lt_cv_prog_gnu_ld
21934 # If we're not using GNU ld, then there's no point in even trying these
21935 # tests. Check for that first. We should have already tested for gld
21936 # by now (in libtool), but require it now just to be safe...
21937 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21938 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21942 # The name set by libtool depends on the version of libtool. Shame on us
21943 # for depending on an impl detail, but c'est la vie. Older versions used
21944 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21945 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21946 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21947 # set (hence we're using an older libtool), then set it.
21948 if test x${with_gnu_ld+set} != xset; then
21949 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21950 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21951 with_gnu_ld=no
21952 else
21953 with_gnu_ld=$ac_cv_prog_gnu_ld
21957 # Start by getting the version number. I think the libtool test already
21958 # does some of this, but throws away the result.
21959 glibcxx_ld_is_gold=no
21960 if test x"$with_gnu_ld" = x"yes"; then
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21962 $as_echo_n "checking for ld version... " >&6; }
21964 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21965 glibcxx_ld_is_gold=yes
21967 ldver=`$LD --version 2>/dev/null |
21968 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'`
21970 glibcxx_gnu_ld_version=`echo $ldver | \
21971 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21973 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21976 # Set --gc-sections.
21977 glibcxx_have_gc_sections=no
21978 if test "$glibcxx_ld_is_gold" = "yes"; then
21979 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21980 glibcxx_have_gc_sections=yes
21982 else
21983 glibcxx_gcsections_min_ld=21602
21984 if test x"$with_gnu_ld" = x"yes" &&
21985 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21986 glibcxx_have_gc_sections=yes
21989 if test "$glibcxx_have_gc_sections" = "yes"; then
21990 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21991 # NB: This flag only works reliably after 2.16.1. Configure tests
21992 # for this are difficult, so hard wire a value that should work.
21994 ac_test_CFLAGS="${CFLAGS+set}"
21995 ac_save_CFLAGS="$CFLAGS"
21996 CFLAGS='-Wl,--gc-sections'
21998 # Check for -Wl,--gc-sections
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22000 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22001 if test x$gcc_no_link = xyes; then
22002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22006 int one(void) { return 1; }
22007 int two(void) { return 2; }
22010 main ()
22012 two();
22014 return 0;
22016 _ACEOF
22017 if ac_fn_c_try_link "$LINENO"; then :
22018 ac_gcsections=yes
22019 else
22020 ac_gcsections=no
22022 rm -f core conftest.err conftest.$ac_objext \
22023 conftest$ac_exeext conftest.$ac_ext
22024 if test "$ac_gcsections" = "yes"; then
22025 rm -f conftest.c
22026 touch conftest.c
22027 if $CC -c conftest.c; then
22028 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22029 grep "Warning: gc-sections option ignored" > /dev/null; then
22030 ac_gcsections=no
22033 rm -f conftest.c conftest.o conftest
22035 if test "$ac_gcsections" = "yes"; then
22036 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22039 $as_echo "$ac_gcsections" >&6; }
22041 if test "$ac_test_CFLAGS" = set; then
22042 CFLAGS="$ac_save_CFLAGS"
22043 else
22044 # this is the suspicious part
22045 CFLAGS=''
22049 # Set -z,relro.
22050 # Note this is only for shared objects.
22051 ac_ld_relro=no
22052 if test x"$with_gnu_ld" = x"yes"; then
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22054 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22055 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22056 if test -n "$cxx_z_relo"; then
22057 OPT_LDFLAGS="-Wl,-z,relro"
22058 ac_ld_relro=yes
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22061 $as_echo "$ac_ld_relro" >&6; }
22064 # Set linker optimization flags.
22065 if test x"$with_gnu_ld" = x"yes"; then
22066 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22073 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22074 ac_save_CXXFLAGS="$CXXFLAGS"
22075 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22078 $as_echo_n "checking for sin in -lm... " >&6; }
22079 if test "${ac_cv_lib_m_sin+set}" = set; then :
22080 $as_echo_n "(cached) " >&6
22081 else
22082 ac_check_lib_save_LIBS=$LIBS
22083 LIBS="-lm $LIBS"
22084 if test x$gcc_no_link = xyes; then
22085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22088 /* end confdefs.h. */
22090 /* Override any GCC internal prototype to avoid an error.
22091 Use char because int might match the return type of a GCC
22092 builtin and then its argument prototype would still apply. */
22093 #ifdef __cplusplus
22094 extern "C"
22095 #endif
22096 char sin ();
22098 main ()
22100 return sin ();
22102 return 0;
22104 _ACEOF
22105 if ac_fn_c_try_link "$LINENO"; then :
22106 ac_cv_lib_m_sin=yes
22107 else
22108 ac_cv_lib_m_sin=no
22110 rm -f core conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22112 LIBS=$ac_check_lib_save_LIBS
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22115 $as_echo "$ac_cv_lib_m_sin" >&6; }
22116 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22117 libm="-lm"
22120 ac_save_LIBS="$LIBS"
22121 LIBS="$LIBS $libm"
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22126 $as_echo_n "checking for isinf declaration... " >&6; }
22127 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22128 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22129 $as_echo_n "(cached) " >&6
22130 else
22133 ac_ext=cpp
22134 ac_cpp='$CXXCPP $CPPFLAGS'
22135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22141 #include <math.h>
22142 #ifdef HAVE_IEEEFP_H
22143 #include <ieeefp.h>
22144 #endif
22147 main ()
22149 isinf(0);
22151 return 0;
22153 _ACEOF
22154 if ac_fn_cxx_try_compile "$LINENO"; then :
22155 glibcxx_cv_func_isinf_use=yes
22156 else
22157 glibcxx_cv_func_isinf_use=no
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 ac_ext=c
22161 ac_cpp='$CPP $CPPFLAGS'
22162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22171 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22173 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22174 for ac_func in isinf
22175 do :
22176 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22177 if test "x$ac_cv_func_isinf" = x""yes; then :
22178 cat >>confdefs.h <<_ACEOF
22179 #define HAVE_ISINF 1
22180 _ACEOF
22183 done
22185 else
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22188 $as_echo_n "checking for _isinf declaration... " >&6; }
22189 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22190 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22191 $as_echo_n "(cached) " >&6
22192 else
22195 ac_ext=cpp
22196 ac_cpp='$CXXCPP $CPPFLAGS'
22197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22202 /* end confdefs.h. */
22203 #include <math.h>
22204 #ifdef HAVE_IEEEFP_H
22205 #include <ieeefp.h>
22206 #endif
22209 main ()
22211 _isinf(0);
22213 return 0;
22215 _ACEOF
22216 if ac_fn_cxx_try_compile "$LINENO"; then :
22217 glibcxx_cv_func__isinf_use=yes
22218 else
22219 glibcxx_cv_func__isinf_use=no
22221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 ac_ext=c
22223 ac_cpp='$CPP $CPPFLAGS'
22224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22233 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22235 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22236 for ac_func in _isinf
22237 do :
22238 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22239 if test "x$ac_cv_func__isinf" = x""yes; then :
22240 cat >>confdefs.h <<_ACEOF
22241 #define HAVE__ISINF 1
22242 _ACEOF
22245 done
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22255 $as_echo_n "checking for isnan declaration... " >&6; }
22256 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22257 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22258 $as_echo_n "(cached) " >&6
22259 else
22262 ac_ext=cpp
22263 ac_cpp='$CXXCPP $CPPFLAGS'
22264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22269 /* end confdefs.h. */
22270 #include <math.h>
22271 #ifdef HAVE_IEEEFP_H
22272 #include <ieeefp.h>
22273 #endif
22276 main ()
22278 isnan(0);
22280 return 0;
22282 _ACEOF
22283 if ac_fn_cxx_try_compile "$LINENO"; then :
22284 glibcxx_cv_func_isnan_use=yes
22285 else
22286 glibcxx_cv_func_isnan_use=no
22288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22289 ac_ext=c
22290 ac_cpp='$CPP $CPPFLAGS'
22291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22300 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22302 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22303 for ac_func in isnan
22304 do :
22305 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22306 if test "x$ac_cv_func_isnan" = x""yes; then :
22307 cat >>confdefs.h <<_ACEOF
22308 #define HAVE_ISNAN 1
22309 _ACEOF
22312 done
22314 else
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22317 $as_echo_n "checking for _isnan declaration... " >&6; }
22318 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22319 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22320 $as_echo_n "(cached) " >&6
22321 else
22324 ac_ext=cpp
22325 ac_cpp='$CXXCPP $CPPFLAGS'
22326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22331 /* end confdefs.h. */
22332 #include <math.h>
22333 #ifdef HAVE_IEEEFP_H
22334 #include <ieeefp.h>
22335 #endif
22338 main ()
22340 _isnan(0);
22342 return 0;
22344 _ACEOF
22345 if ac_fn_cxx_try_compile "$LINENO"; then :
22346 glibcxx_cv_func__isnan_use=yes
22347 else
22348 glibcxx_cv_func__isnan_use=no
22350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22351 ac_ext=c
22352 ac_cpp='$CPP $CPPFLAGS'
22353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22362 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22364 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22365 for ac_func in _isnan
22366 do :
22367 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22368 if test "x$ac_cv_func__isnan" = x""yes; then :
22369 cat >>confdefs.h <<_ACEOF
22370 #define HAVE__ISNAN 1
22371 _ACEOF
22374 done
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22384 $as_echo_n "checking for finite declaration... " >&6; }
22385 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22386 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22387 $as_echo_n "(cached) " >&6
22388 else
22391 ac_ext=cpp
22392 ac_cpp='$CXXCPP $CPPFLAGS'
22393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22399 #include <math.h>
22400 #ifdef HAVE_IEEEFP_H
22401 #include <ieeefp.h>
22402 #endif
22405 main ()
22407 finite(0);
22409 return 0;
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_func_finite_use=yes
22414 else
22415 glibcxx_cv_func_finite_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_finite_use" >&5
22429 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22431 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22432 for ac_func in finite
22433 do :
22434 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22435 if test "x$ac_cv_func_finite" = x""yes; then :
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE_FINITE 1
22438 _ACEOF
22441 done
22443 else
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22446 $as_echo_n "checking for _finite declaration... " >&6; }
22447 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22448 if test "${glibcxx_cv_func__finite_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>
22462 #ifdef HAVE_IEEEFP_H
22463 #include <ieeefp.h>
22464 #endif
22467 main ()
22469 _finite(0);
22471 return 0;
22473 _ACEOF
22474 if ac_fn_cxx_try_compile "$LINENO"; then :
22475 glibcxx_cv_func__finite_use=yes
22476 else
22477 glibcxx_cv_func__finite_use=no
22479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22480 ac_ext=c
22481 ac_cpp='$CPP $CPPFLAGS'
22482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22491 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22493 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22494 for ac_func in _finite
22495 do :
22496 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22497 if test "x$ac_cv_func__finite" = x""yes; then :
22498 cat >>confdefs.h <<_ACEOF
22499 #define HAVE__FINITE 1
22500 _ACEOF
22503 done
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22513 $as_echo_n "checking for sincos declaration... " >&6; }
22514 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22515 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22516 $as_echo_n "(cached) " >&6
22517 else
22520 ac_ext=cpp
22521 ac_cpp='$CXXCPP $CPPFLAGS'
22522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22527 /* end confdefs.h. */
22528 #include <math.h>
22530 main ()
22532 sincos(0, 0, 0);
22534 return 0;
22536 _ACEOF
22537 if ac_fn_cxx_try_compile "$LINENO"; then :
22538 glibcxx_cv_func_sincos_use=yes
22539 else
22540 glibcxx_cv_func_sincos_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_sincos_use" >&5
22554 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22556 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22557 for ac_func in sincos
22558 do :
22559 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22560 if test "x$ac_cv_func_sincos" = x""yes; then :
22561 cat >>confdefs.h <<_ACEOF
22562 #define HAVE_SINCOS 1
22563 _ACEOF
22566 done
22568 else
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22571 $as_echo_n "checking for _sincos declaration... " >&6; }
22572 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22573 if test "${glibcxx_cv_func__sincos_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>
22588 main ()
22590 _sincos(0, 0, 0);
22592 return 0;
22594 _ACEOF
22595 if ac_fn_cxx_try_compile "$LINENO"; then :
22596 glibcxx_cv_func__sincos_use=yes
22597 else
22598 glibcxx_cv_func__sincos_use=no
22600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22601 ac_ext=c
22602 ac_cpp='$CPP $CPPFLAGS'
22603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22612 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22614 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22615 for ac_func in _sincos
22616 do :
22617 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22618 if test "x$ac_cv_func__sincos" = x""yes; then :
22619 cat >>confdefs.h <<_ACEOF
22620 #define HAVE__SINCOS 1
22621 _ACEOF
22624 done
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22634 $as_echo_n "checking for fpclass declaration... " >&6; }
22635 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22636 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22637 $as_echo_n "(cached) " >&6
22638 else
22641 ac_ext=cpp
22642 ac_cpp='$CXXCPP $CPPFLAGS'
22643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22648 /* end confdefs.h. */
22649 #include <math.h>
22650 #ifdef HAVE_IEEEFP_H
22651 #include <ieeefp.h>
22652 #endif
22655 main ()
22657 fpclass(0);
22659 return 0;
22661 _ACEOF
22662 if ac_fn_cxx_try_compile "$LINENO"; then :
22663 glibcxx_cv_func_fpclass_use=yes
22664 else
22665 glibcxx_cv_func_fpclass_use=no
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 ac_ext=c
22669 ac_cpp='$CPP $CPPFLAGS'
22670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22679 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22681 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22682 for ac_func in fpclass
22683 do :
22684 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22685 if test "x$ac_cv_func_fpclass" = x""yes; then :
22686 cat >>confdefs.h <<_ACEOF
22687 #define HAVE_FPCLASS 1
22688 _ACEOF
22691 done
22693 else
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22696 $as_echo_n "checking for _fpclass declaration... " >&6; }
22697 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22698 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22699 $as_echo_n "(cached) " >&6
22700 else
22703 ac_ext=cpp
22704 ac_cpp='$CXXCPP $CPPFLAGS'
22705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22710 /* end confdefs.h. */
22711 #include <math.h>
22712 #ifdef HAVE_IEEEFP_H
22713 #include <ieeefp.h>
22714 #endif
22717 main ()
22719 _fpclass(0);
22721 return 0;
22723 _ACEOF
22724 if ac_fn_cxx_try_compile "$LINENO"; then :
22725 glibcxx_cv_func__fpclass_use=yes
22726 else
22727 glibcxx_cv_func__fpclass_use=no
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ac_ext=c
22731 ac_cpp='$CPP $CPPFLAGS'
22732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22741 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22743 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22744 for ac_func in _fpclass
22745 do :
22746 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22747 if test "x$ac_cv_func__fpclass" = x""yes; then :
22748 cat >>confdefs.h <<_ACEOF
22749 #define HAVE__FPCLASS 1
22750 _ACEOF
22753 done
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22763 $as_echo_n "checking for qfpclass declaration... " >&6; }
22764 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22765 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22766 $as_echo_n "(cached) " >&6
22767 else
22770 ac_ext=cpp
22771 ac_cpp='$CXXCPP $CPPFLAGS'
22772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22777 /* end confdefs.h. */
22778 #include <math.h>
22779 #ifdef HAVE_IEEEFP_H
22780 #include <ieeefp.h>
22781 #endif
22784 main ()
22786 qfpclass(0);
22788 return 0;
22790 _ACEOF
22791 if ac_fn_cxx_try_compile "$LINENO"; then :
22792 glibcxx_cv_func_qfpclass_use=yes
22793 else
22794 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
22808 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22810 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22811 for ac_func in qfpclass
22812 do :
22813 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22814 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22815 cat >>confdefs.h <<_ACEOF
22816 #define HAVE_QFPCLASS 1
22817 _ACEOF
22820 done
22822 else
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22825 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22826 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22827 if test "${glibcxx_cv_func__qfpclass_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>
22841 #ifdef HAVE_IEEEFP_H
22842 #include <ieeefp.h>
22843 #endif
22846 main ()
22848 _qfpclass(0);
22850 return 0;
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854 glibcxx_cv_func__qfpclass_use=yes
22855 else
22856 glibcxx_cv_func__qfpclass_use=no
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859 ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22870 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22872 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22873 for ac_func in _qfpclass
22874 do :
22875 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22876 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE__QFPCLASS 1
22879 _ACEOF
22882 done
22891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22892 $as_echo_n "checking for hypot declaration... " >&6; }
22893 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22894 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22895 $as_echo_n "(cached) " >&6
22896 else
22899 ac_ext=cpp
22900 ac_cpp='$CXXCPP $CPPFLAGS'
22901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22906 /* end confdefs.h. */
22907 #include <math.h>
22909 main ()
22911 hypot(0, 0);
22913 return 0;
22915 _ACEOF
22916 if ac_fn_cxx_try_compile "$LINENO"; then :
22917 glibcxx_cv_func_hypot_use=yes
22918 else
22919 glibcxx_cv_func_hypot_use=no
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22922 ac_ext=c
22923 ac_cpp='$CPP $CPPFLAGS'
22924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22933 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22935 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22936 for ac_func in hypot
22937 do :
22938 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22939 if test "x$ac_cv_func_hypot" = x""yes; then :
22940 cat >>confdefs.h <<_ACEOF
22941 #define HAVE_HYPOT 1
22942 _ACEOF
22945 done
22947 else
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22950 $as_echo_n "checking for _hypot declaration... " >&6; }
22951 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22952 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22967 main ()
22969 _hypot(0, 0);
22971 return 0;
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func__hypot_use=yes
22976 else
22977 glibcxx_cv_func__hypot_use=no
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22991 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22993 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22994 for ac_func in _hypot
22995 do :
22996 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22997 if test "x$ac_cv_func__hypot" = x""yes; then :
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE__HYPOT 1
23000 _ACEOF
23003 done
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23013 $as_echo_n "checking for float trig functions... " >&6; }
23014 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23029 main ()
23031 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23033 return 0;
23035 _ACEOF
23036 if ac_fn_cxx_try_compile "$LINENO"; then :
23037 glibcxx_cv_func_float_trig_use=yes
23038 else
23039 glibcxx_cv_func_float_trig_use=no
23041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 ac_ext=c
23043 ac_cpp='$CPP $CPPFLAGS'
23044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23051 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23052 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23053 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23054 do :
23055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23057 eval as_val=\$$as_ac_var
23058 if test "x$as_val" = x""yes; then :
23059 cat >>confdefs.h <<_ACEOF
23060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23061 _ACEOF
23064 done
23066 else
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23068 $as_echo_n "checking for _float trig functions... " >&6; }
23069 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23070 $as_echo_n "(cached) " >&6
23071 else
23074 ac_ext=cpp
23075 ac_cpp='$CXXCPP $CPPFLAGS'
23076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h. */
23082 #include <math.h>
23084 main ()
23086 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23088 return 0;
23090 _ACEOF
23091 if ac_fn_cxx_try_compile "$LINENO"; then :
23092 glibcxx_cv_func__float_trig_use=yes
23093 else
23094 glibcxx_cv_func__float_trig_use=no
23096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23097 ac_ext=c
23098 ac_cpp='$CPP $CPPFLAGS'
23099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23106 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23107 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23108 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23109 do :
23110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23112 eval as_val=\$$as_ac_var
23113 if test "x$as_val" = x""yes; then :
23114 cat >>confdefs.h <<_ACEOF
23115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23116 _ACEOF
23119 done
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23129 $as_echo_n "checking for float round functions... " >&6; }
23130 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23131 $as_echo_n "(cached) " >&6
23132 else
23135 ac_ext=cpp
23136 ac_cpp='$CXXCPP $CPPFLAGS'
23137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23142 /* end confdefs.h. */
23143 #include <math.h>
23145 main ()
23147 ceilf (0); floorf (0);
23149 return 0;
23151 _ACEOF
23152 if ac_fn_cxx_try_compile "$LINENO"; then :
23153 glibcxx_cv_func_float_round_use=yes
23154 else
23155 glibcxx_cv_func_float_round_use=no
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 ac_ext=c
23159 ac_cpp='$CPP $CPPFLAGS'
23160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23167 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23168 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23169 for ac_func in ceilf floorf
23170 do :
23171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23173 eval as_val=\$$as_ac_var
23174 if test "x$as_val" = x""yes; then :
23175 cat >>confdefs.h <<_ACEOF
23176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23177 _ACEOF
23180 done
23182 else
23183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23184 $as_echo_n "checking for _float round functions... " >&6; }
23185 if test "${glibcxx_cv_func__float_round_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>
23200 main ()
23202 _ceilf (0); _floorf (0);
23204 return 0;
23206 _ACEOF
23207 if ac_fn_cxx_try_compile "$LINENO"; then :
23208 glibcxx_cv_func__float_round_use=yes
23209 else
23210 glibcxx_cv_func__float_round_use=no
23212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23213 ac_ext=c
23214 ac_cpp='$CPP $CPPFLAGS'
23215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23222 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23223 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23224 for ac_func in _ceilf _floorf
23225 do :
23226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23228 eval as_val=\$$as_ac_var
23229 if test "x$as_val" = x""yes; then :
23230 cat >>confdefs.h <<_ACEOF
23231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23232 _ACEOF
23235 done
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23246 $as_echo_n "checking for expf declaration... " >&6; }
23247 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23248 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23249 $as_echo_n "(cached) " >&6
23250 else
23253 ac_ext=cpp
23254 ac_cpp='$CXXCPP $CPPFLAGS'
23255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23260 /* end confdefs.h. */
23261 #include <math.h>
23262 #ifdef HAVE_IEEEFP_H
23263 #include <ieeefp.h>
23264 #endif
23267 main ()
23269 expf(0);
23271 return 0;
23273 _ACEOF
23274 if ac_fn_cxx_try_compile "$LINENO"; then :
23275 glibcxx_cv_func_expf_use=yes
23276 else
23277 glibcxx_cv_func_expf_use=no
23279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23280 ac_ext=c
23281 ac_cpp='$CPP $CPPFLAGS'
23282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23291 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23293 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23294 for ac_func in expf
23295 do :
23296 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23297 if test "x$ac_cv_func_expf" = x""yes; then :
23298 cat >>confdefs.h <<_ACEOF
23299 #define HAVE_EXPF 1
23300 _ACEOF
23303 done
23305 else
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23308 $as_echo_n "checking for _expf declaration... " >&6; }
23309 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23310 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23311 $as_echo_n "(cached) " >&6
23312 else
23315 ac_ext=cpp
23316 ac_cpp='$CXXCPP $CPPFLAGS'
23317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23322 /* end confdefs.h. */
23323 #include <math.h>
23324 #ifdef HAVE_IEEEFP_H
23325 #include <ieeefp.h>
23326 #endif
23329 main ()
23331 _expf(0);
23333 return 0;
23335 _ACEOF
23336 if ac_fn_cxx_try_compile "$LINENO"; then :
23337 glibcxx_cv_func__expf_use=yes
23338 else
23339 glibcxx_cv_func__expf_use=no
23341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 ac_ext=c
23343 ac_cpp='$CPP $CPPFLAGS'
23344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23353 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23355 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23356 for ac_func in _expf
23357 do :
23358 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23359 if test "x$ac_cv_func__expf" = x""yes; then :
23360 cat >>confdefs.h <<_ACEOF
23361 #define HAVE__EXPF 1
23362 _ACEOF
23365 done
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23375 $as_echo_n "checking for isnanf declaration... " >&6; }
23376 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23377 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23378 $as_echo_n "(cached) " >&6
23379 else
23382 ac_ext=cpp
23383 ac_cpp='$CXXCPP $CPPFLAGS'
23384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23389 /* end confdefs.h. */
23390 #include <math.h>
23391 #ifdef HAVE_IEEEFP_H
23392 #include <ieeefp.h>
23393 #endif
23396 main ()
23398 isnanf(0);
23400 return 0;
23402 _ACEOF
23403 if ac_fn_cxx_try_compile "$LINENO"; then :
23404 glibcxx_cv_func_isnanf_use=yes
23405 else
23406 glibcxx_cv_func_isnanf_use=no
23408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23409 ac_ext=c
23410 ac_cpp='$CPP $CPPFLAGS'
23411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23420 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23422 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23423 for ac_func in isnanf
23424 do :
23425 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23426 if test "x$ac_cv_func_isnanf" = x""yes; then :
23427 cat >>confdefs.h <<_ACEOF
23428 #define HAVE_ISNANF 1
23429 _ACEOF
23432 done
23434 else
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23437 $as_echo_n "checking for _isnanf declaration... " >&6; }
23438 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23439 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23440 $as_echo_n "(cached) " >&6
23441 else
23444 ac_ext=cpp
23445 ac_cpp='$CXXCPP $CPPFLAGS'
23446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23452 #include <math.h>
23453 #ifdef HAVE_IEEEFP_H
23454 #include <ieeefp.h>
23455 #endif
23458 main ()
23460 _isnanf(0);
23462 return 0;
23464 _ACEOF
23465 if ac_fn_cxx_try_compile "$LINENO"; then :
23466 glibcxx_cv_func__isnanf_use=yes
23467 else
23468 glibcxx_cv_func__isnanf_use=no
23470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23471 ac_ext=c
23472 ac_cpp='$CPP $CPPFLAGS'
23473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23482 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23484 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23485 for ac_func in _isnanf
23486 do :
23487 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23488 if test "x$ac_cv_func__isnanf" = x""yes; then :
23489 cat >>confdefs.h <<_ACEOF
23490 #define HAVE__ISNANF 1
23491 _ACEOF
23494 done
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23504 $as_echo_n "checking for isinff declaration... " >&6; }
23505 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23506 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23511 ac_ext=cpp
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23518 /* end confdefs.h. */
23519 #include <math.h>
23520 #ifdef HAVE_IEEEFP_H
23521 #include <ieeefp.h>
23522 #endif
23525 main ()
23527 isinff(0);
23529 return 0;
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func_isinff_use=yes
23534 else
23535 glibcxx_cv_func_isinff_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_isinff_use" >&5
23549 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23551 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23552 for ac_func in isinff
23553 do :
23554 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23555 if test "x$ac_cv_func_isinff" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE_ISINFF 1
23558 _ACEOF
23561 done
23563 else
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23566 $as_echo_n "checking for _isinff declaration... " >&6; }
23567 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23568 if test "${glibcxx_cv_func__isinff_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>
23582 #ifdef HAVE_IEEEFP_H
23583 #include <ieeefp.h>
23584 #endif
23587 main ()
23589 _isinff(0);
23591 return 0;
23593 _ACEOF
23594 if ac_fn_cxx_try_compile "$LINENO"; then :
23595 glibcxx_cv_func__isinff_use=yes
23596 else
23597 glibcxx_cv_func__isinff_use=no
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600 ac_ext=c
23601 ac_cpp='$CPP $CPPFLAGS'
23602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23611 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23613 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23614 for ac_func in _isinff
23615 do :
23616 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23617 if test "x$ac_cv_func__isinff" = x""yes; then :
23618 cat >>confdefs.h <<_ACEOF
23619 #define HAVE__ISINFF 1
23620 _ACEOF
23623 done
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23633 $as_echo_n "checking for atan2f declaration... " >&6; }
23634 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23635 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23636 $as_echo_n "(cached) " >&6
23637 else
23640 ac_ext=cpp
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23648 #include <math.h>
23650 main ()
23652 atan2f(0, 0);
23654 return 0;
23656 _ACEOF
23657 if ac_fn_cxx_try_compile "$LINENO"; then :
23658 glibcxx_cv_func_atan2f_use=yes
23659 else
23660 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
23674 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23676 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23677 for ac_func in atan2f
23678 do :
23679 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23680 if test "x$ac_cv_func_atan2f" = x""yes; then :
23681 cat >>confdefs.h <<_ACEOF
23682 #define HAVE_ATAN2F 1
23683 _ACEOF
23686 done
23688 else
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23691 $as_echo_n "checking for _atan2f declaration... " >&6; }
23692 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23693 if test "${glibcxx_cv_func__atan2f_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>
23708 main ()
23710 _atan2f(0, 0);
23712 return 0;
23714 _ACEOF
23715 if ac_fn_cxx_try_compile "$LINENO"; then :
23716 glibcxx_cv_func__atan2f_use=yes
23717 else
23718 glibcxx_cv_func__atan2f_use=no
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 ac_ext=c
23722 ac_cpp='$CPP $CPPFLAGS'
23723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23732 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23734 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23735 for ac_func in _atan2f
23736 do :
23737 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23738 if test "x$ac_cv_func__atan2f" = x""yes; then :
23739 cat >>confdefs.h <<_ACEOF
23740 #define HAVE__ATAN2F 1
23741 _ACEOF
23744 done
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23754 $as_echo_n "checking for fabsf declaration... " >&6; }
23755 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23756 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23758 else
23761 ac_ext=cpp
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23769 #include <math.h>
23770 #ifdef HAVE_IEEEFP_H
23771 #include <ieeefp.h>
23772 #endif
23775 main ()
23777 fabsf(0);
23779 return 0;
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func_fabsf_use=yes
23784 else
23785 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
23799 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23801 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23802 for ac_func in fabsf
23803 do :
23804 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23805 if test "x$ac_cv_func_fabsf" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE_FABSF 1
23808 _ACEOF
23811 done
23813 else
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23816 $as_echo_n "checking for _fabsf declaration... " >&6; }
23817 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23818 if test "${glibcxx_cv_func__fabsf_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>
23832 #ifdef HAVE_IEEEFP_H
23833 #include <ieeefp.h>
23834 #endif
23837 main ()
23839 _fabsf(0);
23841 return 0;
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func__fabsf_use=yes
23846 else
23847 glibcxx_cv_func__fabsf_use=no
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23861 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23863 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23864 for ac_func in _fabsf
23865 do :
23866 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23867 if test "x$ac_cv_func__fabsf" = x""yes; then :
23868 cat >>confdefs.h <<_ACEOF
23869 #define HAVE__FABSF 1
23870 _ACEOF
23873 done
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23883 $as_echo_n "checking for fmodf declaration... " >&6; }
23884 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23885 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23886 $as_echo_n "(cached) " >&6
23887 else
23890 ac_ext=cpp
23891 ac_cpp='$CXXCPP $CPPFLAGS'
23892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23898 #include <math.h>
23900 main ()
23902 fmodf(0, 0);
23904 return 0;
23906 _ACEOF
23907 if ac_fn_cxx_try_compile "$LINENO"; then :
23908 glibcxx_cv_func_fmodf_use=yes
23909 else
23910 glibcxx_cv_func_fmodf_use=no
23912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23913 ac_ext=c
23914 ac_cpp='$CPP $CPPFLAGS'
23915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23924 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23926 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23927 for ac_func in fmodf
23928 do :
23929 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23930 if test "x$ac_cv_func_fmodf" = x""yes; then :
23931 cat >>confdefs.h <<_ACEOF
23932 #define HAVE_FMODF 1
23933 _ACEOF
23936 done
23938 else
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23941 $as_echo_n "checking for _fmodf declaration... " >&6; }
23942 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23943 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23944 $as_echo_n "(cached) " >&6
23945 else
23948 ac_ext=cpp
23949 ac_cpp='$CXXCPP $CPPFLAGS'
23950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23955 /* end confdefs.h. */
23956 #include <math.h>
23958 main ()
23960 _fmodf(0, 0);
23962 return 0;
23964 _ACEOF
23965 if ac_fn_cxx_try_compile "$LINENO"; then :
23966 glibcxx_cv_func__fmodf_use=yes
23967 else
23968 glibcxx_cv_func__fmodf_use=no
23970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971 ac_ext=c
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23982 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23984 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23985 for ac_func in _fmodf
23986 do :
23987 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23988 if test "x$ac_cv_func__fmodf" = x""yes; then :
23989 cat >>confdefs.h <<_ACEOF
23990 #define HAVE__FMODF 1
23991 _ACEOF
23994 done
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24004 $as_echo_n "checking for frexpf declaration... " >&6; }
24005 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24006 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24007 $as_echo_n "(cached) " >&6
24008 else
24011 ac_ext=cpp
24012 ac_cpp='$CXXCPP $CPPFLAGS'
24013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24018 /* end confdefs.h. */
24019 #include <math.h>
24021 main ()
24023 frexpf(0, 0);
24025 return 0;
24027 _ACEOF
24028 if ac_fn_cxx_try_compile "$LINENO"; then :
24029 glibcxx_cv_func_frexpf_use=yes
24030 else
24031 glibcxx_cv_func_frexpf_use=no
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24045 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24047 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24048 for ac_func in frexpf
24049 do :
24050 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24051 if test "x$ac_cv_func_frexpf" = x""yes; then :
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE_FREXPF 1
24054 _ACEOF
24057 done
24059 else
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24062 $as_echo_n "checking for _frexpf declaration... " >&6; }
24063 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24064 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24065 $as_echo_n "(cached) " >&6
24066 else
24069 ac_ext=cpp
24070 ac_cpp='$CXXCPP $CPPFLAGS'
24071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24076 /* end confdefs.h. */
24077 #include <math.h>
24079 main ()
24081 _frexpf(0, 0);
24083 return 0;
24085 _ACEOF
24086 if ac_fn_cxx_try_compile "$LINENO"; then :
24087 glibcxx_cv_func__frexpf_use=yes
24088 else
24089 glibcxx_cv_func__frexpf_use=no
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092 ac_ext=c
24093 ac_cpp='$CPP $CPPFLAGS'
24094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24103 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24105 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24106 for ac_func in _frexpf
24107 do :
24108 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24109 if test "x$ac_cv_func__frexpf" = x""yes; then :
24110 cat >>confdefs.h <<_ACEOF
24111 #define HAVE__FREXPF 1
24112 _ACEOF
24115 done
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24125 $as_echo_n "checking for hypotf declaration... " >&6; }
24126 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24127 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24142 main ()
24144 hypotf(0, 0);
24146 return 0;
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150 glibcxx_cv_func_hypotf_use=yes
24151 else
24152 glibcxx_cv_func_hypotf_use=no
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24166 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24168 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24169 for ac_func in hypotf
24170 do :
24171 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24172 if test "x$ac_cv_func_hypotf" = x""yes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define HAVE_HYPOTF 1
24175 _ACEOF
24178 done
24180 else
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24183 $as_echo_n "checking for _hypotf declaration... " >&6; }
24184 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24185 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24186 $as_echo_n "(cached) " >&6
24187 else
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24198 #include <math.h>
24200 main ()
24202 _hypotf(0, 0);
24204 return 0;
24206 _ACEOF
24207 if ac_fn_cxx_try_compile "$LINENO"; then :
24208 glibcxx_cv_func__hypotf_use=yes
24209 else
24210 glibcxx_cv_func__hypotf_use=no
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24213 ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24224 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24226 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24227 for ac_func in _hypotf
24228 do :
24229 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24230 if test "x$ac_cv_func__hypotf" = x""yes; then :
24231 cat >>confdefs.h <<_ACEOF
24232 #define HAVE__HYPOTF 1
24233 _ACEOF
24236 done
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24246 $as_echo_n "checking for ldexpf declaration... " >&6; }
24247 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24248 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24263 main ()
24265 ldexpf(0, 0);
24267 return 0;
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func_ldexpf_use=yes
24272 else
24273 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
24287 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24289 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24290 for ac_func in ldexpf
24291 do :
24292 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24293 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24294 cat >>confdefs.h <<_ACEOF
24295 #define HAVE_LDEXPF 1
24296 _ACEOF
24299 done
24301 else
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24304 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24305 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24306 if test "${glibcxx_cv_func__ldexpf_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>
24321 main ()
24323 _ldexpf(0, 0);
24325 return 0;
24327 _ACEOF
24328 if ac_fn_cxx_try_compile "$LINENO"; then :
24329 glibcxx_cv_func__ldexpf_use=yes
24330 else
24331 glibcxx_cv_func__ldexpf_use=no
24333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24334 ac_ext=c
24335 ac_cpp='$CPP $CPPFLAGS'
24336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24345 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24347 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24348 for ac_func in _ldexpf
24349 do :
24350 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24351 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24352 cat >>confdefs.h <<_ACEOF
24353 #define HAVE__LDEXPF 1
24354 _ACEOF
24357 done
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24367 $as_echo_n "checking for logf declaration... " >&6; }
24368 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24369 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24370 $as_echo_n "(cached) " >&6
24371 else
24374 ac_ext=cpp
24375 ac_cpp='$CXXCPP $CPPFLAGS'
24376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24381 /* end confdefs.h. */
24382 #include <math.h>
24383 #ifdef HAVE_IEEEFP_H
24384 #include <ieeefp.h>
24385 #endif
24388 main ()
24390 logf(0);
24392 return 0;
24394 _ACEOF
24395 if ac_fn_cxx_try_compile "$LINENO"; then :
24396 glibcxx_cv_func_logf_use=yes
24397 else
24398 glibcxx_cv_func_logf_use=no
24400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 ac_ext=c
24402 ac_cpp='$CPP $CPPFLAGS'
24403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24412 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24414 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24415 for ac_func in logf
24416 do :
24417 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24418 if test "x$ac_cv_func_logf" = x""yes; then :
24419 cat >>confdefs.h <<_ACEOF
24420 #define HAVE_LOGF 1
24421 _ACEOF
24424 done
24426 else
24428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24429 $as_echo_n "checking for _logf declaration... " >&6; }
24430 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24431 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24432 $as_echo_n "(cached) " >&6
24433 else
24436 ac_ext=cpp
24437 ac_cpp='$CXXCPP $CPPFLAGS'
24438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24443 /* end confdefs.h. */
24444 #include <math.h>
24445 #ifdef HAVE_IEEEFP_H
24446 #include <ieeefp.h>
24447 #endif
24450 main ()
24452 _logf(0);
24454 return 0;
24456 _ACEOF
24457 if ac_fn_cxx_try_compile "$LINENO"; then :
24458 glibcxx_cv_func__logf_use=yes
24459 else
24460 glibcxx_cv_func__logf_use=no
24462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24463 ac_ext=c
24464 ac_cpp='$CPP $CPPFLAGS'
24465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24474 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24476 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24477 for ac_func in _logf
24478 do :
24479 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24480 if test "x$ac_cv_func__logf" = x""yes; then :
24481 cat >>confdefs.h <<_ACEOF
24482 #define HAVE__LOGF 1
24483 _ACEOF
24486 done
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24496 $as_echo_n "checking for log10f declaration... " >&6; }
24497 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24498 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24499 $as_echo_n "(cached) " >&6
24500 else
24503 ac_ext=cpp
24504 ac_cpp='$CXXCPP $CPPFLAGS'
24505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h. */
24511 #include <math.h>
24512 #ifdef HAVE_IEEEFP_H
24513 #include <ieeefp.h>
24514 #endif
24517 main ()
24519 log10f(0);
24521 return 0;
24523 _ACEOF
24524 if ac_fn_cxx_try_compile "$LINENO"; then :
24525 glibcxx_cv_func_log10f_use=yes
24526 else
24527 glibcxx_cv_func_log10f_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_log10f_use" >&5
24541 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24543 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24544 for ac_func in log10f
24545 do :
24546 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24547 if test "x$ac_cv_func_log10f" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_LOG10F 1
24550 _ACEOF
24553 done
24555 else
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24558 $as_echo_n "checking for _log10f declaration... " >&6; }
24559 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24560 if test "${glibcxx_cv_func__log10f_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>
24574 #ifdef HAVE_IEEEFP_H
24575 #include <ieeefp.h>
24576 #endif
24579 main ()
24581 _log10f(0);
24583 return 0;
24585 _ACEOF
24586 if ac_fn_cxx_try_compile "$LINENO"; then :
24587 glibcxx_cv_func__log10f_use=yes
24588 else
24589 glibcxx_cv_func__log10f_use=no
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 ac_ext=c
24593 ac_cpp='$CPP $CPPFLAGS'
24594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24603 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24605 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24606 for ac_func in _log10f
24607 do :
24608 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24609 if test "x$ac_cv_func__log10f" = x""yes; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define HAVE__LOG10F 1
24612 _ACEOF
24615 done
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24625 $as_echo_n "checking for modff declaration... " >&6; }
24626 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24627 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24628 $as_echo_n "(cached) " >&6
24629 else
24632 ac_ext=cpp
24633 ac_cpp='$CXXCPP $CPPFLAGS'
24634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h. */
24640 #include <math.h>
24642 main ()
24644 modff(0, 0);
24646 return 0;
24648 _ACEOF
24649 if ac_fn_cxx_try_compile "$LINENO"; then :
24650 glibcxx_cv_func_modff_use=yes
24651 else
24652 glibcxx_cv_func_modff_use=no
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655 ac_ext=c
24656 ac_cpp='$CPP $CPPFLAGS'
24657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24666 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24668 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24669 for ac_func in modff
24670 do :
24671 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24672 if test "x$ac_cv_func_modff" = x""yes; then :
24673 cat >>confdefs.h <<_ACEOF
24674 #define HAVE_MODFF 1
24675 _ACEOF
24678 done
24680 else
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24683 $as_echo_n "checking for _modff declaration... " >&6; }
24684 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24685 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24686 $as_echo_n "(cached) " >&6
24687 else
24690 ac_ext=cpp
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24697 /* end confdefs.h. */
24698 #include <math.h>
24700 main ()
24702 _modff(0, 0);
24704 return 0;
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func__modff_use=yes
24709 else
24710 glibcxx_cv_func__modff_use=no
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24724 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24726 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24727 for ac_func in _modff
24728 do :
24729 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24730 if test "x$ac_cv_func__modff" = x""yes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE__MODFF 1
24733 _ACEOF
24736 done
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24746 $as_echo_n "checking for modf declaration... " >&6; }
24747 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24748 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24749 $as_echo_n "(cached) " >&6
24750 else
24753 ac_ext=cpp
24754 ac_cpp='$CXXCPP $CPPFLAGS'
24755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24761 #include <math.h>
24763 main ()
24765 modf(0, 0);
24767 return 0;
24769 _ACEOF
24770 if ac_fn_cxx_try_compile "$LINENO"; then :
24771 glibcxx_cv_func_modf_use=yes
24772 else
24773 glibcxx_cv_func_modf_use=no
24775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24776 ac_ext=c
24777 ac_cpp='$CPP $CPPFLAGS'
24778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24787 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24789 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24790 for ac_func in modf
24791 do :
24792 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24793 if test "x$ac_cv_func_modf" = x""yes; then :
24794 cat >>confdefs.h <<_ACEOF
24795 #define HAVE_MODF 1
24796 _ACEOF
24799 done
24801 else
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24804 $as_echo_n "checking for _modf declaration... " >&6; }
24805 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24806 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24807 $as_echo_n "(cached) " >&6
24808 else
24811 ac_ext=cpp
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 /* end confdefs.h. */
24819 #include <math.h>
24821 main ()
24823 _modf(0, 0);
24825 return 0;
24827 _ACEOF
24828 if ac_fn_cxx_try_compile "$LINENO"; then :
24829 glibcxx_cv_func__modf_use=yes
24830 else
24831 glibcxx_cv_func__modf_use=no
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24834 ac_ext=c
24835 ac_cpp='$CPP $CPPFLAGS'
24836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24845 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24847 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24848 for ac_func in _modf
24849 do :
24850 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24851 if test "x$ac_cv_func__modf" = x""yes; then :
24852 cat >>confdefs.h <<_ACEOF
24853 #define HAVE__MODF 1
24854 _ACEOF
24857 done
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24867 $as_echo_n "checking for powf declaration... " >&6; }
24868 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24869 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24870 $as_echo_n "(cached) " >&6
24871 else
24874 ac_ext=cpp
24875 ac_cpp='$CXXCPP $CPPFLAGS'
24876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24881 /* end confdefs.h. */
24882 #include <math.h>
24884 main ()
24886 powf(0, 0);
24888 return 0;
24890 _ACEOF
24891 if ac_fn_cxx_try_compile "$LINENO"; then :
24892 glibcxx_cv_func_powf_use=yes
24893 else
24894 glibcxx_cv_func_powf_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_powf_use" >&5
24908 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24910 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24911 for ac_func in powf
24912 do :
24913 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24914 if test "x$ac_cv_func_powf" = x""yes; then :
24915 cat >>confdefs.h <<_ACEOF
24916 #define HAVE_POWF 1
24917 _ACEOF
24920 done
24922 else
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24925 $as_echo_n "checking for _powf declaration... " >&6; }
24926 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24927 if test "${glibcxx_cv_func__powf_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>
24942 main ()
24944 _powf(0, 0);
24946 return 0;
24948 _ACEOF
24949 if ac_fn_cxx_try_compile "$LINENO"; then :
24950 glibcxx_cv_func__powf_use=yes
24951 else
24952 glibcxx_cv_func__powf_use=no
24954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955 ac_ext=c
24956 ac_cpp='$CPP $CPPFLAGS'
24957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24966 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24968 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24969 for ac_func in _powf
24970 do :
24971 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24972 if test "x$ac_cv_func__powf" = x""yes; then :
24973 cat >>confdefs.h <<_ACEOF
24974 #define HAVE__POWF 1
24975 _ACEOF
24978 done
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24988 $as_echo_n "checking for sqrtf declaration... " >&6; }
24989 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24990 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24991 $as_echo_n "(cached) " >&6
24992 else
24995 ac_ext=cpp
24996 ac_cpp='$CXXCPP $CPPFLAGS'
24997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25002 /* end confdefs.h. */
25003 #include <math.h>
25004 #ifdef HAVE_IEEEFP_H
25005 #include <ieeefp.h>
25006 #endif
25009 main ()
25011 sqrtf(0);
25013 return 0;
25015 _ACEOF
25016 if ac_fn_cxx_try_compile "$LINENO"; then :
25017 glibcxx_cv_func_sqrtf_use=yes
25018 else
25019 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
25033 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25035 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25036 for ac_func in sqrtf
25037 do :
25038 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25039 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25040 cat >>confdefs.h <<_ACEOF
25041 #define HAVE_SQRTF 1
25042 _ACEOF
25045 done
25047 else
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25050 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25051 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25052 if test "${glibcxx_cv_func__sqrtf_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>
25066 #ifdef HAVE_IEEEFP_H
25067 #include <ieeefp.h>
25068 #endif
25071 main ()
25073 _sqrtf(0);
25075 return 0;
25077 _ACEOF
25078 if ac_fn_cxx_try_compile "$LINENO"; then :
25079 glibcxx_cv_func__sqrtf_use=yes
25080 else
25081 glibcxx_cv_func__sqrtf_use=no
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 ac_ext=c
25085 ac_cpp='$CPP $CPPFLAGS'
25086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25095 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25097 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25098 for ac_func in _sqrtf
25099 do :
25100 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25101 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25102 cat >>confdefs.h <<_ACEOF
25103 #define HAVE__SQRTF 1
25104 _ACEOF
25107 done
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25117 $as_echo_n "checking for sincosf declaration... " >&6; }
25118 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25119 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25120 $as_echo_n "(cached) " >&6
25121 else
25124 ac_ext=cpp
25125 ac_cpp='$CXXCPP $CPPFLAGS'
25126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25131 /* end confdefs.h. */
25132 #include <math.h>
25134 main ()
25136 sincosf(0, 0, 0);
25138 return 0;
25140 _ACEOF
25141 if ac_fn_cxx_try_compile "$LINENO"; then :
25142 glibcxx_cv_func_sincosf_use=yes
25143 else
25144 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
25158 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25160 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25161 for ac_func in sincosf
25162 do :
25163 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25164 if test "x$ac_cv_func_sincosf" = x""yes; then :
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_SINCOSF 1
25167 _ACEOF
25170 done
25172 else
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25175 $as_echo_n "checking for _sincosf declaration... " >&6; }
25176 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25177 if test "${glibcxx_cv_func__sincosf_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>
25192 main ()
25194 _sincosf(0, 0, 0);
25196 return 0;
25198 _ACEOF
25199 if ac_fn_cxx_try_compile "$LINENO"; then :
25200 glibcxx_cv_func__sincosf_use=yes
25201 else
25202 glibcxx_cv_func__sincosf_use=no
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25216 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25218 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25219 for ac_func in _sincosf
25220 do :
25221 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25222 if test "x$ac_cv_func__sincosf" = x""yes; then :
25223 cat >>confdefs.h <<_ACEOF
25224 #define HAVE__SINCOSF 1
25225 _ACEOF
25228 done
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25238 $as_echo_n "checking for finitef declaration... " >&6; }
25239 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25240 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25241 $as_echo_n "(cached) " >&6
25242 else
25245 ac_ext=cpp
25246 ac_cpp='$CXXCPP $CPPFLAGS'
25247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25253 #include <math.h>
25254 #ifdef HAVE_IEEEFP_H
25255 #include <ieeefp.h>
25256 #endif
25259 main ()
25261 finitef(0);
25263 return 0;
25265 _ACEOF
25266 if ac_fn_cxx_try_compile "$LINENO"; then :
25267 glibcxx_cv_func_finitef_use=yes
25268 else
25269 glibcxx_cv_func_finitef_use=no
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 ac_ext=c
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25283 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25285 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25286 for ac_func in finitef
25287 do :
25288 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25289 if test "x$ac_cv_func_finitef" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define HAVE_FINITEF 1
25292 _ACEOF
25295 done
25297 else
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25300 $as_echo_n "checking for _finitef declaration... " >&6; }
25301 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25302 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25307 ac_ext=cpp
25308 ac_cpp='$CXXCPP $CPPFLAGS'
25309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25315 #include <math.h>
25316 #ifdef HAVE_IEEEFP_H
25317 #include <ieeefp.h>
25318 #endif
25321 main ()
25323 _finitef(0);
25325 return 0;
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func__finitef_use=yes
25330 else
25331 glibcxx_cv_func__finitef_use=no
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25345 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25347 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25348 for ac_func in _finitef
25349 do :
25350 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25351 if test "x$ac_cv_func__finitef" = x""yes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE__FINITEF 1
25354 _ACEOF
25357 done
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25367 $as_echo_n "checking for long double trig functions... " >&6; }
25368 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25383 main ()
25385 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25387 return 0;
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func_long_double_trig_use=yes
25392 else
25393 glibcxx_cv_func_long_double_trig_use=no
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25405 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25406 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25407 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25408 do :
25409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25411 eval as_val=\$$as_ac_var
25412 if test "x$as_val" = x""yes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25415 _ACEOF
25418 done
25420 else
25421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25422 $as_echo_n "checking for _long double trig functions... " >&6; }
25423 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25424 $as_echo_n "(cached) " >&6
25425 else
25428 ac_ext=cpp
25429 ac_cpp='$CXXCPP $CPPFLAGS'
25430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25435 /* end confdefs.h. */
25436 #include <math.h>
25438 main ()
25440 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25442 return 0;
25444 _ACEOF
25445 if ac_fn_cxx_try_compile "$LINENO"; then :
25446 glibcxx_cv_func__long_double_trig_use=yes
25447 else
25448 glibcxx_cv_func__long_double_trig_use=no
25450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25451 ac_ext=c
25452 ac_cpp='$CPP $CPPFLAGS'
25453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25460 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25461 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25462 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25463 do :
25464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25466 eval as_val=\$$as_ac_var
25467 if test "x$as_val" = x""yes; then :
25468 cat >>confdefs.h <<_ACEOF
25469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25470 _ACEOF
25473 done
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25483 $as_echo_n "checking for long double round functions... " >&6; }
25484 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25485 $as_echo_n "(cached) " >&6
25486 else
25489 ac_ext=cpp
25490 ac_cpp='$CXXCPP $CPPFLAGS'
25491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25496 /* end confdefs.h. */
25497 #include <math.h>
25499 main ()
25501 ceill (0); floorl (0);
25503 return 0;
25505 _ACEOF
25506 if ac_fn_cxx_try_compile "$LINENO"; then :
25507 glibcxx_cv_func_long_double_round_use=yes
25508 else
25509 glibcxx_cv_func_long_double_round_use=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512 ac_ext=c
25513 ac_cpp='$CPP $CPPFLAGS'
25514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25521 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25522 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25523 for ac_func in ceill floorl
25524 do :
25525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25527 eval as_val=\$$as_ac_var
25528 if test "x$as_val" = x""yes; then :
25529 cat >>confdefs.h <<_ACEOF
25530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25531 _ACEOF
25534 done
25536 else
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25538 $as_echo_n "checking for _long double round functions... " >&6; }
25539 if test "${glibcxx_cv_func__long_double_round_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>
25554 main ()
25556 _ceill (0); _floorl (0);
25558 return 0;
25560 _ACEOF
25561 if ac_fn_cxx_try_compile "$LINENO"; then :
25562 glibcxx_cv_func__long_double_round_use=yes
25563 else
25564 glibcxx_cv_func__long_double_round_use=no
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25567 ac_ext=c
25568 ac_cpp='$CPP $CPPFLAGS'
25569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25576 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25577 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25578 for ac_func in _ceill _floorl
25579 do :
25580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25582 eval as_val=\$$as_ac_var
25583 if test "x$as_val" = x""yes; then :
25584 cat >>confdefs.h <<_ACEOF
25585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25586 _ACEOF
25589 done
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25600 $as_echo_n "checking for isnanl declaration... " >&6; }
25601 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25602 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25603 $as_echo_n "(cached) " >&6
25604 else
25607 ac_ext=cpp
25608 ac_cpp='$CXXCPP $CPPFLAGS'
25609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25614 /* end confdefs.h. */
25615 #include <math.h>
25616 #ifdef HAVE_IEEEFP_H
25617 #include <ieeefp.h>
25618 #endif
25621 main ()
25623 isnanl(0);
25625 return 0;
25627 _ACEOF
25628 if ac_fn_cxx_try_compile "$LINENO"; then :
25629 glibcxx_cv_func_isnanl_use=yes
25630 else
25631 glibcxx_cv_func_isnanl_use=no
25633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25634 ac_ext=c
25635 ac_cpp='$CPP $CPPFLAGS'
25636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25645 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25647 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25648 for ac_func in isnanl
25649 do :
25650 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25651 if test "x$ac_cv_func_isnanl" = x""yes; then :
25652 cat >>confdefs.h <<_ACEOF
25653 #define HAVE_ISNANL 1
25654 _ACEOF
25657 done
25659 else
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25662 $as_echo_n "checking for _isnanl declaration... " >&6; }
25663 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25664 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25665 $as_echo_n "(cached) " >&6
25666 else
25669 ac_ext=cpp
25670 ac_cpp='$CXXCPP $CPPFLAGS'
25671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25676 /* end confdefs.h. */
25677 #include <math.h>
25678 #ifdef HAVE_IEEEFP_H
25679 #include <ieeefp.h>
25680 #endif
25683 main ()
25685 _isnanl(0);
25687 return 0;
25689 _ACEOF
25690 if ac_fn_cxx_try_compile "$LINENO"; then :
25691 glibcxx_cv_func__isnanl_use=yes
25692 else
25693 glibcxx_cv_func__isnanl_use=no
25695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25696 ac_ext=c
25697 ac_cpp='$CPP $CPPFLAGS'
25698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25707 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25709 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25710 for ac_func in _isnanl
25711 do :
25712 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25713 if test "x$ac_cv_func__isnanl" = x""yes; then :
25714 cat >>confdefs.h <<_ACEOF
25715 #define HAVE__ISNANL 1
25716 _ACEOF
25719 done
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25729 $as_echo_n "checking for isinfl declaration... " >&6; }
25730 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25731 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25732 $as_echo_n "(cached) " >&6
25733 else
25736 ac_ext=cpp
25737 ac_cpp='$CXXCPP $CPPFLAGS'
25738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h. */
25744 #include <math.h>
25745 #ifdef HAVE_IEEEFP_H
25746 #include <ieeefp.h>
25747 #endif
25750 main ()
25752 isinfl(0);
25754 return 0;
25756 _ACEOF
25757 if ac_fn_cxx_try_compile "$LINENO"; then :
25758 glibcxx_cv_func_isinfl_use=yes
25759 else
25760 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
25774 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25776 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25777 for ac_func in isinfl
25778 do :
25779 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25780 if test "x$ac_cv_func_isinfl" = x""yes; then :
25781 cat >>confdefs.h <<_ACEOF
25782 #define HAVE_ISINFL 1
25783 _ACEOF
25786 done
25788 else
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25791 $as_echo_n "checking for _isinfl declaration... " >&6; }
25792 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25793 if test "${glibcxx_cv_func__isinfl_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>
25807 #ifdef HAVE_IEEEFP_H
25808 #include <ieeefp.h>
25809 #endif
25812 main ()
25814 _isinfl(0);
25816 return 0;
25818 _ACEOF
25819 if ac_fn_cxx_try_compile "$LINENO"; then :
25820 glibcxx_cv_func__isinfl_use=yes
25821 else
25822 glibcxx_cv_func__isinfl_use=no
25824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825 ac_ext=c
25826 ac_cpp='$CPP $CPPFLAGS'
25827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25836 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25838 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25839 for ac_func in _isinfl
25840 do :
25841 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25842 if test "x$ac_cv_func__isinfl" = x""yes; then :
25843 cat >>confdefs.h <<_ACEOF
25844 #define HAVE__ISINFL 1
25845 _ACEOF
25848 done
25857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25858 $as_echo_n "checking for atan2l declaration... " >&6; }
25859 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25860 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25861 $as_echo_n "(cached) " >&6
25862 else
25865 ac_ext=cpp
25866 ac_cpp='$CXXCPP $CPPFLAGS'
25867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25872 /* end confdefs.h. */
25873 #include <math.h>
25875 main ()
25877 atan2l(0, 0);
25879 return 0;
25881 _ACEOF
25882 if ac_fn_cxx_try_compile "$LINENO"; then :
25883 glibcxx_cv_func_atan2l_use=yes
25884 else
25885 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
25899 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25901 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25902 for ac_func in atan2l
25903 do :
25904 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25905 if test "x$ac_cv_func_atan2l" = x""yes; then :
25906 cat >>confdefs.h <<_ACEOF
25907 #define HAVE_ATAN2L 1
25908 _ACEOF
25911 done
25913 else
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25916 $as_echo_n "checking for _atan2l declaration... " >&6; }
25917 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25918 if test "${glibcxx_cv_func__atan2l_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>
25933 main ()
25935 _atan2l(0, 0);
25937 return 0;
25939 _ACEOF
25940 if ac_fn_cxx_try_compile "$LINENO"; then :
25941 glibcxx_cv_func__atan2l_use=yes
25942 else
25943 glibcxx_cv_func__atan2l_use=no
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25946 ac_ext=c
25947 ac_cpp='$CPP $CPPFLAGS'
25948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25957 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25959 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25960 for ac_func in _atan2l
25961 do :
25962 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25963 if test "x$ac_cv_func__atan2l" = x""yes; then :
25964 cat >>confdefs.h <<_ACEOF
25965 #define HAVE__ATAN2L 1
25966 _ACEOF
25969 done
25978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25979 $as_echo_n "checking for expl declaration... " >&6; }
25980 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25981 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25982 $as_echo_n "(cached) " >&6
25983 else
25986 ac_ext=cpp
25987 ac_cpp='$CXXCPP $CPPFLAGS'
25988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25993 /* end confdefs.h. */
25994 #include <math.h>
25995 #ifdef HAVE_IEEEFP_H
25996 #include <ieeefp.h>
25997 #endif
26000 main ()
26002 expl(0);
26004 return 0;
26006 _ACEOF
26007 if ac_fn_cxx_try_compile "$LINENO"; then :
26008 glibcxx_cv_func_expl_use=yes
26009 else
26010 glibcxx_cv_func_expl_use=no
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26013 ac_ext=c
26014 ac_cpp='$CPP $CPPFLAGS'
26015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26024 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26026 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26027 for ac_func in expl
26028 do :
26029 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26030 if test "x$ac_cv_func_expl" = x""yes; then :
26031 cat >>confdefs.h <<_ACEOF
26032 #define HAVE_EXPL 1
26033 _ACEOF
26036 done
26038 else
26040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26041 $as_echo_n "checking for _expl declaration... " >&6; }
26042 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26043 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26044 $as_echo_n "(cached) " >&6
26045 else
26048 ac_ext=cpp
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26055 /* end confdefs.h. */
26056 #include <math.h>
26057 #ifdef HAVE_IEEEFP_H
26058 #include <ieeefp.h>
26059 #endif
26062 main ()
26064 _expl(0);
26066 return 0;
26068 _ACEOF
26069 if ac_fn_cxx_try_compile "$LINENO"; then :
26070 glibcxx_cv_func__expl_use=yes
26071 else
26072 glibcxx_cv_func__expl_use=no
26074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26075 ac_ext=c
26076 ac_cpp='$CPP $CPPFLAGS'
26077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26086 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26088 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26089 for ac_func in _expl
26090 do :
26091 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26092 if test "x$ac_cv_func__expl" = x""yes; then :
26093 cat >>confdefs.h <<_ACEOF
26094 #define HAVE__EXPL 1
26095 _ACEOF
26098 done
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26108 $as_echo_n "checking for fabsl declaration... " >&6; }
26109 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26110 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26115 ac_ext=cpp
26116 ac_cpp='$CXXCPP $CPPFLAGS'
26117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123 #include <math.h>
26124 #ifdef HAVE_IEEEFP_H
26125 #include <ieeefp.h>
26126 #endif
26129 main ()
26131 fabsl(0);
26133 return 0;
26135 _ACEOF
26136 if ac_fn_cxx_try_compile "$LINENO"; then :
26137 glibcxx_cv_func_fabsl_use=yes
26138 else
26139 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
26153 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26155 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26156 for ac_func in fabsl
26157 do :
26158 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26159 if test "x$ac_cv_func_fabsl" = x""yes; then :
26160 cat >>confdefs.h <<_ACEOF
26161 #define HAVE_FABSL 1
26162 _ACEOF
26165 done
26167 else
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26170 $as_echo_n "checking for _fabsl declaration... " >&6; }
26171 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26172 if test "${glibcxx_cv_func__fabsl_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>
26186 #ifdef HAVE_IEEEFP_H
26187 #include <ieeefp.h>
26188 #endif
26191 main ()
26193 _fabsl(0);
26195 return 0;
26197 _ACEOF
26198 if ac_fn_cxx_try_compile "$LINENO"; then :
26199 glibcxx_cv_func__fabsl_use=yes
26200 else
26201 glibcxx_cv_func__fabsl_use=no
26203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26204 ac_ext=c
26205 ac_cpp='$CPP $CPPFLAGS'
26206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26215 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26217 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26218 for ac_func in _fabsl
26219 do :
26220 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26221 if test "x$ac_cv_func__fabsl" = x""yes; then :
26222 cat >>confdefs.h <<_ACEOF
26223 #define HAVE__FABSL 1
26224 _ACEOF
26227 done
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26237 $as_echo_n "checking for fmodl declaration... " >&6; }
26238 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26239 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26240 $as_echo_n "(cached) " >&6
26241 else
26244 ac_ext=cpp
26245 ac_cpp='$CXXCPP $CPPFLAGS'
26246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h. */
26252 #include <math.h>
26254 main ()
26256 fmodl(0, 0);
26258 return 0;
26260 _ACEOF
26261 if ac_fn_cxx_try_compile "$LINENO"; then :
26262 glibcxx_cv_func_fmodl_use=yes
26263 else
26264 glibcxx_cv_func_fmodl_use=no
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26278 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26280 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26281 for ac_func in fmodl
26282 do :
26283 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26284 if test "x$ac_cv_func_fmodl" = x""yes; then :
26285 cat >>confdefs.h <<_ACEOF
26286 #define HAVE_FMODL 1
26287 _ACEOF
26290 done
26292 else
26294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26295 $as_echo_n "checking for _fmodl declaration... " >&6; }
26296 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26297 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26298 $as_echo_n "(cached) " >&6
26299 else
26302 ac_ext=cpp
26303 ac_cpp='$CXXCPP $CPPFLAGS'
26304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26309 /* end confdefs.h. */
26310 #include <math.h>
26312 main ()
26314 _fmodl(0, 0);
26316 return 0;
26318 _ACEOF
26319 if ac_fn_cxx_try_compile "$LINENO"; then :
26320 glibcxx_cv_func__fmodl_use=yes
26321 else
26322 glibcxx_cv_func__fmodl_use=no
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325 ac_ext=c
26326 ac_cpp='$CPP $CPPFLAGS'
26327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26336 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26338 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26339 for ac_func in _fmodl
26340 do :
26341 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26342 if test "x$ac_cv_func__fmodl" = x""yes; then :
26343 cat >>confdefs.h <<_ACEOF
26344 #define HAVE__FMODL 1
26345 _ACEOF
26348 done
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26358 $as_echo_n "checking for frexpl declaration... " >&6; }
26359 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26360 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26365 ac_ext=cpp
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26373 #include <math.h>
26375 main ()
26377 frexpl(0, 0);
26379 return 0;
26381 _ACEOF
26382 if ac_fn_cxx_try_compile "$LINENO"; then :
26383 glibcxx_cv_func_frexpl_use=yes
26384 else
26385 glibcxx_cv_func_frexpl_use=no
26387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26388 ac_ext=c
26389 ac_cpp='$CPP $CPPFLAGS'
26390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26399 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26401 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26402 for ac_func in frexpl
26403 do :
26404 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26405 if test "x$ac_cv_func_frexpl" = x""yes; then :
26406 cat >>confdefs.h <<_ACEOF
26407 #define HAVE_FREXPL 1
26408 _ACEOF
26411 done
26413 else
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26416 $as_echo_n "checking for _frexpl declaration... " >&6; }
26417 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26418 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26419 $as_echo_n "(cached) " >&6
26420 else
26423 ac_ext=cpp
26424 ac_cpp='$CXXCPP $CPPFLAGS'
26425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <math.h>
26433 main ()
26435 _frexpl(0, 0);
26437 return 0;
26439 _ACEOF
26440 if ac_fn_cxx_try_compile "$LINENO"; then :
26441 glibcxx_cv_func__frexpl_use=yes
26442 else
26443 glibcxx_cv_func__frexpl_use=no
26445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26446 ac_ext=c
26447 ac_cpp='$CPP $CPPFLAGS'
26448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26457 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26459 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26460 for ac_func in _frexpl
26461 do :
26462 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26463 if test "x$ac_cv_func__frexpl" = x""yes; then :
26464 cat >>confdefs.h <<_ACEOF
26465 #define HAVE__FREXPL 1
26466 _ACEOF
26469 done
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26479 $as_echo_n "checking for hypotl declaration... " >&6; }
26480 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26481 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26482 $as_echo_n "(cached) " >&6
26483 else
26486 ac_ext=cpp
26487 ac_cpp='$CXXCPP $CPPFLAGS'
26488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26494 #include <math.h>
26496 main ()
26498 hypotl(0, 0);
26500 return 0;
26502 _ACEOF
26503 if ac_fn_cxx_try_compile "$LINENO"; then :
26504 glibcxx_cv_func_hypotl_use=yes
26505 else
26506 glibcxx_cv_func_hypotl_use=no
26508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26509 ac_ext=c
26510 ac_cpp='$CPP $CPPFLAGS'
26511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26520 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26522 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26523 for ac_func in hypotl
26524 do :
26525 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26526 if test "x$ac_cv_func_hypotl" = x""yes; then :
26527 cat >>confdefs.h <<_ACEOF
26528 #define HAVE_HYPOTL 1
26529 _ACEOF
26532 done
26534 else
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26537 $as_echo_n "checking for _hypotl declaration... " >&6; }
26538 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26539 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26540 $as_echo_n "(cached) " >&6
26541 else
26544 ac_ext=cpp
26545 ac_cpp='$CXXCPP $CPPFLAGS'
26546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26551 /* end confdefs.h. */
26552 #include <math.h>
26554 main ()
26556 _hypotl(0, 0);
26558 return 0;
26560 _ACEOF
26561 if ac_fn_cxx_try_compile "$LINENO"; then :
26562 glibcxx_cv_func__hypotl_use=yes
26563 else
26564 glibcxx_cv_func__hypotl_use=no
26566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26567 ac_ext=c
26568 ac_cpp='$CPP $CPPFLAGS'
26569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26578 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26580 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26581 for ac_func in _hypotl
26582 do :
26583 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26584 if test "x$ac_cv_func__hypotl" = x""yes; then :
26585 cat >>confdefs.h <<_ACEOF
26586 #define HAVE__HYPOTL 1
26587 _ACEOF
26590 done
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26600 $as_echo_n "checking for ldexpl declaration... " >&6; }
26601 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26602 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26603 $as_echo_n "(cached) " >&6
26604 else
26607 ac_ext=cpp
26608 ac_cpp='$CXXCPP $CPPFLAGS'
26609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26614 /* end confdefs.h. */
26615 #include <math.h>
26617 main ()
26619 ldexpl(0, 0);
26621 return 0;
26623 _ACEOF
26624 if ac_fn_cxx_try_compile "$LINENO"; then :
26625 glibcxx_cv_func_ldexpl_use=yes
26626 else
26627 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
26641 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26643 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26644 for ac_func in ldexpl
26645 do :
26646 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26647 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26648 cat >>confdefs.h <<_ACEOF
26649 #define HAVE_LDEXPL 1
26650 _ACEOF
26653 done
26655 else
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26658 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26659 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26660 if test "${glibcxx_cv_func__ldexpl_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>
26675 main ()
26677 _ldexpl(0, 0);
26679 return 0;
26681 _ACEOF
26682 if ac_fn_cxx_try_compile "$LINENO"; then :
26683 glibcxx_cv_func__ldexpl_use=yes
26684 else
26685 glibcxx_cv_func__ldexpl_use=no
26687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26688 ac_ext=c
26689 ac_cpp='$CPP $CPPFLAGS'
26690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26699 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26701 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26702 for ac_func in _ldexpl
26703 do :
26704 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26705 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26706 cat >>confdefs.h <<_ACEOF
26707 #define HAVE__LDEXPL 1
26708 _ACEOF
26711 done
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26721 $as_echo_n "checking for logl declaration... " >&6; }
26722 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26723 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26724 $as_echo_n "(cached) " >&6
26725 else
26728 ac_ext=cpp
26729 ac_cpp='$CXXCPP $CPPFLAGS'
26730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26735 /* end confdefs.h. */
26736 #include <math.h>
26737 #ifdef HAVE_IEEEFP_H
26738 #include <ieeefp.h>
26739 #endif
26742 main ()
26744 logl(0);
26746 return 0;
26748 _ACEOF
26749 if ac_fn_cxx_try_compile "$LINENO"; then :
26750 glibcxx_cv_func_logl_use=yes
26751 else
26752 glibcxx_cv_func_logl_use=no
26754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26755 ac_ext=c
26756 ac_cpp='$CPP $CPPFLAGS'
26757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26766 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26768 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26769 for ac_func in logl
26770 do :
26771 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26772 if test "x$ac_cv_func_logl" = x""yes; then :
26773 cat >>confdefs.h <<_ACEOF
26774 #define HAVE_LOGL 1
26775 _ACEOF
26778 done
26780 else
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26783 $as_echo_n "checking for _logl declaration... " >&6; }
26784 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26785 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26786 $as_echo_n "(cached) " >&6
26787 else
26790 ac_ext=cpp
26791 ac_cpp='$CXXCPP $CPPFLAGS'
26792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26797 /* end confdefs.h. */
26798 #include <math.h>
26799 #ifdef HAVE_IEEEFP_H
26800 #include <ieeefp.h>
26801 #endif
26804 main ()
26806 _logl(0);
26808 return 0;
26810 _ACEOF
26811 if ac_fn_cxx_try_compile "$LINENO"; then :
26812 glibcxx_cv_func__logl_use=yes
26813 else
26814 glibcxx_cv_func__logl_use=no
26816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817 ac_ext=c
26818 ac_cpp='$CPP $CPPFLAGS'
26819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26828 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26830 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26831 for ac_func in _logl
26832 do :
26833 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26834 if test "x$ac_cv_func__logl" = x""yes; then :
26835 cat >>confdefs.h <<_ACEOF
26836 #define HAVE__LOGL 1
26837 _ACEOF
26840 done
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26850 $as_echo_n "checking for log10l declaration... " >&6; }
26851 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26852 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26853 $as_echo_n "(cached) " >&6
26854 else
26857 ac_ext=cpp
26858 ac_cpp='$CXXCPP $CPPFLAGS'
26859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26864 /* end confdefs.h. */
26865 #include <math.h>
26866 #ifdef HAVE_IEEEFP_H
26867 #include <ieeefp.h>
26868 #endif
26871 main ()
26873 log10l(0);
26875 return 0;
26877 _ACEOF
26878 if ac_fn_cxx_try_compile "$LINENO"; then :
26879 glibcxx_cv_func_log10l_use=yes
26880 else
26881 glibcxx_cv_func_log10l_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_log10l_use" >&5
26895 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26897 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26898 for ac_func in log10l
26899 do :
26900 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26901 if test "x$ac_cv_func_log10l" = x""yes; then :
26902 cat >>confdefs.h <<_ACEOF
26903 #define HAVE_LOG10L 1
26904 _ACEOF
26907 done
26909 else
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26912 $as_echo_n "checking for _log10l declaration... " >&6; }
26913 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26914 if test "${glibcxx_cv_func__log10l_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>
26928 #ifdef HAVE_IEEEFP_H
26929 #include <ieeefp.h>
26930 #endif
26933 main ()
26935 _log10l(0);
26937 return 0;
26939 _ACEOF
26940 if ac_fn_cxx_try_compile "$LINENO"; then :
26941 glibcxx_cv_func__log10l_use=yes
26942 else
26943 glibcxx_cv_func__log10l_use=no
26945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26946 ac_ext=c
26947 ac_cpp='$CPP $CPPFLAGS'
26948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26957 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26959 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26960 for ac_func in _log10l
26961 do :
26962 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26963 if test "x$ac_cv_func__log10l" = x""yes; then :
26964 cat >>confdefs.h <<_ACEOF
26965 #define HAVE__LOG10L 1
26966 _ACEOF
26969 done
26978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26979 $as_echo_n "checking for modfl declaration... " >&6; }
26980 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26981 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26982 $as_echo_n "(cached) " >&6
26983 else
26986 ac_ext=cpp
26987 ac_cpp='$CXXCPP $CPPFLAGS'
26988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26994 #include <math.h>
26996 main ()
26998 modfl(0, 0);
27000 return 0;
27002 _ACEOF
27003 if ac_fn_cxx_try_compile "$LINENO"; then :
27004 glibcxx_cv_func_modfl_use=yes
27005 else
27006 glibcxx_cv_func_modfl_use=no
27008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27009 ac_ext=c
27010 ac_cpp='$CPP $CPPFLAGS'
27011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27020 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27022 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27023 for ac_func in modfl
27024 do :
27025 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27026 if test "x$ac_cv_func_modfl" = x""yes; then :
27027 cat >>confdefs.h <<_ACEOF
27028 #define HAVE_MODFL 1
27029 _ACEOF
27032 done
27034 else
27036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27037 $as_echo_n "checking for _modfl declaration... " >&6; }
27038 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27039 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27040 $as_echo_n "(cached) " >&6
27041 else
27044 ac_ext=cpp
27045 ac_cpp='$CXXCPP $CPPFLAGS'
27046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27051 /* end confdefs.h. */
27052 #include <math.h>
27054 main ()
27056 _modfl(0, 0);
27058 return 0;
27060 _ACEOF
27061 if ac_fn_cxx_try_compile "$LINENO"; then :
27062 glibcxx_cv_func__modfl_use=yes
27063 else
27064 glibcxx_cv_func__modfl_use=no
27066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27067 ac_ext=c
27068 ac_cpp='$CPP $CPPFLAGS'
27069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27078 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27080 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27081 for ac_func in _modfl
27082 do :
27083 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27084 if test "x$ac_cv_func__modfl" = x""yes; then :
27085 cat >>confdefs.h <<_ACEOF
27086 #define HAVE__MODFL 1
27087 _ACEOF
27090 done
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27100 $as_echo_n "checking for powl declaration... " >&6; }
27101 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27102 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27103 $as_echo_n "(cached) " >&6
27104 else
27107 ac_ext=cpp
27108 ac_cpp='$CXXCPP $CPPFLAGS'
27109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27114 /* end confdefs.h. */
27115 #include <math.h>
27117 main ()
27119 powl(0, 0);
27121 return 0;
27123 _ACEOF
27124 if ac_fn_cxx_try_compile "$LINENO"; then :
27125 glibcxx_cv_func_powl_use=yes
27126 else
27127 glibcxx_cv_func_powl_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_powl_use" >&5
27141 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27143 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27144 for ac_func in powl
27145 do :
27146 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27147 if test "x$ac_cv_func_powl" = x""yes; then :
27148 cat >>confdefs.h <<_ACEOF
27149 #define HAVE_POWL 1
27150 _ACEOF
27153 done
27155 else
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27158 $as_echo_n "checking for _powl declaration... " >&6; }
27159 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27160 if test "${glibcxx_cv_func__powl_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>
27175 main ()
27177 _powl(0, 0);
27179 return 0;
27181 _ACEOF
27182 if ac_fn_cxx_try_compile "$LINENO"; then :
27183 glibcxx_cv_func__powl_use=yes
27184 else
27185 glibcxx_cv_func__powl_use=no
27187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27188 ac_ext=c
27189 ac_cpp='$CPP $CPPFLAGS'
27190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27199 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27201 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27202 for ac_func in _powl
27203 do :
27204 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27205 if test "x$ac_cv_func__powl" = x""yes; then :
27206 cat >>confdefs.h <<_ACEOF
27207 #define HAVE__POWL 1
27208 _ACEOF
27211 done
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27221 $as_echo_n "checking for sqrtl declaration... " >&6; }
27222 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27223 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27224 $as_echo_n "(cached) " >&6
27225 else
27228 ac_ext=cpp
27229 ac_cpp='$CXXCPP $CPPFLAGS'
27230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27235 /* end confdefs.h. */
27236 #include <math.h>
27237 #ifdef HAVE_IEEEFP_H
27238 #include <ieeefp.h>
27239 #endif
27242 main ()
27244 sqrtl(0);
27246 return 0;
27248 _ACEOF
27249 if ac_fn_cxx_try_compile "$LINENO"; then :
27250 glibcxx_cv_func_sqrtl_use=yes
27251 else
27252 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
27266 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27268 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27269 for ac_func in sqrtl
27270 do :
27271 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27272 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27273 cat >>confdefs.h <<_ACEOF
27274 #define HAVE_SQRTL 1
27275 _ACEOF
27278 done
27280 else
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27283 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27284 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27285 if test "${glibcxx_cv_func__sqrtl_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>
27299 #ifdef HAVE_IEEEFP_H
27300 #include <ieeefp.h>
27301 #endif
27304 main ()
27306 _sqrtl(0);
27308 return 0;
27310 _ACEOF
27311 if ac_fn_cxx_try_compile "$LINENO"; then :
27312 glibcxx_cv_func__sqrtl_use=yes
27313 else
27314 glibcxx_cv_func__sqrtl_use=no
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 ac_ext=c
27318 ac_cpp='$CPP $CPPFLAGS'
27319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27328 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27330 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27331 for ac_func in _sqrtl
27332 do :
27333 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27334 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27335 cat >>confdefs.h <<_ACEOF
27336 #define HAVE__SQRTL 1
27337 _ACEOF
27340 done
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27350 $as_echo_n "checking for sincosl declaration... " >&6; }
27351 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27352 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27353 $as_echo_n "(cached) " >&6
27354 else
27357 ac_ext=cpp
27358 ac_cpp='$CXXCPP $CPPFLAGS'
27359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27364 /* end confdefs.h. */
27365 #include <math.h>
27367 main ()
27369 sincosl(0, 0, 0);
27371 return 0;
27373 _ACEOF
27374 if ac_fn_cxx_try_compile "$LINENO"; then :
27375 glibcxx_cv_func_sincosl_use=yes
27376 else
27377 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
27391 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27393 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27394 for ac_func in sincosl
27395 do :
27396 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27397 if test "x$ac_cv_func_sincosl" = x""yes; then :
27398 cat >>confdefs.h <<_ACEOF
27399 #define HAVE_SINCOSL 1
27400 _ACEOF
27403 done
27405 else
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27408 $as_echo_n "checking for _sincosl declaration... " >&6; }
27409 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27410 if test "${glibcxx_cv_func__sincosl_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>
27425 main ()
27427 _sincosl(0, 0, 0);
27429 return 0;
27431 _ACEOF
27432 if ac_fn_cxx_try_compile "$LINENO"; then :
27433 glibcxx_cv_func__sincosl_use=yes
27434 else
27435 glibcxx_cv_func__sincosl_use=no
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ac_ext=c
27439 ac_cpp='$CPP $CPPFLAGS'
27440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27449 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27451 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27452 for ac_func in _sincosl
27453 do :
27454 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27455 if test "x$ac_cv_func__sincosl" = x""yes; then :
27456 cat >>confdefs.h <<_ACEOF
27457 #define HAVE__SINCOSL 1
27458 _ACEOF
27461 done
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27471 $as_echo_n "checking for finitel declaration... " >&6; }
27472 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27473 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27474 $as_echo_n "(cached) " >&6
27475 else
27478 ac_ext=cpp
27479 ac_cpp='$CXXCPP $CPPFLAGS'
27480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27485 /* end confdefs.h. */
27486 #include <math.h>
27487 #ifdef HAVE_IEEEFP_H
27488 #include <ieeefp.h>
27489 #endif
27492 main ()
27494 finitel(0);
27496 return 0;
27498 _ACEOF
27499 if ac_fn_cxx_try_compile "$LINENO"; then :
27500 glibcxx_cv_func_finitel_use=yes
27501 else
27502 glibcxx_cv_func_finitel_use=no
27504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27505 ac_ext=c
27506 ac_cpp='$CPP $CPPFLAGS'
27507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27516 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27518 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27519 for ac_func in finitel
27520 do :
27521 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27522 if test "x$ac_cv_func_finitel" = x""yes; then :
27523 cat >>confdefs.h <<_ACEOF
27524 #define HAVE_FINITEL 1
27525 _ACEOF
27528 done
27530 else
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27533 $as_echo_n "checking for _finitel declaration... " >&6; }
27534 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27535 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27536 $as_echo_n "(cached) " >&6
27537 else
27540 ac_ext=cpp
27541 ac_cpp='$CXXCPP $CPPFLAGS'
27542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27547 /* end confdefs.h. */
27548 #include <math.h>
27549 #ifdef HAVE_IEEEFP_H
27550 #include <ieeefp.h>
27551 #endif
27554 main ()
27556 _finitel(0);
27558 return 0;
27560 _ACEOF
27561 if ac_fn_cxx_try_compile "$LINENO"; then :
27562 glibcxx_cv_func__finitel_use=yes
27563 else
27564 glibcxx_cv_func__finitel_use=no
27566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27567 ac_ext=c
27568 ac_cpp='$CPP $CPPFLAGS'
27569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27578 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27580 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27581 for ac_func in _finitel
27582 do :
27583 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27584 if test "x$ac_cv_func__finitel" = x""yes; then :
27585 cat >>confdefs.h <<_ACEOF
27586 #define HAVE__FINITEL 1
27587 _ACEOF
27590 done
27598 LIBS="$ac_save_LIBS"
27599 CXXFLAGS="$ac_save_CXXFLAGS"
27602 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27603 ac_save_CXXFLAGS="$CXXFLAGS"
27604 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27608 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27609 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27610 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27611 $as_echo_n "(cached) " >&6
27612 else
27615 ac_ext=cpp
27616 ac_cpp='$CXXCPP $CPPFLAGS'
27617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27622 /* end confdefs.h. */
27623 #include <stdlib.h>
27625 main ()
27627 at_quick_exit(0);
27629 return 0;
27631 _ACEOF
27632 if ac_fn_cxx_try_compile "$LINENO"; then :
27633 glibcxx_cv_func_at_quick_exit_use=yes
27634 else
27635 glibcxx_cv_func_at_quick_exit_use=no
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638 ac_ext=c
27639 ac_cpp='$CPP $CPPFLAGS'
27640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27649 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27650 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27651 for ac_func in at_quick_exit
27652 do :
27653 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27654 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27655 cat >>confdefs.h <<_ACEOF
27656 #define HAVE_AT_QUICK_EXIT 1
27657 _ACEOF
27660 done
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27666 $as_echo_n "checking for quick_exit declaration... " >&6; }
27667 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27668 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27669 $as_echo_n "(cached) " >&6
27670 else
27673 ac_ext=cpp
27674 ac_cpp='$CXXCPP $CPPFLAGS'
27675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27680 /* end confdefs.h. */
27681 #include <stdlib.h>
27683 main ()
27685 quick_exit(0);
27687 return 0;
27689 _ACEOF
27690 if ac_fn_cxx_try_compile "$LINENO"; then :
27691 glibcxx_cv_func_quick_exit_use=yes
27692 else
27693 glibcxx_cv_func_quick_exit_use=no
27695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27696 ac_ext=c
27697 ac_cpp='$CPP $CPPFLAGS'
27698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27707 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27708 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27709 for ac_func in quick_exit
27710 do :
27711 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27712 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27713 cat >>confdefs.h <<_ACEOF
27714 #define HAVE_QUICK_EXIT 1
27715 _ACEOF
27718 done
27723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27724 $as_echo_n "checking for strtold declaration... " >&6; }
27725 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27726 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27727 $as_echo_n "(cached) " >&6
27728 else
27731 ac_ext=cpp
27732 ac_cpp='$CXXCPP $CPPFLAGS'
27733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27738 /* end confdefs.h. */
27739 #include <stdlib.h>
27741 main ()
27743 strtold(0, 0);
27745 return 0;
27747 _ACEOF
27748 if ac_fn_cxx_try_compile "$LINENO"; then :
27749 glibcxx_cv_func_strtold_use=yes
27750 else
27751 glibcxx_cv_func_strtold_use=no
27753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27754 ac_ext=c
27755 ac_cpp='$CPP $CPPFLAGS'
27756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27765 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27766 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27767 for ac_func in strtold
27768 do :
27769 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27770 if test "x$ac_cv_func_strtold" = x""yes; then :
27771 cat >>confdefs.h <<_ACEOF
27772 #define HAVE_STRTOLD 1
27773 _ACEOF
27776 done
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27784 $as_echo_n "checking for strtof declaration... " >&6; }
27785 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27786 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27787 $as_echo_n "(cached) " >&6
27788 else
27791 ac_ext=cpp
27792 ac_cpp='$CXXCPP $CPPFLAGS'
27793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27798 /* end confdefs.h. */
27799 #include <stdlib.h>
27801 main ()
27803 strtof(0, 0);
27805 return 0;
27807 _ACEOF
27808 if ac_fn_cxx_try_compile "$LINENO"; then :
27809 glibcxx_cv_func_strtof_use=yes
27810 else
27811 glibcxx_cv_func_strtof_use=no
27813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27814 ac_ext=c
27815 ac_cpp='$CPP $CPPFLAGS'
27816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27825 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27826 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27827 for ac_func in strtof
27828 do :
27829 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27830 if test "x$ac_cv_func_strtof" = x""yes; then :
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE_STRTOF 1
27833 _ACEOF
27836 done
27843 CXXFLAGS="$ac_save_CXXFLAGS"
27846 # For /dev/random and /dev/urandom for TR1.
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27850 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27851 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27852 $as_echo_n "(cached) " >&6
27853 else
27855 if test -r /dev/random && test -r /dev/urandom; then
27856 ## For MSys environment the test above is detect as false-positive
27857 ## on mingw-targets. So disable it explicit for them.
27858 case ${target_os} in
27859 *mingw*) glibcxx_cv_random_tr1=no ;;
27860 *) glibcxx_cv_random_tr1=yes ;;
27861 esac
27862 else
27863 glibcxx_cv_random_tr1=no;
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27869 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27871 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27873 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27879 # For TLS support.
27882 # Check whether --enable-tls was given.
27883 if test "${enable_tls+set}" = set; then :
27884 enableval=$enable_tls;
27885 case "$enableval" in
27886 yes|no) ;;
27887 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27888 esac
27890 else
27891 enable_tls=yes
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27896 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27897 if test "${gcc_cv_have_tls+set}" = set; then :
27898 $as_echo_n "(cached) " >&6
27899 else
27901 if test "$cross_compiling" = yes; then :
27902 if test x$gcc_no_link = xyes; then
27903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27906 /* end confdefs.h. */
27907 __thread int a; int b; int main() { return a = b; }
27908 _ACEOF
27909 if ac_fn_c_try_link "$LINENO"; then :
27910 chktls_save_LDFLAGS="$LDFLAGS"
27911 case $host in
27912 *-*-linux*)
27913 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27915 esac
27916 chktls_save_CFLAGS="$CFLAGS"
27917 CFLAGS="-fPIC $CFLAGS"
27918 if test x$gcc_no_link = xyes; then
27919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27922 /* end confdefs.h. */
27923 int f() { return 0; }
27924 _ACEOF
27925 if ac_fn_c_try_link "$LINENO"; then :
27926 if test x$gcc_no_link = xyes; then
27927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931 __thread int a; int b; int f() { return a = b; }
27932 _ACEOF
27933 if ac_fn_c_try_link "$LINENO"; then :
27934 gcc_cv_have_tls=yes
27935 else
27936 gcc_cv_have_tls=no
27938 rm -f core conftest.err conftest.$ac_objext \
27939 conftest$ac_exeext conftest.$ac_ext
27940 else
27941 gcc_cv_have_tls=yes
27943 rm -f core conftest.err conftest.$ac_objext \
27944 conftest$ac_exeext conftest.$ac_ext
27945 CFLAGS="$chktls_save_CFLAGS"
27946 LDFLAGS="$chktls_save_LDFLAGS"
27947 else
27948 gcc_cv_have_tls=no
27950 rm -f core conftest.err conftest.$ac_objext \
27951 conftest$ac_exeext conftest.$ac_ext
27954 else
27955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27956 /* end confdefs.h. */
27957 __thread int a; int b; int main() { return a = b; }
27958 _ACEOF
27959 if ac_fn_c_try_run "$LINENO"; then :
27960 chktls_save_LDFLAGS="$LDFLAGS"
27961 LDFLAGS="-static $LDFLAGS"
27962 if test x$gcc_no_link = xyes; then
27963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27966 /* end confdefs.h. */
27967 int main() { return 0; }
27968 _ACEOF
27969 if ac_fn_c_try_link "$LINENO"; then :
27970 if test "$cross_compiling" = yes; then :
27971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27973 as_fn_error "cannot run test program while cross compiling
27974 See \`config.log' for more details." "$LINENO" 5; }
27975 else
27976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27977 /* end confdefs.h. */
27978 __thread int a; int b; int main() { return a = b; }
27979 _ACEOF
27980 if ac_fn_c_try_run "$LINENO"; then :
27981 gcc_cv_have_tls=yes
27982 else
27983 gcc_cv_have_tls=no
27985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27986 conftest.$ac_objext conftest.beam conftest.$ac_ext
27989 else
27990 gcc_cv_have_tls=yes
27992 rm -f core conftest.err conftest.$ac_objext \
27993 conftest$ac_exeext conftest.$ac_ext
27994 LDFLAGS="$chktls_save_LDFLAGS"
27995 if test $gcc_cv_have_tls = yes; then
27996 chktls_save_CFLAGS="$CFLAGS"
27997 thread_CFLAGS=failed
27998 for flag in '' '-pthread' '-lpthread'; do
27999 CFLAGS="$flag $chktls_save_CFLAGS"
28000 if test x$gcc_no_link = xyes; then
28001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 #include <pthread.h>
28006 void *g(void *d) { return NULL; }
28008 main ()
28010 pthread_t t; pthread_create(&t,NULL,g,NULL);
28012 return 0;
28014 _ACEOF
28015 if ac_fn_c_try_link "$LINENO"; then :
28016 thread_CFLAGS="$flag"
28018 rm -f core conftest.err conftest.$ac_objext \
28019 conftest$ac_exeext conftest.$ac_ext
28020 if test "X$thread_CFLAGS" != Xfailed; then
28021 break
28023 done
28024 CFLAGS="$chktls_save_CFLAGS"
28025 if test "X$thread_CFLAGS" != Xfailed; then
28026 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28027 if test "$cross_compiling" = yes; then :
28028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28030 as_fn_error "cannot run test program while cross compiling
28031 See \`config.log' for more details." "$LINENO" 5; }
28032 else
28033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28034 /* end confdefs.h. */
28035 #include <pthread.h>
28036 __thread int a;
28037 static int *volatile a_in_other_thread;
28038 static void *
28039 thread_func (void *arg)
28041 a_in_other_thread = &a;
28042 return (void *)0;
28045 main ()
28047 pthread_t thread;
28048 void *thread_retval;
28049 int *volatile a_in_main_thread;
28050 a_in_main_thread = &a;
28051 if (pthread_create (&thread, (pthread_attr_t *)0,
28052 thread_func, (void *)0))
28053 return 0;
28054 if (pthread_join (thread, &thread_retval))
28055 return 0;
28056 return (a_in_other_thread == a_in_main_thread);
28058 return 0;
28060 _ACEOF
28061 if ac_fn_c_try_run "$LINENO"; then :
28062 gcc_cv_have_tls=yes
28063 else
28064 gcc_cv_have_tls=no
28066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28067 conftest.$ac_objext conftest.beam conftest.$ac_ext
28070 CFLAGS="$chktls_save_CFLAGS"
28073 else
28074 gcc_cv_have_tls=no
28076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28077 conftest.$ac_objext conftest.beam conftest.$ac_ext
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28082 $as_echo "$gcc_cv_have_tls" >&6; }
28083 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28085 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28089 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28090 do :
28091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28093 eval as_val=\$$as_ac_var
28094 if test "x$as_val" = x""yes; then :
28095 cat >>confdefs.h <<_ACEOF
28096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28097 _ACEOF
28100 done
28102 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28103 do :
28104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28106 eval as_val=\$$as_ac_var
28107 if test "x$as_val" = x""yes; then :
28108 cat >>confdefs.h <<_ACEOF
28109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28110 _ACEOF
28113 done
28116 # For iconv support.
28118 if test "X$prefix" = "XNONE"; then
28119 acl_final_prefix="$ac_default_prefix"
28120 else
28121 acl_final_prefix="$prefix"
28123 if test "X$exec_prefix" = "XNONE"; then
28124 acl_final_exec_prefix='${prefix}'
28125 else
28126 acl_final_exec_prefix="$exec_prefix"
28128 acl_save_prefix="$prefix"
28129 prefix="$acl_final_prefix"
28130 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28131 prefix="$acl_save_prefix"
28134 # Check whether --with-gnu-ld was given.
28135 if test "${with_gnu_ld+set}" = set; then :
28136 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28137 else
28138 with_gnu_ld=no
28141 # Prepare PATH_SEPARATOR.
28142 # The user is always right.
28143 if test "${PATH_SEPARATOR+set}" != set; then
28144 echo "#! /bin/sh" >conf$$.sh
28145 echo "exit 0" >>conf$$.sh
28146 chmod +x conf$$.sh
28147 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28148 PATH_SEPARATOR=';'
28149 else
28150 PATH_SEPARATOR=:
28152 rm -f conf$$.sh
28154 ac_prog=ld
28155 if test "$GCC" = yes; then
28156 # Check if gcc -print-prog-name=ld gives a path.
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28158 $as_echo_n "checking for ld used by GCC... " >&6; }
28159 case $host in
28160 *-*-mingw*)
28161 # gcc leaves a trailing carriage return which upsets mingw
28162 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28164 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28165 esac
28166 case $ac_prog in
28167 # Accept absolute paths.
28168 [\\/]* | [A-Za-z]:[\\/]*)
28169 re_direlt='/[^/][^/]*/\.\./'
28170 # Canonicalize the path of ld
28171 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28172 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28173 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28174 done
28175 test -z "$LD" && LD="$ac_prog"
28178 # If it fails, then pretend we aren't using GCC.
28179 ac_prog=ld
28182 # If it is relative, then search for the first ld in PATH.
28183 with_gnu_ld=unknown
28185 esac
28186 elif test "$with_gnu_ld" = yes; then
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28188 $as_echo_n "checking for GNU ld... " >&6; }
28189 else
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28191 $as_echo_n "checking for non-GNU ld... " >&6; }
28193 if test "${acl_cv_path_LD+set}" = set; then :
28194 $as_echo_n "(cached) " >&6
28195 else
28196 if test -z "$LD"; then
28197 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28198 for ac_dir in $PATH; do
28199 test -z "$ac_dir" && ac_dir=.
28200 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28201 acl_cv_path_LD="$ac_dir/$ac_prog"
28202 # Check to see if the program is GNU ld. I'd rather use --version,
28203 # but apparently some GNU ld's only accept -v.
28204 # Break only if it was the GNU/non-GNU ld that we prefer.
28205 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28206 test "$with_gnu_ld" != no && break
28207 else
28208 test "$with_gnu_ld" != yes && break
28211 done
28212 IFS="$ac_save_ifs"
28213 else
28214 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28218 LD="$acl_cv_path_LD"
28219 if test -n "$LD"; then
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28221 $as_echo "$LD" >&6; }
28222 else
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28224 $as_echo "no" >&6; }
28226 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28228 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28229 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28230 $as_echo_n "(cached) " >&6
28231 else
28232 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28233 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28234 acl_cv_prog_gnu_ld=yes
28235 else
28236 acl_cv_prog_gnu_ld=no
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28240 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28241 with_gnu_ld=$acl_cv_prog_gnu_ld
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28246 $as_echo_n "checking for shared library run path origin... " >&6; }
28247 if test "${acl_cv_rpath+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28251 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28252 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28253 . ./conftest.sh
28254 rm -f ./conftest.sh
28255 acl_cv_rpath=done
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28259 $as_echo "$acl_cv_rpath" >&6; }
28260 wl="$acl_cv_wl"
28261 libext="$acl_cv_libext"
28262 shlibext="$acl_cv_shlibext"
28263 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28264 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28265 hardcode_direct="$acl_cv_hardcode_direct"
28266 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28267 # Check whether --enable-rpath was given.
28268 if test "${enable_rpath+set}" = set; then :
28269 enableval=$enable_rpath; :
28270 else
28271 enable_rpath=yes
28281 use_additional=yes
28283 acl_save_prefix="$prefix"
28284 prefix="$acl_final_prefix"
28285 acl_save_exec_prefix="$exec_prefix"
28286 exec_prefix="$acl_final_exec_prefix"
28288 eval additional_includedir=\"$includedir\"
28289 eval additional_libdir=\"$libdir\"
28291 exec_prefix="$acl_save_exec_prefix"
28292 prefix="$acl_save_prefix"
28295 # Check whether --with-libiconv-prefix was given.
28296 if test "${with_libiconv_prefix+set}" = set; then :
28297 withval=$with_libiconv_prefix;
28298 if test "X$withval" = "Xno"; then
28299 use_additional=no
28300 else
28301 if test "X$withval" = "X"; then
28303 acl_save_prefix="$prefix"
28304 prefix="$acl_final_prefix"
28305 acl_save_exec_prefix="$exec_prefix"
28306 exec_prefix="$acl_final_exec_prefix"
28308 eval additional_includedir=\"$includedir\"
28309 eval additional_libdir=\"$libdir\"
28311 exec_prefix="$acl_save_exec_prefix"
28312 prefix="$acl_save_prefix"
28314 else
28315 additional_includedir="$withval/include"
28316 additional_libdir="$withval/lib"
28322 LIBICONV=
28323 LTLIBICONV=
28324 INCICONV=
28325 rpathdirs=
28326 ltrpathdirs=
28327 names_already_handled=
28328 names_next_round='iconv '
28329 while test -n "$names_next_round"; do
28330 names_this_round="$names_next_round"
28331 names_next_round=
28332 for name in $names_this_round; do
28333 already_handled=
28334 for n in $names_already_handled; do
28335 if test "$n" = "$name"; then
28336 already_handled=yes
28337 break
28339 done
28340 if test -z "$already_handled"; then
28341 names_already_handled="$names_already_handled $name"
28342 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28343 eval value=\"\$HAVE_LIB$uppername\"
28344 if test -n "$value"; then
28345 if test "$value" = yes; then
28346 eval value=\"\$LIB$uppername\"
28347 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28348 eval value=\"\$LTLIB$uppername\"
28349 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28350 else
28353 else
28354 found_dir=
28355 found_la=
28356 found_so=
28357 found_a=
28358 if test $use_additional = yes; then
28359 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28360 found_dir="$additional_libdir"
28361 found_so="$additional_libdir/lib$name.$shlibext"
28362 if test -f "$additional_libdir/lib$name.la"; then
28363 found_la="$additional_libdir/lib$name.la"
28365 else
28366 if test -f "$additional_libdir/lib$name.$libext"; then
28367 found_dir="$additional_libdir"
28368 found_a="$additional_libdir/lib$name.$libext"
28369 if test -f "$additional_libdir/lib$name.la"; then
28370 found_la="$additional_libdir/lib$name.la"
28375 if test "X$found_dir" = "X"; then
28376 for x in $LDFLAGS $LTLIBICONV; do
28378 acl_save_prefix="$prefix"
28379 prefix="$acl_final_prefix"
28380 acl_save_exec_prefix="$exec_prefix"
28381 exec_prefix="$acl_final_exec_prefix"
28382 eval x=\"$x\"
28383 exec_prefix="$acl_save_exec_prefix"
28384 prefix="$acl_save_prefix"
28386 case "$x" in
28387 -L*)
28388 dir=`echo "X$x" | sed -e 's/^X-L//'`
28389 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28390 found_dir="$dir"
28391 found_so="$dir/lib$name.$shlibext"
28392 if test -f "$dir/lib$name.la"; then
28393 found_la="$dir/lib$name.la"
28395 else
28396 if test -f "$dir/lib$name.$libext"; then
28397 found_dir="$dir"
28398 found_a="$dir/lib$name.$libext"
28399 if test -f "$dir/lib$name.la"; then
28400 found_la="$dir/lib$name.la"
28405 esac
28406 if test "X$found_dir" != "X"; then
28407 break
28409 done
28411 if test "X$found_dir" != "X"; then
28412 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28413 if test "X$found_so" != "X"; then
28414 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28415 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28416 else
28417 haveit=
28418 for x in $ltrpathdirs; do
28419 if test "X$x" = "X$found_dir"; then
28420 haveit=yes
28421 break
28423 done
28424 if test -z "$haveit"; then
28425 ltrpathdirs="$ltrpathdirs $found_dir"
28427 if test "$hardcode_direct" = yes; then
28428 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28429 else
28430 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28431 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28432 haveit=
28433 for x in $rpathdirs; do
28434 if test "X$x" = "X$found_dir"; then
28435 haveit=yes
28436 break
28438 done
28439 if test -z "$haveit"; then
28440 rpathdirs="$rpathdirs $found_dir"
28442 else
28443 haveit=
28444 for x in $LDFLAGS $LIBICONV; do
28446 acl_save_prefix="$prefix"
28447 prefix="$acl_final_prefix"
28448 acl_save_exec_prefix="$exec_prefix"
28449 exec_prefix="$acl_final_exec_prefix"
28450 eval x=\"$x\"
28451 exec_prefix="$acl_save_exec_prefix"
28452 prefix="$acl_save_prefix"
28454 if test "X$x" = "X-L$found_dir"; then
28455 haveit=yes
28456 break
28458 done
28459 if test -z "$haveit"; then
28460 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28462 if test "$hardcode_minus_L" != no; then
28463 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28464 else
28465 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28470 else
28471 if test "X$found_a" != "X"; then
28472 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28473 else
28474 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28477 additional_includedir=
28478 case "$found_dir" in
28479 */lib | */lib/)
28480 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28481 additional_includedir="$basedir/include"
28483 esac
28484 if test "X$additional_includedir" != "X"; then
28485 if test "X$additional_includedir" != "X/usr/include"; then
28486 haveit=
28487 if test "X$additional_includedir" = "X/usr/local/include"; then
28488 if test -n "$GCC"; then
28489 case $host_os in
28490 linux*) haveit=yes;;
28491 esac
28494 if test -z "$haveit"; then
28495 for x in $CPPFLAGS $INCICONV; do
28497 acl_save_prefix="$prefix"
28498 prefix="$acl_final_prefix"
28499 acl_save_exec_prefix="$exec_prefix"
28500 exec_prefix="$acl_final_exec_prefix"
28501 eval x=\"$x\"
28502 exec_prefix="$acl_save_exec_prefix"
28503 prefix="$acl_save_prefix"
28505 if test "X$x" = "X-I$additional_includedir"; then
28506 haveit=yes
28507 break
28509 done
28510 if test -z "$haveit"; then
28511 if test -d "$additional_includedir"; then
28512 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28518 if test -n "$found_la"; then
28519 save_libdir="$libdir"
28520 case "$found_la" in
28521 */* | *\\*) . "$found_la" ;;
28522 *) . "./$found_la" ;;
28523 esac
28524 libdir="$save_libdir"
28525 for dep in $dependency_libs; do
28526 case "$dep" in
28527 -L*)
28528 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28529 if test "X$additional_libdir" != "X/usr/lib"; then
28530 haveit=
28531 if test "X$additional_libdir" = "X/usr/local/lib"; then
28532 if test -n "$GCC"; then
28533 case $host_os in
28534 linux*) haveit=yes;;
28535 esac
28538 if test -z "$haveit"; then
28539 haveit=
28540 for x in $LDFLAGS $LIBICONV; do
28542 acl_save_prefix="$prefix"
28543 prefix="$acl_final_prefix"
28544 acl_save_exec_prefix="$exec_prefix"
28545 exec_prefix="$acl_final_exec_prefix"
28546 eval x=\"$x\"
28547 exec_prefix="$acl_save_exec_prefix"
28548 prefix="$acl_save_prefix"
28550 if test "X$x" = "X-L$additional_libdir"; then
28551 haveit=yes
28552 break
28554 done
28555 if test -z "$haveit"; then
28556 if test -d "$additional_libdir"; then
28557 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28560 haveit=
28561 for x in $LDFLAGS $LTLIBICONV; do
28563 acl_save_prefix="$prefix"
28564 prefix="$acl_final_prefix"
28565 acl_save_exec_prefix="$exec_prefix"
28566 exec_prefix="$acl_final_exec_prefix"
28567 eval x=\"$x\"
28568 exec_prefix="$acl_save_exec_prefix"
28569 prefix="$acl_save_prefix"
28571 if test "X$x" = "X-L$additional_libdir"; then
28572 haveit=yes
28573 break
28575 done
28576 if test -z "$haveit"; then
28577 if test -d "$additional_libdir"; then
28578 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28584 -R*)
28585 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28586 if test "$enable_rpath" != no; then
28587 haveit=
28588 for x in $rpathdirs; do
28589 if test "X$x" = "X$dir"; then
28590 haveit=yes
28591 break
28593 done
28594 if test -z "$haveit"; then
28595 rpathdirs="$rpathdirs $dir"
28597 haveit=
28598 for x in $ltrpathdirs; do
28599 if test "X$x" = "X$dir"; then
28600 haveit=yes
28601 break
28603 done
28604 if test -z "$haveit"; then
28605 ltrpathdirs="$ltrpathdirs $dir"
28609 -l*)
28610 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28612 *.la)
28613 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28616 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28617 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28619 esac
28620 done
28622 else
28623 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28624 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28628 done
28629 done
28630 if test "X$rpathdirs" != "X"; then
28631 if test -n "$hardcode_libdir_separator"; then
28632 alldirs=
28633 for found_dir in $rpathdirs; do
28634 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28635 done
28636 acl_save_libdir="$libdir"
28637 libdir="$alldirs"
28638 eval flag=\"$hardcode_libdir_flag_spec\"
28639 libdir="$acl_save_libdir"
28640 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28641 else
28642 for found_dir in $rpathdirs; do
28643 acl_save_libdir="$libdir"
28644 libdir="$found_dir"
28645 eval flag=\"$hardcode_libdir_flag_spec\"
28646 libdir="$acl_save_libdir"
28647 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28648 done
28651 if test "X$ltrpathdirs" != "X"; then
28652 for found_dir in $ltrpathdirs; do
28653 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28654 done
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28664 $as_echo_n "checking for iconv... " >&6; }
28665 if test "${am_cv_func_iconv+set}" = set; then :
28666 $as_echo_n "(cached) " >&6
28667 else
28669 am_cv_func_iconv="no, consider installing GNU libiconv"
28670 am_cv_lib_iconv=no
28671 am_save_CPPFLAGS="$CPPFLAGS"
28672 CPPFLAGS="$CPPFLAGS $INCICONV"
28673 if test x$gcc_no_link = xyes; then
28674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28677 /* end confdefs.h. */
28678 #include <stdlib.h>
28679 #include <iconv.h>
28681 main ()
28683 iconv_t cd = iconv_open("","");
28684 iconv(cd,NULL,NULL,NULL,NULL);
28685 iconv_close(cd);
28687 return 0;
28689 _ACEOF
28690 if ac_fn_c_try_link "$LINENO"; then :
28691 am_cv_func_iconv=yes
28693 rm -f core conftest.err conftest.$ac_objext \
28694 conftest$ac_exeext conftest.$ac_ext
28695 CPPFLAGS="$am_save_CPPFLAGS"
28697 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28698 for _libs in .libs _libs; do
28699 am_save_CPPFLAGS="$CPPFLAGS"
28700 am_save_LIBS="$LIBS"
28701 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28702 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28703 if test x$gcc_no_link = xyes; then
28704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28707 /* end confdefs.h. */
28708 #include <stdlib.h>
28709 #include <iconv.h>
28711 main ()
28713 iconv_t cd = iconv_open("","");
28714 iconv(cd,NULL,NULL,NULL,NULL);
28715 iconv_close(cd);
28717 return 0;
28719 _ACEOF
28720 if ac_fn_c_try_link "$LINENO"; then :
28721 INCICONV="-I../libiconv/include"
28722 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28723 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28724 am_cv_lib_iconv=yes
28725 am_cv_func_iconv=yes
28727 rm -f core conftest.err conftest.$ac_objext \
28728 conftest$ac_exeext conftest.$ac_ext
28729 CPPFLAGS="$am_save_CPPFLAGS"
28730 LIBS="$am_save_LIBS"
28731 if test "$am_cv_func_iconv" = "yes"; then
28732 break
28734 done
28737 if test "$am_cv_func_iconv" != yes; then
28738 am_save_CPPFLAGS="$CPPFLAGS"
28739 am_save_LIBS="$LIBS"
28740 CPPFLAGS="$LIBS $INCICONV"
28741 LIBS="$LIBS $LIBICONV"
28742 if test x$gcc_no_link = xyes; then
28743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28746 /* end confdefs.h. */
28747 #include <stdlib.h>
28748 #include <iconv.h>
28750 main ()
28752 iconv_t cd = iconv_open("","");
28753 iconv(cd,NULL,NULL,NULL,NULL);
28754 iconv_close(cd);
28756 return 0;
28758 _ACEOF
28759 if ac_fn_c_try_link "$LINENO"; then :
28760 am_cv_lib_iconv=yes
28761 am_cv_func_iconv=yes
28763 rm -f core conftest.err conftest.$ac_objext \
28764 conftest$ac_exeext conftest.$ac_ext
28765 CPPFLAGS="$am_save_CPPFLAGS"
28766 LIBS="$am_save_LIBS"
28770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28771 $as_echo "$am_cv_func_iconv" >&6; }
28772 if test "$am_cv_func_iconv" = yes; then
28774 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28777 if test "$am_cv_lib_iconv" = yes; then
28779 for element in $INCICONV; do
28780 haveit=
28781 for x in $CPPFLAGS; do
28783 acl_save_prefix="$prefix"
28784 prefix="$acl_final_prefix"
28785 acl_save_exec_prefix="$exec_prefix"
28786 exec_prefix="$acl_final_exec_prefix"
28787 eval x=\"$x\"
28788 exec_prefix="$acl_save_exec_prefix"
28789 prefix="$acl_save_prefix"
28791 if test "X$x" = "X$element"; then
28792 haveit=yes
28793 break
28795 done
28796 if test -z "$haveit"; then
28797 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28799 done
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28802 $as_echo_n "checking how to link with libiconv... " >&6; }
28803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28804 $as_echo "$LIBICONV" >&6; }
28805 else
28806 LIBICONV=
28807 LTLIBICONV=
28812 if test "$am_cv_func_iconv" = yes; then
28813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28814 $as_echo_n "checking for iconv declaration... " >&6; }
28815 if test "${am_cv_proto_iconv+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28820 /* end confdefs.h. */
28822 #include <stdlib.h>
28823 #include <iconv.h>
28824 extern
28825 #ifdef __cplusplus
28827 #endif
28828 #if defined(__STDC__) || defined(__cplusplus)
28829 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28830 #else
28831 size_t iconv();
28832 #endif
28835 main ()
28839 return 0;
28841 _ACEOF
28842 if ac_fn_c_try_compile "$LINENO"; then :
28843 am_cv_proto_iconv_arg1=""
28844 else
28845 am_cv_proto_iconv_arg1="const"
28847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28848 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);"
28851 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28853 }$am_cv_proto_iconv" >&5
28854 $as_echo "${ac_t:-
28855 }$am_cv_proto_iconv" >&6; }
28857 cat >>confdefs.h <<_ACEOF
28858 #define ICONV_CONST $am_cv_proto_iconv_arg1
28859 _ACEOF
28864 else
28866 # This lets us hard-code the functionality we know we'll have in the cross
28867 # target environment. "Let" is a sugar-coated word placed on an especially
28868 # dull and tedious hack, actually.
28870 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28871 # that involve linking, can't be used:
28872 # "cannot open sim-crt0.o"
28873 # "cannot open crt0.o"
28874 # etc. All this is because there currently exists no unified, consistent
28875 # way for top level CC information to be passed down to target directories:
28876 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28877 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28878 # crosses can be removed.
28880 # If Canadian cross, then don't pick up tools from the build directory.
28881 # Used only in GLIBCXX_EXPORT_INCLUDES.
28882 if test -n "$with_cross_host" &&
28883 test x"$build_alias" != x"$with_cross_host" &&
28884 test x"$build" != x"$target";
28885 then
28886 CANADIAN=yes
28887 else
28888 CANADIAN=no
28891 # Construct crosses by hand, eliminating bits that need ld...
28892 # GLIBCXX_CHECK_MATH_SUPPORT
28894 # First, test for "known" system libraries. We may be using newlib even
28895 # on a hosted environment.
28896 if test "x${with_newlib}" = "xyes"; then
28897 os_include_dir="os/newlib"
28898 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28901 # GLIBCXX_CHECK_STDLIB_SUPPORT
28902 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28905 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28907 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28909 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28911 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28913 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28915 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28917 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28919 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28921 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28923 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28925 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28927 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28929 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28931 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28933 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28935 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28937 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28939 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28941 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28943 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28945 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28947 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28950 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28952 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28954 else
28956 # Base decisions on target environment.
28957 case "${host}" in
28958 arm*-*-symbianelf*)
28959 # This is a freestanding configuration; there is nothing to do here.
28962 avr*-*-*)
28963 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28965 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28967 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28969 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28971 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28973 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28975 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28977 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28979 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28981 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28983 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28985 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28987 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28989 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28991 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28993 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28995 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28997 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28999 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29001 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29003 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29005 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29007 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29011 mips*-sde-elf*)
29012 # These definitions are for the SDE C library rather than newlib.
29013 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29016 # All these tests are for C++; save the language and the compiler flags.
29017 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29018 # found in GLIBCXX_CONFIGURE.
29020 ac_ext=cpp
29021 ac_cpp='$CXXCPP $CPPFLAGS'
29022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29027 ac_save_CXXFLAGS="$CXXFLAGS"
29029 # Check for maintainer-mode bits.
29030 if test x"$USE_MAINTAINER_MODE" = xno; then
29031 WERROR=''
29032 else
29033 WERROR='-Werror'
29036 # Check for -ffunction-sections -fdata-sections
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29038 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29039 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29041 /* end confdefs.h. */
29042 int foo; void bar() { };
29044 main ()
29048 return 0;
29050 _ACEOF
29051 if ac_fn_cxx_try_compile "$LINENO"; then :
29052 ac_fdsections=yes
29053 else
29054 ac_fdsections=no
29056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29057 if test "$ac_test_CXXFLAGS" = set; then
29058 CXXFLAGS="$ac_save_CXXFLAGS"
29059 else
29060 # this is the suspicious part
29061 CXXFLAGS=''
29063 if test x"$ac_fdsections" = x"yes"; then
29064 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29067 $as_echo "$ac_fdsections" >&6; }
29069 ac_ext=c
29070 ac_cpp='$CPP $CPPFLAGS'
29071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29079 # If we're not using GNU ld, then there's no point in even trying these
29080 # tests. Check for that first. We should have already tested for gld
29081 # by now (in libtool), but require it now just to be safe...
29082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29087 # The name set by libtool depends on the version of libtool. Shame on us
29088 # for depending on an impl detail, but c'est la vie. Older versions used
29089 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29090 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29091 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29092 # set (hence we're using an older libtool), then set it.
29093 if test x${with_gnu_ld+set} != xset; then
29094 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29095 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29096 with_gnu_ld=no
29097 else
29098 with_gnu_ld=$ac_cv_prog_gnu_ld
29102 # Start by getting the version number. I think the libtool test already
29103 # does some of this, but throws away the result.
29104 glibcxx_ld_is_gold=no
29105 if test x"$with_gnu_ld" = x"yes"; then
29106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29107 $as_echo_n "checking for ld version... " >&6; }
29109 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29110 glibcxx_ld_is_gold=yes
29112 ldver=`$LD --version 2>/dev/null |
29113 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'`
29115 glibcxx_gnu_ld_version=`echo $ldver | \
29116 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29118 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29121 # Set --gc-sections.
29122 glibcxx_have_gc_sections=no
29123 if test "$glibcxx_ld_is_gold" = "yes"; then
29124 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29125 glibcxx_have_gc_sections=yes
29127 else
29128 glibcxx_gcsections_min_ld=21602
29129 if test x"$with_gnu_ld" = x"yes" &&
29130 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29131 glibcxx_have_gc_sections=yes
29134 if test "$glibcxx_have_gc_sections" = "yes"; then
29135 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29136 # NB: This flag only works reliably after 2.16.1. Configure tests
29137 # for this are difficult, so hard wire a value that should work.
29139 ac_test_CFLAGS="${CFLAGS+set}"
29140 ac_save_CFLAGS="$CFLAGS"
29141 CFLAGS='-Wl,--gc-sections'
29143 # Check for -Wl,--gc-sections
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29145 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29146 if test x$gcc_no_link = xyes; then
29147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29150 /* end confdefs.h. */
29151 int one(void) { return 1; }
29152 int two(void) { return 2; }
29155 main ()
29157 two();
29159 return 0;
29161 _ACEOF
29162 if ac_fn_c_try_link "$LINENO"; then :
29163 ac_gcsections=yes
29164 else
29165 ac_gcsections=no
29167 rm -f core conftest.err conftest.$ac_objext \
29168 conftest$ac_exeext conftest.$ac_ext
29169 if test "$ac_gcsections" = "yes"; then
29170 rm -f conftest.c
29171 touch conftest.c
29172 if $CC -c conftest.c; then
29173 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29174 grep "Warning: gc-sections option ignored" > /dev/null; then
29175 ac_gcsections=no
29178 rm -f conftest.c conftest.o conftest
29180 if test "$ac_gcsections" = "yes"; then
29181 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29184 $as_echo "$ac_gcsections" >&6; }
29186 if test "$ac_test_CFLAGS" = set; then
29187 CFLAGS="$ac_save_CFLAGS"
29188 else
29189 # this is the suspicious part
29190 CFLAGS=''
29194 # Set -z,relro.
29195 # Note this is only for shared objects.
29196 ac_ld_relro=no
29197 if test x"$with_gnu_ld" = x"yes"; then
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29199 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29200 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29201 if test -n "$cxx_z_relo"; then
29202 OPT_LDFLAGS="-Wl,-z,relro"
29203 ac_ld_relro=yes
29205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29206 $as_echo "$ac_ld_relro" >&6; }
29209 # Set linker optimization flags.
29210 if test x"$with_gnu_ld" = x"yes"; then
29211 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29218 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29219 ac_save_CXXFLAGS="$CXXFLAGS"
29220 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29223 $as_echo_n "checking for sin in -lm... " >&6; }
29224 if test "${ac_cv_lib_m_sin+set}" = set; then :
29225 $as_echo_n "(cached) " >&6
29226 else
29227 ac_check_lib_save_LIBS=$LIBS
29228 LIBS="-lm $LIBS"
29229 if test x$gcc_no_link = xyes; then
29230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29233 /* end confdefs.h. */
29235 /* Override any GCC internal prototype to avoid an error.
29236 Use char because int might match the return type of a GCC
29237 builtin and then its argument prototype would still apply. */
29238 #ifdef __cplusplus
29239 extern "C"
29240 #endif
29241 char sin ();
29243 main ()
29245 return sin ();
29247 return 0;
29249 _ACEOF
29250 if ac_fn_c_try_link "$LINENO"; then :
29251 ac_cv_lib_m_sin=yes
29252 else
29253 ac_cv_lib_m_sin=no
29255 rm -f core conftest.err conftest.$ac_objext \
29256 conftest$ac_exeext conftest.$ac_ext
29257 LIBS=$ac_check_lib_save_LIBS
29259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29260 $as_echo "$ac_cv_lib_m_sin" >&6; }
29261 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29262 libm="-lm"
29265 ac_save_LIBS="$LIBS"
29266 LIBS="$LIBS $libm"
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29271 $as_echo_n "checking for isinf declaration... " >&6; }
29272 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29273 if test "${glibcxx_cv_func_isinf_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 isinf(0);
29296 return 0;
29298 _ACEOF
29299 if ac_fn_cxx_try_compile "$LINENO"; then :
29300 glibcxx_cv_func_isinf_use=yes
29301 else
29302 glibcxx_cv_func_isinf_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_isinf_use" >&5
29316 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29318 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29319 for ac_func in isinf
29320 do :
29321 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29322 if test "x$ac_cv_func_isinf" = x""yes; then :
29323 cat >>confdefs.h <<_ACEOF
29324 #define HAVE_ISINF 1
29325 _ACEOF
29328 done
29330 else
29332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29333 $as_echo_n "checking for _isinf declaration... " >&6; }
29334 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29335 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29336 $as_echo_n "(cached) " >&6
29337 else
29340 ac_ext=cpp
29341 ac_cpp='$CXXCPP $CPPFLAGS'
29342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29347 /* end confdefs.h. */
29348 #include <math.h>
29349 #ifdef HAVE_IEEEFP_H
29350 #include <ieeefp.h>
29351 #endif
29354 main ()
29356 _isinf(0);
29358 return 0;
29360 _ACEOF
29361 if ac_fn_cxx_try_compile "$LINENO"; then :
29362 glibcxx_cv_func__isinf_use=yes
29363 else
29364 glibcxx_cv_func__isinf_use=no
29366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29367 ac_ext=c
29368 ac_cpp='$CPP $CPPFLAGS'
29369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29378 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29380 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29381 for ac_func in _isinf
29382 do :
29383 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29384 if test "x$ac_cv_func__isinf" = x""yes; then :
29385 cat >>confdefs.h <<_ACEOF
29386 #define HAVE__ISINF 1
29387 _ACEOF
29390 done
29399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29400 $as_echo_n "checking for isnan declaration... " >&6; }
29401 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29402 if test "${glibcxx_cv_func_isnan_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 isnan(0);
29425 return 0;
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func_isnan_use=yes
29430 else
29431 glibcxx_cv_func_isnan_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_isnan_use" >&5
29445 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29447 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29448 for ac_func in isnan
29449 do :
29450 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29451 if test "x$ac_cv_func_isnan" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE_ISNAN 1
29454 _ACEOF
29457 done
29459 else
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29462 $as_echo_n "checking for _isnan declaration... " >&6; }
29463 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29464 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29465 $as_echo_n "(cached) " >&6
29466 else
29469 ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29477 #include <math.h>
29478 #ifdef HAVE_IEEEFP_H
29479 #include <ieeefp.h>
29480 #endif
29483 main ()
29485 _isnan(0);
29487 return 0;
29489 _ACEOF
29490 if ac_fn_cxx_try_compile "$LINENO"; then :
29491 glibcxx_cv_func__isnan_use=yes
29492 else
29493 glibcxx_cv_func__isnan_use=no
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 ac_ext=c
29497 ac_cpp='$CPP $CPPFLAGS'
29498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29507 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29509 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29510 for ac_func in _isnan
29511 do :
29512 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29513 if test "x$ac_cv_func__isnan" = x""yes; then :
29514 cat >>confdefs.h <<_ACEOF
29515 #define HAVE__ISNAN 1
29516 _ACEOF
29519 done
29528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29529 $as_echo_n "checking for finite declaration... " >&6; }
29530 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29531 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29532 $as_echo_n "(cached) " >&6
29533 else
29536 ac_ext=cpp
29537 ac_cpp='$CXXCPP $CPPFLAGS'
29538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29543 /* end confdefs.h. */
29544 #include <math.h>
29545 #ifdef HAVE_IEEEFP_H
29546 #include <ieeefp.h>
29547 #endif
29550 main ()
29552 finite(0);
29554 return 0;
29556 _ACEOF
29557 if ac_fn_cxx_try_compile "$LINENO"; then :
29558 glibcxx_cv_func_finite_use=yes
29559 else
29560 glibcxx_cv_func_finite_use=no
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563 ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29574 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29576 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29577 for ac_func in finite
29578 do :
29579 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29580 if test "x$ac_cv_func_finite" = x""yes; then :
29581 cat >>confdefs.h <<_ACEOF
29582 #define HAVE_FINITE 1
29583 _ACEOF
29586 done
29588 else
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29591 $as_echo_n "checking for _finite declaration... " >&6; }
29592 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29593 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29594 $as_echo_n "(cached) " >&6
29595 else
29598 ac_ext=cpp
29599 ac_cpp='$CXXCPP $CPPFLAGS'
29600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29605 /* end confdefs.h. */
29606 #include <math.h>
29607 #ifdef HAVE_IEEEFP_H
29608 #include <ieeefp.h>
29609 #endif
29612 main ()
29614 _finite(0);
29616 return 0;
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func__finite_use=yes
29621 else
29622 glibcxx_cv_func__finite_use=no
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625 ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29636 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29638 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29639 for ac_func in _finite
29640 do :
29641 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29642 if test "x$ac_cv_func__finite" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE__FINITE 1
29645 _ACEOF
29648 done
29657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29658 $as_echo_n "checking for sincos declaration... " >&6; }
29659 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29660 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29661 $as_echo_n "(cached) " >&6
29662 else
29665 ac_ext=cpp
29666 ac_cpp='$CXXCPP $CPPFLAGS'
29667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29672 /* end confdefs.h. */
29673 #include <math.h>
29675 main ()
29677 sincos(0, 0, 0);
29679 return 0;
29681 _ACEOF
29682 if ac_fn_cxx_try_compile "$LINENO"; then :
29683 glibcxx_cv_func_sincos_use=yes
29684 else
29685 glibcxx_cv_func_sincos_use=no
29687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29688 ac_ext=c
29689 ac_cpp='$CPP $CPPFLAGS'
29690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29699 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29701 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29702 for ac_func in sincos
29703 do :
29704 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29705 if test "x$ac_cv_func_sincos" = x""yes; then :
29706 cat >>confdefs.h <<_ACEOF
29707 #define HAVE_SINCOS 1
29708 _ACEOF
29711 done
29713 else
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29716 $as_echo_n "checking for _sincos declaration... " >&6; }
29717 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29718 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29733 main ()
29735 _sincos(0, 0, 0);
29737 return 0;
29739 _ACEOF
29740 if ac_fn_cxx_try_compile "$LINENO"; then :
29741 glibcxx_cv_func__sincos_use=yes
29742 else
29743 glibcxx_cv_func__sincos_use=no
29745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29746 ac_ext=c
29747 ac_cpp='$CPP $CPPFLAGS'
29748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29757 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29759 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29760 for ac_func in _sincos
29761 do :
29762 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29763 if test "x$ac_cv_func__sincos" = x""yes; then :
29764 cat >>confdefs.h <<_ACEOF
29765 #define HAVE__SINCOS 1
29766 _ACEOF
29769 done
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29779 $as_echo_n "checking for fpclass declaration... " >&6; }
29780 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29781 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
29804 return 0;
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func_fpclass_use=yes
29809 else
29810 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
29824 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29826 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29827 for ac_func in fpclass
29828 do :
29829 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29830 if test "x$ac_cv_func_fpclass" = x""yes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE_FPCLASS 1
29833 _ACEOF
29836 done
29838 else
29840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29841 $as_echo_n "checking for _fpclass declaration... " >&6; }
29842 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29843 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29844 $as_echo_n "(cached) " >&6
29845 else
29848 ac_ext=cpp
29849 ac_cpp='$CXXCPP $CPPFLAGS'
29850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29855 /* end confdefs.h. */
29856 #include <math.h>
29857 #ifdef HAVE_IEEEFP_H
29858 #include <ieeefp.h>
29859 #endif
29862 main ()
29864 _fpclass(0);
29866 return 0;
29868 _ACEOF
29869 if ac_fn_cxx_try_compile "$LINENO"; then :
29870 glibcxx_cv_func__fpclass_use=yes
29871 else
29872 glibcxx_cv_func__fpclass_use=no
29874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29875 ac_ext=c
29876 ac_cpp='$CPP $CPPFLAGS'
29877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29886 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29888 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29889 for ac_func in _fpclass
29890 do :
29891 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29892 if test "x$ac_cv_func__fpclass" = x""yes; then :
29893 cat >>confdefs.h <<_ACEOF
29894 #define HAVE__FPCLASS 1
29895 _ACEOF
29898 done
29907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29908 $as_echo_n "checking for qfpclass declaration... " >&6; }
29909 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29910 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29911 $as_echo_n "(cached) " >&6
29912 else
29915 ac_ext=cpp
29916 ac_cpp='$CXXCPP $CPPFLAGS'
29917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29922 /* end confdefs.h. */
29923 #include <math.h>
29924 #ifdef HAVE_IEEEFP_H
29925 #include <ieeefp.h>
29926 #endif
29929 main ()
29931 qfpclass(0);
29933 return 0;
29935 _ACEOF
29936 if ac_fn_cxx_try_compile "$LINENO"; then :
29937 glibcxx_cv_func_qfpclass_use=yes
29938 else
29939 glibcxx_cv_func_qfpclass_use=no
29941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942 ac_ext=c
29943 ac_cpp='$CPP $CPPFLAGS'
29944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29953 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29955 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29956 for ac_func in qfpclass
29957 do :
29958 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29959 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29960 cat >>confdefs.h <<_ACEOF
29961 #define HAVE_QFPCLASS 1
29962 _ACEOF
29965 done
29967 else
29969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29970 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29971 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29972 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29973 $as_echo_n "(cached) " >&6
29974 else
29977 ac_ext=cpp
29978 ac_cpp='$CXXCPP $CPPFLAGS'
29979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29984 /* end confdefs.h. */
29985 #include <math.h>
29986 #ifdef HAVE_IEEEFP_H
29987 #include <ieeefp.h>
29988 #endif
29991 main ()
29993 _qfpclass(0);
29995 return 0;
29997 _ACEOF
29998 if ac_fn_cxx_try_compile "$LINENO"; then :
29999 glibcxx_cv_func__qfpclass_use=yes
30000 else
30001 glibcxx_cv_func__qfpclass_use=no
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30004 ac_ext=c
30005 ac_cpp='$CPP $CPPFLAGS'
30006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30015 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30017 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30018 for ac_func in _qfpclass
30019 do :
30020 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30021 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30022 cat >>confdefs.h <<_ACEOF
30023 #define HAVE__QFPCLASS 1
30024 _ACEOF
30027 done
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30037 $as_echo_n "checking for hypot declaration... " >&6; }
30038 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30039 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30040 $as_echo_n "(cached) " >&6
30041 else
30044 ac_ext=cpp
30045 ac_cpp='$CXXCPP $CPPFLAGS'
30046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30051 /* end confdefs.h. */
30052 #include <math.h>
30054 main ()
30056 hypot(0, 0);
30058 return 0;
30060 _ACEOF
30061 if ac_fn_cxx_try_compile "$LINENO"; then :
30062 glibcxx_cv_func_hypot_use=yes
30063 else
30064 glibcxx_cv_func_hypot_use=no
30066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30067 ac_ext=c
30068 ac_cpp='$CPP $CPPFLAGS'
30069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30078 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30080 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30081 for ac_func in hypot
30082 do :
30083 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30084 if test "x$ac_cv_func_hypot" = x""yes; then :
30085 cat >>confdefs.h <<_ACEOF
30086 #define HAVE_HYPOT 1
30087 _ACEOF
30090 done
30092 else
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30095 $as_echo_n "checking for _hypot declaration... " >&6; }
30096 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30097 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30098 $as_echo_n "(cached) " >&6
30099 else
30102 ac_ext=cpp
30103 ac_cpp='$CXXCPP $CPPFLAGS'
30104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30109 /* end confdefs.h. */
30110 #include <math.h>
30112 main ()
30114 _hypot(0, 0);
30116 return 0;
30118 _ACEOF
30119 if ac_fn_cxx_try_compile "$LINENO"; then :
30120 glibcxx_cv_func__hypot_use=yes
30121 else
30122 glibcxx_cv_func__hypot_use=no
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30136 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30138 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30139 for ac_func in _hypot
30140 do :
30141 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30142 if test "x$ac_cv_func__hypot" = x""yes; then :
30143 cat >>confdefs.h <<_ACEOF
30144 #define HAVE__HYPOT 1
30145 _ACEOF
30148 done
30157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30158 $as_echo_n "checking for float trig functions... " >&6; }
30159 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30160 $as_echo_n "(cached) " >&6
30161 else
30164 ac_ext=cpp
30165 ac_cpp='$CXXCPP $CPPFLAGS'
30166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30171 /* end confdefs.h. */
30172 #include <math.h>
30174 main ()
30176 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30178 return 0;
30180 _ACEOF
30181 if ac_fn_cxx_try_compile "$LINENO"; then :
30182 glibcxx_cv_func_float_trig_use=yes
30183 else
30184 glibcxx_cv_func_float_trig_use=no
30186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187 ac_ext=c
30188 ac_cpp='$CPP $CPPFLAGS'
30189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30196 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30197 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30198 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30199 do :
30200 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30202 eval as_val=\$$as_ac_var
30203 if test "x$as_val" = x""yes; then :
30204 cat >>confdefs.h <<_ACEOF
30205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30206 _ACEOF
30209 done
30211 else
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30213 $as_echo_n "checking for _float trig functions... " >&6; }
30214 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30215 $as_echo_n "(cached) " >&6
30216 else
30219 ac_ext=cpp
30220 ac_cpp='$CXXCPP $CPPFLAGS'
30221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30226 /* end confdefs.h. */
30227 #include <math.h>
30229 main ()
30231 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30233 return 0;
30235 _ACEOF
30236 if ac_fn_cxx_try_compile "$LINENO"; then :
30237 glibcxx_cv_func__float_trig_use=yes
30238 else
30239 glibcxx_cv_func__float_trig_use=no
30241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30242 ac_ext=c
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30251 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30252 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30253 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30254 do :
30255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30257 eval as_val=\$$as_ac_var
30258 if test "x$as_val" = x""yes; then :
30259 cat >>confdefs.h <<_ACEOF
30260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30261 _ACEOF
30264 done
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30274 $as_echo_n "checking for float round functions... " >&6; }
30275 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30276 $as_echo_n "(cached) " >&6
30277 else
30280 ac_ext=cpp
30281 ac_cpp='$CXXCPP $CPPFLAGS'
30282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30287 /* end confdefs.h. */
30288 #include <math.h>
30290 main ()
30292 ceilf (0); floorf (0);
30294 return 0;
30296 _ACEOF
30297 if ac_fn_cxx_try_compile "$LINENO"; then :
30298 glibcxx_cv_func_float_round_use=yes
30299 else
30300 glibcxx_cv_func_float_round_use=no
30302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30303 ac_ext=c
30304 ac_cpp='$CPP $CPPFLAGS'
30305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30312 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30313 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30314 for ac_func in ceilf floorf
30315 do :
30316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30318 eval as_val=\$$as_ac_var
30319 if test "x$as_val" = x""yes; then :
30320 cat >>confdefs.h <<_ACEOF
30321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30322 _ACEOF
30325 done
30327 else
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30329 $as_echo_n "checking for _float round functions... " >&6; }
30330 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30331 $as_echo_n "(cached) " >&6
30332 else
30335 ac_ext=cpp
30336 ac_cpp='$CXXCPP $CPPFLAGS'
30337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30342 /* end confdefs.h. */
30343 #include <math.h>
30345 main ()
30347 _ceilf (0); _floorf (0);
30349 return 0;
30351 _ACEOF
30352 if ac_fn_cxx_try_compile "$LINENO"; then :
30353 glibcxx_cv_func__float_round_use=yes
30354 else
30355 glibcxx_cv_func__float_round_use=no
30357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30358 ac_ext=c
30359 ac_cpp='$CPP $CPPFLAGS'
30360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30367 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30368 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30369 for ac_func in _ceilf _floorf
30370 do :
30371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30373 eval as_val=\$$as_ac_var
30374 if test "x$as_val" = x""yes; then :
30375 cat >>confdefs.h <<_ACEOF
30376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30377 _ACEOF
30380 done
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30391 $as_echo_n "checking for expf declaration... " >&6; }
30392 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30393 if test "${glibcxx_cv_func_expf_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 expf(0);
30416 return 0;
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func_expf_use=yes
30421 else
30422 glibcxx_cv_func_expf_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_expf_use" >&5
30436 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30438 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30439 for ac_func in expf
30440 do :
30441 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30442 if test "x$ac_cv_func_expf" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE_EXPF 1
30445 _ACEOF
30448 done
30450 else
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30453 $as_echo_n "checking for _expf declaration... " >&6; }
30454 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30455 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30456 $as_echo_n "(cached) " >&6
30457 else
30460 ac_ext=cpp
30461 ac_cpp='$CXXCPP $CPPFLAGS'
30462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30467 /* end confdefs.h. */
30468 #include <math.h>
30469 #ifdef HAVE_IEEEFP_H
30470 #include <ieeefp.h>
30471 #endif
30474 main ()
30476 _expf(0);
30478 return 0;
30480 _ACEOF
30481 if ac_fn_cxx_try_compile "$LINENO"; then :
30482 glibcxx_cv_func__expf_use=yes
30483 else
30484 glibcxx_cv_func__expf_use=no
30486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30487 ac_ext=c
30488 ac_cpp='$CPP $CPPFLAGS'
30489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30498 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30500 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30501 for ac_func in _expf
30502 do :
30503 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30504 if test "x$ac_cv_func__expf" = x""yes; then :
30505 cat >>confdefs.h <<_ACEOF
30506 #define HAVE__EXPF 1
30507 _ACEOF
30510 done
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30520 $as_echo_n "checking for isnanf declaration... " >&6; }
30521 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30522 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
30545 return 0;
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func_isnanf_use=yes
30550 else
30551 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
30565 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30567 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30568 for ac_func in isnanf
30569 do :
30570 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30571 if test "x$ac_cv_func_isnanf" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE_ISNANF 1
30574 _ACEOF
30577 done
30579 else
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30582 $as_echo_n "checking for _isnanf declaration... " >&6; }
30583 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30584 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30585 $as_echo_n "(cached) " >&6
30586 else
30589 ac_ext=cpp
30590 ac_cpp='$CXXCPP $CPPFLAGS'
30591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30596 /* end confdefs.h. */
30597 #include <math.h>
30598 #ifdef HAVE_IEEEFP_H
30599 #include <ieeefp.h>
30600 #endif
30603 main ()
30605 _isnanf(0);
30607 return 0;
30609 _ACEOF
30610 if ac_fn_cxx_try_compile "$LINENO"; then :
30611 glibcxx_cv_func__isnanf_use=yes
30612 else
30613 glibcxx_cv_func__isnanf_use=no
30615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30616 ac_ext=c
30617 ac_cpp='$CPP $CPPFLAGS'
30618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30627 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30629 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30630 for ac_func in _isnanf
30631 do :
30632 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30633 if test "x$ac_cv_func__isnanf" = x""yes; then :
30634 cat >>confdefs.h <<_ACEOF
30635 #define HAVE__ISNANF 1
30636 _ACEOF
30639 done
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30649 $as_echo_n "checking for isinff declaration... " >&6; }
30650 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30651 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30652 $as_echo_n "(cached) " >&6
30653 else
30656 ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h. */
30664 #include <math.h>
30665 #ifdef HAVE_IEEEFP_H
30666 #include <ieeefp.h>
30667 #endif
30670 main ()
30672 isinff(0);
30674 return 0;
30676 _ACEOF
30677 if ac_fn_cxx_try_compile "$LINENO"; then :
30678 glibcxx_cv_func_isinff_use=yes
30679 else
30680 glibcxx_cv_func_isinff_use=no
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683 ac_ext=c
30684 ac_cpp='$CPP $CPPFLAGS'
30685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30694 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30696 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30697 for ac_func in isinff
30698 do :
30699 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30700 if test "x$ac_cv_func_isinff" = x""yes; then :
30701 cat >>confdefs.h <<_ACEOF
30702 #define HAVE_ISINFF 1
30703 _ACEOF
30706 done
30708 else
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30711 $as_echo_n "checking for _isinff declaration... " >&6; }
30712 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30713 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30714 $as_echo_n "(cached) " >&6
30715 else
30718 ac_ext=cpp
30719 ac_cpp='$CXXCPP $CPPFLAGS'
30720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30725 /* end confdefs.h. */
30726 #include <math.h>
30727 #ifdef HAVE_IEEEFP_H
30728 #include <ieeefp.h>
30729 #endif
30732 main ()
30734 _isinff(0);
30736 return 0;
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 glibcxx_cv_func__isinff_use=yes
30741 else
30742 glibcxx_cv_func__isinff_use=no
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30745 ac_ext=c
30746 ac_cpp='$CPP $CPPFLAGS'
30747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30756 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30758 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30759 for ac_func in _isinff
30760 do :
30761 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30762 if test "x$ac_cv_func__isinff" = x""yes; then :
30763 cat >>confdefs.h <<_ACEOF
30764 #define HAVE__ISINFF 1
30765 _ACEOF
30768 done
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30778 $as_echo_n "checking for atan2f declaration... " >&6; }
30779 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30780 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30781 $as_echo_n "(cached) " >&6
30782 else
30785 ac_ext=cpp
30786 ac_cpp='$CXXCPP $CPPFLAGS'
30787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30792 /* end confdefs.h. */
30793 #include <math.h>
30795 main ()
30797 atan2f(0, 0);
30799 return 0;
30801 _ACEOF
30802 if ac_fn_cxx_try_compile "$LINENO"; then :
30803 glibcxx_cv_func_atan2f_use=yes
30804 else
30805 glibcxx_cv_func_atan2f_use=no
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30808 ac_ext=c
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30819 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30821 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30822 for ac_func in atan2f
30823 do :
30824 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30825 if test "x$ac_cv_func_atan2f" = x""yes; then :
30826 cat >>confdefs.h <<_ACEOF
30827 #define HAVE_ATAN2F 1
30828 _ACEOF
30831 done
30833 else
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30836 $as_echo_n "checking for _atan2f declaration... " >&6; }
30837 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30838 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30839 $as_echo_n "(cached) " >&6
30840 else
30843 ac_ext=cpp
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30850 /* end confdefs.h. */
30851 #include <math.h>
30853 main ()
30855 _atan2f(0, 0);
30857 return 0;
30859 _ACEOF
30860 if ac_fn_cxx_try_compile "$LINENO"; then :
30861 glibcxx_cv_func__atan2f_use=yes
30862 else
30863 glibcxx_cv_func__atan2f_use=no
30865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30866 ac_ext=c
30867 ac_cpp='$CPP $CPPFLAGS'
30868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30877 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30879 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30880 for ac_func in _atan2f
30881 do :
30882 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30883 if test "x$ac_cv_func__atan2f" = x""yes; then :
30884 cat >>confdefs.h <<_ACEOF
30885 #define HAVE__ATAN2F 1
30886 _ACEOF
30889 done
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30899 $as_echo_n "checking for fabsf declaration... " >&6; }
30900 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30901 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30902 $as_echo_n "(cached) " >&6
30903 else
30906 ac_ext=cpp
30907 ac_cpp='$CXXCPP $CPPFLAGS'
30908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 #include <math.h>
30915 #ifdef HAVE_IEEEFP_H
30916 #include <ieeefp.h>
30917 #endif
30920 main ()
30922 fabsf(0);
30924 return 0;
30926 _ACEOF
30927 if ac_fn_cxx_try_compile "$LINENO"; then :
30928 glibcxx_cv_func_fabsf_use=yes
30929 else
30930 glibcxx_cv_func_fabsf_use=no
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933 ac_ext=c
30934 ac_cpp='$CPP $CPPFLAGS'
30935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30944 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30946 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30947 for ac_func in fabsf
30948 do :
30949 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30950 if test "x$ac_cv_func_fabsf" = x""yes; then :
30951 cat >>confdefs.h <<_ACEOF
30952 #define HAVE_FABSF 1
30953 _ACEOF
30956 done
30958 else
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30961 $as_echo_n "checking for _fabsf declaration... " >&6; }
30962 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30963 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30964 $as_echo_n "(cached) " >&6
30965 else
30968 ac_ext=cpp
30969 ac_cpp='$CXXCPP $CPPFLAGS'
30970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30976 #include <math.h>
30977 #ifdef HAVE_IEEEFP_H
30978 #include <ieeefp.h>
30979 #endif
30982 main ()
30984 _fabsf(0);
30986 return 0;
30988 _ACEOF
30989 if ac_fn_cxx_try_compile "$LINENO"; then :
30990 glibcxx_cv_func__fabsf_use=yes
30991 else
30992 glibcxx_cv_func__fabsf_use=no
30994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30995 ac_ext=c
30996 ac_cpp='$CPP $CPPFLAGS'
30997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31006 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31008 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31009 for ac_func in _fabsf
31010 do :
31011 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31012 if test "x$ac_cv_func__fabsf" = x""yes; then :
31013 cat >>confdefs.h <<_ACEOF
31014 #define HAVE__FABSF 1
31015 _ACEOF
31018 done
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31028 $as_echo_n "checking for fmodf declaration... " >&6; }
31029 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31030 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31031 $as_echo_n "(cached) " >&6
31032 else
31035 ac_ext=cpp
31036 ac_cpp='$CXXCPP $CPPFLAGS'
31037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31042 /* end confdefs.h. */
31043 #include <math.h>
31045 main ()
31047 fmodf(0, 0);
31049 return 0;
31051 _ACEOF
31052 if ac_fn_cxx_try_compile "$LINENO"; then :
31053 glibcxx_cv_func_fmodf_use=yes
31054 else
31055 glibcxx_cv_func_fmodf_use=no
31057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31069 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31071 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31072 for ac_func in fmodf
31073 do :
31074 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31075 if test "x$ac_cv_func_fmodf" = x""yes; then :
31076 cat >>confdefs.h <<_ACEOF
31077 #define HAVE_FMODF 1
31078 _ACEOF
31081 done
31083 else
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31086 $as_echo_n "checking for _fmodf declaration... " >&6; }
31087 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31088 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31089 $as_echo_n "(cached) " >&6
31090 else
31093 ac_ext=cpp
31094 ac_cpp='$CXXCPP $CPPFLAGS'
31095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31100 /* end confdefs.h. */
31101 #include <math.h>
31103 main ()
31105 _fmodf(0, 0);
31107 return 0;
31109 _ACEOF
31110 if ac_fn_cxx_try_compile "$LINENO"; then :
31111 glibcxx_cv_func__fmodf_use=yes
31112 else
31113 glibcxx_cv_func__fmodf_use=no
31115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31116 ac_ext=c
31117 ac_cpp='$CPP $CPPFLAGS'
31118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31127 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31129 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31130 for ac_func in _fmodf
31131 do :
31132 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31133 if test "x$ac_cv_func__fmodf" = x""yes; then :
31134 cat >>confdefs.h <<_ACEOF
31135 #define HAVE__FMODF 1
31136 _ACEOF
31139 done
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31149 $as_echo_n "checking for frexpf declaration... " >&6; }
31150 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31151 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31152 $as_echo_n "(cached) " >&6
31153 else
31156 ac_ext=cpp
31157 ac_cpp='$CXXCPP $CPPFLAGS'
31158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31163 /* end confdefs.h. */
31164 #include <math.h>
31166 main ()
31168 frexpf(0, 0);
31170 return 0;
31172 _ACEOF
31173 if ac_fn_cxx_try_compile "$LINENO"; then :
31174 glibcxx_cv_func_frexpf_use=yes
31175 else
31176 glibcxx_cv_func_frexpf_use=no
31178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31179 ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31190 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31192 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31193 for ac_func in frexpf
31194 do :
31195 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31196 if test "x$ac_cv_func_frexpf" = x""yes; then :
31197 cat >>confdefs.h <<_ACEOF
31198 #define HAVE_FREXPF 1
31199 _ACEOF
31202 done
31204 else
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31207 $as_echo_n "checking for _frexpf declaration... " >&6; }
31208 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31209 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31210 $as_echo_n "(cached) " >&6
31211 else
31214 ac_ext=cpp
31215 ac_cpp='$CXXCPP $CPPFLAGS'
31216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h. */
31222 #include <math.h>
31224 main ()
31226 _frexpf(0, 0);
31228 return 0;
31230 _ACEOF
31231 if ac_fn_cxx_try_compile "$LINENO"; then :
31232 glibcxx_cv_func__frexpf_use=yes
31233 else
31234 glibcxx_cv_func__frexpf_use=no
31236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237 ac_ext=c
31238 ac_cpp='$CPP $CPPFLAGS'
31239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31248 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31250 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31251 for ac_func in _frexpf
31252 do :
31253 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31254 if test "x$ac_cv_func__frexpf" = x""yes; then :
31255 cat >>confdefs.h <<_ACEOF
31256 #define HAVE__FREXPF 1
31257 _ACEOF
31260 done
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31270 $as_echo_n "checking for hypotf declaration... " >&6; }
31271 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31272 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31273 $as_echo_n "(cached) " >&6
31274 else
31277 ac_ext=cpp
31278 ac_cpp='$CXXCPP $CPPFLAGS'
31279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31284 /* end confdefs.h. */
31285 #include <math.h>
31287 main ()
31289 hypotf(0, 0);
31291 return 0;
31293 _ACEOF
31294 if ac_fn_cxx_try_compile "$LINENO"; then :
31295 glibcxx_cv_func_hypotf_use=yes
31296 else
31297 glibcxx_cv_func_hypotf_use=no
31299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31300 ac_ext=c
31301 ac_cpp='$CPP $CPPFLAGS'
31302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31311 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31313 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31314 for ac_func in hypotf
31315 do :
31316 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31317 if test "x$ac_cv_func_hypotf" = x""yes; then :
31318 cat >>confdefs.h <<_ACEOF
31319 #define HAVE_HYPOTF 1
31320 _ACEOF
31323 done
31325 else
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31328 $as_echo_n "checking for _hypotf declaration... " >&6; }
31329 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31330 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31345 main ()
31347 _hypotf(0, 0);
31349 return 0;
31351 _ACEOF
31352 if ac_fn_cxx_try_compile "$LINENO"; then :
31353 glibcxx_cv_func__hypotf_use=yes
31354 else
31355 glibcxx_cv_func__hypotf_use=no
31357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31358 ac_ext=c
31359 ac_cpp='$CPP $CPPFLAGS'
31360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31369 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31371 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31372 for ac_func in _hypotf
31373 do :
31374 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31375 if test "x$ac_cv_func__hypotf" = x""yes; then :
31376 cat >>confdefs.h <<_ACEOF
31377 #define HAVE__HYPOTF 1
31378 _ACEOF
31381 done
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31391 $as_echo_n "checking for ldexpf declaration... " >&6; }
31392 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31393 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31394 $as_echo_n "(cached) " >&6
31395 else
31398 ac_ext=cpp
31399 ac_cpp='$CXXCPP $CPPFLAGS'
31400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31405 /* end confdefs.h. */
31406 #include <math.h>
31408 main ()
31410 ldexpf(0, 0);
31412 return 0;
31414 _ACEOF
31415 if ac_fn_cxx_try_compile "$LINENO"; then :
31416 glibcxx_cv_func_ldexpf_use=yes
31417 else
31418 glibcxx_cv_func_ldexpf_use=no
31420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31421 ac_ext=c
31422 ac_cpp='$CPP $CPPFLAGS'
31423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31432 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31434 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31435 for ac_func in ldexpf
31436 do :
31437 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31438 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31439 cat >>confdefs.h <<_ACEOF
31440 #define HAVE_LDEXPF 1
31441 _ACEOF
31444 done
31446 else
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31449 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31450 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31451 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31452 $as_echo_n "(cached) " >&6
31453 else
31456 ac_ext=cpp
31457 ac_cpp='$CXXCPP $CPPFLAGS'
31458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31463 /* end confdefs.h. */
31464 #include <math.h>
31466 main ()
31468 _ldexpf(0, 0);
31470 return 0;
31472 _ACEOF
31473 if ac_fn_cxx_try_compile "$LINENO"; then :
31474 glibcxx_cv_func__ldexpf_use=yes
31475 else
31476 glibcxx_cv_func__ldexpf_use=no
31478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31479 ac_ext=c
31480 ac_cpp='$CPP $CPPFLAGS'
31481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31490 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31492 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31493 for ac_func in _ldexpf
31494 do :
31495 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31496 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31497 cat >>confdefs.h <<_ACEOF
31498 #define HAVE__LDEXPF 1
31499 _ACEOF
31502 done
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31512 $as_echo_n "checking for logf declaration... " >&6; }
31513 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31514 if test "${glibcxx_cv_func_logf_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 logf(0);
31537 return 0;
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func_logf_use=yes
31542 else
31543 glibcxx_cv_func_logf_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_logf_use" >&5
31557 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31559 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31560 for ac_func in logf
31561 do :
31562 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31563 if test "x$ac_cv_func_logf" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE_LOGF 1
31566 _ACEOF
31569 done
31571 else
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31574 $as_echo_n "checking for _logf declaration... " >&6; }
31575 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31576 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31577 $as_echo_n "(cached) " >&6
31578 else
31581 ac_ext=cpp
31582 ac_cpp='$CXXCPP $CPPFLAGS'
31583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31588 /* end confdefs.h. */
31589 #include <math.h>
31590 #ifdef HAVE_IEEEFP_H
31591 #include <ieeefp.h>
31592 #endif
31595 main ()
31597 _logf(0);
31599 return 0;
31601 _ACEOF
31602 if ac_fn_cxx_try_compile "$LINENO"; then :
31603 glibcxx_cv_func__logf_use=yes
31604 else
31605 glibcxx_cv_func__logf_use=no
31607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31608 ac_ext=c
31609 ac_cpp='$CPP $CPPFLAGS'
31610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31619 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31621 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31622 for ac_func in _logf
31623 do :
31624 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31625 if test "x$ac_cv_func__logf" = x""yes; then :
31626 cat >>confdefs.h <<_ACEOF
31627 #define HAVE__LOGF 1
31628 _ACEOF
31631 done
31640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31641 $as_echo_n "checking for log10f declaration... " >&6; }
31642 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31643 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31644 $as_echo_n "(cached) " >&6
31645 else
31648 ac_ext=cpp
31649 ac_cpp='$CXXCPP $CPPFLAGS'
31650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31655 /* end confdefs.h. */
31656 #include <math.h>
31657 #ifdef HAVE_IEEEFP_H
31658 #include <ieeefp.h>
31659 #endif
31662 main ()
31664 log10f(0);
31666 return 0;
31668 _ACEOF
31669 if ac_fn_cxx_try_compile "$LINENO"; then :
31670 glibcxx_cv_func_log10f_use=yes
31671 else
31672 glibcxx_cv_func_log10f_use=no
31674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31675 ac_ext=c
31676 ac_cpp='$CPP $CPPFLAGS'
31677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31686 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31688 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31689 for ac_func in log10f
31690 do :
31691 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31692 if test "x$ac_cv_func_log10f" = x""yes; then :
31693 cat >>confdefs.h <<_ACEOF
31694 #define HAVE_LOG10F 1
31695 _ACEOF
31698 done
31700 else
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31703 $as_echo_n "checking for _log10f declaration... " >&6; }
31704 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31705 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31706 $as_echo_n "(cached) " >&6
31707 else
31710 ac_ext=cpp
31711 ac_cpp='$CXXCPP $CPPFLAGS'
31712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31717 /* end confdefs.h. */
31718 #include <math.h>
31719 #ifdef HAVE_IEEEFP_H
31720 #include <ieeefp.h>
31721 #endif
31724 main ()
31726 _log10f(0);
31728 return 0;
31730 _ACEOF
31731 if ac_fn_cxx_try_compile "$LINENO"; then :
31732 glibcxx_cv_func__log10f_use=yes
31733 else
31734 glibcxx_cv_func__log10f_use=no
31736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31737 ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31748 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31750 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31751 for ac_func in _log10f
31752 do :
31753 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31754 if test "x$ac_cv_func__log10f" = x""yes; then :
31755 cat >>confdefs.h <<_ACEOF
31756 #define HAVE__LOG10F 1
31757 _ACEOF
31760 done
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31770 $as_echo_n "checking for modff declaration... " >&6; }
31771 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31772 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31787 main ()
31789 modff(0, 0);
31791 return 0;
31793 _ACEOF
31794 if ac_fn_cxx_try_compile "$LINENO"; then :
31795 glibcxx_cv_func_modff_use=yes
31796 else
31797 glibcxx_cv_func_modff_use=no
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31811 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31813 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31814 for ac_func in modff
31815 do :
31816 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31817 if test "x$ac_cv_func_modff" = x""yes; then :
31818 cat >>confdefs.h <<_ACEOF
31819 #define HAVE_MODFF 1
31820 _ACEOF
31823 done
31825 else
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31828 $as_echo_n "checking for _modff declaration... " >&6; }
31829 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31830 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31831 $as_echo_n "(cached) " >&6
31832 else
31835 ac_ext=cpp
31836 ac_cpp='$CXXCPP $CPPFLAGS'
31837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31842 /* end confdefs.h. */
31843 #include <math.h>
31845 main ()
31847 _modff(0, 0);
31849 return 0;
31851 _ACEOF
31852 if ac_fn_cxx_try_compile "$LINENO"; then :
31853 glibcxx_cv_func__modff_use=yes
31854 else
31855 glibcxx_cv_func__modff_use=no
31857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31858 ac_ext=c
31859 ac_cpp='$CPP $CPPFLAGS'
31860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31869 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31871 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31872 for ac_func in _modff
31873 do :
31874 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31875 if test "x$ac_cv_func__modff" = x""yes; then :
31876 cat >>confdefs.h <<_ACEOF
31877 #define HAVE__MODFF 1
31878 _ACEOF
31881 done
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31891 $as_echo_n "checking for modf declaration... " >&6; }
31892 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31893 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31894 $as_echo_n "(cached) " >&6
31895 else
31898 ac_ext=cpp
31899 ac_cpp='$CXXCPP $CPPFLAGS'
31900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31905 /* end confdefs.h. */
31906 #include <math.h>
31908 main ()
31910 modf(0, 0);
31912 return 0;
31914 _ACEOF
31915 if ac_fn_cxx_try_compile "$LINENO"; then :
31916 glibcxx_cv_func_modf_use=yes
31917 else
31918 glibcxx_cv_func_modf_use=no
31920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31921 ac_ext=c
31922 ac_cpp='$CPP $CPPFLAGS'
31923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31932 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31934 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31935 for ac_func in modf
31936 do :
31937 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31938 if test "x$ac_cv_func_modf" = x""yes; then :
31939 cat >>confdefs.h <<_ACEOF
31940 #define HAVE_MODF 1
31941 _ACEOF
31944 done
31946 else
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31949 $as_echo_n "checking for _modf declaration... " >&6; }
31950 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31951 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31952 $as_echo_n "(cached) " >&6
31953 else
31956 ac_ext=cpp
31957 ac_cpp='$CXXCPP $CPPFLAGS'
31958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <math.h>
31966 main ()
31968 _modf(0, 0);
31970 return 0;
31972 _ACEOF
31973 if ac_fn_cxx_try_compile "$LINENO"; then :
31974 glibcxx_cv_func__modf_use=yes
31975 else
31976 glibcxx_cv_func__modf_use=no
31978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31979 ac_ext=c
31980 ac_cpp='$CPP $CPPFLAGS'
31981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31990 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31992 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31993 for ac_func in _modf
31994 do :
31995 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31996 if test "x$ac_cv_func__modf" = x""yes; then :
31997 cat >>confdefs.h <<_ACEOF
31998 #define HAVE__MODF 1
31999 _ACEOF
32002 done
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32012 $as_echo_n "checking for powf declaration... " >&6; }
32013 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32014 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32015 $as_echo_n "(cached) " >&6
32016 else
32019 ac_ext=cpp
32020 ac_cpp='$CXXCPP $CPPFLAGS'
32021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h. */
32027 #include <math.h>
32029 main ()
32031 powf(0, 0);
32033 return 0;
32035 _ACEOF
32036 if ac_fn_cxx_try_compile "$LINENO"; then :
32037 glibcxx_cv_func_powf_use=yes
32038 else
32039 glibcxx_cv_func_powf_use=no
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32042 ac_ext=c
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32053 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32055 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32056 for ac_func in powf
32057 do :
32058 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32059 if test "x$ac_cv_func_powf" = x""yes; then :
32060 cat >>confdefs.h <<_ACEOF
32061 #define HAVE_POWF 1
32062 _ACEOF
32065 done
32067 else
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32070 $as_echo_n "checking for _powf declaration... " >&6; }
32071 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32072 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32087 main ()
32089 _powf(0, 0);
32091 return 0;
32093 _ACEOF
32094 if ac_fn_cxx_try_compile "$LINENO"; then :
32095 glibcxx_cv_func__powf_use=yes
32096 else
32097 glibcxx_cv_func__powf_use=no
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100 ac_ext=c
32101 ac_cpp='$CPP $CPPFLAGS'
32102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32111 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32113 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32114 for ac_func in _powf
32115 do :
32116 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32117 if test "x$ac_cv_func__powf" = x""yes; then :
32118 cat >>confdefs.h <<_ACEOF
32119 #define HAVE__POWF 1
32120 _ACEOF
32123 done
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32133 $as_echo_n "checking for sqrtf declaration... " >&6; }
32134 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32135 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32136 $as_echo_n "(cached) " >&6
32137 else
32140 ac_ext=cpp
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147 /* end confdefs.h. */
32148 #include <math.h>
32149 #ifdef HAVE_IEEEFP_H
32150 #include <ieeefp.h>
32151 #endif
32154 main ()
32156 sqrtf(0);
32158 return 0;
32160 _ACEOF
32161 if ac_fn_cxx_try_compile "$LINENO"; then :
32162 glibcxx_cv_func_sqrtf_use=yes
32163 else
32164 glibcxx_cv_func_sqrtf_use=no
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167 ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32178 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32180 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32181 for ac_func in sqrtf
32182 do :
32183 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32184 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32185 cat >>confdefs.h <<_ACEOF
32186 #define HAVE_SQRTF 1
32187 _ACEOF
32190 done
32192 else
32194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32195 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32196 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32197 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32198 $as_echo_n "(cached) " >&6
32199 else
32202 ac_ext=cpp
32203 ac_cpp='$CXXCPP $CPPFLAGS'
32204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32209 /* end confdefs.h. */
32210 #include <math.h>
32211 #ifdef HAVE_IEEEFP_H
32212 #include <ieeefp.h>
32213 #endif
32216 main ()
32218 _sqrtf(0);
32220 return 0;
32222 _ACEOF
32223 if ac_fn_cxx_try_compile "$LINENO"; then :
32224 glibcxx_cv_func__sqrtf_use=yes
32225 else
32226 glibcxx_cv_func__sqrtf_use=no
32228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32229 ac_ext=c
32230 ac_cpp='$CPP $CPPFLAGS'
32231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32240 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32242 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32243 for ac_func in _sqrtf
32244 do :
32245 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32246 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32247 cat >>confdefs.h <<_ACEOF
32248 #define HAVE__SQRTF 1
32249 _ACEOF
32252 done
32261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32262 $as_echo_n "checking for sincosf declaration... " >&6; }
32263 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32264 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32265 $as_echo_n "(cached) " >&6
32266 else
32269 ac_ext=cpp
32270 ac_cpp='$CXXCPP $CPPFLAGS'
32271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32276 /* end confdefs.h. */
32277 #include <math.h>
32279 main ()
32281 sincosf(0, 0, 0);
32283 return 0;
32285 _ACEOF
32286 if ac_fn_cxx_try_compile "$LINENO"; then :
32287 glibcxx_cv_func_sincosf_use=yes
32288 else
32289 glibcxx_cv_func_sincosf_use=no
32291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292 ac_ext=c
32293 ac_cpp='$CPP $CPPFLAGS'
32294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32303 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32305 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32306 for ac_func in sincosf
32307 do :
32308 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32309 if test "x$ac_cv_func_sincosf" = x""yes; then :
32310 cat >>confdefs.h <<_ACEOF
32311 #define HAVE_SINCOSF 1
32312 _ACEOF
32315 done
32317 else
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32320 $as_echo_n "checking for _sincosf declaration... " >&6; }
32321 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32322 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
32341 return 0;
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345 glibcxx_cv_func__sincosf_use=yes
32346 else
32347 glibcxx_cv_func__sincosf_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
32360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32361 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32363 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32364 for ac_func in _sincosf
32365 do :
32366 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32367 if test "x$ac_cv_func__sincosf" = x""yes; then :
32368 cat >>confdefs.h <<_ACEOF
32369 #define HAVE__SINCOSF 1
32370 _ACEOF
32373 done
32382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32383 $as_echo_n "checking for finitef declaration... " >&6; }
32384 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32385 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32386 $as_echo_n "(cached) " >&6
32387 else
32390 ac_ext=cpp
32391 ac_cpp='$CXXCPP $CPPFLAGS'
32392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h. */
32398 #include <math.h>
32399 #ifdef HAVE_IEEEFP_H
32400 #include <ieeefp.h>
32401 #endif
32404 main ()
32406 finitef(0);
32408 return 0;
32410 _ACEOF
32411 if ac_fn_cxx_try_compile "$LINENO"; then :
32412 glibcxx_cv_func_finitef_use=yes
32413 else
32414 glibcxx_cv_func_finitef_use=no
32416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32417 ac_ext=c
32418 ac_cpp='$CPP $CPPFLAGS'
32419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32428 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32430 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32431 for ac_func in finitef
32432 do :
32433 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32434 if test "x$ac_cv_func_finitef" = x""yes; then :
32435 cat >>confdefs.h <<_ACEOF
32436 #define HAVE_FINITEF 1
32437 _ACEOF
32440 done
32442 else
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32445 $as_echo_n "checking for _finitef declaration... " >&6; }
32446 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32447 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32448 $as_echo_n "(cached) " >&6
32449 else
32452 ac_ext=cpp
32453 ac_cpp='$CXXCPP $CPPFLAGS'
32454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32459 /* end confdefs.h. */
32460 #include <math.h>
32461 #ifdef HAVE_IEEEFP_H
32462 #include <ieeefp.h>
32463 #endif
32466 main ()
32468 _finitef(0);
32470 return 0;
32472 _ACEOF
32473 if ac_fn_cxx_try_compile "$LINENO"; then :
32474 glibcxx_cv_func__finitef_use=yes
32475 else
32476 glibcxx_cv_func__finitef_use=no
32478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479 ac_ext=c
32480 ac_cpp='$CPP $CPPFLAGS'
32481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32490 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32492 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32493 for ac_func in _finitef
32494 do :
32495 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32496 if test "x$ac_cv_func__finitef" = x""yes; then :
32497 cat >>confdefs.h <<_ACEOF
32498 #define HAVE__FINITEF 1
32499 _ACEOF
32502 done
32511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32512 $as_echo_n "checking for long double trig functions... " >&6; }
32513 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32514 $as_echo_n "(cached) " >&6
32515 else
32518 ac_ext=cpp
32519 ac_cpp='$CXXCPP $CPPFLAGS'
32520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32525 /* end confdefs.h. */
32526 #include <math.h>
32528 main ()
32530 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32532 return 0;
32534 _ACEOF
32535 if ac_fn_cxx_try_compile "$LINENO"; then :
32536 glibcxx_cv_func_long_double_trig_use=yes
32537 else
32538 glibcxx_cv_func_long_double_trig_use=no
32540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32541 ac_ext=c
32542 ac_cpp='$CPP $CPPFLAGS'
32543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32550 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32551 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32552 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32553 do :
32554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32556 eval as_val=\$$as_ac_var
32557 if test "x$as_val" = x""yes; then :
32558 cat >>confdefs.h <<_ACEOF
32559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32560 _ACEOF
32563 done
32565 else
32566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32567 $as_echo_n "checking for _long double trig functions... " >&6; }
32568 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32569 $as_echo_n "(cached) " >&6
32570 else
32573 ac_ext=cpp
32574 ac_cpp='$CXXCPP $CPPFLAGS'
32575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32580 /* end confdefs.h. */
32581 #include <math.h>
32583 main ()
32585 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32587 return 0;
32589 _ACEOF
32590 if ac_fn_cxx_try_compile "$LINENO"; then :
32591 glibcxx_cv_func__long_double_trig_use=yes
32592 else
32593 glibcxx_cv_func__long_double_trig_use=no
32595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32596 ac_ext=c
32597 ac_cpp='$CPP $CPPFLAGS'
32598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32605 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32606 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32607 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32608 do :
32609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32611 eval as_val=\$$as_ac_var
32612 if test "x$as_val" = x""yes; then :
32613 cat >>confdefs.h <<_ACEOF
32614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32615 _ACEOF
32618 done
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32628 $as_echo_n "checking for long double round functions... " >&6; }
32629 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32630 $as_echo_n "(cached) " >&6
32631 else
32634 ac_ext=cpp
32635 ac_cpp='$CXXCPP $CPPFLAGS'
32636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32641 /* end confdefs.h. */
32642 #include <math.h>
32644 main ()
32646 ceill (0); floorl (0);
32648 return 0;
32650 _ACEOF
32651 if ac_fn_cxx_try_compile "$LINENO"; then :
32652 glibcxx_cv_func_long_double_round_use=yes
32653 else
32654 glibcxx_cv_func_long_double_round_use=no
32656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 ac_ext=c
32658 ac_cpp='$CPP $CPPFLAGS'
32659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32666 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32667 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32668 for ac_func in ceill floorl
32669 do :
32670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32672 eval as_val=\$$as_ac_var
32673 if test "x$as_val" = x""yes; then :
32674 cat >>confdefs.h <<_ACEOF
32675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32676 _ACEOF
32679 done
32681 else
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32683 $as_echo_n "checking for _long double round functions... " >&6; }
32684 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32685 $as_echo_n "(cached) " >&6
32686 else
32689 ac_ext=cpp
32690 ac_cpp='$CXXCPP $CPPFLAGS'
32691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32696 /* end confdefs.h. */
32697 #include <math.h>
32699 main ()
32701 _ceill (0); _floorl (0);
32703 return 0;
32705 _ACEOF
32706 if ac_fn_cxx_try_compile "$LINENO"; then :
32707 glibcxx_cv_func__long_double_round_use=yes
32708 else
32709 glibcxx_cv_func__long_double_round_use=no
32711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32712 ac_ext=c
32713 ac_cpp='$CPP $CPPFLAGS'
32714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32721 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32722 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32723 for ac_func in _ceill _floorl
32724 do :
32725 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32726 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32727 eval as_val=\$$as_ac_var
32728 if test "x$as_val" = x""yes; then :
32729 cat >>confdefs.h <<_ACEOF
32730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 _ACEOF
32734 done
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32745 $as_echo_n "checking for isnanl declaration... " >&6; }
32746 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32747 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
32770 return 0;
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func_isnanl_use=yes
32775 else
32776 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
32790 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32792 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32793 for ac_func in isnanl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32796 if test "x$ac_cv_func_isnanl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE_ISNANL 1
32799 _ACEOF
32802 done
32804 else
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32807 $as_echo_n "checking for _isnanl declaration... " >&6; }
32808 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32809 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32810 $as_echo_n "(cached) " >&6
32811 else
32814 ac_ext=cpp
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h. */
32822 #include <math.h>
32823 #ifdef HAVE_IEEEFP_H
32824 #include <ieeefp.h>
32825 #endif
32828 main ()
32830 _isnanl(0);
32832 return 0;
32834 _ACEOF
32835 if ac_fn_cxx_try_compile "$LINENO"; then :
32836 glibcxx_cv_func__isnanl_use=yes
32837 else
32838 glibcxx_cv_func__isnanl_use=no
32840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32841 ac_ext=c
32842 ac_cpp='$CPP $CPPFLAGS'
32843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32852 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32854 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32855 for ac_func in _isnanl
32856 do :
32857 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32858 if test "x$ac_cv_func__isnanl" = x""yes; then :
32859 cat >>confdefs.h <<_ACEOF
32860 #define HAVE__ISNANL 1
32861 _ACEOF
32864 done
32873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32874 $as_echo_n "checking for isinfl declaration... " >&6; }
32875 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32876 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32877 $as_echo_n "(cached) " >&6
32878 else
32881 ac_ext=cpp
32882 ac_cpp='$CXXCPP $CPPFLAGS'
32883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32888 /* end confdefs.h. */
32889 #include <math.h>
32890 #ifdef HAVE_IEEEFP_H
32891 #include <ieeefp.h>
32892 #endif
32895 main ()
32897 isinfl(0);
32899 return 0;
32901 _ACEOF
32902 if ac_fn_cxx_try_compile "$LINENO"; then :
32903 glibcxx_cv_func_isinfl_use=yes
32904 else
32905 glibcxx_cv_func_isinfl_use=no
32907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32908 ac_ext=c
32909 ac_cpp='$CPP $CPPFLAGS'
32910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32919 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32921 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32922 for ac_func in isinfl
32923 do :
32924 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32925 if test "x$ac_cv_func_isinfl" = x""yes; then :
32926 cat >>confdefs.h <<_ACEOF
32927 #define HAVE_ISINFL 1
32928 _ACEOF
32931 done
32933 else
32935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32936 $as_echo_n "checking for _isinfl declaration... " >&6; }
32937 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32938 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32939 $as_echo_n "(cached) " >&6
32940 else
32943 ac_ext=cpp
32944 ac_cpp='$CXXCPP $CPPFLAGS'
32945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32950 /* end confdefs.h. */
32951 #include <math.h>
32952 #ifdef HAVE_IEEEFP_H
32953 #include <ieeefp.h>
32954 #endif
32957 main ()
32959 _isinfl(0);
32961 return 0;
32963 _ACEOF
32964 if ac_fn_cxx_try_compile "$LINENO"; then :
32965 glibcxx_cv_func__isinfl_use=yes
32966 else
32967 glibcxx_cv_func__isinfl_use=no
32969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32970 ac_ext=c
32971 ac_cpp='$CPP $CPPFLAGS'
32972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32981 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32983 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32984 for ac_func in _isinfl
32985 do :
32986 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32987 if test "x$ac_cv_func__isinfl" = x""yes; then :
32988 cat >>confdefs.h <<_ACEOF
32989 #define HAVE__ISINFL 1
32990 _ACEOF
32993 done
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33003 $as_echo_n "checking for atan2l declaration... " >&6; }
33004 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33005 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33006 $as_echo_n "(cached) " >&6
33007 else
33010 ac_ext=cpp
33011 ac_cpp='$CXXCPP $CPPFLAGS'
33012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33017 /* end confdefs.h. */
33018 #include <math.h>
33020 main ()
33022 atan2l(0, 0);
33024 return 0;
33026 _ACEOF
33027 if ac_fn_cxx_try_compile "$LINENO"; then :
33028 glibcxx_cv_func_atan2l_use=yes
33029 else
33030 glibcxx_cv_func_atan2l_use=no
33032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33033 ac_ext=c
33034 ac_cpp='$CPP $CPPFLAGS'
33035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33044 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33046 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33047 for ac_func in atan2l
33048 do :
33049 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33050 if test "x$ac_cv_func_atan2l" = x""yes; then :
33051 cat >>confdefs.h <<_ACEOF
33052 #define HAVE_ATAN2L 1
33053 _ACEOF
33056 done
33058 else
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33061 $as_echo_n "checking for _atan2l declaration... " >&6; }
33062 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33063 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33064 $as_echo_n "(cached) " >&6
33065 else
33068 ac_ext=cpp
33069 ac_cpp='$CXXCPP $CPPFLAGS'
33070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33075 /* end confdefs.h. */
33076 #include <math.h>
33078 main ()
33080 _atan2l(0, 0);
33082 return 0;
33084 _ACEOF
33085 if ac_fn_cxx_try_compile "$LINENO"; then :
33086 glibcxx_cv_func__atan2l_use=yes
33087 else
33088 glibcxx_cv_func__atan2l_use=no
33090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33091 ac_ext=c
33092 ac_cpp='$CPP $CPPFLAGS'
33093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33102 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33104 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33105 for ac_func in _atan2l
33106 do :
33107 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33108 if test "x$ac_cv_func__atan2l" = x""yes; then :
33109 cat >>confdefs.h <<_ACEOF
33110 #define HAVE__ATAN2L 1
33111 _ACEOF
33114 done
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33124 $as_echo_n "checking for expl declaration... " >&6; }
33125 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33126 if test "${glibcxx_cv_func_expl_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 expl(0);
33149 return 0;
33151 _ACEOF
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func_expl_use=yes
33154 else
33155 glibcxx_cv_func_expl_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_expl_use" >&5
33169 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33171 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33172 for ac_func in expl
33173 do :
33174 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33175 if test "x$ac_cv_func_expl" = x""yes; then :
33176 cat >>confdefs.h <<_ACEOF
33177 #define HAVE_EXPL 1
33178 _ACEOF
33181 done
33183 else
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33186 $as_echo_n "checking for _expl declaration... " >&6; }
33187 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33188 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33189 $as_echo_n "(cached) " >&6
33190 else
33193 ac_ext=cpp
33194 ac_cpp='$CXXCPP $CPPFLAGS'
33195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33200 /* end confdefs.h. */
33201 #include <math.h>
33202 #ifdef HAVE_IEEEFP_H
33203 #include <ieeefp.h>
33204 #endif
33207 main ()
33209 _expl(0);
33211 return 0;
33213 _ACEOF
33214 if ac_fn_cxx_try_compile "$LINENO"; then :
33215 glibcxx_cv_func__expl_use=yes
33216 else
33217 glibcxx_cv_func__expl_use=no
33219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33220 ac_ext=c
33221 ac_cpp='$CPP $CPPFLAGS'
33222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33231 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33233 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33234 for ac_func in _expl
33235 do :
33236 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33237 if test "x$ac_cv_func__expl" = x""yes; then :
33238 cat >>confdefs.h <<_ACEOF
33239 #define HAVE__EXPL 1
33240 _ACEOF
33243 done
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33253 $as_echo_n "checking for fabsl declaration... " >&6; }
33254 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33255 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33256 $as_echo_n "(cached) " >&6
33257 else
33260 ac_ext=cpp
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33267 /* end confdefs.h. */
33268 #include <math.h>
33269 #ifdef HAVE_IEEEFP_H
33270 #include <ieeefp.h>
33271 #endif
33274 main ()
33276 fabsl(0);
33278 return 0;
33280 _ACEOF
33281 if ac_fn_cxx_try_compile "$LINENO"; then :
33282 glibcxx_cv_func_fabsl_use=yes
33283 else
33284 glibcxx_cv_func_fabsl_use=no
33286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33287 ac_ext=c
33288 ac_cpp='$CPP $CPPFLAGS'
33289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33298 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33300 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33301 for ac_func in fabsl
33302 do :
33303 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33304 if test "x$ac_cv_func_fabsl" = x""yes; then :
33305 cat >>confdefs.h <<_ACEOF
33306 #define HAVE_FABSL 1
33307 _ACEOF
33310 done
33312 else
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33315 $as_echo_n "checking for _fabsl declaration... " >&6; }
33316 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33317 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33318 $as_echo_n "(cached) " >&6
33319 else
33322 ac_ext=cpp
33323 ac_cpp='$CXXCPP $CPPFLAGS'
33324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33329 /* end confdefs.h. */
33330 #include <math.h>
33331 #ifdef HAVE_IEEEFP_H
33332 #include <ieeefp.h>
33333 #endif
33336 main ()
33338 _fabsl(0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func__fabsl_use=yes
33345 else
33346 glibcxx_cv_func__fabsl_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33360 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33362 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33363 for ac_func in _fabsl
33364 do :
33365 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33366 if test "x$ac_cv_func__fabsl" = x""yes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE__FABSL 1
33369 _ACEOF
33372 done
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33382 $as_echo_n "checking for fmodl declaration... " >&6; }
33383 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33384 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33385 $as_echo_n "(cached) " >&6
33386 else
33389 ac_ext=cpp
33390 ac_cpp='$CXXCPP $CPPFLAGS'
33391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33396 /* end confdefs.h. */
33397 #include <math.h>
33399 main ()
33401 fmodl(0, 0);
33403 return 0;
33405 _ACEOF
33406 if ac_fn_cxx_try_compile "$LINENO"; then :
33407 glibcxx_cv_func_fmodl_use=yes
33408 else
33409 glibcxx_cv_func_fmodl_use=no
33411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33412 ac_ext=c
33413 ac_cpp='$CPP $CPPFLAGS'
33414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33423 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33425 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33426 for ac_func in fmodl
33427 do :
33428 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33429 if test "x$ac_cv_func_fmodl" = x""yes; then :
33430 cat >>confdefs.h <<_ACEOF
33431 #define HAVE_FMODL 1
33432 _ACEOF
33435 done
33437 else
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33440 $as_echo_n "checking for _fmodl declaration... " >&6; }
33441 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33442 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33443 $as_echo_n "(cached) " >&6
33444 else
33447 ac_ext=cpp
33448 ac_cpp='$CXXCPP $CPPFLAGS'
33449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33454 /* end confdefs.h. */
33455 #include <math.h>
33457 main ()
33459 _fmodl(0, 0);
33461 return 0;
33463 _ACEOF
33464 if ac_fn_cxx_try_compile "$LINENO"; then :
33465 glibcxx_cv_func__fmodl_use=yes
33466 else
33467 glibcxx_cv_func__fmodl_use=no
33469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33470 ac_ext=c
33471 ac_cpp='$CPP $CPPFLAGS'
33472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33481 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33483 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33484 for ac_func in _fmodl
33485 do :
33486 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33487 if test "x$ac_cv_func__fmodl" = x""yes; then :
33488 cat >>confdefs.h <<_ACEOF
33489 #define HAVE__FMODL 1
33490 _ACEOF
33493 done
33502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33503 $as_echo_n "checking for frexpl declaration... " >&6; }
33504 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33505 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33506 $as_echo_n "(cached) " >&6
33507 else
33510 ac_ext=cpp
33511 ac_cpp='$CXXCPP $CPPFLAGS'
33512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33517 /* end confdefs.h. */
33518 #include <math.h>
33520 main ()
33522 frexpl(0, 0);
33524 return 0;
33526 _ACEOF
33527 if ac_fn_cxx_try_compile "$LINENO"; then :
33528 glibcxx_cv_func_frexpl_use=yes
33529 else
33530 glibcxx_cv_func_frexpl_use=no
33532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33533 ac_ext=c
33534 ac_cpp='$CPP $CPPFLAGS'
33535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33544 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33546 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33547 for ac_func in frexpl
33548 do :
33549 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33550 if test "x$ac_cv_func_frexpl" = x""yes; then :
33551 cat >>confdefs.h <<_ACEOF
33552 #define HAVE_FREXPL 1
33553 _ACEOF
33556 done
33558 else
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33561 $as_echo_n "checking for _frexpl declaration... " >&6; }
33562 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33563 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33564 $as_echo_n "(cached) " >&6
33565 else
33568 ac_ext=cpp
33569 ac_cpp='$CXXCPP $CPPFLAGS'
33570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33575 /* end confdefs.h. */
33576 #include <math.h>
33578 main ()
33580 _frexpl(0, 0);
33582 return 0;
33584 _ACEOF
33585 if ac_fn_cxx_try_compile "$LINENO"; then :
33586 glibcxx_cv_func__frexpl_use=yes
33587 else
33588 glibcxx_cv_func__frexpl_use=no
33590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33591 ac_ext=c
33592 ac_cpp='$CPP $CPPFLAGS'
33593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33602 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33604 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33605 for ac_func in _frexpl
33606 do :
33607 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33608 if test "x$ac_cv_func__frexpl" = x""yes; then :
33609 cat >>confdefs.h <<_ACEOF
33610 #define HAVE__FREXPL 1
33611 _ACEOF
33614 done
33623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33624 $as_echo_n "checking for hypotl declaration... " >&6; }
33625 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33626 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33627 $as_echo_n "(cached) " >&6
33628 else
33631 ac_ext=cpp
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33638 /* end confdefs.h. */
33639 #include <math.h>
33641 main ()
33643 hypotl(0, 0);
33645 return 0;
33647 _ACEOF
33648 if ac_fn_cxx_try_compile "$LINENO"; then :
33649 glibcxx_cv_func_hypotl_use=yes
33650 else
33651 glibcxx_cv_func_hypotl_use=no
33653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654 ac_ext=c
33655 ac_cpp='$CPP $CPPFLAGS'
33656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33665 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33667 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33668 for ac_func in hypotl
33669 do :
33670 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33671 if test "x$ac_cv_func_hypotl" = x""yes; then :
33672 cat >>confdefs.h <<_ACEOF
33673 #define HAVE_HYPOTL 1
33674 _ACEOF
33677 done
33679 else
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33682 $as_echo_n "checking for _hypotl declaration... " >&6; }
33683 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33684 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33685 $as_echo_n "(cached) " >&6
33686 else
33689 ac_ext=cpp
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696 /* end confdefs.h. */
33697 #include <math.h>
33699 main ()
33701 _hypotl(0, 0);
33703 return 0;
33705 _ACEOF
33706 if ac_fn_cxx_try_compile "$LINENO"; then :
33707 glibcxx_cv_func__hypotl_use=yes
33708 else
33709 glibcxx_cv_func__hypotl_use=no
33711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33712 ac_ext=c
33713 ac_cpp='$CPP $CPPFLAGS'
33714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33723 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33725 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33726 for ac_func in _hypotl
33727 do :
33728 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33729 if test "x$ac_cv_func__hypotl" = x""yes; then :
33730 cat >>confdefs.h <<_ACEOF
33731 #define HAVE__HYPOTL 1
33732 _ACEOF
33735 done
33744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33745 $as_echo_n "checking for ldexpl declaration... " >&6; }
33746 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33747 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33748 $as_echo_n "(cached) " >&6
33749 else
33752 ac_ext=cpp
33753 ac_cpp='$CXXCPP $CPPFLAGS'
33754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33759 /* end confdefs.h. */
33760 #include <math.h>
33762 main ()
33764 ldexpl(0, 0);
33766 return 0;
33768 _ACEOF
33769 if ac_fn_cxx_try_compile "$LINENO"; then :
33770 glibcxx_cv_func_ldexpl_use=yes
33771 else
33772 glibcxx_cv_func_ldexpl_use=no
33774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33775 ac_ext=c
33776 ac_cpp='$CPP $CPPFLAGS'
33777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33786 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33788 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33789 for ac_func in ldexpl
33790 do :
33791 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33792 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33793 cat >>confdefs.h <<_ACEOF
33794 #define HAVE_LDEXPL 1
33795 _ACEOF
33798 done
33800 else
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33803 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33804 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33805 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33806 $as_echo_n "(cached) " >&6
33807 else
33810 ac_ext=cpp
33811 ac_cpp='$CXXCPP $CPPFLAGS'
33812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33817 /* end confdefs.h. */
33818 #include <math.h>
33820 main ()
33822 _ldexpl(0, 0);
33824 return 0;
33826 _ACEOF
33827 if ac_fn_cxx_try_compile "$LINENO"; then :
33828 glibcxx_cv_func__ldexpl_use=yes
33829 else
33830 glibcxx_cv_func__ldexpl_use=no
33832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33833 ac_ext=c
33834 ac_cpp='$CPP $CPPFLAGS'
33835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33844 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33846 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33847 for ac_func in _ldexpl
33848 do :
33849 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33850 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33851 cat >>confdefs.h <<_ACEOF
33852 #define HAVE__LDEXPL 1
33853 _ACEOF
33856 done
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33866 $as_echo_n "checking for logl declaration... " >&6; }
33867 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33868 if test "${glibcxx_cv_func_logl_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 logl(0);
33891 return 0;
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func_logl_use=yes
33896 else
33897 glibcxx_cv_func_logl_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_logl_use" >&5
33911 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33913 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33914 for ac_func in logl
33915 do :
33916 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33917 if test "x$ac_cv_func_logl" = x""yes; then :
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE_LOGL 1
33920 _ACEOF
33923 done
33925 else
33927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33928 $as_echo_n "checking for _logl declaration... " >&6; }
33929 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33930 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33931 $as_echo_n "(cached) " >&6
33932 else
33935 ac_ext=cpp
33936 ac_cpp='$CXXCPP $CPPFLAGS'
33937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33942 /* end confdefs.h. */
33943 #include <math.h>
33944 #ifdef HAVE_IEEEFP_H
33945 #include <ieeefp.h>
33946 #endif
33949 main ()
33951 _logl(0);
33953 return 0;
33955 _ACEOF
33956 if ac_fn_cxx_try_compile "$LINENO"; then :
33957 glibcxx_cv_func__logl_use=yes
33958 else
33959 glibcxx_cv_func__logl_use=no
33961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33962 ac_ext=c
33963 ac_cpp='$CPP $CPPFLAGS'
33964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33973 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33975 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33976 for ac_func in _logl
33977 do :
33978 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33979 if test "x$ac_cv_func__logl" = x""yes; then :
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE__LOGL 1
33982 _ACEOF
33985 done
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33995 $as_echo_n "checking for log10l declaration... " >&6; }
33996 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33997 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33998 $as_echo_n "(cached) " >&6
33999 else
34002 ac_ext=cpp
34003 ac_cpp='$CXXCPP $CPPFLAGS'
34004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34009 /* end confdefs.h. */
34010 #include <math.h>
34011 #ifdef HAVE_IEEEFP_H
34012 #include <ieeefp.h>
34013 #endif
34016 main ()
34018 log10l(0);
34020 return 0;
34022 _ACEOF
34023 if ac_fn_cxx_try_compile "$LINENO"; then :
34024 glibcxx_cv_func_log10l_use=yes
34025 else
34026 glibcxx_cv_func_log10l_use=no
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 ac_ext=c
34030 ac_cpp='$CPP $CPPFLAGS'
34031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34040 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34042 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34043 for ac_func in log10l
34044 do :
34045 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34046 if test "x$ac_cv_func_log10l" = x""yes; then :
34047 cat >>confdefs.h <<_ACEOF
34048 #define HAVE_LOG10L 1
34049 _ACEOF
34052 done
34054 else
34056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34057 $as_echo_n "checking for _log10l declaration... " >&6; }
34058 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34059 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34060 $as_echo_n "(cached) " >&6
34061 else
34064 ac_ext=cpp
34065 ac_cpp='$CXXCPP $CPPFLAGS'
34066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h. */
34072 #include <math.h>
34073 #ifdef HAVE_IEEEFP_H
34074 #include <ieeefp.h>
34075 #endif
34078 main ()
34080 _log10l(0);
34082 return 0;
34084 _ACEOF
34085 if ac_fn_cxx_try_compile "$LINENO"; then :
34086 glibcxx_cv_func__log10l_use=yes
34087 else
34088 glibcxx_cv_func__log10l_use=no
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091 ac_ext=c
34092 ac_cpp='$CPP $CPPFLAGS'
34093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34102 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34104 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34105 for ac_func in _log10l
34106 do :
34107 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34108 if test "x$ac_cv_func__log10l" = x""yes; then :
34109 cat >>confdefs.h <<_ACEOF
34110 #define HAVE__LOG10L 1
34111 _ACEOF
34114 done
34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34124 $as_echo_n "checking for modfl declaration... " >&6; }
34125 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34126 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34127 $as_echo_n "(cached) " >&6
34128 else
34131 ac_ext=cpp
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138 /* end confdefs.h. */
34139 #include <math.h>
34141 main ()
34143 modfl(0, 0);
34145 return 0;
34147 _ACEOF
34148 if ac_fn_cxx_try_compile "$LINENO"; then :
34149 glibcxx_cv_func_modfl_use=yes
34150 else
34151 glibcxx_cv_func_modfl_use=no
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34154 ac_ext=c
34155 ac_cpp='$CPP $CPPFLAGS'
34156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34165 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34167 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34168 for ac_func in modfl
34169 do :
34170 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34171 if test "x$ac_cv_func_modfl" = x""yes; then :
34172 cat >>confdefs.h <<_ACEOF
34173 #define HAVE_MODFL 1
34174 _ACEOF
34177 done
34179 else
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34182 $as_echo_n "checking for _modfl declaration... " >&6; }
34183 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34184 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34185 $as_echo_n "(cached) " >&6
34186 else
34189 ac_ext=cpp
34190 ac_cpp='$CXXCPP $CPPFLAGS'
34191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34196 /* end confdefs.h. */
34197 #include <math.h>
34199 main ()
34201 _modfl(0, 0);
34203 return 0;
34205 _ACEOF
34206 if ac_fn_cxx_try_compile "$LINENO"; then :
34207 glibcxx_cv_func__modfl_use=yes
34208 else
34209 glibcxx_cv_func__modfl_use=no
34211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34212 ac_ext=c
34213 ac_cpp='$CPP $CPPFLAGS'
34214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34223 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34225 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34226 for ac_func in _modfl
34227 do :
34228 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34229 if test "x$ac_cv_func__modfl" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define HAVE__MODFL 1
34232 _ACEOF
34235 done
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34245 $as_echo_n "checking for powl declaration... " >&6; }
34246 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34247 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34248 $as_echo_n "(cached) " >&6
34249 else
34252 ac_ext=cpp
34253 ac_cpp='$CXXCPP $CPPFLAGS'
34254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34259 /* end confdefs.h. */
34260 #include <math.h>
34262 main ()
34264 powl(0, 0);
34266 return 0;
34268 _ACEOF
34269 if ac_fn_cxx_try_compile "$LINENO"; then :
34270 glibcxx_cv_func_powl_use=yes
34271 else
34272 glibcxx_cv_func_powl_use=no
34274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34275 ac_ext=c
34276 ac_cpp='$CPP $CPPFLAGS'
34277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34286 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34288 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34289 for ac_func in powl
34290 do :
34291 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34292 if test "x$ac_cv_func_powl" = x""yes; then :
34293 cat >>confdefs.h <<_ACEOF
34294 #define HAVE_POWL 1
34295 _ACEOF
34298 done
34300 else
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34303 $as_echo_n "checking for _powl declaration... " >&6; }
34304 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34305 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34306 $as_echo_n "(cached) " >&6
34307 else
34310 ac_ext=cpp
34311 ac_cpp='$CXXCPP $CPPFLAGS'
34312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34317 /* end confdefs.h. */
34318 #include <math.h>
34320 main ()
34322 _powl(0, 0);
34324 return 0;
34326 _ACEOF
34327 if ac_fn_cxx_try_compile "$LINENO"; then :
34328 glibcxx_cv_func__powl_use=yes
34329 else
34330 glibcxx_cv_func__powl_use=no
34332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34333 ac_ext=c
34334 ac_cpp='$CPP $CPPFLAGS'
34335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34344 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34346 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34347 for ac_func in _powl
34348 do :
34349 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34350 if test "x$ac_cv_func__powl" = x""yes; then :
34351 cat >>confdefs.h <<_ACEOF
34352 #define HAVE__POWL 1
34353 _ACEOF
34356 done
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34366 $as_echo_n "checking for sqrtl declaration... " >&6; }
34367 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34368 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34369 $as_echo_n "(cached) " >&6
34370 else
34373 ac_ext=cpp
34374 ac_cpp='$CXXCPP $CPPFLAGS'
34375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34380 /* end confdefs.h. */
34381 #include <math.h>
34382 #ifdef HAVE_IEEEFP_H
34383 #include <ieeefp.h>
34384 #endif
34387 main ()
34389 sqrtl(0);
34391 return 0;
34393 _ACEOF
34394 if ac_fn_cxx_try_compile "$LINENO"; then :
34395 glibcxx_cv_func_sqrtl_use=yes
34396 else
34397 glibcxx_cv_func_sqrtl_use=no
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400 ac_ext=c
34401 ac_cpp='$CPP $CPPFLAGS'
34402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34411 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34413 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34414 for ac_func in sqrtl
34415 do :
34416 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34417 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE_SQRTL 1
34420 _ACEOF
34423 done
34425 else
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34428 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34429 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34430 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34431 $as_echo_n "(cached) " >&6
34432 else
34435 ac_ext=cpp
34436 ac_cpp='$CXXCPP $CPPFLAGS'
34437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34442 /* end confdefs.h. */
34443 #include <math.h>
34444 #ifdef HAVE_IEEEFP_H
34445 #include <ieeefp.h>
34446 #endif
34449 main ()
34451 _sqrtl(0);
34453 return 0;
34455 _ACEOF
34456 if ac_fn_cxx_try_compile "$LINENO"; then :
34457 glibcxx_cv_func__sqrtl_use=yes
34458 else
34459 glibcxx_cv_func__sqrtl_use=no
34461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34462 ac_ext=c
34463 ac_cpp='$CPP $CPPFLAGS'
34464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34473 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34475 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34476 for ac_func in _sqrtl
34477 do :
34478 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34479 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34480 cat >>confdefs.h <<_ACEOF
34481 #define HAVE__SQRTL 1
34482 _ACEOF
34485 done
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34495 $as_echo_n "checking for sincosl declaration... " >&6; }
34496 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34497 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34498 $as_echo_n "(cached) " >&6
34499 else
34502 ac_ext=cpp
34503 ac_cpp='$CXXCPP $CPPFLAGS'
34504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 /* end confdefs.h. */
34510 #include <math.h>
34512 main ()
34514 sincosl(0, 0, 0);
34516 return 0;
34518 _ACEOF
34519 if ac_fn_cxx_try_compile "$LINENO"; then :
34520 glibcxx_cv_func_sincosl_use=yes
34521 else
34522 glibcxx_cv_func_sincosl_use=no
34524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34525 ac_ext=c
34526 ac_cpp='$CPP $CPPFLAGS'
34527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34536 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34538 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34539 for ac_func in sincosl
34540 do :
34541 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34542 if test "x$ac_cv_func_sincosl" = x""yes; then :
34543 cat >>confdefs.h <<_ACEOF
34544 #define HAVE_SINCOSL 1
34545 _ACEOF
34548 done
34550 else
34552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34553 $as_echo_n "checking for _sincosl declaration... " >&6; }
34554 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34555 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34556 $as_echo_n "(cached) " >&6
34557 else
34560 ac_ext=cpp
34561 ac_cpp='$CXXCPP $CPPFLAGS'
34562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34567 /* end confdefs.h. */
34568 #include <math.h>
34570 main ()
34572 _sincosl(0, 0, 0);
34574 return 0;
34576 _ACEOF
34577 if ac_fn_cxx_try_compile "$LINENO"; then :
34578 glibcxx_cv_func__sincosl_use=yes
34579 else
34580 glibcxx_cv_func__sincosl_use=no
34582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34583 ac_ext=c
34584 ac_cpp='$CPP $CPPFLAGS'
34585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34594 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34596 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34597 for ac_func in _sincosl
34598 do :
34599 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34600 if test "x$ac_cv_func__sincosl" = x""yes; then :
34601 cat >>confdefs.h <<_ACEOF
34602 #define HAVE__SINCOSL 1
34603 _ACEOF
34606 done
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34616 $as_echo_n "checking for finitel declaration... " >&6; }
34617 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34618 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34619 $as_echo_n "(cached) " >&6
34620 else
34623 ac_ext=cpp
34624 ac_cpp='$CXXCPP $CPPFLAGS'
34625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630 /* end confdefs.h. */
34631 #include <math.h>
34632 #ifdef HAVE_IEEEFP_H
34633 #include <ieeefp.h>
34634 #endif
34637 main ()
34639 finitel(0);
34641 return 0;
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func_finitel_use=yes
34646 else
34647 glibcxx_cv_func_finitel_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_finitel_use" >&5
34661 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34663 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34664 for ac_func in finitel
34665 do :
34666 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34667 if test "x$ac_cv_func_finitel" = x""yes; then :
34668 cat >>confdefs.h <<_ACEOF
34669 #define HAVE_FINITEL 1
34670 _ACEOF
34673 done
34675 else
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34678 $as_echo_n "checking for _finitel declaration... " >&6; }
34679 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34680 if test "${glibcxx_cv_func__finitel_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 <math.h>
34694 #ifdef HAVE_IEEEFP_H
34695 #include <ieeefp.h>
34696 #endif
34699 main ()
34701 _finitel(0);
34703 return 0;
34705 _ACEOF
34706 if ac_fn_cxx_try_compile "$LINENO"; then :
34707 glibcxx_cv_func__finitel_use=yes
34708 else
34709 glibcxx_cv_func__finitel_use=no
34711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34712 ac_ext=c
34713 ac_cpp='$CPP $CPPFLAGS'
34714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34723 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34725 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34726 for ac_func in _finitel
34727 do :
34728 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34729 if test "x$ac_cv_func__finitel" = x""yes; then :
34730 cat >>confdefs.h <<_ACEOF
34731 #define HAVE__FINITEL 1
34732 _ACEOF
34735 done
34743 LIBS="$ac_save_LIBS"
34744 CXXFLAGS="$ac_save_CXXFLAGS"
34747 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34748 ac_save_CXXFLAGS="$CXXFLAGS"
34749 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34753 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34754 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34755 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34756 $as_echo_n "(cached) " >&6
34757 else
34760 ac_ext=cpp
34761 ac_cpp='$CXXCPP $CPPFLAGS'
34762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34767 /* end confdefs.h. */
34768 #include <stdlib.h>
34770 main ()
34772 at_quick_exit(0);
34774 return 0;
34776 _ACEOF
34777 if ac_fn_cxx_try_compile "$LINENO"; then :
34778 glibcxx_cv_func_at_quick_exit_use=yes
34779 else
34780 glibcxx_cv_func_at_quick_exit_use=no
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 ac_ext=c
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34794 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34795 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34796 for ac_func in at_quick_exit
34797 do :
34798 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34799 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34800 cat >>confdefs.h <<_ACEOF
34801 #define HAVE_AT_QUICK_EXIT 1
34802 _ACEOF
34805 done
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34811 $as_echo_n "checking for quick_exit declaration... " >&6; }
34812 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34813 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34814 $as_echo_n "(cached) " >&6
34815 else
34818 ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34826 #include <stdlib.h>
34828 main ()
34830 quick_exit(0);
34832 return 0;
34834 _ACEOF
34835 if ac_fn_cxx_try_compile "$LINENO"; then :
34836 glibcxx_cv_func_quick_exit_use=yes
34837 else
34838 glibcxx_cv_func_quick_exit_use=no
34840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34841 ac_ext=c
34842 ac_cpp='$CPP $CPPFLAGS'
34843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34852 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34853 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34854 for ac_func in quick_exit
34855 do :
34856 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34857 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define HAVE_QUICK_EXIT 1
34860 _ACEOF
34863 done
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34869 $as_echo_n "checking for strtold declaration... " >&6; }
34870 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34871 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34872 $as_echo_n "(cached) " >&6
34873 else
34876 ac_ext=cpp
34877 ac_cpp='$CXXCPP $CPPFLAGS'
34878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34883 /* end confdefs.h. */
34884 #include <stdlib.h>
34886 main ()
34888 strtold(0, 0);
34890 return 0;
34892 _ACEOF
34893 if ac_fn_cxx_try_compile "$LINENO"; then :
34894 glibcxx_cv_func_strtold_use=yes
34895 else
34896 glibcxx_cv_func_strtold_use=no
34898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34899 ac_ext=c
34900 ac_cpp='$CPP $CPPFLAGS'
34901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34910 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34911 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34912 for ac_func in strtold
34913 do :
34914 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34915 if test "x$ac_cv_func_strtold" = x""yes; then :
34916 cat >>confdefs.h <<_ACEOF
34917 #define HAVE_STRTOLD 1
34918 _ACEOF
34921 done
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34929 $as_echo_n "checking for strtof declaration... " >&6; }
34930 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34931 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34932 $as_echo_n "(cached) " >&6
34933 else
34936 ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h. */
34944 #include <stdlib.h>
34946 main ()
34948 strtof(0, 0);
34950 return 0;
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func_strtof_use=yes
34955 else
34956 glibcxx_cv_func_strtof_use=no
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34970 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34971 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34972 for ac_func in strtof
34973 do :
34974 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34975 if test "x$ac_cv_func_strtof" = x""yes; then :
34976 cat >>confdefs.h <<_ACEOF
34977 #define HAVE_STRTOF 1
34978 _ACEOF
34981 done
34988 CXXFLAGS="$ac_save_CXXFLAGS"
34991 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34993 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34995 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34997 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35000 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35002 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35004 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35008 spu-*-elf*)
35010 # All these tests are for C++; save the language and the compiler flags.
35011 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35012 # found in GLIBCXX_CONFIGURE.
35014 ac_ext=cpp
35015 ac_cpp='$CXXCPP $CPPFLAGS'
35016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35021 ac_save_CXXFLAGS="$CXXFLAGS"
35023 # Check for maintainer-mode bits.
35024 if test x"$USE_MAINTAINER_MODE" = xno; then
35025 WERROR=''
35026 else
35027 WERROR='-Werror'
35030 # Check for -ffunction-sections -fdata-sections
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35032 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35033 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h. */
35036 int foo; void bar() { };
35038 main ()
35042 return 0;
35044 _ACEOF
35045 if ac_fn_cxx_try_compile "$LINENO"; then :
35046 ac_fdsections=yes
35047 else
35048 ac_fdsections=no
35050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35051 if test "$ac_test_CXXFLAGS" = set; then
35052 CXXFLAGS="$ac_save_CXXFLAGS"
35053 else
35054 # this is the suspicious part
35055 CXXFLAGS=''
35057 if test x"$ac_fdsections" = x"yes"; then
35058 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35061 $as_echo "$ac_fdsections" >&6; }
35063 ac_ext=c
35064 ac_cpp='$CPP $CPPFLAGS'
35065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35073 # If we're not using GNU ld, then there's no point in even trying these
35074 # tests. Check for that first. We should have already tested for gld
35075 # by now (in libtool), but require it now just to be safe...
35076 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35077 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35081 # The name set by libtool depends on the version of libtool. Shame on us
35082 # for depending on an impl detail, but c'est la vie. Older versions used
35083 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35084 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35085 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35086 # set (hence we're using an older libtool), then set it.
35087 if test x${with_gnu_ld+set} != xset; then
35088 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35089 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35090 with_gnu_ld=no
35091 else
35092 with_gnu_ld=$ac_cv_prog_gnu_ld
35096 # Start by getting the version number. I think the libtool test already
35097 # does some of this, but throws away the result.
35098 glibcxx_ld_is_gold=no
35099 if test x"$with_gnu_ld" = x"yes"; then
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35101 $as_echo_n "checking for ld version... " >&6; }
35103 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35104 glibcxx_ld_is_gold=yes
35106 ldver=`$LD --version 2>/dev/null |
35107 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'`
35109 glibcxx_gnu_ld_version=`echo $ldver | \
35110 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35112 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35115 # Set --gc-sections.
35116 glibcxx_have_gc_sections=no
35117 if test "$glibcxx_ld_is_gold" = "yes"; then
35118 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35119 glibcxx_have_gc_sections=yes
35121 else
35122 glibcxx_gcsections_min_ld=21602
35123 if test x"$with_gnu_ld" = x"yes" &&
35124 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35125 glibcxx_have_gc_sections=yes
35128 if test "$glibcxx_have_gc_sections" = "yes"; then
35129 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35130 # NB: This flag only works reliably after 2.16.1. Configure tests
35131 # for this are difficult, so hard wire a value that should work.
35133 ac_test_CFLAGS="${CFLAGS+set}"
35134 ac_save_CFLAGS="$CFLAGS"
35135 CFLAGS='-Wl,--gc-sections'
35137 # Check for -Wl,--gc-sections
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35139 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35140 if test x$gcc_no_link = xyes; then
35141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35144 /* end confdefs.h. */
35145 int one(void) { return 1; }
35146 int two(void) { return 2; }
35149 main ()
35151 two();
35153 return 0;
35155 _ACEOF
35156 if ac_fn_c_try_link "$LINENO"; then :
35157 ac_gcsections=yes
35158 else
35159 ac_gcsections=no
35161 rm -f core conftest.err conftest.$ac_objext \
35162 conftest$ac_exeext conftest.$ac_ext
35163 if test "$ac_gcsections" = "yes"; then
35164 rm -f conftest.c
35165 touch conftest.c
35166 if $CC -c conftest.c; then
35167 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35168 grep "Warning: gc-sections option ignored" > /dev/null; then
35169 ac_gcsections=no
35172 rm -f conftest.c conftest.o conftest
35174 if test "$ac_gcsections" = "yes"; then
35175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35178 $as_echo "$ac_gcsections" >&6; }
35180 if test "$ac_test_CFLAGS" = set; then
35181 CFLAGS="$ac_save_CFLAGS"
35182 else
35183 # this is the suspicious part
35184 CFLAGS=''
35188 # Set -z,relro.
35189 # Note this is only for shared objects.
35190 ac_ld_relro=no
35191 if test x"$with_gnu_ld" = x"yes"; then
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35193 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35194 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35195 if test -n "$cxx_z_relo"; then
35196 OPT_LDFLAGS="-Wl,-z,relro"
35197 ac_ld_relro=yes
35199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35200 $as_echo "$ac_ld_relro" >&6; }
35203 # Set linker optimization flags.
35204 if test x"$with_gnu_ld" = x"yes"; then
35205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35212 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35213 ac_save_CXXFLAGS="$CXXFLAGS"
35214 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35217 $as_echo_n "checking for sin in -lm... " >&6; }
35218 if test "${ac_cv_lib_m_sin+set}" = set; then :
35219 $as_echo_n "(cached) " >&6
35220 else
35221 ac_check_lib_save_LIBS=$LIBS
35222 LIBS="-lm $LIBS"
35223 if test x$gcc_no_link = xyes; then
35224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35227 /* end confdefs.h. */
35229 /* Override any GCC internal prototype to avoid an error.
35230 Use char because int might match the return type of a GCC
35231 builtin and then its argument prototype would still apply. */
35232 #ifdef __cplusplus
35233 extern "C"
35234 #endif
35235 char sin ();
35237 main ()
35239 return sin ();
35241 return 0;
35243 _ACEOF
35244 if ac_fn_c_try_link "$LINENO"; then :
35245 ac_cv_lib_m_sin=yes
35246 else
35247 ac_cv_lib_m_sin=no
35249 rm -f core conftest.err conftest.$ac_objext \
35250 conftest$ac_exeext conftest.$ac_ext
35251 LIBS=$ac_check_lib_save_LIBS
35253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35254 $as_echo "$ac_cv_lib_m_sin" >&6; }
35255 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35256 libm="-lm"
35259 ac_save_LIBS="$LIBS"
35260 LIBS="$LIBS $libm"
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35265 $as_echo_n "checking for isinf declaration... " >&6; }
35266 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35267 if test "${glibcxx_cv_func_isinf_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 isinf(0);
35290 return 0;
35292 _ACEOF
35293 if ac_fn_cxx_try_compile "$LINENO"; then :
35294 glibcxx_cv_func_isinf_use=yes
35295 else
35296 glibcxx_cv_func_isinf_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_isinf_use" >&5
35310 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35312 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35313 for ac_func in isinf
35314 do :
35315 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35316 if test "x$ac_cv_func_isinf" = x""yes; then :
35317 cat >>confdefs.h <<_ACEOF
35318 #define HAVE_ISINF 1
35319 _ACEOF
35322 done
35324 else
35326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35327 $as_echo_n "checking for _isinf declaration... " >&6; }
35328 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35329 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35330 $as_echo_n "(cached) " >&6
35331 else
35334 ac_ext=cpp
35335 ac_cpp='$CXXCPP $CPPFLAGS'
35336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35341 /* end confdefs.h. */
35342 #include <math.h>
35343 #ifdef HAVE_IEEEFP_H
35344 #include <ieeefp.h>
35345 #endif
35348 main ()
35350 _isinf(0);
35352 return 0;
35354 _ACEOF
35355 if ac_fn_cxx_try_compile "$LINENO"; then :
35356 glibcxx_cv_func__isinf_use=yes
35357 else
35358 glibcxx_cv_func__isinf_use=no
35360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35361 ac_ext=c
35362 ac_cpp='$CPP $CPPFLAGS'
35363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35372 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35374 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35375 for ac_func in _isinf
35376 do :
35377 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35378 if test "x$ac_cv_func__isinf" = x""yes; then :
35379 cat >>confdefs.h <<_ACEOF
35380 #define HAVE__ISINF 1
35381 _ACEOF
35384 done
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35394 $as_echo_n "checking for isnan declaration... " >&6; }
35395 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35396 if test "${glibcxx_cv_func_isnan_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 isnan(0);
35419 return 0;
35421 _ACEOF
35422 if ac_fn_cxx_try_compile "$LINENO"; then :
35423 glibcxx_cv_func_isnan_use=yes
35424 else
35425 glibcxx_cv_func_isnan_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_isnan_use" >&5
35439 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35441 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35442 for ac_func in isnan
35443 do :
35444 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35445 if test "x$ac_cv_func_isnan" = x""yes; then :
35446 cat >>confdefs.h <<_ACEOF
35447 #define HAVE_ISNAN 1
35448 _ACEOF
35451 done
35453 else
35455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35456 $as_echo_n "checking for _isnan declaration... " >&6; }
35457 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35458 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35459 $as_echo_n "(cached) " >&6
35460 else
35463 ac_ext=cpp
35464 ac_cpp='$CXXCPP $CPPFLAGS'
35465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35470 /* end confdefs.h. */
35471 #include <math.h>
35472 #ifdef HAVE_IEEEFP_H
35473 #include <ieeefp.h>
35474 #endif
35477 main ()
35479 _isnan(0);
35481 return 0;
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 glibcxx_cv_func__isnan_use=yes
35486 else
35487 glibcxx_cv_func__isnan_use=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 ac_ext=c
35491 ac_cpp='$CPP $CPPFLAGS'
35492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35501 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35503 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35504 for ac_func in _isnan
35505 do :
35506 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35507 if test "x$ac_cv_func__isnan" = x""yes; then :
35508 cat >>confdefs.h <<_ACEOF
35509 #define HAVE__ISNAN 1
35510 _ACEOF
35513 done
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35523 $as_echo_n "checking for finite declaration... " >&6; }
35524 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35525 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35526 $as_echo_n "(cached) " >&6
35527 else
35530 ac_ext=cpp
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35537 /* end confdefs.h. */
35538 #include <math.h>
35539 #ifdef HAVE_IEEEFP_H
35540 #include <ieeefp.h>
35541 #endif
35544 main ()
35546 finite(0);
35548 return 0;
35550 _ACEOF
35551 if ac_fn_cxx_try_compile "$LINENO"; then :
35552 glibcxx_cv_func_finite_use=yes
35553 else
35554 glibcxx_cv_func_finite_use=no
35556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35557 ac_ext=c
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35568 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35570 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35571 for ac_func in finite
35572 do :
35573 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35574 if test "x$ac_cv_func_finite" = x""yes; then :
35575 cat >>confdefs.h <<_ACEOF
35576 #define HAVE_FINITE 1
35577 _ACEOF
35580 done
35582 else
35584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35585 $as_echo_n "checking for _finite declaration... " >&6; }
35586 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35587 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35588 $as_echo_n "(cached) " >&6
35589 else
35592 ac_ext=cpp
35593 ac_cpp='$CXXCPP $CPPFLAGS'
35594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35599 /* end confdefs.h. */
35600 #include <math.h>
35601 #ifdef HAVE_IEEEFP_H
35602 #include <ieeefp.h>
35603 #endif
35606 main ()
35608 _finite(0);
35610 return 0;
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614 glibcxx_cv_func__finite_use=yes
35615 else
35616 glibcxx_cv_func__finite_use=no
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35630 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35632 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35633 for ac_func in _finite
35634 do :
35635 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35636 if test "x$ac_cv_func__finite" = x""yes; then :
35637 cat >>confdefs.h <<_ACEOF
35638 #define HAVE__FINITE 1
35639 _ACEOF
35642 done
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35652 $as_echo_n "checking for sincos declaration... " >&6; }
35653 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35654 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35655 $as_echo_n "(cached) " >&6
35656 else
35659 ac_ext=cpp
35660 ac_cpp='$CXXCPP $CPPFLAGS'
35661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35666 /* end confdefs.h. */
35667 #include <math.h>
35669 main ()
35671 sincos(0, 0, 0);
35673 return 0;
35675 _ACEOF
35676 if ac_fn_cxx_try_compile "$LINENO"; then :
35677 glibcxx_cv_func_sincos_use=yes
35678 else
35679 glibcxx_cv_func_sincos_use=no
35681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35682 ac_ext=c
35683 ac_cpp='$CPP $CPPFLAGS'
35684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35693 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35695 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35696 for ac_func in sincos
35697 do :
35698 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35699 if test "x$ac_cv_func_sincos" = x""yes; then :
35700 cat >>confdefs.h <<_ACEOF
35701 #define HAVE_SINCOS 1
35702 _ACEOF
35705 done
35707 else
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35710 $as_echo_n "checking for _sincos declaration... " >&6; }
35711 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35712 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35727 main ()
35729 _sincos(0, 0, 0);
35731 return 0;
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func__sincos_use=yes
35736 else
35737 glibcxx_cv_func__sincos_use=no
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35751 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35753 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35754 for ac_func in _sincos
35755 do :
35756 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35757 if test "x$ac_cv_func__sincos" = x""yes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE__SINCOS 1
35760 _ACEOF
35763 done
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35773 $as_echo_n "checking for fpclass declaration... " >&6; }
35774 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35775 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
35798 return 0;
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802 glibcxx_cv_func_fpclass_use=yes
35803 else
35804 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
35818 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35820 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35821 for ac_func in fpclass
35822 do :
35823 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35824 if test "x$ac_cv_func_fpclass" = x""yes; then :
35825 cat >>confdefs.h <<_ACEOF
35826 #define HAVE_FPCLASS 1
35827 _ACEOF
35830 done
35832 else
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35835 $as_echo_n "checking for _fpclass declaration... " >&6; }
35836 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35837 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35838 $as_echo_n "(cached) " >&6
35839 else
35842 ac_ext=cpp
35843 ac_cpp='$CXXCPP $CPPFLAGS'
35844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35849 /* end confdefs.h. */
35850 #include <math.h>
35851 #ifdef HAVE_IEEEFP_H
35852 #include <ieeefp.h>
35853 #endif
35856 main ()
35858 _fpclass(0);
35860 return 0;
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864 glibcxx_cv_func__fpclass_use=yes
35865 else
35866 glibcxx_cv_func__fpclass_use=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35880 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35882 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35883 for ac_func in _fpclass
35884 do :
35885 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35886 if test "x$ac_cv_func__fpclass" = x""yes; then :
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE__FPCLASS 1
35889 _ACEOF
35892 done
35901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35902 $as_echo_n "checking for qfpclass declaration... " >&6; }
35903 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35904 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35905 $as_echo_n "(cached) " >&6
35906 else
35909 ac_ext=cpp
35910 ac_cpp='$CXXCPP $CPPFLAGS'
35911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35916 /* end confdefs.h. */
35917 #include <math.h>
35918 #ifdef HAVE_IEEEFP_H
35919 #include <ieeefp.h>
35920 #endif
35923 main ()
35925 qfpclass(0);
35927 return 0;
35929 _ACEOF
35930 if ac_fn_cxx_try_compile "$LINENO"; then :
35931 glibcxx_cv_func_qfpclass_use=yes
35932 else
35933 glibcxx_cv_func_qfpclass_use=no
35935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35936 ac_ext=c
35937 ac_cpp='$CPP $CPPFLAGS'
35938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35947 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35949 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35950 for ac_func in qfpclass
35951 do :
35952 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35953 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35954 cat >>confdefs.h <<_ACEOF
35955 #define HAVE_QFPCLASS 1
35956 _ACEOF
35959 done
35961 else
35963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35964 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35965 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35966 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35967 $as_echo_n "(cached) " >&6
35968 else
35971 ac_ext=cpp
35972 ac_cpp='$CXXCPP $CPPFLAGS'
35973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35978 /* end confdefs.h. */
35979 #include <math.h>
35980 #ifdef HAVE_IEEEFP_H
35981 #include <ieeefp.h>
35982 #endif
35985 main ()
35987 _qfpclass(0);
35989 return 0;
35991 _ACEOF
35992 if ac_fn_cxx_try_compile "$LINENO"; then :
35993 glibcxx_cv_func__qfpclass_use=yes
35994 else
35995 glibcxx_cv_func__qfpclass_use=no
35997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35998 ac_ext=c
35999 ac_cpp='$CPP $CPPFLAGS'
36000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36009 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36011 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36012 for ac_func in _qfpclass
36013 do :
36014 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36015 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36016 cat >>confdefs.h <<_ACEOF
36017 #define HAVE__QFPCLASS 1
36018 _ACEOF
36021 done
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36031 $as_echo_n "checking for hypot declaration... " >&6; }
36032 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36033 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36034 $as_echo_n "(cached) " >&6
36035 else
36038 ac_ext=cpp
36039 ac_cpp='$CXXCPP $CPPFLAGS'
36040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36045 /* end confdefs.h. */
36046 #include <math.h>
36048 main ()
36050 hypot(0, 0);
36052 return 0;
36054 _ACEOF
36055 if ac_fn_cxx_try_compile "$LINENO"; then :
36056 glibcxx_cv_func_hypot_use=yes
36057 else
36058 glibcxx_cv_func_hypot_use=no
36060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36061 ac_ext=c
36062 ac_cpp='$CPP $CPPFLAGS'
36063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36072 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36074 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36075 for ac_func in hypot
36076 do :
36077 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36078 if test "x$ac_cv_func_hypot" = x""yes; then :
36079 cat >>confdefs.h <<_ACEOF
36080 #define HAVE_HYPOT 1
36081 _ACEOF
36084 done
36086 else
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36089 $as_echo_n "checking for _hypot declaration... " >&6; }
36090 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36091 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36092 $as_echo_n "(cached) " >&6
36093 else
36096 ac_ext=cpp
36097 ac_cpp='$CXXCPP $CPPFLAGS'
36098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36103 /* end confdefs.h. */
36104 #include <math.h>
36106 main ()
36108 _hypot(0, 0);
36110 return 0;
36112 _ACEOF
36113 if ac_fn_cxx_try_compile "$LINENO"; then :
36114 glibcxx_cv_func__hypot_use=yes
36115 else
36116 glibcxx_cv_func__hypot_use=no
36118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119 ac_ext=c
36120 ac_cpp='$CPP $CPPFLAGS'
36121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36130 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36132 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36133 for ac_func in _hypot
36134 do :
36135 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36136 if test "x$ac_cv_func__hypot" = x""yes; then :
36137 cat >>confdefs.h <<_ACEOF
36138 #define HAVE__HYPOT 1
36139 _ACEOF
36142 done
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36152 $as_echo_n "checking for float trig functions... " >&6; }
36153 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36154 $as_echo_n "(cached) " >&6
36155 else
36158 ac_ext=cpp
36159 ac_cpp='$CXXCPP $CPPFLAGS'
36160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36165 /* end confdefs.h. */
36166 #include <math.h>
36168 main ()
36170 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36172 return 0;
36174 _ACEOF
36175 if ac_fn_cxx_try_compile "$LINENO"; then :
36176 glibcxx_cv_func_float_trig_use=yes
36177 else
36178 glibcxx_cv_func_float_trig_use=no
36180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36181 ac_ext=c
36182 ac_cpp='$CPP $CPPFLAGS'
36183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36190 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36191 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36192 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36193 do :
36194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36196 eval as_val=\$$as_ac_var
36197 if test "x$as_val" = x""yes; then :
36198 cat >>confdefs.h <<_ACEOF
36199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36200 _ACEOF
36203 done
36205 else
36206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36207 $as_echo_n "checking for _float trig functions... " >&6; }
36208 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36209 $as_echo_n "(cached) " >&6
36210 else
36213 ac_ext=cpp
36214 ac_cpp='$CXXCPP $CPPFLAGS'
36215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36220 /* end confdefs.h. */
36221 #include <math.h>
36223 main ()
36225 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36227 return 0;
36229 _ACEOF
36230 if ac_fn_cxx_try_compile "$LINENO"; then :
36231 glibcxx_cv_func__float_trig_use=yes
36232 else
36233 glibcxx_cv_func__float_trig_use=no
36235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36236 ac_ext=c
36237 ac_cpp='$CPP $CPPFLAGS'
36238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36245 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36246 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36247 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36248 do :
36249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36251 eval as_val=\$$as_ac_var
36252 if test "x$as_val" = x""yes; then :
36253 cat >>confdefs.h <<_ACEOF
36254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36255 _ACEOF
36258 done
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36268 $as_echo_n "checking for float round functions... " >&6; }
36269 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36270 $as_echo_n "(cached) " >&6
36271 else
36274 ac_ext=cpp
36275 ac_cpp='$CXXCPP $CPPFLAGS'
36276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36281 /* end confdefs.h. */
36282 #include <math.h>
36284 main ()
36286 ceilf (0); floorf (0);
36288 return 0;
36290 _ACEOF
36291 if ac_fn_cxx_try_compile "$LINENO"; then :
36292 glibcxx_cv_func_float_round_use=yes
36293 else
36294 glibcxx_cv_func_float_round_use=no
36296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36297 ac_ext=c
36298 ac_cpp='$CPP $CPPFLAGS'
36299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36306 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36307 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36308 for ac_func in ceilf floorf
36309 do :
36310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36312 eval as_val=\$$as_ac_var
36313 if test "x$as_val" = x""yes; then :
36314 cat >>confdefs.h <<_ACEOF
36315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36316 _ACEOF
36319 done
36321 else
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36323 $as_echo_n "checking for _float round functions... " >&6; }
36324 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36325 $as_echo_n "(cached) " >&6
36326 else
36329 ac_ext=cpp
36330 ac_cpp='$CXXCPP $CPPFLAGS'
36331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36336 /* end confdefs.h. */
36337 #include <math.h>
36339 main ()
36341 _ceilf (0); _floorf (0);
36343 return 0;
36345 _ACEOF
36346 if ac_fn_cxx_try_compile "$LINENO"; then :
36347 glibcxx_cv_func__float_round_use=yes
36348 else
36349 glibcxx_cv_func__float_round_use=no
36351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36361 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36362 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36363 for ac_func in _ceilf _floorf
36364 do :
36365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36367 eval as_val=\$$as_ac_var
36368 if test "x$as_val" = x""yes; then :
36369 cat >>confdefs.h <<_ACEOF
36370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36374 done
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36385 $as_echo_n "checking for expf declaration... " >&6; }
36386 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36387 if test "${glibcxx_cv_func_expf_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 expf(0);
36410 return 0;
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func_expf_use=yes
36415 else
36416 glibcxx_cv_func_expf_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_expf_use" >&5
36430 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36432 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36433 for ac_func in expf
36434 do :
36435 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36436 if test "x$ac_cv_func_expf" = x""yes; then :
36437 cat >>confdefs.h <<_ACEOF
36438 #define HAVE_EXPF 1
36439 _ACEOF
36442 done
36444 else
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36447 $as_echo_n "checking for _expf declaration... " >&6; }
36448 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36449 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36450 $as_echo_n "(cached) " >&6
36451 else
36454 ac_ext=cpp
36455 ac_cpp='$CXXCPP $CPPFLAGS'
36456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36461 /* end confdefs.h. */
36462 #include <math.h>
36463 #ifdef HAVE_IEEEFP_H
36464 #include <ieeefp.h>
36465 #endif
36468 main ()
36470 _expf(0);
36472 return 0;
36474 _ACEOF
36475 if ac_fn_cxx_try_compile "$LINENO"; then :
36476 glibcxx_cv_func__expf_use=yes
36477 else
36478 glibcxx_cv_func__expf_use=no
36480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36481 ac_ext=c
36482 ac_cpp='$CPP $CPPFLAGS'
36483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36492 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36494 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36495 for ac_func in _expf
36496 do :
36497 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36498 if test "x$ac_cv_func__expf" = x""yes; then :
36499 cat >>confdefs.h <<_ACEOF
36500 #define HAVE__EXPF 1
36501 _ACEOF
36504 done
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36514 $as_echo_n "checking for isnanf declaration... " >&6; }
36515 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36516 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
36539 return 0;
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543 glibcxx_cv_func_isnanf_use=yes
36544 else
36545 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
36559 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36561 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36562 for ac_func in isnanf
36563 do :
36564 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36565 if test "x$ac_cv_func_isnanf" = x""yes; then :
36566 cat >>confdefs.h <<_ACEOF
36567 #define HAVE_ISNANF 1
36568 _ACEOF
36571 done
36573 else
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36576 $as_echo_n "checking for _isnanf declaration... " >&6; }
36577 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36578 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36579 $as_echo_n "(cached) " >&6
36580 else
36583 ac_ext=cpp
36584 ac_cpp='$CXXCPP $CPPFLAGS'
36585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36590 /* end confdefs.h. */
36591 #include <math.h>
36592 #ifdef HAVE_IEEEFP_H
36593 #include <ieeefp.h>
36594 #endif
36597 main ()
36599 _isnanf(0);
36601 return 0;
36603 _ACEOF
36604 if ac_fn_cxx_try_compile "$LINENO"; then :
36605 glibcxx_cv_func__isnanf_use=yes
36606 else
36607 glibcxx_cv_func__isnanf_use=no
36609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36610 ac_ext=c
36611 ac_cpp='$CPP $CPPFLAGS'
36612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36621 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36623 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36624 for ac_func in _isnanf
36625 do :
36626 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36627 if test "x$ac_cv_func__isnanf" = x""yes; then :
36628 cat >>confdefs.h <<_ACEOF
36629 #define HAVE__ISNANF 1
36630 _ACEOF
36633 done
36642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36643 $as_echo_n "checking for isinff declaration... " >&6; }
36644 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36645 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36646 $as_echo_n "(cached) " >&6
36647 else
36650 ac_ext=cpp
36651 ac_cpp='$CXXCPP $CPPFLAGS'
36652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36657 /* end confdefs.h. */
36658 #include <math.h>
36659 #ifdef HAVE_IEEEFP_H
36660 #include <ieeefp.h>
36661 #endif
36664 main ()
36666 isinff(0);
36668 return 0;
36670 _ACEOF
36671 if ac_fn_cxx_try_compile "$LINENO"; then :
36672 glibcxx_cv_func_isinff_use=yes
36673 else
36674 glibcxx_cv_func_isinff_use=no
36676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36677 ac_ext=c
36678 ac_cpp='$CPP $CPPFLAGS'
36679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36688 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36690 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36691 for ac_func in isinff
36692 do :
36693 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36694 if test "x$ac_cv_func_isinff" = x""yes; then :
36695 cat >>confdefs.h <<_ACEOF
36696 #define HAVE_ISINFF 1
36697 _ACEOF
36700 done
36702 else
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36705 $as_echo_n "checking for _isinff declaration... " >&6; }
36706 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36707 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36708 $as_echo_n "(cached) " >&6
36709 else
36712 ac_ext=cpp
36713 ac_cpp='$CXXCPP $CPPFLAGS'
36714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36719 /* end confdefs.h. */
36720 #include <math.h>
36721 #ifdef HAVE_IEEEFP_H
36722 #include <ieeefp.h>
36723 #endif
36726 main ()
36728 _isinff(0);
36730 return 0;
36732 _ACEOF
36733 if ac_fn_cxx_try_compile "$LINENO"; then :
36734 glibcxx_cv_func__isinff_use=yes
36735 else
36736 glibcxx_cv_func__isinff_use=no
36738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36739 ac_ext=c
36740 ac_cpp='$CPP $CPPFLAGS'
36741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36750 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36752 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36753 for ac_func in _isinff
36754 do :
36755 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36756 if test "x$ac_cv_func__isinff" = x""yes; then :
36757 cat >>confdefs.h <<_ACEOF
36758 #define HAVE__ISINFF 1
36759 _ACEOF
36762 done
36771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36772 $as_echo_n "checking for atan2f declaration... " >&6; }
36773 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36774 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36775 $as_echo_n "(cached) " >&6
36776 else
36779 ac_ext=cpp
36780 ac_cpp='$CXXCPP $CPPFLAGS'
36781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36786 /* end confdefs.h. */
36787 #include <math.h>
36789 main ()
36791 atan2f(0, 0);
36793 return 0;
36795 _ACEOF
36796 if ac_fn_cxx_try_compile "$LINENO"; then :
36797 glibcxx_cv_func_atan2f_use=yes
36798 else
36799 glibcxx_cv_func_atan2f_use=no
36801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36802 ac_ext=c
36803 ac_cpp='$CPP $CPPFLAGS'
36804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36813 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36815 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36816 for ac_func in atan2f
36817 do :
36818 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36819 if test "x$ac_cv_func_atan2f" = x""yes; then :
36820 cat >>confdefs.h <<_ACEOF
36821 #define HAVE_ATAN2F 1
36822 _ACEOF
36825 done
36827 else
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36830 $as_echo_n "checking for _atan2f declaration... " >&6; }
36831 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36832 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36833 $as_echo_n "(cached) " >&6
36834 else
36837 ac_ext=cpp
36838 ac_cpp='$CXXCPP $CPPFLAGS'
36839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36844 /* end confdefs.h. */
36845 #include <math.h>
36847 main ()
36849 _atan2f(0, 0);
36851 return 0;
36853 _ACEOF
36854 if ac_fn_cxx_try_compile "$LINENO"; then :
36855 glibcxx_cv_func__atan2f_use=yes
36856 else
36857 glibcxx_cv_func__atan2f_use=no
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860 ac_ext=c
36861 ac_cpp='$CPP $CPPFLAGS'
36862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36871 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36873 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36874 for ac_func in _atan2f
36875 do :
36876 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36877 if test "x$ac_cv_func__atan2f" = x""yes; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define HAVE__ATAN2F 1
36880 _ACEOF
36883 done
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36893 $as_echo_n "checking for fabsf declaration... " >&6; }
36894 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36895 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36896 $as_echo_n "(cached) " >&6
36897 else
36900 ac_ext=cpp
36901 ac_cpp='$CXXCPP $CPPFLAGS'
36902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36907 /* end confdefs.h. */
36908 #include <math.h>
36909 #ifdef HAVE_IEEEFP_H
36910 #include <ieeefp.h>
36911 #endif
36914 main ()
36916 fabsf(0);
36918 return 0;
36920 _ACEOF
36921 if ac_fn_cxx_try_compile "$LINENO"; then :
36922 glibcxx_cv_func_fabsf_use=yes
36923 else
36924 glibcxx_cv_func_fabsf_use=no
36926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36938 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36940 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36941 for ac_func in fabsf
36942 do :
36943 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36944 if test "x$ac_cv_func_fabsf" = x""yes; then :
36945 cat >>confdefs.h <<_ACEOF
36946 #define HAVE_FABSF 1
36947 _ACEOF
36950 done
36952 else
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36955 $as_echo_n "checking for _fabsf declaration... " >&6; }
36956 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36957 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36958 $as_echo_n "(cached) " >&6
36959 else
36962 ac_ext=cpp
36963 ac_cpp='$CXXCPP $CPPFLAGS'
36964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36969 /* end confdefs.h. */
36970 #include <math.h>
36971 #ifdef HAVE_IEEEFP_H
36972 #include <ieeefp.h>
36973 #endif
36976 main ()
36978 _fabsf(0);
36980 return 0;
36982 _ACEOF
36983 if ac_fn_cxx_try_compile "$LINENO"; then :
36984 glibcxx_cv_func__fabsf_use=yes
36985 else
36986 glibcxx_cv_func__fabsf_use=no
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36989 ac_ext=c
36990 ac_cpp='$CPP $CPPFLAGS'
36991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37000 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37002 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37003 for ac_func in _fabsf
37004 do :
37005 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37006 if test "x$ac_cv_func__fabsf" = x""yes; then :
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE__FABSF 1
37009 _ACEOF
37012 done
37021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37022 $as_echo_n "checking for fmodf declaration... " >&6; }
37023 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37024 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37025 $as_echo_n "(cached) " >&6
37026 else
37029 ac_ext=cpp
37030 ac_cpp='$CXXCPP $CPPFLAGS'
37031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37036 /* end confdefs.h. */
37037 #include <math.h>
37039 main ()
37041 fmodf(0, 0);
37043 return 0;
37045 _ACEOF
37046 if ac_fn_cxx_try_compile "$LINENO"; then :
37047 glibcxx_cv_func_fmodf_use=yes
37048 else
37049 glibcxx_cv_func_fmodf_use=no
37051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37063 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37065 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37066 for ac_func in fmodf
37067 do :
37068 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37069 if test "x$ac_cv_func_fmodf" = x""yes; then :
37070 cat >>confdefs.h <<_ACEOF
37071 #define HAVE_FMODF 1
37072 _ACEOF
37075 done
37077 else
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37080 $as_echo_n "checking for _fmodf declaration... " >&6; }
37081 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37082 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37097 main ()
37099 _fmodf(0, 0);
37101 return 0;
37103 _ACEOF
37104 if ac_fn_cxx_try_compile "$LINENO"; then :
37105 glibcxx_cv_func__fmodf_use=yes
37106 else
37107 glibcxx_cv_func__fmodf_use=no
37109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37110 ac_ext=c
37111 ac_cpp='$CPP $CPPFLAGS'
37112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37121 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37123 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37124 for ac_func in _fmodf
37125 do :
37126 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37127 if test "x$ac_cv_func__fmodf" = x""yes; then :
37128 cat >>confdefs.h <<_ACEOF
37129 #define HAVE__FMODF 1
37130 _ACEOF
37133 done
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37143 $as_echo_n "checking for frexpf declaration... " >&6; }
37144 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37145 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37146 $as_echo_n "(cached) " >&6
37147 else
37150 ac_ext=cpp
37151 ac_cpp='$CXXCPP $CPPFLAGS'
37152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37157 /* end confdefs.h. */
37158 #include <math.h>
37160 main ()
37162 frexpf(0, 0);
37164 return 0;
37166 _ACEOF
37167 if ac_fn_cxx_try_compile "$LINENO"; then :
37168 glibcxx_cv_func_frexpf_use=yes
37169 else
37170 glibcxx_cv_func_frexpf_use=no
37172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37173 ac_ext=c
37174 ac_cpp='$CPP $CPPFLAGS'
37175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37184 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37186 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37187 for ac_func in frexpf
37188 do :
37189 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37190 if test "x$ac_cv_func_frexpf" = x""yes; then :
37191 cat >>confdefs.h <<_ACEOF
37192 #define HAVE_FREXPF 1
37193 _ACEOF
37196 done
37198 else
37200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37201 $as_echo_n "checking for _frexpf declaration... " >&6; }
37202 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37203 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37204 $as_echo_n "(cached) " >&6
37205 else
37208 ac_ext=cpp
37209 ac_cpp='$CXXCPP $CPPFLAGS'
37210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37215 /* end confdefs.h. */
37216 #include <math.h>
37218 main ()
37220 _frexpf(0, 0);
37222 return 0;
37224 _ACEOF
37225 if ac_fn_cxx_try_compile "$LINENO"; then :
37226 glibcxx_cv_func__frexpf_use=yes
37227 else
37228 glibcxx_cv_func__frexpf_use=no
37230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37231 ac_ext=c
37232 ac_cpp='$CPP $CPPFLAGS'
37233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37242 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37244 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37245 for ac_func in _frexpf
37246 do :
37247 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37248 if test "x$ac_cv_func__frexpf" = x""yes; then :
37249 cat >>confdefs.h <<_ACEOF
37250 #define HAVE__FREXPF 1
37251 _ACEOF
37254 done
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37264 $as_echo_n "checking for hypotf declaration... " >&6; }
37265 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37266 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37267 $as_echo_n "(cached) " >&6
37268 else
37271 ac_ext=cpp
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37278 /* end confdefs.h. */
37279 #include <math.h>
37281 main ()
37283 hypotf(0, 0);
37285 return 0;
37287 _ACEOF
37288 if ac_fn_cxx_try_compile "$LINENO"; then :
37289 glibcxx_cv_func_hypotf_use=yes
37290 else
37291 glibcxx_cv_func_hypotf_use=no
37293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37294 ac_ext=c
37295 ac_cpp='$CPP $CPPFLAGS'
37296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37305 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37307 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37308 for ac_func in hypotf
37309 do :
37310 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37311 if test "x$ac_cv_func_hypotf" = x""yes; then :
37312 cat >>confdefs.h <<_ACEOF
37313 #define HAVE_HYPOTF 1
37314 _ACEOF
37317 done
37319 else
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37322 $as_echo_n "checking for _hypotf declaration... " >&6; }
37323 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37324 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37325 $as_echo_n "(cached) " >&6
37326 else
37329 ac_ext=cpp
37330 ac_cpp='$CXXCPP $CPPFLAGS'
37331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37336 /* end confdefs.h. */
37337 #include <math.h>
37339 main ()
37341 _hypotf(0, 0);
37343 return 0;
37345 _ACEOF
37346 if ac_fn_cxx_try_compile "$LINENO"; then :
37347 glibcxx_cv_func__hypotf_use=yes
37348 else
37349 glibcxx_cv_func__hypotf_use=no
37351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37352 ac_ext=c
37353 ac_cpp='$CPP $CPPFLAGS'
37354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37363 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37365 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37366 for ac_func in _hypotf
37367 do :
37368 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37369 if test "x$ac_cv_func__hypotf" = x""yes; then :
37370 cat >>confdefs.h <<_ACEOF
37371 #define HAVE__HYPOTF 1
37372 _ACEOF
37375 done
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37385 $as_echo_n "checking for ldexpf declaration... " >&6; }
37386 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37387 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37388 $as_echo_n "(cached) " >&6
37389 else
37392 ac_ext=cpp
37393 ac_cpp='$CXXCPP $CPPFLAGS'
37394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37399 /* end confdefs.h. */
37400 #include <math.h>
37402 main ()
37404 ldexpf(0, 0);
37406 return 0;
37408 _ACEOF
37409 if ac_fn_cxx_try_compile "$LINENO"; then :
37410 glibcxx_cv_func_ldexpf_use=yes
37411 else
37412 glibcxx_cv_func_ldexpf_use=no
37414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37415 ac_ext=c
37416 ac_cpp='$CPP $CPPFLAGS'
37417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37426 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37428 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37429 for ac_func in ldexpf
37430 do :
37431 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37432 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37433 cat >>confdefs.h <<_ACEOF
37434 #define HAVE_LDEXPF 1
37435 _ACEOF
37438 done
37440 else
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37443 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37444 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37445 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37446 $as_echo_n "(cached) " >&6
37447 else
37450 ac_ext=cpp
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37457 /* end confdefs.h. */
37458 #include <math.h>
37460 main ()
37462 _ldexpf(0, 0);
37464 return 0;
37466 _ACEOF
37467 if ac_fn_cxx_try_compile "$LINENO"; then :
37468 glibcxx_cv_func__ldexpf_use=yes
37469 else
37470 glibcxx_cv_func__ldexpf_use=no
37472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37473 ac_ext=c
37474 ac_cpp='$CPP $CPPFLAGS'
37475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37484 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37486 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37487 for ac_func in _ldexpf
37488 do :
37489 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37490 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37491 cat >>confdefs.h <<_ACEOF
37492 #define HAVE__LDEXPF 1
37493 _ACEOF
37496 done
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37506 $as_echo_n "checking for logf declaration... " >&6; }
37507 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37508 if test "${glibcxx_cv_func_logf_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 logf(0);
37531 return 0;
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func_logf_use=yes
37536 else
37537 glibcxx_cv_func_logf_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_logf_use" >&5
37551 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37553 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37554 for ac_func in logf
37555 do :
37556 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37557 if test "x$ac_cv_func_logf" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE_LOGF 1
37560 _ACEOF
37563 done
37565 else
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37568 $as_echo_n "checking for _logf declaration... " >&6; }
37569 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37570 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37571 $as_echo_n "(cached) " >&6
37572 else
37575 ac_ext=cpp
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37582 /* end confdefs.h. */
37583 #include <math.h>
37584 #ifdef HAVE_IEEEFP_H
37585 #include <ieeefp.h>
37586 #endif
37589 main ()
37591 _logf(0);
37593 return 0;
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597 glibcxx_cv_func__logf_use=yes
37598 else
37599 glibcxx_cv_func__logf_use=no
37601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37602 ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37613 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37615 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37616 for ac_func in _logf
37617 do :
37618 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37619 if test "x$ac_cv_func__logf" = x""yes; then :
37620 cat >>confdefs.h <<_ACEOF
37621 #define HAVE__LOGF 1
37622 _ACEOF
37625 done
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37635 $as_echo_n "checking for log10f declaration... " >&6; }
37636 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37637 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37639 else
37642 ac_ext=cpp
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37650 #include <math.h>
37651 #ifdef HAVE_IEEEFP_H
37652 #include <ieeefp.h>
37653 #endif
37656 main ()
37658 log10f(0);
37660 return 0;
37662 _ACEOF
37663 if ac_fn_cxx_try_compile "$LINENO"; then :
37664 glibcxx_cv_func_log10f_use=yes
37665 else
37666 glibcxx_cv_func_log10f_use=no
37668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37669 ac_ext=c
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37680 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37682 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37683 for ac_func in log10f
37684 do :
37685 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37686 if test "x$ac_cv_func_log10f" = x""yes; then :
37687 cat >>confdefs.h <<_ACEOF
37688 #define HAVE_LOG10F 1
37689 _ACEOF
37692 done
37694 else
37696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37697 $as_echo_n "checking for _log10f declaration... " >&6; }
37698 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37699 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37700 $as_echo_n "(cached) " >&6
37701 else
37704 ac_ext=cpp
37705 ac_cpp='$CXXCPP $CPPFLAGS'
37706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37711 /* end confdefs.h. */
37712 #include <math.h>
37713 #ifdef HAVE_IEEEFP_H
37714 #include <ieeefp.h>
37715 #endif
37718 main ()
37720 _log10f(0);
37722 return 0;
37724 _ACEOF
37725 if ac_fn_cxx_try_compile "$LINENO"; then :
37726 glibcxx_cv_func__log10f_use=yes
37727 else
37728 glibcxx_cv_func__log10f_use=no
37730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37731 ac_ext=c
37732 ac_cpp='$CPP $CPPFLAGS'
37733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37742 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37744 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37745 for ac_func in _log10f
37746 do :
37747 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37748 if test "x$ac_cv_func__log10f" = x""yes; then :
37749 cat >>confdefs.h <<_ACEOF
37750 #define HAVE__LOG10F 1
37751 _ACEOF
37754 done
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37764 $as_echo_n "checking for modff declaration... " >&6; }
37765 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37766 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37771 ac_ext=cpp
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37778 /* end confdefs.h. */
37779 #include <math.h>
37781 main ()
37783 modff(0, 0);
37785 return 0;
37787 _ACEOF
37788 if ac_fn_cxx_try_compile "$LINENO"; then :
37789 glibcxx_cv_func_modff_use=yes
37790 else
37791 glibcxx_cv_func_modff_use=no
37793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37794 ac_ext=c
37795 ac_cpp='$CPP $CPPFLAGS'
37796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37805 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37807 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37808 for ac_func in modff
37809 do :
37810 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37811 if test "x$ac_cv_func_modff" = x""yes; then :
37812 cat >>confdefs.h <<_ACEOF
37813 #define HAVE_MODFF 1
37814 _ACEOF
37817 done
37819 else
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37822 $as_echo_n "checking for _modff declaration... " >&6; }
37823 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37824 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37825 $as_echo_n "(cached) " >&6
37826 else
37829 ac_ext=cpp
37830 ac_cpp='$CXXCPP $CPPFLAGS'
37831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37836 /* end confdefs.h. */
37837 #include <math.h>
37839 main ()
37841 _modff(0, 0);
37843 return 0;
37845 _ACEOF
37846 if ac_fn_cxx_try_compile "$LINENO"; then :
37847 glibcxx_cv_func__modff_use=yes
37848 else
37849 glibcxx_cv_func__modff_use=no
37851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37852 ac_ext=c
37853 ac_cpp='$CPP $CPPFLAGS'
37854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37863 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37865 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37866 for ac_func in _modff
37867 do :
37868 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37869 if test "x$ac_cv_func__modff" = x""yes; then :
37870 cat >>confdefs.h <<_ACEOF
37871 #define HAVE__MODFF 1
37872 _ACEOF
37875 done
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37885 $as_echo_n "checking for modf declaration... " >&6; }
37886 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37887 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37888 $as_echo_n "(cached) " >&6
37889 else
37892 ac_ext=cpp
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h. */
37900 #include <math.h>
37902 main ()
37904 modf(0, 0);
37906 return 0;
37908 _ACEOF
37909 if ac_fn_cxx_try_compile "$LINENO"; then :
37910 glibcxx_cv_func_modf_use=yes
37911 else
37912 glibcxx_cv_func_modf_use=no
37914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37915 ac_ext=c
37916 ac_cpp='$CPP $CPPFLAGS'
37917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37926 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37928 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37929 for ac_func in modf
37930 do :
37931 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37932 if test "x$ac_cv_func_modf" = x""yes; then :
37933 cat >>confdefs.h <<_ACEOF
37934 #define HAVE_MODF 1
37935 _ACEOF
37938 done
37940 else
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37943 $as_echo_n "checking for _modf declaration... " >&6; }
37944 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37945 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37946 $as_echo_n "(cached) " >&6
37947 else
37950 ac_ext=cpp
37951 ac_cpp='$CXXCPP $CPPFLAGS'
37952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37957 /* end confdefs.h. */
37958 #include <math.h>
37960 main ()
37962 _modf(0, 0);
37964 return 0;
37966 _ACEOF
37967 if ac_fn_cxx_try_compile "$LINENO"; then :
37968 glibcxx_cv_func__modf_use=yes
37969 else
37970 glibcxx_cv_func__modf_use=no
37972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 ac_ext=c
37974 ac_cpp='$CPP $CPPFLAGS'
37975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37984 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37986 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37987 for ac_func in _modf
37988 do :
37989 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37990 if test "x$ac_cv_func__modf" = x""yes; then :
37991 cat >>confdefs.h <<_ACEOF
37992 #define HAVE__MODF 1
37993 _ACEOF
37996 done
38005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38006 $as_echo_n "checking for powf declaration... " >&6; }
38007 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38008 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38009 $as_echo_n "(cached) " >&6
38010 else
38013 ac_ext=cpp
38014 ac_cpp='$CXXCPP $CPPFLAGS'
38015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38020 /* end confdefs.h. */
38021 #include <math.h>
38023 main ()
38025 powf(0, 0);
38027 return 0;
38029 _ACEOF
38030 if ac_fn_cxx_try_compile "$LINENO"; then :
38031 glibcxx_cv_func_powf_use=yes
38032 else
38033 glibcxx_cv_func_powf_use=no
38035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38036 ac_ext=c
38037 ac_cpp='$CPP $CPPFLAGS'
38038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38047 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38049 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38050 for ac_func in powf
38051 do :
38052 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38053 if test "x$ac_cv_func_powf" = x""yes; then :
38054 cat >>confdefs.h <<_ACEOF
38055 #define HAVE_POWF 1
38056 _ACEOF
38059 done
38061 else
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38064 $as_echo_n "checking for _powf declaration... " >&6; }
38065 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38066 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38067 $as_echo_n "(cached) " >&6
38068 else
38071 ac_ext=cpp
38072 ac_cpp='$CXXCPP $CPPFLAGS'
38073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078 /* end confdefs.h. */
38079 #include <math.h>
38081 main ()
38083 _powf(0, 0);
38085 return 0;
38087 _ACEOF
38088 if ac_fn_cxx_try_compile "$LINENO"; then :
38089 glibcxx_cv_func__powf_use=yes
38090 else
38091 glibcxx_cv_func__powf_use=no
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38105 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38107 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38108 for ac_func in _powf
38109 do :
38110 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38111 if test "x$ac_cv_func__powf" = x""yes; then :
38112 cat >>confdefs.h <<_ACEOF
38113 #define HAVE__POWF 1
38114 _ACEOF
38117 done
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38127 $as_echo_n "checking for sqrtf declaration... " >&6; }
38128 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38129 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38130 $as_echo_n "(cached) " >&6
38131 else
38134 ac_ext=cpp
38135 ac_cpp='$CXXCPP $CPPFLAGS'
38136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38141 /* end confdefs.h. */
38142 #include <math.h>
38143 #ifdef HAVE_IEEEFP_H
38144 #include <ieeefp.h>
38145 #endif
38148 main ()
38150 sqrtf(0);
38152 return 0;
38154 _ACEOF
38155 if ac_fn_cxx_try_compile "$LINENO"; then :
38156 glibcxx_cv_func_sqrtf_use=yes
38157 else
38158 glibcxx_cv_func_sqrtf_use=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161 ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38172 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38174 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38175 for ac_func in sqrtf
38176 do :
38177 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38178 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38179 cat >>confdefs.h <<_ACEOF
38180 #define HAVE_SQRTF 1
38181 _ACEOF
38184 done
38186 else
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38189 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38190 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38191 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38192 $as_echo_n "(cached) " >&6
38193 else
38196 ac_ext=cpp
38197 ac_cpp='$CXXCPP $CPPFLAGS'
38198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38204 #include <math.h>
38205 #ifdef HAVE_IEEEFP_H
38206 #include <ieeefp.h>
38207 #endif
38210 main ()
38212 _sqrtf(0);
38214 return 0;
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func__sqrtf_use=yes
38219 else
38220 glibcxx_cv_func__sqrtf_use=no
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38234 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38236 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38237 for ac_func in _sqrtf
38238 do :
38239 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38240 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE__SQRTF 1
38243 _ACEOF
38246 done
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38256 $as_echo_n "checking for sincosf declaration... " >&6; }
38257 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38258 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38259 $as_echo_n "(cached) " >&6
38260 else
38263 ac_ext=cpp
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38271 #include <math.h>
38273 main ()
38275 sincosf(0, 0, 0);
38277 return 0;
38279 _ACEOF
38280 if ac_fn_cxx_try_compile "$LINENO"; then :
38281 glibcxx_cv_func_sincosf_use=yes
38282 else
38283 glibcxx_cv_func_sincosf_use=no
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 ac_ext=c
38287 ac_cpp='$CPP $CPPFLAGS'
38288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38297 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38299 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38300 for ac_func in sincosf
38301 do :
38302 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38303 if test "x$ac_cv_func_sincosf" = x""yes; then :
38304 cat >>confdefs.h <<_ACEOF
38305 #define HAVE_SINCOSF 1
38306 _ACEOF
38309 done
38311 else
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38314 $as_echo_n "checking for _sincosf declaration... " >&6; }
38315 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38316 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
38335 return 0;
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func__sincosf_use=yes
38340 else
38341 glibcxx_cv_func__sincosf_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
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38355 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38357 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38358 for ac_func in _sincosf
38359 do :
38360 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38361 if test "x$ac_cv_func__sincosf" = x""yes; then :
38362 cat >>confdefs.h <<_ACEOF
38363 #define HAVE__SINCOSF 1
38364 _ACEOF
38367 done
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38377 $as_echo_n "checking for finitef declaration... " >&6; }
38378 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38379 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38380 $as_echo_n "(cached) " >&6
38381 else
38384 ac_ext=cpp
38385 ac_cpp='$CXXCPP $CPPFLAGS'
38386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38391 /* end confdefs.h. */
38392 #include <math.h>
38393 #ifdef HAVE_IEEEFP_H
38394 #include <ieeefp.h>
38395 #endif
38398 main ()
38400 finitef(0);
38402 return 0;
38404 _ACEOF
38405 if ac_fn_cxx_try_compile "$LINENO"; then :
38406 glibcxx_cv_func_finitef_use=yes
38407 else
38408 glibcxx_cv_func_finitef_use=no
38410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38411 ac_ext=c
38412 ac_cpp='$CPP $CPPFLAGS'
38413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38422 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38424 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38425 for ac_func in finitef
38426 do :
38427 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38428 if test "x$ac_cv_func_finitef" = x""yes; then :
38429 cat >>confdefs.h <<_ACEOF
38430 #define HAVE_FINITEF 1
38431 _ACEOF
38434 done
38436 else
38438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38439 $as_echo_n "checking for _finitef declaration... " >&6; }
38440 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38441 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38442 $as_echo_n "(cached) " >&6
38443 else
38446 ac_ext=cpp
38447 ac_cpp='$CXXCPP $CPPFLAGS'
38448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38453 /* end confdefs.h. */
38454 #include <math.h>
38455 #ifdef HAVE_IEEEFP_H
38456 #include <ieeefp.h>
38457 #endif
38460 main ()
38462 _finitef(0);
38464 return 0;
38466 _ACEOF
38467 if ac_fn_cxx_try_compile "$LINENO"; then :
38468 glibcxx_cv_func__finitef_use=yes
38469 else
38470 glibcxx_cv_func__finitef_use=no
38472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38473 ac_ext=c
38474 ac_cpp='$CPP $CPPFLAGS'
38475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38484 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38486 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38487 for ac_func in _finitef
38488 do :
38489 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38490 if test "x$ac_cv_func__finitef" = x""yes; then :
38491 cat >>confdefs.h <<_ACEOF
38492 #define HAVE__FINITEF 1
38493 _ACEOF
38496 done
38505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38506 $as_echo_n "checking for long double trig functions... " >&6; }
38507 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38508 $as_echo_n "(cached) " >&6
38509 else
38512 ac_ext=cpp
38513 ac_cpp='$CXXCPP $CPPFLAGS'
38514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38519 /* end confdefs.h. */
38520 #include <math.h>
38522 main ()
38524 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38526 return 0;
38528 _ACEOF
38529 if ac_fn_cxx_try_compile "$LINENO"; then :
38530 glibcxx_cv_func_long_double_trig_use=yes
38531 else
38532 glibcxx_cv_func_long_double_trig_use=no
38534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38535 ac_ext=c
38536 ac_cpp='$CPP $CPPFLAGS'
38537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38544 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38545 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38546 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38547 do :
38548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38550 eval as_val=\$$as_ac_var
38551 if test "x$as_val" = x""yes; then :
38552 cat >>confdefs.h <<_ACEOF
38553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38554 _ACEOF
38557 done
38559 else
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38561 $as_echo_n "checking for _long double trig functions... " >&6; }
38562 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38563 $as_echo_n "(cached) " >&6
38564 else
38567 ac_ext=cpp
38568 ac_cpp='$CXXCPP $CPPFLAGS'
38569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574 /* end confdefs.h. */
38575 #include <math.h>
38577 main ()
38579 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38581 return 0;
38583 _ACEOF
38584 if ac_fn_cxx_try_compile "$LINENO"; then :
38585 glibcxx_cv_func__long_double_trig_use=yes
38586 else
38587 glibcxx_cv_func__long_double_trig_use=no
38589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38590 ac_ext=c
38591 ac_cpp='$CPP $CPPFLAGS'
38592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38599 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38600 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38601 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38602 do :
38603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38605 eval as_val=\$$as_ac_var
38606 if test "x$as_val" = x""yes; then :
38607 cat >>confdefs.h <<_ACEOF
38608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38609 _ACEOF
38612 done
38621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38622 $as_echo_n "checking for long double round functions... " >&6; }
38623 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38624 $as_echo_n "(cached) " >&6
38625 else
38628 ac_ext=cpp
38629 ac_cpp='$CXXCPP $CPPFLAGS'
38630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38635 /* end confdefs.h. */
38636 #include <math.h>
38638 main ()
38640 ceill (0); floorl (0);
38642 return 0;
38644 _ACEOF
38645 if ac_fn_cxx_try_compile "$LINENO"; then :
38646 glibcxx_cv_func_long_double_round_use=yes
38647 else
38648 glibcxx_cv_func_long_double_round_use=no
38650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38651 ac_ext=c
38652 ac_cpp='$CPP $CPPFLAGS'
38653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38660 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38661 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38662 for ac_func in ceill floorl
38663 do :
38664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38666 eval as_val=\$$as_ac_var
38667 if test "x$as_val" = x""yes; then :
38668 cat >>confdefs.h <<_ACEOF
38669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38670 _ACEOF
38673 done
38675 else
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38677 $as_echo_n "checking for _long double round functions... " >&6; }
38678 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38679 $as_echo_n "(cached) " >&6
38680 else
38683 ac_ext=cpp
38684 ac_cpp='$CXXCPP $CPPFLAGS'
38685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38690 /* end confdefs.h. */
38691 #include <math.h>
38693 main ()
38695 _ceill (0); _floorl (0);
38697 return 0;
38699 _ACEOF
38700 if ac_fn_cxx_try_compile "$LINENO"; then :
38701 glibcxx_cv_func__long_double_round_use=yes
38702 else
38703 glibcxx_cv_func__long_double_round_use=no
38705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38706 ac_ext=c
38707 ac_cpp='$CPP $CPPFLAGS'
38708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38715 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38716 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38717 for ac_func in _ceill _floorl
38718 do :
38719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38721 eval as_val=\$$as_ac_var
38722 if test "x$as_val" = x""yes; then :
38723 cat >>confdefs.h <<_ACEOF
38724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38725 _ACEOF
38728 done
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38739 $as_echo_n "checking for isnanl declaration... " >&6; }
38740 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38741 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
38764 return 0;
38766 _ACEOF
38767 if ac_fn_cxx_try_compile "$LINENO"; then :
38768 glibcxx_cv_func_isnanl_use=yes
38769 else
38770 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
38784 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38786 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38787 for ac_func in isnanl
38788 do :
38789 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38790 if test "x$ac_cv_func_isnanl" = x""yes; then :
38791 cat >>confdefs.h <<_ACEOF
38792 #define HAVE_ISNANL 1
38793 _ACEOF
38796 done
38798 else
38800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38801 $as_echo_n "checking for _isnanl declaration... " >&6; }
38802 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38803 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38804 $as_echo_n "(cached) " >&6
38805 else
38808 ac_ext=cpp
38809 ac_cpp='$CXXCPP $CPPFLAGS'
38810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38815 /* end confdefs.h. */
38816 #include <math.h>
38817 #ifdef HAVE_IEEEFP_H
38818 #include <ieeefp.h>
38819 #endif
38822 main ()
38824 _isnanl(0);
38826 return 0;
38828 _ACEOF
38829 if ac_fn_cxx_try_compile "$LINENO"; then :
38830 glibcxx_cv_func__isnanl_use=yes
38831 else
38832 glibcxx_cv_func__isnanl_use=no
38834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38835 ac_ext=c
38836 ac_cpp='$CPP $CPPFLAGS'
38837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38846 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38848 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38849 for ac_func in _isnanl
38850 do :
38851 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38852 if test "x$ac_cv_func__isnanl" = x""yes; then :
38853 cat >>confdefs.h <<_ACEOF
38854 #define HAVE__ISNANL 1
38855 _ACEOF
38858 done
38867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38868 $as_echo_n "checking for isinfl declaration... " >&6; }
38869 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38870 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38871 $as_echo_n "(cached) " >&6
38872 else
38875 ac_ext=cpp
38876 ac_cpp='$CXXCPP $CPPFLAGS'
38877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38882 /* end confdefs.h. */
38883 #include <math.h>
38884 #ifdef HAVE_IEEEFP_H
38885 #include <ieeefp.h>
38886 #endif
38889 main ()
38891 isinfl(0);
38893 return 0;
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897 glibcxx_cv_func_isinfl_use=yes
38898 else
38899 glibcxx_cv_func_isinfl_use=no
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902 ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38913 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38915 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38916 for ac_func in isinfl
38917 do :
38918 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38919 if test "x$ac_cv_func_isinfl" = x""yes; then :
38920 cat >>confdefs.h <<_ACEOF
38921 #define HAVE_ISINFL 1
38922 _ACEOF
38925 done
38927 else
38929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38930 $as_echo_n "checking for _isinfl declaration... " >&6; }
38931 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38932 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38933 $as_echo_n "(cached) " >&6
38934 else
38937 ac_ext=cpp
38938 ac_cpp='$CXXCPP $CPPFLAGS'
38939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38944 /* end confdefs.h. */
38945 #include <math.h>
38946 #ifdef HAVE_IEEEFP_H
38947 #include <ieeefp.h>
38948 #endif
38951 main ()
38953 _isinfl(0);
38955 return 0;
38957 _ACEOF
38958 if ac_fn_cxx_try_compile "$LINENO"; then :
38959 glibcxx_cv_func__isinfl_use=yes
38960 else
38961 glibcxx_cv_func__isinfl_use=no
38963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38964 ac_ext=c
38965 ac_cpp='$CPP $CPPFLAGS'
38966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38975 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38977 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38978 for ac_func in _isinfl
38979 do :
38980 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38981 if test "x$ac_cv_func__isinfl" = x""yes; then :
38982 cat >>confdefs.h <<_ACEOF
38983 #define HAVE__ISINFL 1
38984 _ACEOF
38987 done
38996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38997 $as_echo_n "checking for atan2l declaration... " >&6; }
38998 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38999 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39000 $as_echo_n "(cached) " >&6
39001 else
39004 ac_ext=cpp
39005 ac_cpp='$CXXCPP $CPPFLAGS'
39006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011 /* end confdefs.h. */
39012 #include <math.h>
39014 main ()
39016 atan2l(0, 0);
39018 return 0;
39020 _ACEOF
39021 if ac_fn_cxx_try_compile "$LINENO"; then :
39022 glibcxx_cv_func_atan2l_use=yes
39023 else
39024 glibcxx_cv_func_atan2l_use=no
39026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39027 ac_ext=c
39028 ac_cpp='$CPP $CPPFLAGS'
39029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39038 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39040 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39041 for ac_func in atan2l
39042 do :
39043 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39044 if test "x$ac_cv_func_atan2l" = x""yes; then :
39045 cat >>confdefs.h <<_ACEOF
39046 #define HAVE_ATAN2L 1
39047 _ACEOF
39050 done
39052 else
39054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39055 $as_echo_n "checking for _atan2l declaration... " >&6; }
39056 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39057 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39058 $as_echo_n "(cached) " >&6
39059 else
39062 ac_ext=cpp
39063 ac_cpp='$CXXCPP $CPPFLAGS'
39064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39069 /* end confdefs.h. */
39070 #include <math.h>
39072 main ()
39074 _atan2l(0, 0);
39076 return 0;
39078 _ACEOF
39079 if ac_fn_cxx_try_compile "$LINENO"; then :
39080 glibcxx_cv_func__atan2l_use=yes
39081 else
39082 glibcxx_cv_func__atan2l_use=no
39084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39085 ac_ext=c
39086 ac_cpp='$CPP $CPPFLAGS'
39087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39096 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39098 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39099 for ac_func in _atan2l
39100 do :
39101 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39102 if test "x$ac_cv_func__atan2l" = x""yes; then :
39103 cat >>confdefs.h <<_ACEOF
39104 #define HAVE__ATAN2L 1
39105 _ACEOF
39108 done
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39118 $as_echo_n "checking for expl declaration... " >&6; }
39119 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39120 if test "${glibcxx_cv_func_expl_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 expl(0);
39143 return 0;
39145 _ACEOF
39146 if ac_fn_cxx_try_compile "$LINENO"; then :
39147 glibcxx_cv_func_expl_use=yes
39148 else
39149 glibcxx_cv_func_expl_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_expl_use" >&5
39163 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39165 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39166 for ac_func in expl
39167 do :
39168 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39169 if test "x$ac_cv_func_expl" = x""yes; then :
39170 cat >>confdefs.h <<_ACEOF
39171 #define HAVE_EXPL 1
39172 _ACEOF
39175 done
39177 else
39179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39180 $as_echo_n "checking for _expl declaration... " >&6; }
39181 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39182 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39183 $as_echo_n "(cached) " >&6
39184 else
39187 ac_ext=cpp
39188 ac_cpp='$CXXCPP $CPPFLAGS'
39189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39194 /* end confdefs.h. */
39195 #include <math.h>
39196 #ifdef HAVE_IEEEFP_H
39197 #include <ieeefp.h>
39198 #endif
39201 main ()
39203 _expl(0);
39205 return 0;
39207 _ACEOF
39208 if ac_fn_cxx_try_compile "$LINENO"; then :
39209 glibcxx_cv_func__expl_use=yes
39210 else
39211 glibcxx_cv_func__expl_use=no
39213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39214 ac_ext=c
39215 ac_cpp='$CPP $CPPFLAGS'
39216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39225 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39227 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39228 for ac_func in _expl
39229 do :
39230 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39231 if test "x$ac_cv_func__expl" = x""yes; then :
39232 cat >>confdefs.h <<_ACEOF
39233 #define HAVE__EXPL 1
39234 _ACEOF
39237 done
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39247 $as_echo_n "checking for fabsl declaration... " >&6; }
39248 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39249 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39250 $as_echo_n "(cached) " >&6
39251 else
39254 ac_ext=cpp
39255 ac_cpp='$CXXCPP $CPPFLAGS'
39256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39261 /* end confdefs.h. */
39262 #include <math.h>
39263 #ifdef HAVE_IEEEFP_H
39264 #include <ieeefp.h>
39265 #endif
39268 main ()
39270 fabsl(0);
39272 return 0;
39274 _ACEOF
39275 if ac_fn_cxx_try_compile "$LINENO"; then :
39276 glibcxx_cv_func_fabsl_use=yes
39277 else
39278 glibcxx_cv_func_fabsl_use=no
39280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39281 ac_ext=c
39282 ac_cpp='$CPP $CPPFLAGS'
39283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39292 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39294 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39295 for ac_func in fabsl
39296 do :
39297 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39298 if test "x$ac_cv_func_fabsl" = x""yes; then :
39299 cat >>confdefs.h <<_ACEOF
39300 #define HAVE_FABSL 1
39301 _ACEOF
39304 done
39306 else
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39309 $as_echo_n "checking for _fabsl declaration... " >&6; }
39310 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39311 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39312 $as_echo_n "(cached) " >&6
39313 else
39316 ac_ext=cpp
39317 ac_cpp='$CXXCPP $CPPFLAGS'
39318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39323 /* end confdefs.h. */
39324 #include <math.h>
39325 #ifdef HAVE_IEEEFP_H
39326 #include <ieeefp.h>
39327 #endif
39330 main ()
39332 _fabsl(0);
39334 return 0;
39336 _ACEOF
39337 if ac_fn_cxx_try_compile "$LINENO"; then :
39338 glibcxx_cv_func__fabsl_use=yes
39339 else
39340 glibcxx_cv_func__fabsl_use=no
39342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39343 ac_ext=c
39344 ac_cpp='$CPP $CPPFLAGS'
39345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39354 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39356 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39357 for ac_func in _fabsl
39358 do :
39359 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39360 if test "x$ac_cv_func__fabsl" = x""yes; then :
39361 cat >>confdefs.h <<_ACEOF
39362 #define HAVE__FABSL 1
39363 _ACEOF
39366 done
39375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39376 $as_echo_n "checking for fmodl declaration... " >&6; }
39377 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39378 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39379 $as_echo_n "(cached) " >&6
39380 else
39383 ac_ext=cpp
39384 ac_cpp='$CXXCPP $CPPFLAGS'
39385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39390 /* end confdefs.h. */
39391 #include <math.h>
39393 main ()
39395 fmodl(0, 0);
39397 return 0;
39399 _ACEOF
39400 if ac_fn_cxx_try_compile "$LINENO"; then :
39401 glibcxx_cv_func_fmodl_use=yes
39402 else
39403 glibcxx_cv_func_fmodl_use=no
39405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39406 ac_ext=c
39407 ac_cpp='$CPP $CPPFLAGS'
39408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39417 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39419 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39420 for ac_func in fmodl
39421 do :
39422 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39423 if test "x$ac_cv_func_fmodl" = x""yes; then :
39424 cat >>confdefs.h <<_ACEOF
39425 #define HAVE_FMODL 1
39426 _ACEOF
39429 done
39431 else
39433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39434 $as_echo_n "checking for _fmodl declaration... " >&6; }
39435 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39436 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39437 $as_echo_n "(cached) " >&6
39438 else
39441 ac_ext=cpp
39442 ac_cpp='$CXXCPP $CPPFLAGS'
39443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39448 /* end confdefs.h. */
39449 #include <math.h>
39451 main ()
39453 _fmodl(0, 0);
39455 return 0;
39457 _ACEOF
39458 if ac_fn_cxx_try_compile "$LINENO"; then :
39459 glibcxx_cv_func__fmodl_use=yes
39460 else
39461 glibcxx_cv_func__fmodl_use=no
39463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39464 ac_ext=c
39465 ac_cpp='$CPP $CPPFLAGS'
39466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39475 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39477 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39478 for ac_func in _fmodl
39479 do :
39480 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39481 if test "x$ac_cv_func__fmodl" = x""yes; then :
39482 cat >>confdefs.h <<_ACEOF
39483 #define HAVE__FMODL 1
39484 _ACEOF
39487 done
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39497 $as_echo_n "checking for frexpl declaration... " >&6; }
39498 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39499 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39500 $as_echo_n "(cached) " >&6
39501 else
39504 ac_ext=cpp
39505 ac_cpp='$CXXCPP $CPPFLAGS'
39506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39511 /* end confdefs.h. */
39512 #include <math.h>
39514 main ()
39516 frexpl(0, 0);
39518 return 0;
39520 _ACEOF
39521 if ac_fn_cxx_try_compile "$LINENO"; then :
39522 glibcxx_cv_func_frexpl_use=yes
39523 else
39524 glibcxx_cv_func_frexpl_use=no
39526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39527 ac_ext=c
39528 ac_cpp='$CPP $CPPFLAGS'
39529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39538 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39540 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39541 for ac_func in frexpl
39542 do :
39543 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39544 if test "x$ac_cv_func_frexpl" = x""yes; then :
39545 cat >>confdefs.h <<_ACEOF
39546 #define HAVE_FREXPL 1
39547 _ACEOF
39550 done
39552 else
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39555 $as_echo_n "checking for _frexpl declaration... " >&6; }
39556 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39557 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39558 $as_echo_n "(cached) " >&6
39559 else
39562 ac_ext=cpp
39563 ac_cpp='$CXXCPP $CPPFLAGS'
39564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39569 /* end confdefs.h. */
39570 #include <math.h>
39572 main ()
39574 _frexpl(0, 0);
39576 return 0;
39578 _ACEOF
39579 if ac_fn_cxx_try_compile "$LINENO"; then :
39580 glibcxx_cv_func__frexpl_use=yes
39581 else
39582 glibcxx_cv_func__frexpl_use=no
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39585 ac_ext=c
39586 ac_cpp='$CPP $CPPFLAGS'
39587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39596 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39598 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39599 for ac_func in _frexpl
39600 do :
39601 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39602 if test "x$ac_cv_func__frexpl" = x""yes; then :
39603 cat >>confdefs.h <<_ACEOF
39604 #define HAVE__FREXPL 1
39605 _ACEOF
39608 done
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39618 $as_echo_n "checking for hypotl declaration... " >&6; }
39619 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39620 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39621 $as_echo_n "(cached) " >&6
39622 else
39625 ac_ext=cpp
39626 ac_cpp='$CXXCPP $CPPFLAGS'
39627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39632 /* end confdefs.h. */
39633 #include <math.h>
39635 main ()
39637 hypotl(0, 0);
39639 return 0;
39641 _ACEOF
39642 if ac_fn_cxx_try_compile "$LINENO"; then :
39643 glibcxx_cv_func_hypotl_use=yes
39644 else
39645 glibcxx_cv_func_hypotl_use=no
39647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39648 ac_ext=c
39649 ac_cpp='$CPP $CPPFLAGS'
39650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39659 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39661 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39662 for ac_func in hypotl
39663 do :
39664 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39665 if test "x$ac_cv_func_hypotl" = x""yes; then :
39666 cat >>confdefs.h <<_ACEOF
39667 #define HAVE_HYPOTL 1
39668 _ACEOF
39671 done
39673 else
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39676 $as_echo_n "checking for _hypotl declaration... " >&6; }
39677 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39678 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39679 $as_echo_n "(cached) " >&6
39680 else
39683 ac_ext=cpp
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39691 #include <math.h>
39693 main ()
39695 _hypotl(0, 0);
39697 return 0;
39699 _ACEOF
39700 if ac_fn_cxx_try_compile "$LINENO"; then :
39701 glibcxx_cv_func__hypotl_use=yes
39702 else
39703 glibcxx_cv_func__hypotl_use=no
39705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39706 ac_ext=c
39707 ac_cpp='$CPP $CPPFLAGS'
39708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39717 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39719 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39720 for ac_func in _hypotl
39721 do :
39722 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39723 if test "x$ac_cv_func__hypotl" = x""yes; then :
39724 cat >>confdefs.h <<_ACEOF
39725 #define HAVE__HYPOTL 1
39726 _ACEOF
39729 done
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39739 $as_echo_n "checking for ldexpl declaration... " >&6; }
39740 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39741 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39742 $as_echo_n "(cached) " >&6
39743 else
39746 ac_ext=cpp
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39753 /* end confdefs.h. */
39754 #include <math.h>
39756 main ()
39758 ldexpl(0, 0);
39760 return 0;
39762 _ACEOF
39763 if ac_fn_cxx_try_compile "$LINENO"; then :
39764 glibcxx_cv_func_ldexpl_use=yes
39765 else
39766 glibcxx_cv_func_ldexpl_use=no
39768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39769 ac_ext=c
39770 ac_cpp='$CPP $CPPFLAGS'
39771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39780 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39782 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39783 for ac_func in ldexpl
39784 do :
39785 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39786 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39787 cat >>confdefs.h <<_ACEOF
39788 #define HAVE_LDEXPL 1
39789 _ACEOF
39792 done
39794 else
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39797 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39798 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39799 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39800 $as_echo_n "(cached) " >&6
39801 else
39804 ac_ext=cpp
39805 ac_cpp='$CXXCPP $CPPFLAGS'
39806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 /* end confdefs.h. */
39812 #include <math.h>
39814 main ()
39816 _ldexpl(0, 0);
39818 return 0;
39820 _ACEOF
39821 if ac_fn_cxx_try_compile "$LINENO"; then :
39822 glibcxx_cv_func__ldexpl_use=yes
39823 else
39824 glibcxx_cv_func__ldexpl_use=no
39826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39827 ac_ext=c
39828 ac_cpp='$CPP $CPPFLAGS'
39829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39838 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39840 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39841 for ac_func in _ldexpl
39842 do :
39843 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39844 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39845 cat >>confdefs.h <<_ACEOF
39846 #define HAVE__LDEXPL 1
39847 _ACEOF
39850 done
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39860 $as_echo_n "checking for logl declaration... " >&6; }
39861 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39862 if test "${glibcxx_cv_func_logl_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 logl(0);
39885 return 0;
39887 _ACEOF
39888 if ac_fn_cxx_try_compile "$LINENO"; then :
39889 glibcxx_cv_func_logl_use=yes
39890 else
39891 glibcxx_cv_func_logl_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_logl_use" >&5
39905 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39907 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39908 for ac_func in logl
39909 do :
39910 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39911 if test "x$ac_cv_func_logl" = x""yes; then :
39912 cat >>confdefs.h <<_ACEOF
39913 #define HAVE_LOGL 1
39914 _ACEOF
39917 done
39919 else
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39922 $as_echo_n "checking for _logl declaration... " >&6; }
39923 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39924 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39925 $as_echo_n "(cached) " >&6
39926 else
39929 ac_ext=cpp
39930 ac_cpp='$CXXCPP $CPPFLAGS'
39931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39936 /* end confdefs.h. */
39937 #include <math.h>
39938 #ifdef HAVE_IEEEFP_H
39939 #include <ieeefp.h>
39940 #endif
39943 main ()
39945 _logl(0);
39947 return 0;
39949 _ACEOF
39950 if ac_fn_cxx_try_compile "$LINENO"; then :
39951 glibcxx_cv_func__logl_use=yes
39952 else
39953 glibcxx_cv_func__logl_use=no
39955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39956 ac_ext=c
39957 ac_cpp='$CPP $CPPFLAGS'
39958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39967 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39969 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39970 for ac_func in _logl
39971 do :
39972 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39973 if test "x$ac_cv_func__logl" = x""yes; then :
39974 cat >>confdefs.h <<_ACEOF
39975 #define HAVE__LOGL 1
39976 _ACEOF
39979 done
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39989 $as_echo_n "checking for log10l declaration... " >&6; }
39990 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39991 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39992 $as_echo_n "(cached) " >&6
39993 else
39996 ac_ext=cpp
39997 ac_cpp='$CXXCPP $CPPFLAGS'
39998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40003 /* end confdefs.h. */
40004 #include <math.h>
40005 #ifdef HAVE_IEEEFP_H
40006 #include <ieeefp.h>
40007 #endif
40010 main ()
40012 log10l(0);
40014 return 0;
40016 _ACEOF
40017 if ac_fn_cxx_try_compile "$LINENO"; then :
40018 glibcxx_cv_func_log10l_use=yes
40019 else
40020 glibcxx_cv_func_log10l_use=no
40022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40023 ac_ext=c
40024 ac_cpp='$CPP $CPPFLAGS'
40025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40034 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40036 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40037 for ac_func in log10l
40038 do :
40039 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40040 if test "x$ac_cv_func_log10l" = x""yes; then :
40041 cat >>confdefs.h <<_ACEOF
40042 #define HAVE_LOG10L 1
40043 _ACEOF
40046 done
40048 else
40050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40051 $as_echo_n "checking for _log10l declaration... " >&6; }
40052 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40053 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40054 $as_echo_n "(cached) " >&6
40055 else
40058 ac_ext=cpp
40059 ac_cpp='$CXXCPP $CPPFLAGS'
40060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40065 /* end confdefs.h. */
40066 #include <math.h>
40067 #ifdef HAVE_IEEEFP_H
40068 #include <ieeefp.h>
40069 #endif
40072 main ()
40074 _log10l(0);
40076 return 0;
40078 _ACEOF
40079 if ac_fn_cxx_try_compile "$LINENO"; then :
40080 glibcxx_cv_func__log10l_use=yes
40081 else
40082 glibcxx_cv_func__log10l_use=no
40084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40085 ac_ext=c
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40096 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40098 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40099 for ac_func in _log10l
40100 do :
40101 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40102 if test "x$ac_cv_func__log10l" = x""yes; then :
40103 cat >>confdefs.h <<_ACEOF
40104 #define HAVE__LOG10L 1
40105 _ACEOF
40108 done
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40118 $as_echo_n "checking for modfl declaration... " >&6; }
40119 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40120 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40121 $as_echo_n "(cached) " >&6
40122 else
40125 ac_ext=cpp
40126 ac_cpp='$CXXCPP $CPPFLAGS'
40127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40132 /* end confdefs.h. */
40133 #include <math.h>
40135 main ()
40137 modfl(0, 0);
40139 return 0;
40141 _ACEOF
40142 if ac_fn_cxx_try_compile "$LINENO"; then :
40143 glibcxx_cv_func_modfl_use=yes
40144 else
40145 glibcxx_cv_func_modfl_use=no
40147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40148 ac_ext=c
40149 ac_cpp='$CPP $CPPFLAGS'
40150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40159 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40161 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40162 for ac_func in modfl
40163 do :
40164 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40165 if test "x$ac_cv_func_modfl" = x""yes; then :
40166 cat >>confdefs.h <<_ACEOF
40167 #define HAVE_MODFL 1
40168 _ACEOF
40171 done
40173 else
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40176 $as_echo_n "checking for _modfl declaration... " >&6; }
40177 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40178 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40179 $as_echo_n "(cached) " >&6
40180 else
40183 ac_ext=cpp
40184 ac_cpp='$CXXCPP $CPPFLAGS'
40185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40190 /* end confdefs.h. */
40191 #include <math.h>
40193 main ()
40195 _modfl(0, 0);
40197 return 0;
40199 _ACEOF
40200 if ac_fn_cxx_try_compile "$LINENO"; then :
40201 glibcxx_cv_func__modfl_use=yes
40202 else
40203 glibcxx_cv_func__modfl_use=no
40205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40206 ac_ext=c
40207 ac_cpp='$CPP $CPPFLAGS'
40208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40217 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40219 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40220 for ac_func in _modfl
40221 do :
40222 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40223 if test "x$ac_cv_func__modfl" = x""yes; then :
40224 cat >>confdefs.h <<_ACEOF
40225 #define HAVE__MODFL 1
40226 _ACEOF
40229 done
40238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40239 $as_echo_n "checking for powl declaration... " >&6; }
40240 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40241 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40242 $as_echo_n "(cached) " >&6
40243 else
40246 ac_ext=cpp
40247 ac_cpp='$CXXCPP $CPPFLAGS'
40248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40253 /* end confdefs.h. */
40254 #include <math.h>
40256 main ()
40258 powl(0, 0);
40260 return 0;
40262 _ACEOF
40263 if ac_fn_cxx_try_compile "$LINENO"; then :
40264 glibcxx_cv_func_powl_use=yes
40265 else
40266 glibcxx_cv_func_powl_use=no
40268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40269 ac_ext=c
40270 ac_cpp='$CPP $CPPFLAGS'
40271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40280 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40282 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40283 for ac_func in powl
40284 do :
40285 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40286 if test "x$ac_cv_func_powl" = x""yes; then :
40287 cat >>confdefs.h <<_ACEOF
40288 #define HAVE_POWL 1
40289 _ACEOF
40292 done
40294 else
40296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40297 $as_echo_n "checking for _powl declaration... " >&6; }
40298 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40299 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40300 $as_echo_n "(cached) " >&6
40301 else
40304 ac_ext=cpp
40305 ac_cpp='$CXXCPP $CPPFLAGS'
40306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40311 /* end confdefs.h. */
40312 #include <math.h>
40314 main ()
40316 _powl(0, 0);
40318 return 0;
40320 _ACEOF
40321 if ac_fn_cxx_try_compile "$LINENO"; then :
40322 glibcxx_cv_func__powl_use=yes
40323 else
40324 glibcxx_cv_func__powl_use=no
40326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40327 ac_ext=c
40328 ac_cpp='$CPP $CPPFLAGS'
40329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40338 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40340 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40341 for ac_func in _powl
40342 do :
40343 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40344 if test "x$ac_cv_func__powl" = x""yes; then :
40345 cat >>confdefs.h <<_ACEOF
40346 #define HAVE__POWL 1
40347 _ACEOF
40350 done
40359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40360 $as_echo_n "checking for sqrtl declaration... " >&6; }
40361 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40362 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40363 $as_echo_n "(cached) " >&6
40364 else
40367 ac_ext=cpp
40368 ac_cpp='$CXXCPP $CPPFLAGS'
40369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40374 /* end confdefs.h. */
40375 #include <math.h>
40376 #ifdef HAVE_IEEEFP_H
40377 #include <ieeefp.h>
40378 #endif
40381 main ()
40383 sqrtl(0);
40385 return 0;
40387 _ACEOF
40388 if ac_fn_cxx_try_compile "$LINENO"; then :
40389 glibcxx_cv_func_sqrtl_use=yes
40390 else
40391 glibcxx_cv_func_sqrtl_use=no
40393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40394 ac_ext=c
40395 ac_cpp='$CPP $CPPFLAGS'
40396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40405 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40407 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40408 for ac_func in sqrtl
40409 do :
40410 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40411 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40412 cat >>confdefs.h <<_ACEOF
40413 #define HAVE_SQRTL 1
40414 _ACEOF
40417 done
40419 else
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40422 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40423 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40424 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40425 $as_echo_n "(cached) " >&6
40426 else
40429 ac_ext=cpp
40430 ac_cpp='$CXXCPP $CPPFLAGS'
40431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40436 /* end confdefs.h. */
40437 #include <math.h>
40438 #ifdef HAVE_IEEEFP_H
40439 #include <ieeefp.h>
40440 #endif
40443 main ()
40445 _sqrtl(0);
40447 return 0;
40449 _ACEOF
40450 if ac_fn_cxx_try_compile "$LINENO"; then :
40451 glibcxx_cv_func__sqrtl_use=yes
40452 else
40453 glibcxx_cv_func__sqrtl_use=no
40455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40456 ac_ext=c
40457 ac_cpp='$CPP $CPPFLAGS'
40458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40467 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40469 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40470 for ac_func in _sqrtl
40471 do :
40472 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40473 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40474 cat >>confdefs.h <<_ACEOF
40475 #define HAVE__SQRTL 1
40476 _ACEOF
40479 done
40488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40489 $as_echo_n "checking for sincosl declaration... " >&6; }
40490 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40491 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40492 $as_echo_n "(cached) " >&6
40493 else
40496 ac_ext=cpp
40497 ac_cpp='$CXXCPP $CPPFLAGS'
40498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40503 /* end confdefs.h. */
40504 #include <math.h>
40506 main ()
40508 sincosl(0, 0, 0);
40510 return 0;
40512 _ACEOF
40513 if ac_fn_cxx_try_compile "$LINENO"; then :
40514 glibcxx_cv_func_sincosl_use=yes
40515 else
40516 glibcxx_cv_func_sincosl_use=no
40518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40519 ac_ext=c
40520 ac_cpp='$CPP $CPPFLAGS'
40521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40530 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40532 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40533 for ac_func in sincosl
40534 do :
40535 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40536 if test "x$ac_cv_func_sincosl" = x""yes; then :
40537 cat >>confdefs.h <<_ACEOF
40538 #define HAVE_SINCOSL 1
40539 _ACEOF
40542 done
40544 else
40546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40547 $as_echo_n "checking for _sincosl declaration... " >&6; }
40548 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40549 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40550 $as_echo_n "(cached) " >&6
40551 else
40554 ac_ext=cpp
40555 ac_cpp='$CXXCPP $CPPFLAGS'
40556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40561 /* end confdefs.h. */
40562 #include <math.h>
40564 main ()
40566 _sincosl(0, 0, 0);
40568 return 0;
40570 _ACEOF
40571 if ac_fn_cxx_try_compile "$LINENO"; then :
40572 glibcxx_cv_func__sincosl_use=yes
40573 else
40574 glibcxx_cv_func__sincosl_use=no
40576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40577 ac_ext=c
40578 ac_cpp='$CPP $CPPFLAGS'
40579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40588 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40590 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40591 for ac_func in _sincosl
40592 do :
40593 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40594 if test "x$ac_cv_func__sincosl" = x""yes; then :
40595 cat >>confdefs.h <<_ACEOF
40596 #define HAVE__SINCOSL 1
40597 _ACEOF
40600 done
40609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40610 $as_echo_n "checking for finitel declaration... " >&6; }
40611 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40612 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40613 $as_echo_n "(cached) " >&6
40614 else
40617 ac_ext=cpp
40618 ac_cpp='$CXXCPP $CPPFLAGS'
40619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40624 /* end confdefs.h. */
40625 #include <math.h>
40626 #ifdef HAVE_IEEEFP_H
40627 #include <ieeefp.h>
40628 #endif
40631 main ()
40633 finitel(0);
40635 return 0;
40637 _ACEOF
40638 if ac_fn_cxx_try_compile "$LINENO"; then :
40639 glibcxx_cv_func_finitel_use=yes
40640 else
40641 glibcxx_cv_func_finitel_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_finitel_use" >&5
40655 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40657 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40658 for ac_func in finitel
40659 do :
40660 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40661 if test "x$ac_cv_func_finitel" = x""yes; then :
40662 cat >>confdefs.h <<_ACEOF
40663 #define HAVE_FINITEL 1
40664 _ACEOF
40667 done
40669 else
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40672 $as_echo_n "checking for _finitel declaration... " >&6; }
40673 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40674 if test "${glibcxx_cv_func__finitel_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 <math.h>
40688 #ifdef HAVE_IEEEFP_H
40689 #include <ieeefp.h>
40690 #endif
40693 main ()
40695 _finitel(0);
40697 return 0;
40699 _ACEOF
40700 if ac_fn_cxx_try_compile "$LINENO"; then :
40701 glibcxx_cv_func__finitel_use=yes
40702 else
40703 glibcxx_cv_func__finitel_use=no
40705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40706 ac_ext=c
40707 ac_cpp='$CPP $CPPFLAGS'
40708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40717 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40719 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40720 for ac_func in _finitel
40721 do :
40722 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40723 if test "x$ac_cv_func__finitel" = x""yes; then :
40724 cat >>confdefs.h <<_ACEOF
40725 #define HAVE__FINITEL 1
40726 _ACEOF
40729 done
40737 LIBS="$ac_save_LIBS"
40738 CXXFLAGS="$ac_save_CXXFLAGS"
40741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40742 ac_save_CXXFLAGS="$CXXFLAGS"
40743 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40747 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40748 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40749 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40750 $as_echo_n "(cached) " >&6
40751 else
40754 ac_ext=cpp
40755 ac_cpp='$CXXCPP $CPPFLAGS'
40756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40761 /* end confdefs.h. */
40762 #include <stdlib.h>
40764 main ()
40766 at_quick_exit(0);
40768 return 0;
40770 _ACEOF
40771 if ac_fn_cxx_try_compile "$LINENO"; then :
40772 glibcxx_cv_func_at_quick_exit_use=yes
40773 else
40774 glibcxx_cv_func_at_quick_exit_use=no
40776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40777 ac_ext=c
40778 ac_cpp='$CPP $CPPFLAGS'
40779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40788 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40789 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40790 for ac_func in at_quick_exit
40791 do :
40792 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40793 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40794 cat >>confdefs.h <<_ACEOF
40795 #define HAVE_AT_QUICK_EXIT 1
40796 _ACEOF
40799 done
40804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40805 $as_echo_n "checking for quick_exit declaration... " >&6; }
40806 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40807 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40808 $as_echo_n "(cached) " >&6
40809 else
40812 ac_ext=cpp
40813 ac_cpp='$CXXCPP $CPPFLAGS'
40814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40819 /* end confdefs.h. */
40820 #include <stdlib.h>
40822 main ()
40824 quick_exit(0);
40826 return 0;
40828 _ACEOF
40829 if ac_fn_cxx_try_compile "$LINENO"; then :
40830 glibcxx_cv_func_quick_exit_use=yes
40831 else
40832 glibcxx_cv_func_quick_exit_use=no
40834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40835 ac_ext=c
40836 ac_cpp='$CPP $CPPFLAGS'
40837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40846 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40847 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40848 for ac_func in quick_exit
40849 do :
40850 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40851 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40852 cat >>confdefs.h <<_ACEOF
40853 #define HAVE_QUICK_EXIT 1
40854 _ACEOF
40857 done
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40863 $as_echo_n "checking for strtold declaration... " >&6; }
40864 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40865 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40866 $as_echo_n "(cached) " >&6
40867 else
40870 ac_ext=cpp
40871 ac_cpp='$CXXCPP $CPPFLAGS'
40872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40877 /* end confdefs.h. */
40878 #include <stdlib.h>
40880 main ()
40882 strtold(0, 0);
40884 return 0;
40886 _ACEOF
40887 if ac_fn_cxx_try_compile "$LINENO"; then :
40888 glibcxx_cv_func_strtold_use=yes
40889 else
40890 glibcxx_cv_func_strtold_use=no
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40904 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40905 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40906 for ac_func in strtold
40907 do :
40908 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40909 if test "x$ac_cv_func_strtold" = x""yes; then :
40910 cat >>confdefs.h <<_ACEOF
40911 #define HAVE_STRTOLD 1
40912 _ACEOF
40915 done
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40923 $as_echo_n "checking for strtof declaration... " >&6; }
40924 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40925 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40926 $as_echo_n "(cached) " >&6
40927 else
40930 ac_ext=cpp
40931 ac_cpp='$CXXCPP $CPPFLAGS'
40932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40937 /* end confdefs.h. */
40938 #include <stdlib.h>
40940 main ()
40942 strtof(0, 0);
40944 return 0;
40946 _ACEOF
40947 if ac_fn_cxx_try_compile "$LINENO"; then :
40948 glibcxx_cv_func_strtof_use=yes
40949 else
40950 glibcxx_cv_func_strtof_use=no
40952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40953 ac_ext=c
40954 ac_cpp='$CPP $CPPFLAGS'
40955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40964 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40965 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40966 for ac_func in strtof
40967 do :
40968 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40969 if test "x$ac_cv_func_strtof" = x""yes; then :
40970 cat >>confdefs.h <<_ACEOF
40971 #define HAVE_STRTOF 1
40972 _ACEOF
40975 done
40982 CXXFLAGS="$ac_save_CXXFLAGS"
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40990 $as_echo_n "checking for iconv... " >&6; }
40991 if test "${am_cv_func_iconv+set}" = set; then :
40992 $as_echo_n "(cached) " >&6
40993 else
40995 am_cv_func_iconv="no, consider installing GNU libiconv"
40996 am_cv_lib_iconv=no
40997 am_save_CPPFLAGS="$CPPFLAGS"
40998 CPPFLAGS="$CPPFLAGS $INCICONV"
40999 if test x$gcc_no_link = xyes; then
41000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41003 /* end confdefs.h. */
41004 #include <stdlib.h>
41005 #include <iconv.h>
41007 main ()
41009 iconv_t cd = iconv_open("","");
41010 iconv(cd,NULL,NULL,NULL,NULL);
41011 iconv_close(cd);
41013 return 0;
41015 _ACEOF
41016 if ac_fn_c_try_link "$LINENO"; then :
41017 am_cv_func_iconv=yes
41019 rm -f core conftest.err conftest.$ac_objext \
41020 conftest$ac_exeext conftest.$ac_ext
41021 CPPFLAGS="$am_save_CPPFLAGS"
41023 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41024 for _libs in .libs _libs; do
41025 am_save_CPPFLAGS="$CPPFLAGS"
41026 am_save_LIBS="$LIBS"
41027 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41028 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41029 if test x$gcc_no_link = xyes; then
41030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41033 /* end confdefs.h. */
41034 #include <stdlib.h>
41035 #include <iconv.h>
41037 main ()
41039 iconv_t cd = iconv_open("","");
41040 iconv(cd,NULL,NULL,NULL,NULL);
41041 iconv_close(cd);
41043 return 0;
41045 _ACEOF
41046 if ac_fn_c_try_link "$LINENO"; then :
41047 INCICONV="-I../libiconv/include"
41048 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41049 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41050 am_cv_lib_iconv=yes
41051 am_cv_func_iconv=yes
41053 rm -f core conftest.err conftest.$ac_objext \
41054 conftest$ac_exeext conftest.$ac_ext
41055 CPPFLAGS="$am_save_CPPFLAGS"
41056 LIBS="$am_save_LIBS"
41057 if test "$am_cv_func_iconv" = "yes"; then
41058 break
41060 done
41063 if test "$am_cv_func_iconv" != yes; then
41064 am_save_CPPFLAGS="$CPPFLAGS"
41065 am_save_LIBS="$LIBS"
41066 CPPFLAGS="$LIBS $INCICONV"
41067 LIBS="$LIBS $LIBICONV"
41068 if test x$gcc_no_link = xyes; then
41069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41072 /* end confdefs.h. */
41073 #include <stdlib.h>
41074 #include <iconv.h>
41076 main ()
41078 iconv_t cd = iconv_open("","");
41079 iconv(cd,NULL,NULL,NULL,NULL);
41080 iconv_close(cd);
41082 return 0;
41084 _ACEOF
41085 if ac_fn_c_try_link "$LINENO"; then :
41086 am_cv_lib_iconv=yes
41087 am_cv_func_iconv=yes
41089 rm -f core conftest.err conftest.$ac_objext \
41090 conftest$ac_exeext conftest.$ac_ext
41091 CPPFLAGS="$am_save_CPPFLAGS"
41092 LIBS="$am_save_LIBS"
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41097 $as_echo "$am_cv_func_iconv" >&6; }
41098 if test "$am_cv_func_iconv" = yes; then
41100 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41103 if test "$am_cv_lib_iconv" = yes; then
41105 for element in $INCICONV; do
41106 haveit=
41107 for x in $CPPFLAGS; do
41109 acl_save_prefix="$prefix"
41110 prefix="$acl_final_prefix"
41111 acl_save_exec_prefix="$exec_prefix"
41112 exec_prefix="$acl_final_exec_prefix"
41113 eval x=\"$x\"
41114 exec_prefix="$acl_save_exec_prefix"
41115 prefix="$acl_save_prefix"
41117 if test "X$x" = "X$element"; then
41118 haveit=yes
41119 break
41121 done
41122 if test -z "$haveit"; then
41123 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41125 done
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41128 $as_echo_n "checking how to link with libiconv... " >&6; }
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41130 $as_echo "$LIBICONV" >&6; }
41131 else
41132 LIBICONV=
41133 LTLIBICONV=
41138 if test "$am_cv_func_iconv" = yes; then
41139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41140 $as_echo_n "checking for iconv declaration... " >&6; }
41141 if test "${am_cv_proto_iconv+set}" = set; then :
41142 $as_echo_n "(cached) " >&6
41143 else
41145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41146 /* end confdefs.h. */
41148 #include <stdlib.h>
41149 #include <iconv.h>
41150 extern
41151 #ifdef __cplusplus
41153 #endif
41154 #if defined(__STDC__) || defined(__cplusplus)
41155 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41156 #else
41157 size_t iconv();
41158 #endif
41161 main ()
41165 return 0;
41167 _ACEOF
41168 if ac_fn_c_try_compile "$LINENO"; then :
41169 am_cv_proto_iconv_arg1=""
41170 else
41171 am_cv_proto_iconv_arg1="const"
41173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41174 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);"
41177 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41179 }$am_cv_proto_iconv" >&5
41180 $as_echo "${ac_t:-
41181 }$am_cv_proto_iconv" >&6; }
41183 cat >>confdefs.h <<_ACEOF
41184 #define ICONV_CONST $am_cv_proto_iconv_arg1
41185 _ACEOF
41191 *-aix*)
41193 # If we're not using GNU ld, then there's no point in even trying these
41194 # tests. Check for that first. We should have already tested for gld
41195 # by now (in libtool), but require it now just to be safe...
41196 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41197 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41201 # The name set by libtool depends on the version of libtool. Shame on us
41202 # for depending on an impl detail, but c'est la vie. Older versions used
41203 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41204 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41205 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41206 # set (hence we're using an older libtool), then set it.
41207 if test x${with_gnu_ld+set} != xset; then
41208 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41209 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41210 with_gnu_ld=no
41211 else
41212 with_gnu_ld=$ac_cv_prog_gnu_ld
41216 # Start by getting the version number. I think the libtool test already
41217 # does some of this, but throws away the result.
41218 glibcxx_ld_is_gold=no
41219 if test x"$with_gnu_ld" = x"yes"; then
41220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41221 $as_echo_n "checking for ld version... " >&6; }
41223 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41224 glibcxx_ld_is_gold=yes
41226 ldver=`$LD --version 2>/dev/null |
41227 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'`
41229 glibcxx_gnu_ld_version=`echo $ldver | \
41230 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41232 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41235 # Set --gc-sections.
41236 glibcxx_have_gc_sections=no
41237 if test "$glibcxx_ld_is_gold" = "yes"; then
41238 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41239 glibcxx_have_gc_sections=yes
41241 else
41242 glibcxx_gcsections_min_ld=21602
41243 if test x"$with_gnu_ld" = x"yes" &&
41244 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41245 glibcxx_have_gc_sections=yes
41248 if test "$glibcxx_have_gc_sections" = "yes"; then
41249 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41250 # NB: This flag only works reliably after 2.16.1. Configure tests
41251 # for this are difficult, so hard wire a value that should work.
41253 ac_test_CFLAGS="${CFLAGS+set}"
41254 ac_save_CFLAGS="$CFLAGS"
41255 CFLAGS='-Wl,--gc-sections'
41257 # Check for -Wl,--gc-sections
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41259 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41260 if test x$gcc_no_link = xyes; then
41261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41264 /* end confdefs.h. */
41265 int one(void) { return 1; }
41266 int two(void) { return 2; }
41269 main ()
41271 two();
41273 return 0;
41275 _ACEOF
41276 if ac_fn_c_try_link "$LINENO"; then :
41277 ac_gcsections=yes
41278 else
41279 ac_gcsections=no
41281 rm -f core conftest.err conftest.$ac_objext \
41282 conftest$ac_exeext conftest.$ac_ext
41283 if test "$ac_gcsections" = "yes"; then
41284 rm -f conftest.c
41285 touch conftest.c
41286 if $CC -c conftest.c; then
41287 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41288 grep "Warning: gc-sections option ignored" > /dev/null; then
41289 ac_gcsections=no
41292 rm -f conftest.c conftest.o conftest
41294 if test "$ac_gcsections" = "yes"; then
41295 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41298 $as_echo "$ac_gcsections" >&6; }
41300 if test "$ac_test_CFLAGS" = set; then
41301 CFLAGS="$ac_save_CFLAGS"
41302 else
41303 # this is the suspicious part
41304 CFLAGS=''
41308 # Set -z,relro.
41309 # Note this is only for shared objects.
41310 ac_ld_relro=no
41311 if test x"$with_gnu_ld" = x"yes"; then
41312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41313 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41314 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41315 if test -n "$cxx_z_relo"; then
41316 OPT_LDFLAGS="-Wl,-z,relro"
41317 ac_ld_relro=yes
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41320 $as_echo "$ac_ld_relro" >&6; }
41323 # Set linker optimization flags.
41324 if test x"$with_gnu_ld" = x"yes"; then
41325 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41332 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41333 ac_save_CXXFLAGS="$CXXFLAGS"
41334 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41337 $as_echo_n "checking for sin in -lm... " >&6; }
41338 if test "${ac_cv_lib_m_sin+set}" = set; then :
41339 $as_echo_n "(cached) " >&6
41340 else
41341 ac_check_lib_save_LIBS=$LIBS
41342 LIBS="-lm $LIBS"
41343 if test x$gcc_no_link = xyes; then
41344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h. */
41349 /* Override any GCC internal prototype to avoid an error.
41350 Use char because int might match the return type of a GCC
41351 builtin and then its argument prototype would still apply. */
41352 #ifdef __cplusplus
41353 extern "C"
41354 #endif
41355 char sin ();
41357 main ()
41359 return sin ();
41361 return 0;
41363 _ACEOF
41364 if ac_fn_c_try_link "$LINENO"; then :
41365 ac_cv_lib_m_sin=yes
41366 else
41367 ac_cv_lib_m_sin=no
41369 rm -f core conftest.err conftest.$ac_objext \
41370 conftest$ac_exeext conftest.$ac_ext
41371 LIBS=$ac_check_lib_save_LIBS
41373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41374 $as_echo "$ac_cv_lib_m_sin" >&6; }
41375 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41376 libm="-lm"
41379 ac_save_LIBS="$LIBS"
41380 LIBS="$LIBS $libm"
41384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41385 $as_echo_n "checking for isinf declaration... " >&6; }
41386 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41387 if test "${glibcxx_cv_func_isinf_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 isinf(0);
41410 return 0;
41412 _ACEOF
41413 if ac_fn_cxx_try_compile "$LINENO"; then :
41414 glibcxx_cv_func_isinf_use=yes
41415 else
41416 glibcxx_cv_func_isinf_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_isinf_use" >&5
41430 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41432 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41433 for ac_func in isinf
41434 do :
41435 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41436 if test "x$ac_cv_func_isinf" = x""yes; then :
41437 cat >>confdefs.h <<_ACEOF
41438 #define HAVE_ISINF 1
41439 _ACEOF
41442 done
41444 else
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41447 $as_echo_n "checking for _isinf declaration... " >&6; }
41448 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41449 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41450 $as_echo_n "(cached) " >&6
41451 else
41454 ac_ext=cpp
41455 ac_cpp='$CXXCPP $CPPFLAGS'
41456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41461 /* end confdefs.h. */
41462 #include <math.h>
41463 #ifdef HAVE_IEEEFP_H
41464 #include <ieeefp.h>
41465 #endif
41468 main ()
41470 _isinf(0);
41472 return 0;
41474 _ACEOF
41475 if ac_fn_cxx_try_compile "$LINENO"; then :
41476 glibcxx_cv_func__isinf_use=yes
41477 else
41478 glibcxx_cv_func__isinf_use=no
41480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41481 ac_ext=c
41482 ac_cpp='$CPP $CPPFLAGS'
41483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41492 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41494 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41495 for ac_func in _isinf
41496 do :
41497 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41498 if test "x$ac_cv_func__isinf" = x""yes; then :
41499 cat >>confdefs.h <<_ACEOF
41500 #define HAVE__ISINF 1
41501 _ACEOF
41504 done
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41514 $as_echo_n "checking for isnan declaration... " >&6; }
41515 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41516 if test "${glibcxx_cv_func_isnan_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 isnan(0);
41539 return 0;
41541 _ACEOF
41542 if ac_fn_cxx_try_compile "$LINENO"; then :
41543 glibcxx_cv_func_isnan_use=yes
41544 else
41545 glibcxx_cv_func_isnan_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_isnan_use" >&5
41559 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41561 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41562 for ac_func in isnan
41563 do :
41564 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41565 if test "x$ac_cv_func_isnan" = x""yes; then :
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE_ISNAN 1
41568 _ACEOF
41571 done
41573 else
41575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41576 $as_echo_n "checking for _isnan declaration... " >&6; }
41577 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41578 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41579 $as_echo_n "(cached) " >&6
41580 else
41583 ac_ext=cpp
41584 ac_cpp='$CXXCPP $CPPFLAGS'
41585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41590 /* end confdefs.h. */
41591 #include <math.h>
41592 #ifdef HAVE_IEEEFP_H
41593 #include <ieeefp.h>
41594 #endif
41597 main ()
41599 _isnan(0);
41601 return 0;
41603 _ACEOF
41604 if ac_fn_cxx_try_compile "$LINENO"; then :
41605 glibcxx_cv_func__isnan_use=yes
41606 else
41607 glibcxx_cv_func__isnan_use=no
41609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41610 ac_ext=c
41611 ac_cpp='$CPP $CPPFLAGS'
41612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41621 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41623 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41624 for ac_func in _isnan
41625 do :
41626 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41627 if test "x$ac_cv_func__isnan" = x""yes; then :
41628 cat >>confdefs.h <<_ACEOF
41629 #define HAVE__ISNAN 1
41630 _ACEOF
41633 done
41642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41643 $as_echo_n "checking for finite declaration... " >&6; }
41644 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41645 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41646 $as_echo_n "(cached) " >&6
41647 else
41650 ac_ext=cpp
41651 ac_cpp='$CXXCPP $CPPFLAGS'
41652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41657 /* end confdefs.h. */
41658 #include <math.h>
41659 #ifdef HAVE_IEEEFP_H
41660 #include <ieeefp.h>
41661 #endif
41664 main ()
41666 finite(0);
41668 return 0;
41670 _ACEOF
41671 if ac_fn_cxx_try_compile "$LINENO"; then :
41672 glibcxx_cv_func_finite_use=yes
41673 else
41674 glibcxx_cv_func_finite_use=no
41676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41677 ac_ext=c
41678 ac_cpp='$CPP $CPPFLAGS'
41679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41688 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41690 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41691 for ac_func in finite
41692 do :
41693 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41694 if test "x$ac_cv_func_finite" = x""yes; then :
41695 cat >>confdefs.h <<_ACEOF
41696 #define HAVE_FINITE 1
41697 _ACEOF
41700 done
41702 else
41704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41705 $as_echo_n "checking for _finite declaration... " >&6; }
41706 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41707 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41708 $as_echo_n "(cached) " >&6
41709 else
41712 ac_ext=cpp
41713 ac_cpp='$CXXCPP $CPPFLAGS'
41714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41719 /* end confdefs.h. */
41720 #include <math.h>
41721 #ifdef HAVE_IEEEFP_H
41722 #include <ieeefp.h>
41723 #endif
41726 main ()
41728 _finite(0);
41730 return 0;
41732 _ACEOF
41733 if ac_fn_cxx_try_compile "$LINENO"; then :
41734 glibcxx_cv_func__finite_use=yes
41735 else
41736 glibcxx_cv_func__finite_use=no
41738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41739 ac_ext=c
41740 ac_cpp='$CPP $CPPFLAGS'
41741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41750 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41752 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41753 for ac_func in _finite
41754 do :
41755 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41756 if test "x$ac_cv_func__finite" = x""yes; then :
41757 cat >>confdefs.h <<_ACEOF
41758 #define HAVE__FINITE 1
41759 _ACEOF
41762 done
41771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41772 $as_echo_n "checking for sincos declaration... " >&6; }
41773 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41774 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41775 $as_echo_n "(cached) " >&6
41776 else
41779 ac_ext=cpp
41780 ac_cpp='$CXXCPP $CPPFLAGS'
41781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41786 /* end confdefs.h. */
41787 #include <math.h>
41789 main ()
41791 sincos(0, 0, 0);
41793 return 0;
41795 _ACEOF
41796 if ac_fn_cxx_try_compile "$LINENO"; then :
41797 glibcxx_cv_func_sincos_use=yes
41798 else
41799 glibcxx_cv_func_sincos_use=no
41801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41802 ac_ext=c
41803 ac_cpp='$CPP $CPPFLAGS'
41804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41813 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41815 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41816 for ac_func in sincos
41817 do :
41818 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41819 if test "x$ac_cv_func_sincos" = x""yes; then :
41820 cat >>confdefs.h <<_ACEOF
41821 #define HAVE_SINCOS 1
41822 _ACEOF
41825 done
41827 else
41829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41830 $as_echo_n "checking for _sincos declaration... " >&6; }
41831 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41832 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41833 $as_echo_n "(cached) " >&6
41834 else
41837 ac_ext=cpp
41838 ac_cpp='$CXXCPP $CPPFLAGS'
41839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41844 /* end confdefs.h. */
41845 #include <math.h>
41847 main ()
41849 _sincos(0, 0, 0);
41851 return 0;
41853 _ACEOF
41854 if ac_fn_cxx_try_compile "$LINENO"; then :
41855 glibcxx_cv_func__sincos_use=yes
41856 else
41857 glibcxx_cv_func__sincos_use=no
41859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41860 ac_ext=c
41861 ac_cpp='$CPP $CPPFLAGS'
41862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41871 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41873 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41874 for ac_func in _sincos
41875 do :
41876 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41877 if test "x$ac_cv_func__sincos" = x""yes; then :
41878 cat >>confdefs.h <<_ACEOF
41879 #define HAVE__SINCOS 1
41880 _ACEOF
41883 done
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41893 $as_echo_n "checking for fpclass declaration... " >&6; }
41894 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41895 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
41918 return 0;
41920 _ACEOF
41921 if ac_fn_cxx_try_compile "$LINENO"; then :
41922 glibcxx_cv_func_fpclass_use=yes
41923 else
41924 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
41938 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41940 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41941 for ac_func in fpclass
41942 do :
41943 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41944 if test "x$ac_cv_func_fpclass" = x""yes; then :
41945 cat >>confdefs.h <<_ACEOF
41946 #define HAVE_FPCLASS 1
41947 _ACEOF
41950 done
41952 else
41954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41955 $as_echo_n "checking for _fpclass declaration... " >&6; }
41956 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41957 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41958 $as_echo_n "(cached) " >&6
41959 else
41962 ac_ext=cpp
41963 ac_cpp='$CXXCPP $CPPFLAGS'
41964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41969 /* end confdefs.h. */
41970 #include <math.h>
41971 #ifdef HAVE_IEEEFP_H
41972 #include <ieeefp.h>
41973 #endif
41976 main ()
41978 _fpclass(0);
41980 return 0;
41982 _ACEOF
41983 if ac_fn_cxx_try_compile "$LINENO"; then :
41984 glibcxx_cv_func__fpclass_use=yes
41985 else
41986 glibcxx_cv_func__fpclass_use=no
41988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41989 ac_ext=c
41990 ac_cpp='$CPP $CPPFLAGS'
41991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42000 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42002 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42003 for ac_func in _fpclass
42004 do :
42005 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42006 if test "x$ac_cv_func__fpclass" = x""yes; then :
42007 cat >>confdefs.h <<_ACEOF
42008 #define HAVE__FPCLASS 1
42009 _ACEOF
42012 done
42021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42022 $as_echo_n "checking for qfpclass declaration... " >&6; }
42023 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42024 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42025 $as_echo_n "(cached) " >&6
42026 else
42029 ac_ext=cpp
42030 ac_cpp='$CXXCPP $CPPFLAGS'
42031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42036 /* end confdefs.h. */
42037 #include <math.h>
42038 #ifdef HAVE_IEEEFP_H
42039 #include <ieeefp.h>
42040 #endif
42043 main ()
42045 qfpclass(0);
42047 return 0;
42049 _ACEOF
42050 if ac_fn_cxx_try_compile "$LINENO"; then :
42051 glibcxx_cv_func_qfpclass_use=yes
42052 else
42053 glibcxx_cv_func_qfpclass_use=no
42055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42056 ac_ext=c
42057 ac_cpp='$CPP $CPPFLAGS'
42058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42067 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42069 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42070 for ac_func in qfpclass
42071 do :
42072 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42073 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42074 cat >>confdefs.h <<_ACEOF
42075 #define HAVE_QFPCLASS 1
42076 _ACEOF
42079 done
42081 else
42083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42084 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42085 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42086 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42087 $as_echo_n "(cached) " >&6
42088 else
42091 ac_ext=cpp
42092 ac_cpp='$CXXCPP $CPPFLAGS'
42093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42098 /* end confdefs.h. */
42099 #include <math.h>
42100 #ifdef HAVE_IEEEFP_H
42101 #include <ieeefp.h>
42102 #endif
42105 main ()
42107 _qfpclass(0);
42109 return 0;
42111 _ACEOF
42112 if ac_fn_cxx_try_compile "$LINENO"; then :
42113 glibcxx_cv_func__qfpclass_use=yes
42114 else
42115 glibcxx_cv_func__qfpclass_use=no
42117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42118 ac_ext=c
42119 ac_cpp='$CPP $CPPFLAGS'
42120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42129 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42131 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42132 for ac_func in _qfpclass
42133 do :
42134 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42135 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42136 cat >>confdefs.h <<_ACEOF
42137 #define HAVE__QFPCLASS 1
42138 _ACEOF
42141 done
42150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42151 $as_echo_n "checking for hypot declaration... " >&6; }
42152 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42153 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42154 $as_echo_n "(cached) " >&6
42155 else
42158 ac_ext=cpp
42159 ac_cpp='$CXXCPP $CPPFLAGS'
42160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42165 /* end confdefs.h. */
42166 #include <math.h>
42168 main ()
42170 hypot(0, 0);
42172 return 0;
42174 _ACEOF
42175 if ac_fn_cxx_try_compile "$LINENO"; then :
42176 glibcxx_cv_func_hypot_use=yes
42177 else
42178 glibcxx_cv_func_hypot_use=no
42180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42181 ac_ext=c
42182 ac_cpp='$CPP $CPPFLAGS'
42183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42192 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42194 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42195 for ac_func in hypot
42196 do :
42197 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42198 if test "x$ac_cv_func_hypot" = x""yes; then :
42199 cat >>confdefs.h <<_ACEOF
42200 #define HAVE_HYPOT 1
42201 _ACEOF
42204 done
42206 else
42208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42209 $as_echo_n "checking for _hypot declaration... " >&6; }
42210 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42211 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42212 $as_echo_n "(cached) " >&6
42213 else
42216 ac_ext=cpp
42217 ac_cpp='$CXXCPP $CPPFLAGS'
42218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42223 /* end confdefs.h. */
42224 #include <math.h>
42226 main ()
42228 _hypot(0, 0);
42230 return 0;
42232 _ACEOF
42233 if ac_fn_cxx_try_compile "$LINENO"; then :
42234 glibcxx_cv_func__hypot_use=yes
42235 else
42236 glibcxx_cv_func__hypot_use=no
42238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42239 ac_ext=c
42240 ac_cpp='$CPP $CPPFLAGS'
42241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42250 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42252 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42253 for ac_func in _hypot
42254 do :
42255 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42256 if test "x$ac_cv_func__hypot" = x""yes; then :
42257 cat >>confdefs.h <<_ACEOF
42258 #define HAVE__HYPOT 1
42259 _ACEOF
42262 done
42271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42272 $as_echo_n "checking for float trig functions... " >&6; }
42273 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42274 $as_echo_n "(cached) " >&6
42275 else
42278 ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42285 /* end confdefs.h. */
42286 #include <math.h>
42288 main ()
42290 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42292 return 0;
42294 _ACEOF
42295 if ac_fn_cxx_try_compile "$LINENO"; then :
42296 glibcxx_cv_func_float_trig_use=yes
42297 else
42298 glibcxx_cv_func_float_trig_use=no
42300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42301 ac_ext=c
42302 ac_cpp='$CPP $CPPFLAGS'
42303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42310 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42311 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42312 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42313 do :
42314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42316 eval as_val=\$$as_ac_var
42317 if test "x$as_val" = x""yes; then :
42318 cat >>confdefs.h <<_ACEOF
42319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42320 _ACEOF
42323 done
42325 else
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42327 $as_echo_n "checking for _float trig functions... " >&6; }
42328 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42329 $as_echo_n "(cached) " >&6
42330 else
42333 ac_ext=cpp
42334 ac_cpp='$CXXCPP $CPPFLAGS'
42335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42340 /* end confdefs.h. */
42341 #include <math.h>
42343 main ()
42345 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42347 return 0;
42349 _ACEOF
42350 if ac_fn_cxx_try_compile "$LINENO"; then :
42351 glibcxx_cv_func__float_trig_use=yes
42352 else
42353 glibcxx_cv_func__float_trig_use=no
42355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42356 ac_ext=c
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42365 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42366 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42367 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42368 do :
42369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42371 eval as_val=\$$as_ac_var
42372 if test "x$as_val" = x""yes; then :
42373 cat >>confdefs.h <<_ACEOF
42374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42375 _ACEOF
42378 done
42387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42388 $as_echo_n "checking for float round functions... " >&6; }
42389 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42404 main ()
42406 ceilf (0); floorf (0);
42408 return 0;
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func_float_round_use=yes
42413 else
42414 glibcxx_cv_func_float_round_use=no
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42426 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42427 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42428 for ac_func in ceilf floorf
42429 do :
42430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42432 eval as_val=\$$as_ac_var
42433 if test "x$as_val" = x""yes; then :
42434 cat >>confdefs.h <<_ACEOF
42435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42436 _ACEOF
42439 done
42441 else
42442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42443 $as_echo_n "checking for _float round functions... " >&6; }
42444 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42445 $as_echo_n "(cached) " >&6
42446 else
42449 ac_ext=cpp
42450 ac_cpp='$CXXCPP $CPPFLAGS'
42451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42456 /* end confdefs.h. */
42457 #include <math.h>
42459 main ()
42461 _ceilf (0); _floorf (0);
42463 return 0;
42465 _ACEOF
42466 if ac_fn_cxx_try_compile "$LINENO"; then :
42467 glibcxx_cv_func__float_round_use=yes
42468 else
42469 glibcxx_cv_func__float_round_use=no
42471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42472 ac_ext=c
42473 ac_cpp='$CPP $CPPFLAGS'
42474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42481 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42482 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42483 for ac_func in _ceilf _floorf
42484 do :
42485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42487 eval as_val=\$$as_ac_var
42488 if test "x$as_val" = x""yes; then :
42489 cat >>confdefs.h <<_ACEOF
42490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42491 _ACEOF
42494 done
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42505 $as_echo_n "checking for expf declaration... " >&6; }
42506 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42507 if test "${glibcxx_cv_func_expf_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 expf(0);
42530 return 0;
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func_expf_use=yes
42535 else
42536 glibcxx_cv_func_expf_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_expf_use" >&5
42550 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42552 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42553 for ac_func in expf
42554 do :
42555 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42556 if test "x$ac_cv_func_expf" = x""yes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE_EXPF 1
42559 _ACEOF
42562 done
42564 else
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42567 $as_echo_n "checking for _expf declaration... " >&6; }
42568 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42569 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42570 $as_echo_n "(cached) " >&6
42571 else
42574 ac_ext=cpp
42575 ac_cpp='$CXXCPP $CPPFLAGS'
42576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42581 /* end confdefs.h. */
42582 #include <math.h>
42583 #ifdef HAVE_IEEEFP_H
42584 #include <ieeefp.h>
42585 #endif
42588 main ()
42590 _expf(0);
42592 return 0;
42594 _ACEOF
42595 if ac_fn_cxx_try_compile "$LINENO"; then :
42596 glibcxx_cv_func__expf_use=yes
42597 else
42598 glibcxx_cv_func__expf_use=no
42600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42601 ac_ext=c
42602 ac_cpp='$CPP $CPPFLAGS'
42603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42612 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42614 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42615 for ac_func in _expf
42616 do :
42617 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42618 if test "x$ac_cv_func__expf" = x""yes; then :
42619 cat >>confdefs.h <<_ACEOF
42620 #define HAVE__EXPF 1
42621 _ACEOF
42624 done
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42634 $as_echo_n "checking for isnanf declaration... " >&6; }
42635 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42636 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
42659 return 0;
42661 _ACEOF
42662 if ac_fn_cxx_try_compile "$LINENO"; then :
42663 glibcxx_cv_func_isnanf_use=yes
42664 else
42665 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
42679 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42681 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42682 for ac_func in isnanf
42683 do :
42684 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42685 if test "x$ac_cv_func_isnanf" = x""yes; then :
42686 cat >>confdefs.h <<_ACEOF
42687 #define HAVE_ISNANF 1
42688 _ACEOF
42691 done
42693 else
42695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42696 $as_echo_n "checking for _isnanf declaration... " >&6; }
42697 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42698 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42699 $as_echo_n "(cached) " >&6
42700 else
42703 ac_ext=cpp
42704 ac_cpp='$CXXCPP $CPPFLAGS'
42705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42710 /* end confdefs.h. */
42711 #include <math.h>
42712 #ifdef HAVE_IEEEFP_H
42713 #include <ieeefp.h>
42714 #endif
42717 main ()
42719 _isnanf(0);
42721 return 0;
42723 _ACEOF
42724 if ac_fn_cxx_try_compile "$LINENO"; then :
42725 glibcxx_cv_func__isnanf_use=yes
42726 else
42727 glibcxx_cv_func__isnanf_use=no
42729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42730 ac_ext=c
42731 ac_cpp='$CPP $CPPFLAGS'
42732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42741 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42743 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42744 for ac_func in _isnanf
42745 do :
42746 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42747 if test "x$ac_cv_func__isnanf" = x""yes; then :
42748 cat >>confdefs.h <<_ACEOF
42749 #define HAVE__ISNANF 1
42750 _ACEOF
42753 done
42762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42763 $as_echo_n "checking for isinff declaration... " >&6; }
42764 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42765 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42766 $as_echo_n "(cached) " >&6
42767 else
42770 ac_ext=cpp
42771 ac_cpp='$CXXCPP $CPPFLAGS'
42772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42777 /* end confdefs.h. */
42778 #include <math.h>
42779 #ifdef HAVE_IEEEFP_H
42780 #include <ieeefp.h>
42781 #endif
42784 main ()
42786 isinff(0);
42788 return 0;
42790 _ACEOF
42791 if ac_fn_cxx_try_compile "$LINENO"; then :
42792 glibcxx_cv_func_isinff_use=yes
42793 else
42794 glibcxx_cv_func_isinff_use=no
42796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797 ac_ext=c
42798 ac_cpp='$CPP $CPPFLAGS'
42799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42808 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42810 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42811 for ac_func in isinff
42812 do :
42813 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42814 if test "x$ac_cv_func_isinff" = x""yes; then :
42815 cat >>confdefs.h <<_ACEOF
42816 #define HAVE_ISINFF 1
42817 _ACEOF
42820 done
42822 else
42824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42825 $as_echo_n "checking for _isinff declaration... " >&6; }
42826 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42827 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42828 $as_echo_n "(cached) " >&6
42829 else
42832 ac_ext=cpp
42833 ac_cpp='$CXXCPP $CPPFLAGS'
42834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42839 /* end confdefs.h. */
42840 #include <math.h>
42841 #ifdef HAVE_IEEEFP_H
42842 #include <ieeefp.h>
42843 #endif
42846 main ()
42848 _isinff(0);
42850 return 0;
42852 _ACEOF
42853 if ac_fn_cxx_try_compile "$LINENO"; then :
42854 glibcxx_cv_func__isinff_use=yes
42855 else
42856 glibcxx_cv_func__isinff_use=no
42858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 ac_ext=c
42860 ac_cpp='$CPP $CPPFLAGS'
42861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42870 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42872 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42873 for ac_func in _isinff
42874 do :
42875 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42876 if test "x$ac_cv_func__isinff" = x""yes; then :
42877 cat >>confdefs.h <<_ACEOF
42878 #define HAVE__ISINFF 1
42879 _ACEOF
42882 done
42891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42892 $as_echo_n "checking for atan2f declaration... " >&6; }
42893 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42894 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42895 $as_echo_n "(cached) " >&6
42896 else
42899 ac_ext=cpp
42900 ac_cpp='$CXXCPP $CPPFLAGS'
42901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42906 /* end confdefs.h. */
42907 #include <math.h>
42909 main ()
42911 atan2f(0, 0);
42913 return 0;
42915 _ACEOF
42916 if ac_fn_cxx_try_compile "$LINENO"; then :
42917 glibcxx_cv_func_atan2f_use=yes
42918 else
42919 glibcxx_cv_func_atan2f_use=no
42921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42922 ac_ext=c
42923 ac_cpp='$CPP $CPPFLAGS'
42924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42933 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42935 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42936 for ac_func in atan2f
42937 do :
42938 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42939 if test "x$ac_cv_func_atan2f" = x""yes; then :
42940 cat >>confdefs.h <<_ACEOF
42941 #define HAVE_ATAN2F 1
42942 _ACEOF
42945 done
42947 else
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42950 $as_echo_n "checking for _atan2f declaration... " >&6; }
42951 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42952 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42953 $as_echo_n "(cached) " >&6
42954 else
42957 ac_ext=cpp
42958 ac_cpp='$CXXCPP $CPPFLAGS'
42959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42964 /* end confdefs.h. */
42965 #include <math.h>
42967 main ()
42969 _atan2f(0, 0);
42971 return 0;
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func__atan2f_use=yes
42976 else
42977 glibcxx_cv_func__atan2f_use=no
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42991 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42993 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42994 for ac_func in _atan2f
42995 do :
42996 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42997 if test "x$ac_cv_func__atan2f" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE__ATAN2F 1
43000 _ACEOF
43003 done
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43013 $as_echo_n "checking for fabsf declaration... " >&6; }
43014 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43015 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <math.h>
43029 #ifdef HAVE_IEEEFP_H
43030 #include <ieeefp.h>
43031 #endif
43034 main ()
43036 fabsf(0);
43038 return 0;
43040 _ACEOF
43041 if ac_fn_cxx_try_compile "$LINENO"; then :
43042 glibcxx_cv_func_fabsf_use=yes
43043 else
43044 glibcxx_cv_func_fabsf_use=no
43046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43047 ac_ext=c
43048 ac_cpp='$CPP $CPPFLAGS'
43049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43058 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43060 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43061 for ac_func in fabsf
43062 do :
43063 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43064 if test "x$ac_cv_func_fabsf" = x""yes; then :
43065 cat >>confdefs.h <<_ACEOF
43066 #define HAVE_FABSF 1
43067 _ACEOF
43070 done
43072 else
43074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43075 $as_echo_n "checking for _fabsf declaration... " >&6; }
43076 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43077 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43078 $as_echo_n "(cached) " >&6
43079 else
43082 ac_ext=cpp
43083 ac_cpp='$CXXCPP $CPPFLAGS'
43084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43089 /* end confdefs.h. */
43090 #include <math.h>
43091 #ifdef HAVE_IEEEFP_H
43092 #include <ieeefp.h>
43093 #endif
43096 main ()
43098 _fabsf(0);
43100 return 0;
43102 _ACEOF
43103 if ac_fn_cxx_try_compile "$LINENO"; then :
43104 glibcxx_cv_func__fabsf_use=yes
43105 else
43106 glibcxx_cv_func__fabsf_use=no
43108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43109 ac_ext=c
43110 ac_cpp='$CPP $CPPFLAGS'
43111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43120 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43122 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43123 for ac_func in _fabsf
43124 do :
43125 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43126 if test "x$ac_cv_func__fabsf" = x""yes; then :
43127 cat >>confdefs.h <<_ACEOF
43128 #define HAVE__FABSF 1
43129 _ACEOF
43132 done
43141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43142 $as_echo_n "checking for fmodf declaration... " >&6; }
43143 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43144 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43145 $as_echo_n "(cached) " >&6
43146 else
43149 ac_ext=cpp
43150 ac_cpp='$CXXCPP $CPPFLAGS'
43151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43156 /* end confdefs.h. */
43157 #include <math.h>
43159 main ()
43161 fmodf(0, 0);
43163 return 0;
43165 _ACEOF
43166 if ac_fn_cxx_try_compile "$LINENO"; then :
43167 glibcxx_cv_func_fmodf_use=yes
43168 else
43169 glibcxx_cv_func_fmodf_use=no
43171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43172 ac_ext=c
43173 ac_cpp='$CPP $CPPFLAGS'
43174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43183 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43185 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43186 for ac_func in fmodf
43187 do :
43188 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43189 if test "x$ac_cv_func_fmodf" = x""yes; then :
43190 cat >>confdefs.h <<_ACEOF
43191 #define HAVE_FMODF 1
43192 _ACEOF
43195 done
43197 else
43199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43200 $as_echo_n "checking for _fmodf declaration... " >&6; }
43201 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43202 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43203 $as_echo_n "(cached) " >&6
43204 else
43207 ac_ext=cpp
43208 ac_cpp='$CXXCPP $CPPFLAGS'
43209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43214 /* end confdefs.h. */
43215 #include <math.h>
43217 main ()
43219 _fmodf(0, 0);
43221 return 0;
43223 _ACEOF
43224 if ac_fn_cxx_try_compile "$LINENO"; then :
43225 glibcxx_cv_func__fmodf_use=yes
43226 else
43227 glibcxx_cv_func__fmodf_use=no
43229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43230 ac_ext=c
43231 ac_cpp='$CPP $CPPFLAGS'
43232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43241 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43243 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43244 for ac_func in _fmodf
43245 do :
43246 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43247 if test "x$ac_cv_func__fmodf" = x""yes; then :
43248 cat >>confdefs.h <<_ACEOF
43249 #define HAVE__FMODF 1
43250 _ACEOF
43253 done
43262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43263 $as_echo_n "checking for frexpf declaration... " >&6; }
43264 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43265 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43266 $as_echo_n "(cached) " >&6
43267 else
43270 ac_ext=cpp
43271 ac_cpp='$CXXCPP $CPPFLAGS'
43272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43277 /* end confdefs.h. */
43278 #include <math.h>
43280 main ()
43282 frexpf(0, 0);
43284 return 0;
43286 _ACEOF
43287 if ac_fn_cxx_try_compile "$LINENO"; then :
43288 glibcxx_cv_func_frexpf_use=yes
43289 else
43290 glibcxx_cv_func_frexpf_use=no
43292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43293 ac_ext=c
43294 ac_cpp='$CPP $CPPFLAGS'
43295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43304 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43306 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43307 for ac_func in frexpf
43308 do :
43309 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43310 if test "x$ac_cv_func_frexpf" = x""yes; then :
43311 cat >>confdefs.h <<_ACEOF
43312 #define HAVE_FREXPF 1
43313 _ACEOF
43316 done
43318 else
43320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43321 $as_echo_n "checking for _frexpf declaration... " >&6; }
43322 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43323 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43324 $as_echo_n "(cached) " >&6
43325 else
43328 ac_ext=cpp
43329 ac_cpp='$CXXCPP $CPPFLAGS'
43330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43335 /* end confdefs.h. */
43336 #include <math.h>
43338 main ()
43340 _frexpf(0, 0);
43342 return 0;
43344 _ACEOF
43345 if ac_fn_cxx_try_compile "$LINENO"; then :
43346 glibcxx_cv_func__frexpf_use=yes
43347 else
43348 glibcxx_cv_func__frexpf_use=no
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351 ac_ext=c
43352 ac_cpp='$CPP $CPPFLAGS'
43353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43362 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43364 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43365 for ac_func in _frexpf
43366 do :
43367 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43368 if test "x$ac_cv_func__frexpf" = x""yes; then :
43369 cat >>confdefs.h <<_ACEOF
43370 #define HAVE__FREXPF 1
43371 _ACEOF
43374 done
43383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43384 $as_echo_n "checking for hypotf declaration... " >&6; }
43385 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43386 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43387 $as_echo_n "(cached) " >&6
43388 else
43391 ac_ext=cpp
43392 ac_cpp='$CXXCPP $CPPFLAGS'
43393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43398 /* end confdefs.h. */
43399 #include <math.h>
43401 main ()
43403 hypotf(0, 0);
43405 return 0;
43407 _ACEOF
43408 if ac_fn_cxx_try_compile "$LINENO"; then :
43409 glibcxx_cv_func_hypotf_use=yes
43410 else
43411 glibcxx_cv_func_hypotf_use=no
43413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43414 ac_ext=c
43415 ac_cpp='$CPP $CPPFLAGS'
43416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43425 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43427 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43428 for ac_func in hypotf
43429 do :
43430 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43431 if test "x$ac_cv_func_hypotf" = x""yes; then :
43432 cat >>confdefs.h <<_ACEOF
43433 #define HAVE_HYPOTF 1
43434 _ACEOF
43437 done
43439 else
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43442 $as_echo_n "checking for _hypotf declaration... " >&6; }
43443 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43444 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43445 $as_echo_n "(cached) " >&6
43446 else
43449 ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h. */
43457 #include <math.h>
43459 main ()
43461 _hypotf(0, 0);
43463 return 0;
43465 _ACEOF
43466 if ac_fn_cxx_try_compile "$LINENO"; then :
43467 glibcxx_cv_func__hypotf_use=yes
43468 else
43469 glibcxx_cv_func__hypotf_use=no
43471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43472 ac_ext=c
43473 ac_cpp='$CPP $CPPFLAGS'
43474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43483 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43485 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43486 for ac_func in _hypotf
43487 do :
43488 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43489 if test "x$ac_cv_func__hypotf" = x""yes; then :
43490 cat >>confdefs.h <<_ACEOF
43491 #define HAVE__HYPOTF 1
43492 _ACEOF
43495 done
43504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43505 $as_echo_n "checking for ldexpf declaration... " >&6; }
43506 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43507 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43508 $as_echo_n "(cached) " >&6
43509 else
43512 ac_ext=cpp
43513 ac_cpp='$CXXCPP $CPPFLAGS'
43514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43519 /* end confdefs.h. */
43520 #include <math.h>
43522 main ()
43524 ldexpf(0, 0);
43526 return 0;
43528 _ACEOF
43529 if ac_fn_cxx_try_compile "$LINENO"; then :
43530 glibcxx_cv_func_ldexpf_use=yes
43531 else
43532 glibcxx_cv_func_ldexpf_use=no
43534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43535 ac_ext=c
43536 ac_cpp='$CPP $CPPFLAGS'
43537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43546 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43548 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43549 for ac_func in ldexpf
43550 do :
43551 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43552 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43553 cat >>confdefs.h <<_ACEOF
43554 #define HAVE_LDEXPF 1
43555 _ACEOF
43558 done
43560 else
43562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43563 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43564 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43565 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43566 $as_echo_n "(cached) " >&6
43567 else
43570 ac_ext=cpp
43571 ac_cpp='$CXXCPP $CPPFLAGS'
43572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43577 /* end confdefs.h. */
43578 #include <math.h>
43580 main ()
43582 _ldexpf(0, 0);
43584 return 0;
43586 _ACEOF
43587 if ac_fn_cxx_try_compile "$LINENO"; then :
43588 glibcxx_cv_func__ldexpf_use=yes
43589 else
43590 glibcxx_cv_func__ldexpf_use=no
43592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43593 ac_ext=c
43594 ac_cpp='$CPP $CPPFLAGS'
43595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43604 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43606 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43607 for ac_func in _ldexpf
43608 do :
43609 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43610 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43611 cat >>confdefs.h <<_ACEOF
43612 #define HAVE__LDEXPF 1
43613 _ACEOF
43616 done
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43626 $as_echo_n "checking for logf declaration... " >&6; }
43627 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43628 if test "${glibcxx_cv_func_logf_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 logf(0);
43651 return 0;
43653 _ACEOF
43654 if ac_fn_cxx_try_compile "$LINENO"; then :
43655 glibcxx_cv_func_logf_use=yes
43656 else
43657 glibcxx_cv_func_logf_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_logf_use" >&5
43671 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43673 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43674 for ac_func in logf
43675 do :
43676 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43677 if test "x$ac_cv_func_logf" = x""yes; then :
43678 cat >>confdefs.h <<_ACEOF
43679 #define HAVE_LOGF 1
43680 _ACEOF
43683 done
43685 else
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43688 $as_echo_n "checking for _logf declaration... " >&6; }
43689 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43690 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43691 $as_echo_n "(cached) " >&6
43692 else
43695 ac_ext=cpp
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43702 /* end confdefs.h. */
43703 #include <math.h>
43704 #ifdef HAVE_IEEEFP_H
43705 #include <ieeefp.h>
43706 #endif
43709 main ()
43711 _logf(0);
43713 return 0;
43715 _ACEOF
43716 if ac_fn_cxx_try_compile "$LINENO"; then :
43717 glibcxx_cv_func__logf_use=yes
43718 else
43719 glibcxx_cv_func__logf_use=no
43721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43722 ac_ext=c
43723 ac_cpp='$CPP $CPPFLAGS'
43724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43733 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43735 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43736 for ac_func in _logf
43737 do :
43738 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43739 if test "x$ac_cv_func__logf" = x""yes; then :
43740 cat >>confdefs.h <<_ACEOF
43741 #define HAVE__LOGF 1
43742 _ACEOF
43745 done
43754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43755 $as_echo_n "checking for log10f declaration... " >&6; }
43756 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43757 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43758 $as_echo_n "(cached) " >&6
43759 else
43762 ac_ext=cpp
43763 ac_cpp='$CXXCPP $CPPFLAGS'
43764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43769 /* end confdefs.h. */
43770 #include <math.h>
43771 #ifdef HAVE_IEEEFP_H
43772 #include <ieeefp.h>
43773 #endif
43776 main ()
43778 log10f(0);
43780 return 0;
43782 _ACEOF
43783 if ac_fn_cxx_try_compile "$LINENO"; then :
43784 glibcxx_cv_func_log10f_use=yes
43785 else
43786 glibcxx_cv_func_log10f_use=no
43788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43789 ac_ext=c
43790 ac_cpp='$CPP $CPPFLAGS'
43791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43800 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43802 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43803 for ac_func in log10f
43804 do :
43805 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43806 if test "x$ac_cv_func_log10f" = x""yes; then :
43807 cat >>confdefs.h <<_ACEOF
43808 #define HAVE_LOG10F 1
43809 _ACEOF
43812 done
43814 else
43816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43817 $as_echo_n "checking for _log10f declaration... " >&6; }
43818 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43819 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43820 $as_echo_n "(cached) " >&6
43821 else
43824 ac_ext=cpp
43825 ac_cpp='$CXXCPP $CPPFLAGS'
43826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43831 /* end confdefs.h. */
43832 #include <math.h>
43833 #ifdef HAVE_IEEEFP_H
43834 #include <ieeefp.h>
43835 #endif
43838 main ()
43840 _log10f(0);
43842 return 0;
43844 _ACEOF
43845 if ac_fn_cxx_try_compile "$LINENO"; then :
43846 glibcxx_cv_func__log10f_use=yes
43847 else
43848 glibcxx_cv_func__log10f_use=no
43850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43851 ac_ext=c
43852 ac_cpp='$CPP $CPPFLAGS'
43853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43862 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43864 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43865 for ac_func in _log10f
43866 do :
43867 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43868 if test "x$ac_cv_func__log10f" = x""yes; then :
43869 cat >>confdefs.h <<_ACEOF
43870 #define HAVE__LOG10F 1
43871 _ACEOF
43874 done
43883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43884 $as_echo_n "checking for modff declaration... " >&6; }
43885 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43886 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43887 $as_echo_n "(cached) " >&6
43888 else
43891 ac_ext=cpp
43892 ac_cpp='$CXXCPP $CPPFLAGS'
43893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43898 /* end confdefs.h. */
43899 #include <math.h>
43901 main ()
43903 modff(0, 0);
43905 return 0;
43907 _ACEOF
43908 if ac_fn_cxx_try_compile "$LINENO"; then :
43909 glibcxx_cv_func_modff_use=yes
43910 else
43911 glibcxx_cv_func_modff_use=no
43913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43914 ac_ext=c
43915 ac_cpp='$CPP $CPPFLAGS'
43916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43925 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43927 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43928 for ac_func in modff
43929 do :
43930 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43931 if test "x$ac_cv_func_modff" = x""yes; then :
43932 cat >>confdefs.h <<_ACEOF
43933 #define HAVE_MODFF 1
43934 _ACEOF
43937 done
43939 else
43941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43942 $as_echo_n "checking for _modff declaration... " >&6; }
43943 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43944 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43945 $as_echo_n "(cached) " >&6
43946 else
43949 ac_ext=cpp
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43956 /* end confdefs.h. */
43957 #include <math.h>
43959 main ()
43961 _modff(0, 0);
43963 return 0;
43965 _ACEOF
43966 if ac_fn_cxx_try_compile "$LINENO"; then :
43967 glibcxx_cv_func__modff_use=yes
43968 else
43969 glibcxx_cv_func__modff_use=no
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43972 ac_ext=c
43973 ac_cpp='$CPP $CPPFLAGS'
43974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43983 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43985 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43986 for ac_func in _modff
43987 do :
43988 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43989 if test "x$ac_cv_func__modff" = x""yes; then :
43990 cat >>confdefs.h <<_ACEOF
43991 #define HAVE__MODFF 1
43992 _ACEOF
43995 done
44004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44005 $as_echo_n "checking for modf declaration... " >&6; }
44006 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44007 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44008 $as_echo_n "(cached) " >&6
44009 else
44012 ac_ext=cpp
44013 ac_cpp='$CXXCPP $CPPFLAGS'
44014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44019 /* end confdefs.h. */
44020 #include <math.h>
44022 main ()
44024 modf(0, 0);
44026 return 0;
44028 _ACEOF
44029 if ac_fn_cxx_try_compile "$LINENO"; then :
44030 glibcxx_cv_func_modf_use=yes
44031 else
44032 glibcxx_cv_func_modf_use=no
44034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44035 ac_ext=c
44036 ac_cpp='$CPP $CPPFLAGS'
44037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44046 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44048 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44049 for ac_func in modf
44050 do :
44051 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44052 if test "x$ac_cv_func_modf" = x""yes; then :
44053 cat >>confdefs.h <<_ACEOF
44054 #define HAVE_MODF 1
44055 _ACEOF
44058 done
44060 else
44062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44063 $as_echo_n "checking for _modf declaration... " >&6; }
44064 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44065 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44066 $as_echo_n "(cached) " >&6
44067 else
44070 ac_ext=cpp
44071 ac_cpp='$CXXCPP $CPPFLAGS'
44072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44077 /* end confdefs.h. */
44078 #include <math.h>
44080 main ()
44082 _modf(0, 0);
44084 return 0;
44086 _ACEOF
44087 if ac_fn_cxx_try_compile "$LINENO"; then :
44088 glibcxx_cv_func__modf_use=yes
44089 else
44090 glibcxx_cv_func__modf_use=no
44092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44093 ac_ext=c
44094 ac_cpp='$CPP $CPPFLAGS'
44095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44104 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44106 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44107 for ac_func in _modf
44108 do :
44109 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44110 if test "x$ac_cv_func__modf" = x""yes; then :
44111 cat >>confdefs.h <<_ACEOF
44112 #define HAVE__MODF 1
44113 _ACEOF
44116 done
44125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44126 $as_echo_n "checking for powf declaration... " >&6; }
44127 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44128 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44129 $as_echo_n "(cached) " >&6
44130 else
44133 ac_ext=cpp
44134 ac_cpp='$CXXCPP $CPPFLAGS'
44135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44140 /* end confdefs.h. */
44141 #include <math.h>
44143 main ()
44145 powf(0, 0);
44147 return 0;
44149 _ACEOF
44150 if ac_fn_cxx_try_compile "$LINENO"; then :
44151 glibcxx_cv_func_powf_use=yes
44152 else
44153 glibcxx_cv_func_powf_use=no
44155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44156 ac_ext=c
44157 ac_cpp='$CPP $CPPFLAGS'
44158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44167 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44169 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44170 for ac_func in powf
44171 do :
44172 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44173 if test "x$ac_cv_func_powf" = x""yes; then :
44174 cat >>confdefs.h <<_ACEOF
44175 #define HAVE_POWF 1
44176 _ACEOF
44179 done
44181 else
44183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44184 $as_echo_n "checking for _powf declaration... " >&6; }
44185 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44186 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44187 $as_echo_n "(cached) " >&6
44188 else
44191 ac_ext=cpp
44192 ac_cpp='$CXXCPP $CPPFLAGS'
44193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44198 /* end confdefs.h. */
44199 #include <math.h>
44201 main ()
44203 _powf(0, 0);
44205 return 0;
44207 _ACEOF
44208 if ac_fn_cxx_try_compile "$LINENO"; then :
44209 glibcxx_cv_func__powf_use=yes
44210 else
44211 glibcxx_cv_func__powf_use=no
44213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44214 ac_ext=c
44215 ac_cpp='$CPP $CPPFLAGS'
44216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44225 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44227 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44228 for ac_func in _powf
44229 do :
44230 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44231 if test "x$ac_cv_func__powf" = x""yes; then :
44232 cat >>confdefs.h <<_ACEOF
44233 #define HAVE__POWF 1
44234 _ACEOF
44237 done
44246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44247 $as_echo_n "checking for sqrtf declaration... " >&6; }
44248 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44249 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44250 $as_echo_n "(cached) " >&6
44251 else
44254 ac_ext=cpp
44255 ac_cpp='$CXXCPP $CPPFLAGS'
44256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44261 /* end confdefs.h. */
44262 #include <math.h>
44263 #ifdef HAVE_IEEEFP_H
44264 #include <ieeefp.h>
44265 #endif
44268 main ()
44270 sqrtf(0);
44272 return 0;
44274 _ACEOF
44275 if ac_fn_cxx_try_compile "$LINENO"; then :
44276 glibcxx_cv_func_sqrtf_use=yes
44277 else
44278 glibcxx_cv_func_sqrtf_use=no
44280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44281 ac_ext=c
44282 ac_cpp='$CPP $CPPFLAGS'
44283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44292 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44294 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44295 for ac_func in sqrtf
44296 do :
44297 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44298 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44299 cat >>confdefs.h <<_ACEOF
44300 #define HAVE_SQRTF 1
44301 _ACEOF
44304 done
44306 else
44308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44309 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44310 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44311 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44312 $as_echo_n "(cached) " >&6
44313 else
44316 ac_ext=cpp
44317 ac_cpp='$CXXCPP $CPPFLAGS'
44318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44323 /* end confdefs.h. */
44324 #include <math.h>
44325 #ifdef HAVE_IEEEFP_H
44326 #include <ieeefp.h>
44327 #endif
44330 main ()
44332 _sqrtf(0);
44334 return 0;
44336 _ACEOF
44337 if ac_fn_cxx_try_compile "$LINENO"; then :
44338 glibcxx_cv_func__sqrtf_use=yes
44339 else
44340 glibcxx_cv_func__sqrtf_use=no
44342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44343 ac_ext=c
44344 ac_cpp='$CPP $CPPFLAGS'
44345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44354 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44356 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44357 for ac_func in _sqrtf
44358 do :
44359 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44360 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44361 cat >>confdefs.h <<_ACEOF
44362 #define HAVE__SQRTF 1
44363 _ACEOF
44366 done
44375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44376 $as_echo_n "checking for sincosf declaration... " >&6; }
44377 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44378 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44379 $as_echo_n "(cached) " >&6
44380 else
44383 ac_ext=cpp
44384 ac_cpp='$CXXCPP $CPPFLAGS'
44385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44390 /* end confdefs.h. */
44391 #include <math.h>
44393 main ()
44395 sincosf(0, 0, 0);
44397 return 0;
44399 _ACEOF
44400 if ac_fn_cxx_try_compile "$LINENO"; then :
44401 glibcxx_cv_func_sincosf_use=yes
44402 else
44403 glibcxx_cv_func_sincosf_use=no
44405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44406 ac_ext=c
44407 ac_cpp='$CPP $CPPFLAGS'
44408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44417 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44419 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44420 for ac_func in sincosf
44421 do :
44422 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44423 if test "x$ac_cv_func_sincosf" = x""yes; then :
44424 cat >>confdefs.h <<_ACEOF
44425 #define HAVE_SINCOSF 1
44426 _ACEOF
44429 done
44431 else
44433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44434 $as_echo_n "checking for _sincosf declaration... " >&6; }
44435 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44436 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
44455 return 0;
44457 _ACEOF
44458 if ac_fn_cxx_try_compile "$LINENO"; then :
44459 glibcxx_cv_func__sincosf_use=yes
44460 else
44461 glibcxx_cv_func__sincosf_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
44474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44475 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44477 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44478 for ac_func in _sincosf
44479 do :
44480 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44481 if test "x$ac_cv_func__sincosf" = x""yes; then :
44482 cat >>confdefs.h <<_ACEOF
44483 #define HAVE__SINCOSF 1
44484 _ACEOF
44487 done
44496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44497 $as_echo_n "checking for finitef declaration... " >&6; }
44498 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44499 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44500 $as_echo_n "(cached) " >&6
44501 else
44504 ac_ext=cpp
44505 ac_cpp='$CXXCPP $CPPFLAGS'
44506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44511 /* end confdefs.h. */
44512 #include <math.h>
44513 #ifdef HAVE_IEEEFP_H
44514 #include <ieeefp.h>
44515 #endif
44518 main ()
44520 finitef(0);
44522 return 0;
44524 _ACEOF
44525 if ac_fn_cxx_try_compile "$LINENO"; then :
44526 glibcxx_cv_func_finitef_use=yes
44527 else
44528 glibcxx_cv_func_finitef_use=no
44530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44531 ac_ext=c
44532 ac_cpp='$CPP $CPPFLAGS'
44533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44542 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44544 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44545 for ac_func in finitef
44546 do :
44547 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44548 if test "x$ac_cv_func_finitef" = x""yes; then :
44549 cat >>confdefs.h <<_ACEOF
44550 #define HAVE_FINITEF 1
44551 _ACEOF
44554 done
44556 else
44558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44559 $as_echo_n "checking for _finitef declaration... " >&6; }
44560 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44561 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44562 $as_echo_n "(cached) " >&6
44563 else
44566 ac_ext=cpp
44567 ac_cpp='$CXXCPP $CPPFLAGS'
44568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44573 /* end confdefs.h. */
44574 #include <math.h>
44575 #ifdef HAVE_IEEEFP_H
44576 #include <ieeefp.h>
44577 #endif
44580 main ()
44582 _finitef(0);
44584 return 0;
44586 _ACEOF
44587 if ac_fn_cxx_try_compile "$LINENO"; then :
44588 glibcxx_cv_func__finitef_use=yes
44589 else
44590 glibcxx_cv_func__finitef_use=no
44592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44593 ac_ext=c
44594 ac_cpp='$CPP $CPPFLAGS'
44595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44604 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44606 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44607 for ac_func in _finitef
44608 do :
44609 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44610 if test "x$ac_cv_func__finitef" = x""yes; then :
44611 cat >>confdefs.h <<_ACEOF
44612 #define HAVE__FINITEF 1
44613 _ACEOF
44616 done
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44626 $as_echo_n "checking for long double trig functions... " >&6; }
44627 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44628 $as_echo_n "(cached) " >&6
44629 else
44632 ac_ext=cpp
44633 ac_cpp='$CXXCPP $CPPFLAGS'
44634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639 /* end confdefs.h. */
44640 #include <math.h>
44642 main ()
44644 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44646 return 0;
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650 glibcxx_cv_func_long_double_trig_use=yes
44651 else
44652 glibcxx_cv_func_long_double_trig_use=no
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655 ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44664 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44665 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44666 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44667 do :
44668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44670 eval as_val=\$$as_ac_var
44671 if test "x$as_val" = x""yes; then :
44672 cat >>confdefs.h <<_ACEOF
44673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44674 _ACEOF
44677 done
44679 else
44680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44681 $as_echo_n "checking for _long double trig functions... " >&6; }
44682 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44683 $as_echo_n "(cached) " >&6
44684 else
44687 ac_ext=cpp
44688 ac_cpp='$CXXCPP $CPPFLAGS'
44689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44694 /* end confdefs.h. */
44695 #include <math.h>
44697 main ()
44699 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44701 return 0;
44703 _ACEOF
44704 if ac_fn_cxx_try_compile "$LINENO"; then :
44705 glibcxx_cv_func__long_double_trig_use=yes
44706 else
44707 glibcxx_cv_func__long_double_trig_use=no
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710 ac_ext=c
44711 ac_cpp='$CPP $CPPFLAGS'
44712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44719 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44720 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44721 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44722 do :
44723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44725 eval as_val=\$$as_ac_var
44726 if test "x$as_val" = x""yes; then :
44727 cat >>confdefs.h <<_ACEOF
44728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44729 _ACEOF
44732 done
44741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44742 $as_echo_n "checking for long double round functions... " >&6; }
44743 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44744 $as_echo_n "(cached) " >&6
44745 else
44748 ac_ext=cpp
44749 ac_cpp='$CXXCPP $CPPFLAGS'
44750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44755 /* end confdefs.h. */
44756 #include <math.h>
44758 main ()
44760 ceill (0); floorl (0);
44762 return 0;
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func_long_double_round_use=yes
44767 else
44768 glibcxx_cv_func_long_double_round_use=no
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44780 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44781 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44782 for ac_func in ceill floorl
44783 do :
44784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44786 eval as_val=\$$as_ac_var
44787 if test "x$as_val" = x""yes; then :
44788 cat >>confdefs.h <<_ACEOF
44789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44790 _ACEOF
44793 done
44795 else
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44797 $as_echo_n "checking for _long double round functions... " >&6; }
44798 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44799 $as_echo_n "(cached) " >&6
44800 else
44803 ac_ext=cpp
44804 ac_cpp='$CXXCPP $CPPFLAGS'
44805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44810 /* end confdefs.h. */
44811 #include <math.h>
44813 main ()
44815 _ceill (0); _floorl (0);
44817 return 0;
44819 _ACEOF
44820 if ac_fn_cxx_try_compile "$LINENO"; then :
44821 glibcxx_cv_func__long_double_round_use=yes
44822 else
44823 glibcxx_cv_func__long_double_round_use=no
44825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44826 ac_ext=c
44827 ac_cpp='$CPP $CPPFLAGS'
44828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44835 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44836 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44837 for ac_func in _ceill _floorl
44838 do :
44839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44841 eval as_val=\$$as_ac_var
44842 if test "x$as_val" = x""yes; then :
44843 cat >>confdefs.h <<_ACEOF
44844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44845 _ACEOF
44848 done
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44859 $as_echo_n "checking for isnanl declaration... " >&6; }
44860 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44861 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
44884 return 0;
44886 _ACEOF
44887 if ac_fn_cxx_try_compile "$LINENO"; then :
44888 glibcxx_cv_func_isnanl_use=yes
44889 else
44890 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
44904 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44906 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44907 for ac_func in isnanl
44908 do :
44909 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44910 if test "x$ac_cv_func_isnanl" = x""yes; then :
44911 cat >>confdefs.h <<_ACEOF
44912 #define HAVE_ISNANL 1
44913 _ACEOF
44916 done
44918 else
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44921 $as_echo_n "checking for _isnanl declaration... " >&6; }
44922 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44923 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44924 $as_echo_n "(cached) " >&6
44925 else
44928 ac_ext=cpp
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44935 /* end confdefs.h. */
44936 #include <math.h>
44937 #ifdef HAVE_IEEEFP_H
44938 #include <ieeefp.h>
44939 #endif
44942 main ()
44944 _isnanl(0);
44946 return 0;
44948 _ACEOF
44949 if ac_fn_cxx_try_compile "$LINENO"; then :
44950 glibcxx_cv_func__isnanl_use=yes
44951 else
44952 glibcxx_cv_func__isnanl_use=no
44954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44955 ac_ext=c
44956 ac_cpp='$CPP $CPPFLAGS'
44957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44966 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44968 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44969 for ac_func in _isnanl
44970 do :
44971 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44972 if test "x$ac_cv_func__isnanl" = x""yes; then :
44973 cat >>confdefs.h <<_ACEOF
44974 #define HAVE__ISNANL 1
44975 _ACEOF
44978 done
44987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44988 $as_echo_n "checking for isinfl declaration... " >&6; }
44989 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44990 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44991 $as_echo_n "(cached) " >&6
44992 else
44995 ac_ext=cpp
44996 ac_cpp='$CXXCPP $CPPFLAGS'
44997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45002 /* end confdefs.h. */
45003 #include <math.h>
45004 #ifdef HAVE_IEEEFP_H
45005 #include <ieeefp.h>
45006 #endif
45009 main ()
45011 isinfl(0);
45013 return 0;
45015 _ACEOF
45016 if ac_fn_cxx_try_compile "$LINENO"; then :
45017 glibcxx_cv_func_isinfl_use=yes
45018 else
45019 glibcxx_cv_func_isinfl_use=no
45021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45022 ac_ext=c
45023 ac_cpp='$CPP $CPPFLAGS'
45024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45033 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45035 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45036 for ac_func in isinfl
45037 do :
45038 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45039 if test "x$ac_cv_func_isinfl" = x""yes; then :
45040 cat >>confdefs.h <<_ACEOF
45041 #define HAVE_ISINFL 1
45042 _ACEOF
45045 done
45047 else
45049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45050 $as_echo_n "checking for _isinfl declaration... " >&6; }
45051 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45052 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45053 $as_echo_n "(cached) " >&6
45054 else
45057 ac_ext=cpp
45058 ac_cpp='$CXXCPP $CPPFLAGS'
45059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45064 /* end confdefs.h. */
45065 #include <math.h>
45066 #ifdef HAVE_IEEEFP_H
45067 #include <ieeefp.h>
45068 #endif
45071 main ()
45073 _isinfl(0);
45075 return 0;
45077 _ACEOF
45078 if ac_fn_cxx_try_compile "$LINENO"; then :
45079 glibcxx_cv_func__isinfl_use=yes
45080 else
45081 glibcxx_cv_func__isinfl_use=no
45083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45084 ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45095 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45097 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45098 for ac_func in _isinfl
45099 do :
45100 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45101 if test "x$ac_cv_func__isinfl" = x""yes; then :
45102 cat >>confdefs.h <<_ACEOF
45103 #define HAVE__ISINFL 1
45104 _ACEOF
45107 done
45116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45117 $as_echo_n "checking for atan2l declaration... " >&6; }
45118 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45119 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45120 $as_echo_n "(cached) " >&6
45121 else
45124 ac_ext=cpp
45125 ac_cpp='$CXXCPP $CPPFLAGS'
45126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45131 /* end confdefs.h. */
45132 #include <math.h>
45134 main ()
45136 atan2l(0, 0);
45138 return 0;
45140 _ACEOF
45141 if ac_fn_cxx_try_compile "$LINENO"; then :
45142 glibcxx_cv_func_atan2l_use=yes
45143 else
45144 glibcxx_cv_func_atan2l_use=no
45146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45147 ac_ext=c
45148 ac_cpp='$CPP $CPPFLAGS'
45149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45158 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45160 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45161 for ac_func in atan2l
45162 do :
45163 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45164 if test "x$ac_cv_func_atan2l" = x""yes; then :
45165 cat >>confdefs.h <<_ACEOF
45166 #define HAVE_ATAN2L 1
45167 _ACEOF
45170 done
45172 else
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45175 $as_echo_n "checking for _atan2l declaration... " >&6; }
45176 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45177 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45178 $as_echo_n "(cached) " >&6
45179 else
45182 ac_ext=cpp
45183 ac_cpp='$CXXCPP $CPPFLAGS'
45184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45189 /* end confdefs.h. */
45190 #include <math.h>
45192 main ()
45194 _atan2l(0, 0);
45196 return 0;
45198 _ACEOF
45199 if ac_fn_cxx_try_compile "$LINENO"; then :
45200 glibcxx_cv_func__atan2l_use=yes
45201 else
45202 glibcxx_cv_func__atan2l_use=no
45204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45205 ac_ext=c
45206 ac_cpp='$CPP $CPPFLAGS'
45207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45216 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45218 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45219 for ac_func in _atan2l
45220 do :
45221 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45222 if test "x$ac_cv_func__atan2l" = x""yes; then :
45223 cat >>confdefs.h <<_ACEOF
45224 #define HAVE__ATAN2L 1
45225 _ACEOF
45228 done
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45238 $as_echo_n "checking for expl declaration... " >&6; }
45239 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45240 if test "${glibcxx_cv_func_expl_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 expl(0);
45263 return 0;
45265 _ACEOF
45266 if ac_fn_cxx_try_compile "$LINENO"; then :
45267 glibcxx_cv_func_expl_use=yes
45268 else
45269 glibcxx_cv_func_expl_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_expl_use" >&5
45283 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45285 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45286 for ac_func in expl
45287 do :
45288 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45289 if test "x$ac_cv_func_expl" = x""yes; then :
45290 cat >>confdefs.h <<_ACEOF
45291 #define HAVE_EXPL 1
45292 _ACEOF
45295 done
45297 else
45299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45300 $as_echo_n "checking for _expl declaration... " >&6; }
45301 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45302 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45303 $as_echo_n "(cached) " >&6
45304 else
45307 ac_ext=cpp
45308 ac_cpp='$CXXCPP $CPPFLAGS'
45309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45314 /* end confdefs.h. */
45315 #include <math.h>
45316 #ifdef HAVE_IEEEFP_H
45317 #include <ieeefp.h>
45318 #endif
45321 main ()
45323 _expl(0);
45325 return 0;
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func__expl_use=yes
45330 else
45331 glibcxx_cv_func__expl_use=no
45333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45345 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45347 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45348 for ac_func in _expl
45349 do :
45350 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45351 if test "x$ac_cv_func__expl" = x""yes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE__EXPL 1
45354 _ACEOF
45357 done
45366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45367 $as_echo_n "checking for fabsl declaration... " >&6; }
45368 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45369 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45370 $as_echo_n "(cached) " >&6
45371 else
45374 ac_ext=cpp
45375 ac_cpp='$CXXCPP $CPPFLAGS'
45376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45381 /* end confdefs.h. */
45382 #include <math.h>
45383 #ifdef HAVE_IEEEFP_H
45384 #include <ieeefp.h>
45385 #endif
45388 main ()
45390 fabsl(0);
45392 return 0;
45394 _ACEOF
45395 if ac_fn_cxx_try_compile "$LINENO"; then :
45396 glibcxx_cv_func_fabsl_use=yes
45397 else
45398 glibcxx_cv_func_fabsl_use=no
45400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45401 ac_ext=c
45402 ac_cpp='$CPP $CPPFLAGS'
45403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45412 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45414 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45415 for ac_func in fabsl
45416 do :
45417 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45418 if test "x$ac_cv_func_fabsl" = x""yes; then :
45419 cat >>confdefs.h <<_ACEOF
45420 #define HAVE_FABSL 1
45421 _ACEOF
45424 done
45426 else
45428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45429 $as_echo_n "checking for _fabsl declaration... " >&6; }
45430 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45431 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45432 $as_echo_n "(cached) " >&6
45433 else
45436 ac_ext=cpp
45437 ac_cpp='$CXXCPP $CPPFLAGS'
45438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45443 /* end confdefs.h. */
45444 #include <math.h>
45445 #ifdef HAVE_IEEEFP_H
45446 #include <ieeefp.h>
45447 #endif
45450 main ()
45452 _fabsl(0);
45454 return 0;
45456 _ACEOF
45457 if ac_fn_cxx_try_compile "$LINENO"; then :
45458 glibcxx_cv_func__fabsl_use=yes
45459 else
45460 glibcxx_cv_func__fabsl_use=no
45462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45463 ac_ext=c
45464 ac_cpp='$CPP $CPPFLAGS'
45465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45474 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45476 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45477 for ac_func in _fabsl
45478 do :
45479 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45480 if test "x$ac_cv_func__fabsl" = x""yes; then :
45481 cat >>confdefs.h <<_ACEOF
45482 #define HAVE__FABSL 1
45483 _ACEOF
45486 done
45495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45496 $as_echo_n "checking for fmodl declaration... " >&6; }
45497 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45498 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45499 $as_echo_n "(cached) " >&6
45500 else
45503 ac_ext=cpp
45504 ac_cpp='$CXXCPP $CPPFLAGS'
45505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 #include <math.h>
45513 main ()
45515 fmodl(0, 0);
45517 return 0;
45519 _ACEOF
45520 if ac_fn_cxx_try_compile "$LINENO"; then :
45521 glibcxx_cv_func_fmodl_use=yes
45522 else
45523 glibcxx_cv_func_fmodl_use=no
45525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45526 ac_ext=c
45527 ac_cpp='$CPP $CPPFLAGS'
45528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45537 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45539 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45540 for ac_func in fmodl
45541 do :
45542 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45543 if test "x$ac_cv_func_fmodl" = x""yes; then :
45544 cat >>confdefs.h <<_ACEOF
45545 #define HAVE_FMODL 1
45546 _ACEOF
45549 done
45551 else
45553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45554 $as_echo_n "checking for _fmodl declaration... " >&6; }
45555 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45556 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45557 $as_echo_n "(cached) " >&6
45558 else
45561 ac_ext=cpp
45562 ac_cpp='$CXXCPP $CPPFLAGS'
45563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45568 /* end confdefs.h. */
45569 #include <math.h>
45571 main ()
45573 _fmodl(0, 0);
45575 return 0;
45577 _ACEOF
45578 if ac_fn_cxx_try_compile "$LINENO"; then :
45579 glibcxx_cv_func__fmodl_use=yes
45580 else
45581 glibcxx_cv_func__fmodl_use=no
45583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45584 ac_ext=c
45585 ac_cpp='$CPP $CPPFLAGS'
45586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45595 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45597 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45598 for ac_func in _fmodl
45599 do :
45600 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45601 if test "x$ac_cv_func__fmodl" = x""yes; then :
45602 cat >>confdefs.h <<_ACEOF
45603 #define HAVE__FMODL 1
45604 _ACEOF
45607 done
45616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45617 $as_echo_n "checking for frexpl declaration... " >&6; }
45618 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45619 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45620 $as_echo_n "(cached) " >&6
45621 else
45624 ac_ext=cpp
45625 ac_cpp='$CXXCPP $CPPFLAGS'
45626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45631 /* end confdefs.h. */
45632 #include <math.h>
45634 main ()
45636 frexpl(0, 0);
45638 return 0;
45640 _ACEOF
45641 if ac_fn_cxx_try_compile "$LINENO"; then :
45642 glibcxx_cv_func_frexpl_use=yes
45643 else
45644 glibcxx_cv_func_frexpl_use=no
45646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45647 ac_ext=c
45648 ac_cpp='$CPP $CPPFLAGS'
45649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45658 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45660 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45661 for ac_func in frexpl
45662 do :
45663 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45664 if test "x$ac_cv_func_frexpl" = x""yes; then :
45665 cat >>confdefs.h <<_ACEOF
45666 #define HAVE_FREXPL 1
45667 _ACEOF
45670 done
45672 else
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45675 $as_echo_n "checking for _frexpl declaration... " >&6; }
45676 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45677 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45678 $as_echo_n "(cached) " >&6
45679 else
45682 ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45689 /* end confdefs.h. */
45690 #include <math.h>
45692 main ()
45694 _frexpl(0, 0);
45696 return 0;
45698 _ACEOF
45699 if ac_fn_cxx_try_compile "$LINENO"; then :
45700 glibcxx_cv_func__frexpl_use=yes
45701 else
45702 glibcxx_cv_func__frexpl_use=no
45704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45705 ac_ext=c
45706 ac_cpp='$CPP $CPPFLAGS'
45707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45716 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45718 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45719 for ac_func in _frexpl
45720 do :
45721 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45722 if test "x$ac_cv_func__frexpl" = x""yes; then :
45723 cat >>confdefs.h <<_ACEOF
45724 #define HAVE__FREXPL 1
45725 _ACEOF
45728 done
45737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45738 $as_echo_n "checking for hypotl declaration... " >&6; }
45739 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45740 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45741 $as_echo_n "(cached) " >&6
45742 else
45745 ac_ext=cpp
45746 ac_cpp='$CXXCPP $CPPFLAGS'
45747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45752 /* end confdefs.h. */
45753 #include <math.h>
45755 main ()
45757 hypotl(0, 0);
45759 return 0;
45761 _ACEOF
45762 if ac_fn_cxx_try_compile "$LINENO"; then :
45763 glibcxx_cv_func_hypotl_use=yes
45764 else
45765 glibcxx_cv_func_hypotl_use=no
45767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45768 ac_ext=c
45769 ac_cpp='$CPP $CPPFLAGS'
45770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45779 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45781 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45782 for ac_func in hypotl
45783 do :
45784 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45785 if test "x$ac_cv_func_hypotl" = x""yes; then :
45786 cat >>confdefs.h <<_ACEOF
45787 #define HAVE_HYPOTL 1
45788 _ACEOF
45791 done
45793 else
45795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45796 $as_echo_n "checking for _hypotl declaration... " >&6; }
45797 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45798 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45799 $as_echo_n "(cached) " >&6
45800 else
45803 ac_ext=cpp
45804 ac_cpp='$CXXCPP $CPPFLAGS'
45805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45810 /* end confdefs.h. */
45811 #include <math.h>
45813 main ()
45815 _hypotl(0, 0);
45817 return 0;
45819 _ACEOF
45820 if ac_fn_cxx_try_compile "$LINENO"; then :
45821 glibcxx_cv_func__hypotl_use=yes
45822 else
45823 glibcxx_cv_func__hypotl_use=no
45825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45826 ac_ext=c
45827 ac_cpp='$CPP $CPPFLAGS'
45828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45837 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45839 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45840 for ac_func in _hypotl
45841 do :
45842 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45843 if test "x$ac_cv_func__hypotl" = x""yes; then :
45844 cat >>confdefs.h <<_ACEOF
45845 #define HAVE__HYPOTL 1
45846 _ACEOF
45849 done
45858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45859 $as_echo_n "checking for ldexpl declaration... " >&6; }
45860 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45861 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45862 $as_echo_n "(cached) " >&6
45863 else
45866 ac_ext=cpp
45867 ac_cpp='$CXXCPP $CPPFLAGS'
45868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45873 /* end confdefs.h. */
45874 #include <math.h>
45876 main ()
45878 ldexpl(0, 0);
45880 return 0;
45882 _ACEOF
45883 if ac_fn_cxx_try_compile "$LINENO"; then :
45884 glibcxx_cv_func_ldexpl_use=yes
45885 else
45886 glibcxx_cv_func_ldexpl_use=no
45888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45889 ac_ext=c
45890 ac_cpp='$CPP $CPPFLAGS'
45891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45900 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45902 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45903 for ac_func in ldexpl
45904 do :
45905 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45906 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45907 cat >>confdefs.h <<_ACEOF
45908 #define HAVE_LDEXPL 1
45909 _ACEOF
45912 done
45914 else
45916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45917 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45918 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45919 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45920 $as_echo_n "(cached) " >&6
45921 else
45924 ac_ext=cpp
45925 ac_cpp='$CXXCPP $CPPFLAGS'
45926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45931 /* end confdefs.h. */
45932 #include <math.h>
45934 main ()
45936 _ldexpl(0, 0);
45938 return 0;
45940 _ACEOF
45941 if ac_fn_cxx_try_compile "$LINENO"; then :
45942 glibcxx_cv_func__ldexpl_use=yes
45943 else
45944 glibcxx_cv_func__ldexpl_use=no
45946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45947 ac_ext=c
45948 ac_cpp='$CPP $CPPFLAGS'
45949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45958 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45960 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45961 for ac_func in _ldexpl
45962 do :
45963 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45964 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45965 cat >>confdefs.h <<_ACEOF
45966 #define HAVE__LDEXPL 1
45967 _ACEOF
45970 done
45979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45980 $as_echo_n "checking for logl declaration... " >&6; }
45981 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45982 if test "${glibcxx_cv_func_logl_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 logl(0);
46005 return 0;
46007 _ACEOF
46008 if ac_fn_cxx_try_compile "$LINENO"; then :
46009 glibcxx_cv_func_logl_use=yes
46010 else
46011 glibcxx_cv_func_logl_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_logl_use" >&5
46025 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46027 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46028 for ac_func in logl
46029 do :
46030 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46031 if test "x$ac_cv_func_logl" = x""yes; then :
46032 cat >>confdefs.h <<_ACEOF
46033 #define HAVE_LOGL 1
46034 _ACEOF
46037 done
46039 else
46041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46042 $as_echo_n "checking for _logl declaration... " >&6; }
46043 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46044 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46045 $as_echo_n "(cached) " >&6
46046 else
46049 ac_ext=cpp
46050 ac_cpp='$CXXCPP $CPPFLAGS'
46051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46056 /* end confdefs.h. */
46057 #include <math.h>
46058 #ifdef HAVE_IEEEFP_H
46059 #include <ieeefp.h>
46060 #endif
46063 main ()
46065 _logl(0);
46067 return 0;
46069 _ACEOF
46070 if ac_fn_cxx_try_compile "$LINENO"; then :
46071 glibcxx_cv_func__logl_use=yes
46072 else
46073 glibcxx_cv_func__logl_use=no
46075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46076 ac_ext=c
46077 ac_cpp='$CPP $CPPFLAGS'
46078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46087 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46089 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46090 for ac_func in _logl
46091 do :
46092 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46093 if test "x$ac_cv_func__logl" = x""yes; then :
46094 cat >>confdefs.h <<_ACEOF
46095 #define HAVE__LOGL 1
46096 _ACEOF
46099 done
46108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46109 $as_echo_n "checking for log10l declaration... " >&6; }
46110 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46111 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46112 $as_echo_n "(cached) " >&6
46113 else
46116 ac_ext=cpp
46117 ac_cpp='$CXXCPP $CPPFLAGS'
46118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46123 /* end confdefs.h. */
46124 #include <math.h>
46125 #ifdef HAVE_IEEEFP_H
46126 #include <ieeefp.h>
46127 #endif
46130 main ()
46132 log10l(0);
46134 return 0;
46136 _ACEOF
46137 if ac_fn_cxx_try_compile "$LINENO"; then :
46138 glibcxx_cv_func_log10l_use=yes
46139 else
46140 glibcxx_cv_func_log10l_use=no
46142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46143 ac_ext=c
46144 ac_cpp='$CPP $CPPFLAGS'
46145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46154 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46156 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46157 for ac_func in log10l
46158 do :
46159 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46160 if test "x$ac_cv_func_log10l" = x""yes; then :
46161 cat >>confdefs.h <<_ACEOF
46162 #define HAVE_LOG10L 1
46163 _ACEOF
46166 done
46168 else
46170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46171 $as_echo_n "checking for _log10l declaration... " >&6; }
46172 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46173 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46174 $as_echo_n "(cached) " >&6
46175 else
46178 ac_ext=cpp
46179 ac_cpp='$CXXCPP $CPPFLAGS'
46180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46185 /* end confdefs.h. */
46186 #include <math.h>
46187 #ifdef HAVE_IEEEFP_H
46188 #include <ieeefp.h>
46189 #endif
46192 main ()
46194 _log10l(0);
46196 return 0;
46198 _ACEOF
46199 if ac_fn_cxx_try_compile "$LINENO"; then :
46200 glibcxx_cv_func__log10l_use=yes
46201 else
46202 glibcxx_cv_func__log10l_use=no
46204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46205 ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46216 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46218 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46219 for ac_func in _log10l
46220 do :
46221 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46222 if test "x$ac_cv_func__log10l" = x""yes; then :
46223 cat >>confdefs.h <<_ACEOF
46224 #define HAVE__LOG10L 1
46225 _ACEOF
46228 done
46237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46238 $as_echo_n "checking for modfl declaration... " >&6; }
46239 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46240 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46241 $as_echo_n "(cached) " >&6
46242 else
46245 ac_ext=cpp
46246 ac_cpp='$CXXCPP $CPPFLAGS'
46247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46252 /* end confdefs.h. */
46253 #include <math.h>
46255 main ()
46257 modfl(0, 0);
46259 return 0;
46261 _ACEOF
46262 if ac_fn_cxx_try_compile "$LINENO"; then :
46263 glibcxx_cv_func_modfl_use=yes
46264 else
46265 glibcxx_cv_func_modfl_use=no
46267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46268 ac_ext=c
46269 ac_cpp='$CPP $CPPFLAGS'
46270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46279 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46281 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46282 for ac_func in modfl
46283 do :
46284 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46285 if test "x$ac_cv_func_modfl" = x""yes; then :
46286 cat >>confdefs.h <<_ACEOF
46287 #define HAVE_MODFL 1
46288 _ACEOF
46291 done
46293 else
46295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46296 $as_echo_n "checking for _modfl declaration... " >&6; }
46297 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46298 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46299 $as_echo_n "(cached) " >&6
46300 else
46303 ac_ext=cpp
46304 ac_cpp='$CXXCPP $CPPFLAGS'
46305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46310 /* end confdefs.h. */
46311 #include <math.h>
46313 main ()
46315 _modfl(0, 0);
46317 return 0;
46319 _ACEOF
46320 if ac_fn_cxx_try_compile "$LINENO"; then :
46321 glibcxx_cv_func__modfl_use=yes
46322 else
46323 glibcxx_cv_func__modfl_use=no
46325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46326 ac_ext=c
46327 ac_cpp='$CPP $CPPFLAGS'
46328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46337 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46339 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46340 for ac_func in _modfl
46341 do :
46342 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46343 if test "x$ac_cv_func__modfl" = x""yes; then :
46344 cat >>confdefs.h <<_ACEOF
46345 #define HAVE__MODFL 1
46346 _ACEOF
46349 done
46358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46359 $as_echo_n "checking for powl declaration... " >&6; }
46360 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46361 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46362 $as_echo_n "(cached) " >&6
46363 else
46366 ac_ext=cpp
46367 ac_cpp='$CXXCPP $CPPFLAGS'
46368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46373 /* end confdefs.h. */
46374 #include <math.h>
46376 main ()
46378 powl(0, 0);
46380 return 0;
46382 _ACEOF
46383 if ac_fn_cxx_try_compile "$LINENO"; then :
46384 glibcxx_cv_func_powl_use=yes
46385 else
46386 glibcxx_cv_func_powl_use=no
46388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46389 ac_ext=c
46390 ac_cpp='$CPP $CPPFLAGS'
46391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46400 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46402 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46403 for ac_func in powl
46404 do :
46405 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46406 if test "x$ac_cv_func_powl" = x""yes; then :
46407 cat >>confdefs.h <<_ACEOF
46408 #define HAVE_POWL 1
46409 _ACEOF
46412 done
46414 else
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46417 $as_echo_n "checking for _powl declaration... " >&6; }
46418 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46419 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46420 $as_echo_n "(cached) " >&6
46421 else
46424 ac_ext=cpp
46425 ac_cpp='$CXXCPP $CPPFLAGS'
46426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46431 /* end confdefs.h. */
46432 #include <math.h>
46434 main ()
46436 _powl(0, 0);
46438 return 0;
46440 _ACEOF
46441 if ac_fn_cxx_try_compile "$LINENO"; then :
46442 glibcxx_cv_func__powl_use=yes
46443 else
46444 glibcxx_cv_func__powl_use=no
46446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46447 ac_ext=c
46448 ac_cpp='$CPP $CPPFLAGS'
46449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46458 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46460 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46461 for ac_func in _powl
46462 do :
46463 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46464 if test "x$ac_cv_func__powl" = x""yes; then :
46465 cat >>confdefs.h <<_ACEOF
46466 #define HAVE__POWL 1
46467 _ACEOF
46470 done
46479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46480 $as_echo_n "checking for sqrtl declaration... " >&6; }
46481 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46482 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46483 $as_echo_n "(cached) " >&6
46484 else
46487 ac_ext=cpp
46488 ac_cpp='$CXXCPP $CPPFLAGS'
46489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46494 /* end confdefs.h. */
46495 #include <math.h>
46496 #ifdef HAVE_IEEEFP_H
46497 #include <ieeefp.h>
46498 #endif
46501 main ()
46503 sqrtl(0);
46505 return 0;
46507 _ACEOF
46508 if ac_fn_cxx_try_compile "$LINENO"; then :
46509 glibcxx_cv_func_sqrtl_use=yes
46510 else
46511 glibcxx_cv_func_sqrtl_use=no
46513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46514 ac_ext=c
46515 ac_cpp='$CPP $CPPFLAGS'
46516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46525 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46527 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46528 for ac_func in sqrtl
46529 do :
46530 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46531 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46532 cat >>confdefs.h <<_ACEOF
46533 #define HAVE_SQRTL 1
46534 _ACEOF
46537 done
46539 else
46541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46542 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46543 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46544 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46545 $as_echo_n "(cached) " >&6
46546 else
46549 ac_ext=cpp
46550 ac_cpp='$CXXCPP $CPPFLAGS'
46551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46556 /* end confdefs.h. */
46557 #include <math.h>
46558 #ifdef HAVE_IEEEFP_H
46559 #include <ieeefp.h>
46560 #endif
46563 main ()
46565 _sqrtl(0);
46567 return 0;
46569 _ACEOF
46570 if ac_fn_cxx_try_compile "$LINENO"; then :
46571 glibcxx_cv_func__sqrtl_use=yes
46572 else
46573 glibcxx_cv_func__sqrtl_use=no
46575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46576 ac_ext=c
46577 ac_cpp='$CPP $CPPFLAGS'
46578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46587 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46589 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46590 for ac_func in _sqrtl
46591 do :
46592 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46593 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46594 cat >>confdefs.h <<_ACEOF
46595 #define HAVE__SQRTL 1
46596 _ACEOF
46599 done
46608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46609 $as_echo_n "checking for sincosl declaration... " >&6; }
46610 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46611 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46612 $as_echo_n "(cached) " >&6
46613 else
46616 ac_ext=cpp
46617 ac_cpp='$CXXCPP $CPPFLAGS'
46618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46623 /* end confdefs.h. */
46624 #include <math.h>
46626 main ()
46628 sincosl(0, 0, 0);
46630 return 0;
46632 _ACEOF
46633 if ac_fn_cxx_try_compile "$LINENO"; then :
46634 glibcxx_cv_func_sincosl_use=yes
46635 else
46636 glibcxx_cv_func_sincosl_use=no
46638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46639 ac_ext=c
46640 ac_cpp='$CPP $CPPFLAGS'
46641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46650 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46652 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46653 for ac_func in sincosl
46654 do :
46655 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46656 if test "x$ac_cv_func_sincosl" = x""yes; then :
46657 cat >>confdefs.h <<_ACEOF
46658 #define HAVE_SINCOSL 1
46659 _ACEOF
46662 done
46664 else
46666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46667 $as_echo_n "checking for _sincosl declaration... " >&6; }
46668 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46669 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46670 $as_echo_n "(cached) " >&6
46671 else
46674 ac_ext=cpp
46675 ac_cpp='$CXXCPP $CPPFLAGS'
46676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46681 /* end confdefs.h. */
46682 #include <math.h>
46684 main ()
46686 _sincosl(0, 0, 0);
46688 return 0;
46690 _ACEOF
46691 if ac_fn_cxx_try_compile "$LINENO"; then :
46692 glibcxx_cv_func__sincosl_use=yes
46693 else
46694 glibcxx_cv_func__sincosl_use=no
46696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46697 ac_ext=c
46698 ac_cpp='$CPP $CPPFLAGS'
46699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46708 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46710 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46711 for ac_func in _sincosl
46712 do :
46713 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46714 if test "x$ac_cv_func__sincosl" = x""yes; then :
46715 cat >>confdefs.h <<_ACEOF
46716 #define HAVE__SINCOSL 1
46717 _ACEOF
46720 done
46729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46730 $as_echo_n "checking for finitel declaration... " >&6; }
46731 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46732 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46733 $as_echo_n "(cached) " >&6
46734 else
46737 ac_ext=cpp
46738 ac_cpp='$CXXCPP $CPPFLAGS'
46739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46744 /* end confdefs.h. */
46745 #include <math.h>
46746 #ifdef HAVE_IEEEFP_H
46747 #include <ieeefp.h>
46748 #endif
46751 main ()
46753 finitel(0);
46755 return 0;
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func_finitel_use=yes
46760 else
46761 glibcxx_cv_func_finitel_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_finitel_use" >&5
46775 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46777 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46778 for ac_func in finitel
46779 do :
46780 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46781 if test "x$ac_cv_func_finitel" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE_FINITEL 1
46784 _ACEOF
46787 done
46789 else
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46792 $as_echo_n "checking for _finitel declaration... " >&6; }
46793 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46794 if test "${glibcxx_cv_func__finitel_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 <math.h>
46808 #ifdef HAVE_IEEEFP_H
46809 #include <ieeefp.h>
46810 #endif
46813 main ()
46815 _finitel(0);
46817 return 0;
46819 _ACEOF
46820 if ac_fn_cxx_try_compile "$LINENO"; then :
46821 glibcxx_cv_func__finitel_use=yes
46822 else
46823 glibcxx_cv_func__finitel_use=no
46825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46826 ac_ext=c
46827 ac_cpp='$CPP $CPPFLAGS'
46828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46837 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46839 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46840 for ac_func in _finitel
46841 do :
46842 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46843 if test "x$ac_cv_func__finitel" = x""yes; then :
46844 cat >>confdefs.h <<_ACEOF
46845 #define HAVE__FINITEL 1
46846 _ACEOF
46849 done
46857 LIBS="$ac_save_LIBS"
46858 CXXFLAGS="$ac_save_CXXFLAGS"
46861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46862 ac_save_CXXFLAGS="$CXXFLAGS"
46863 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46867 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46868 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46869 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46870 $as_echo_n "(cached) " >&6
46871 else
46874 ac_ext=cpp
46875 ac_cpp='$CXXCPP $CPPFLAGS'
46876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46881 /* end confdefs.h. */
46882 #include <stdlib.h>
46884 main ()
46886 at_quick_exit(0);
46888 return 0;
46890 _ACEOF
46891 if ac_fn_cxx_try_compile "$LINENO"; then :
46892 glibcxx_cv_func_at_quick_exit_use=yes
46893 else
46894 glibcxx_cv_func_at_quick_exit_use=no
46896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46897 ac_ext=c
46898 ac_cpp='$CPP $CPPFLAGS'
46899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46908 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46909 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46910 for ac_func in at_quick_exit
46911 do :
46912 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46913 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46914 cat >>confdefs.h <<_ACEOF
46915 #define HAVE_AT_QUICK_EXIT 1
46916 _ACEOF
46919 done
46924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46925 $as_echo_n "checking for quick_exit declaration... " >&6; }
46926 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46927 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46928 $as_echo_n "(cached) " >&6
46929 else
46932 ac_ext=cpp
46933 ac_cpp='$CXXCPP $CPPFLAGS'
46934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46939 /* end confdefs.h. */
46940 #include <stdlib.h>
46942 main ()
46944 quick_exit(0);
46946 return 0;
46948 _ACEOF
46949 if ac_fn_cxx_try_compile "$LINENO"; then :
46950 glibcxx_cv_func_quick_exit_use=yes
46951 else
46952 glibcxx_cv_func_quick_exit_use=no
46954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46955 ac_ext=c
46956 ac_cpp='$CPP $CPPFLAGS'
46957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46966 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46967 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46968 for ac_func in quick_exit
46969 do :
46970 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46971 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46972 cat >>confdefs.h <<_ACEOF
46973 #define HAVE_QUICK_EXIT 1
46974 _ACEOF
46977 done
46982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46983 $as_echo_n "checking for strtold declaration... " >&6; }
46984 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46985 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46986 $as_echo_n "(cached) " >&6
46987 else
46990 ac_ext=cpp
46991 ac_cpp='$CXXCPP $CPPFLAGS'
46992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46997 /* end confdefs.h. */
46998 #include <stdlib.h>
47000 main ()
47002 strtold(0, 0);
47004 return 0;
47006 _ACEOF
47007 if ac_fn_cxx_try_compile "$LINENO"; then :
47008 glibcxx_cv_func_strtold_use=yes
47009 else
47010 glibcxx_cv_func_strtold_use=no
47012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47013 ac_ext=c
47014 ac_cpp='$CPP $CPPFLAGS'
47015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47024 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47025 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47026 for ac_func in strtold
47027 do :
47028 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47029 if test "x$ac_cv_func_strtold" = x""yes; then :
47030 cat >>confdefs.h <<_ACEOF
47031 #define HAVE_STRTOLD 1
47032 _ACEOF
47035 done
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47043 $as_echo_n "checking for strtof declaration... " >&6; }
47044 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47045 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47046 $as_echo_n "(cached) " >&6
47047 else
47050 ac_ext=cpp
47051 ac_cpp='$CXXCPP $CPPFLAGS'
47052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47057 /* end confdefs.h. */
47058 #include <stdlib.h>
47060 main ()
47062 strtof(0, 0);
47064 return 0;
47066 _ACEOF
47067 if ac_fn_cxx_try_compile "$LINENO"; then :
47068 glibcxx_cv_func_strtof_use=yes
47069 else
47070 glibcxx_cv_func_strtof_use=no
47072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47073 ac_ext=c
47074 ac_cpp='$CPP $CPPFLAGS'
47075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47084 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47085 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47086 for ac_func in strtof
47087 do :
47088 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47089 if test "x$ac_cv_func_strtof" = x""yes; then :
47090 cat >>confdefs.h <<_ACEOF
47091 #define HAVE_STRTOF 1
47092 _ACEOF
47095 done
47102 CXXFLAGS="$ac_save_CXXFLAGS"
47104 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47106 # We don't yet support AIX's TLS ABI.
47107 #GCC_CHECK_TLS
47113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47114 $as_echo_n "checking for iconv... " >&6; }
47115 if test "${am_cv_func_iconv+set}" = set; then :
47116 $as_echo_n "(cached) " >&6
47117 else
47119 am_cv_func_iconv="no, consider installing GNU libiconv"
47120 am_cv_lib_iconv=no
47121 am_save_CPPFLAGS="$CPPFLAGS"
47122 CPPFLAGS="$CPPFLAGS $INCICONV"
47123 if test x$gcc_no_link = xyes; then
47124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47127 /* end confdefs.h. */
47128 #include <stdlib.h>
47129 #include <iconv.h>
47131 main ()
47133 iconv_t cd = iconv_open("","");
47134 iconv(cd,NULL,NULL,NULL,NULL);
47135 iconv_close(cd);
47137 return 0;
47139 _ACEOF
47140 if ac_fn_c_try_link "$LINENO"; then :
47141 am_cv_func_iconv=yes
47143 rm -f core conftest.err conftest.$ac_objext \
47144 conftest$ac_exeext conftest.$ac_ext
47145 CPPFLAGS="$am_save_CPPFLAGS"
47147 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47148 for _libs in .libs _libs; do
47149 am_save_CPPFLAGS="$CPPFLAGS"
47150 am_save_LIBS="$LIBS"
47151 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47152 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47153 if test x$gcc_no_link = xyes; then
47154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <stdlib.h>
47159 #include <iconv.h>
47161 main ()
47163 iconv_t cd = iconv_open("","");
47164 iconv(cd,NULL,NULL,NULL,NULL);
47165 iconv_close(cd);
47167 return 0;
47169 _ACEOF
47170 if ac_fn_c_try_link "$LINENO"; then :
47171 INCICONV="-I../libiconv/include"
47172 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47173 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47174 am_cv_lib_iconv=yes
47175 am_cv_func_iconv=yes
47177 rm -f core conftest.err conftest.$ac_objext \
47178 conftest$ac_exeext conftest.$ac_ext
47179 CPPFLAGS="$am_save_CPPFLAGS"
47180 LIBS="$am_save_LIBS"
47181 if test "$am_cv_func_iconv" = "yes"; then
47182 break
47184 done
47187 if test "$am_cv_func_iconv" != yes; then
47188 am_save_CPPFLAGS="$CPPFLAGS"
47189 am_save_LIBS="$LIBS"
47190 CPPFLAGS="$LIBS $INCICONV"
47191 LIBS="$LIBS $LIBICONV"
47192 if test x$gcc_no_link = xyes; then
47193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47196 /* end confdefs.h. */
47197 #include <stdlib.h>
47198 #include <iconv.h>
47200 main ()
47202 iconv_t cd = iconv_open("","");
47203 iconv(cd,NULL,NULL,NULL,NULL);
47204 iconv_close(cd);
47206 return 0;
47208 _ACEOF
47209 if ac_fn_c_try_link "$LINENO"; then :
47210 am_cv_lib_iconv=yes
47211 am_cv_func_iconv=yes
47213 rm -f core conftest.err conftest.$ac_objext \
47214 conftest$ac_exeext conftest.$ac_ext
47215 CPPFLAGS="$am_save_CPPFLAGS"
47216 LIBS="$am_save_LIBS"
47220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47221 $as_echo "$am_cv_func_iconv" >&6; }
47222 if test "$am_cv_func_iconv" = yes; then
47224 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47227 if test "$am_cv_lib_iconv" = yes; then
47229 for element in $INCICONV; do
47230 haveit=
47231 for x in $CPPFLAGS; do
47233 acl_save_prefix="$prefix"
47234 prefix="$acl_final_prefix"
47235 acl_save_exec_prefix="$exec_prefix"
47236 exec_prefix="$acl_final_exec_prefix"
47237 eval x=\"$x\"
47238 exec_prefix="$acl_save_exec_prefix"
47239 prefix="$acl_save_prefix"
47241 if test "X$x" = "X$element"; then
47242 haveit=yes
47243 break
47245 done
47246 if test -z "$haveit"; then
47247 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47249 done
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47252 $as_echo_n "checking how to link with libiconv... " >&6; }
47253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47254 $as_echo "$LIBICONV" >&6; }
47255 else
47256 LIBICONV=
47257 LTLIBICONV=
47262 if test "$am_cv_func_iconv" = yes; then
47263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47264 $as_echo_n "checking for iconv declaration... " >&6; }
47265 if test "${am_cv_proto_iconv+set}" = set; then :
47266 $as_echo_n "(cached) " >&6
47267 else
47269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47270 /* end confdefs.h. */
47272 #include <stdlib.h>
47273 #include <iconv.h>
47274 extern
47275 #ifdef __cplusplus
47277 #endif
47278 #if defined(__STDC__) || defined(__cplusplus)
47279 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47280 #else
47281 size_t iconv();
47282 #endif
47285 main ()
47289 return 0;
47291 _ACEOF
47292 if ac_fn_c_try_compile "$LINENO"; then :
47293 am_cv_proto_iconv_arg1=""
47294 else
47295 am_cv_proto_iconv_arg1="const"
47297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47298 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);"
47301 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47303 }$am_cv_proto_iconv" >&5
47304 $as_echo "${ac_t:-
47305 }$am_cv_proto_iconv" >&6; }
47307 cat >>confdefs.h <<_ACEOF
47308 #define ICONV_CONST $am_cv_proto_iconv_arg1
47309 _ACEOF
47315 *-darwin*)
47316 # Darwin versions vary, but the linker should work in a cross environment,
47317 # so we just check for all the features here.
47318 # Check for available headers.
47320 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47322 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47323 ac_save_CXXFLAGS="$CXXFLAGS"
47324 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47327 $as_echo_n "checking for sin in -lm... " >&6; }
47328 if test "${ac_cv_lib_m_sin+set}" = set; then :
47329 $as_echo_n "(cached) " >&6
47330 else
47331 ac_check_lib_save_LIBS=$LIBS
47332 LIBS="-lm $LIBS"
47333 if test x$gcc_no_link = xyes; then
47334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47339 /* Override any GCC internal prototype to avoid an error.
47340 Use char because int might match the return type of a GCC
47341 builtin and then its argument prototype would still apply. */
47342 #ifdef __cplusplus
47343 extern "C"
47344 #endif
47345 char sin ();
47347 main ()
47349 return sin ();
47351 return 0;
47353 _ACEOF
47354 if ac_fn_c_try_link "$LINENO"; then :
47355 ac_cv_lib_m_sin=yes
47356 else
47357 ac_cv_lib_m_sin=no
47359 rm -f core conftest.err conftest.$ac_objext \
47360 conftest$ac_exeext conftest.$ac_ext
47361 LIBS=$ac_check_lib_save_LIBS
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47364 $as_echo "$ac_cv_lib_m_sin" >&6; }
47365 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47366 libm="-lm"
47369 ac_save_LIBS="$LIBS"
47370 LIBS="$LIBS $libm"
47374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47375 $as_echo_n "checking for isinf declaration... " >&6; }
47376 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47377 if test "${glibcxx_cv_func_isinf_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 isinf(0);
47400 return 0;
47402 _ACEOF
47403 if ac_fn_cxx_try_compile "$LINENO"; then :
47404 glibcxx_cv_func_isinf_use=yes
47405 else
47406 glibcxx_cv_func_isinf_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_isinf_use" >&5
47420 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47422 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47423 for ac_func in isinf
47424 do :
47425 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47426 if test "x$ac_cv_func_isinf" = x""yes; then :
47427 cat >>confdefs.h <<_ACEOF
47428 #define HAVE_ISINF 1
47429 _ACEOF
47432 done
47434 else
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47437 $as_echo_n "checking for _isinf declaration... " >&6; }
47438 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47439 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47440 $as_echo_n "(cached) " >&6
47441 else
47444 ac_ext=cpp
47445 ac_cpp='$CXXCPP $CPPFLAGS'
47446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47451 /* end confdefs.h. */
47452 #include <math.h>
47453 #ifdef HAVE_IEEEFP_H
47454 #include <ieeefp.h>
47455 #endif
47458 main ()
47460 _isinf(0);
47462 return 0;
47464 _ACEOF
47465 if ac_fn_cxx_try_compile "$LINENO"; then :
47466 glibcxx_cv_func__isinf_use=yes
47467 else
47468 glibcxx_cv_func__isinf_use=no
47470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47471 ac_ext=c
47472 ac_cpp='$CPP $CPPFLAGS'
47473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47482 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47484 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47485 for ac_func in _isinf
47486 do :
47487 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47488 if test "x$ac_cv_func__isinf" = x""yes; then :
47489 cat >>confdefs.h <<_ACEOF
47490 #define HAVE__ISINF 1
47491 _ACEOF
47494 done
47503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47504 $as_echo_n "checking for isnan declaration... " >&6; }
47505 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47506 if test "${glibcxx_cv_func_isnan_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 isnan(0);
47529 return 0;
47531 _ACEOF
47532 if ac_fn_cxx_try_compile "$LINENO"; then :
47533 glibcxx_cv_func_isnan_use=yes
47534 else
47535 glibcxx_cv_func_isnan_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_isnan_use" >&5
47549 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47551 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47552 for ac_func in isnan
47553 do :
47554 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47555 if test "x$ac_cv_func_isnan" = x""yes; then :
47556 cat >>confdefs.h <<_ACEOF
47557 #define HAVE_ISNAN 1
47558 _ACEOF
47561 done
47563 else
47565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47566 $as_echo_n "checking for _isnan declaration... " >&6; }
47567 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47568 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47569 $as_echo_n "(cached) " >&6
47570 else
47573 ac_ext=cpp
47574 ac_cpp='$CXXCPP $CPPFLAGS'
47575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47580 /* end confdefs.h. */
47581 #include <math.h>
47582 #ifdef HAVE_IEEEFP_H
47583 #include <ieeefp.h>
47584 #endif
47587 main ()
47589 _isnan(0);
47591 return 0;
47593 _ACEOF
47594 if ac_fn_cxx_try_compile "$LINENO"; then :
47595 glibcxx_cv_func__isnan_use=yes
47596 else
47597 glibcxx_cv_func__isnan_use=no
47599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47600 ac_ext=c
47601 ac_cpp='$CPP $CPPFLAGS'
47602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47611 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47613 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47614 for ac_func in _isnan
47615 do :
47616 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47617 if test "x$ac_cv_func__isnan" = x""yes; then :
47618 cat >>confdefs.h <<_ACEOF
47619 #define HAVE__ISNAN 1
47620 _ACEOF
47623 done
47632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47633 $as_echo_n "checking for finite declaration... " >&6; }
47634 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47635 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47636 $as_echo_n "(cached) " >&6
47637 else
47640 ac_ext=cpp
47641 ac_cpp='$CXXCPP $CPPFLAGS'
47642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47647 /* end confdefs.h. */
47648 #include <math.h>
47649 #ifdef HAVE_IEEEFP_H
47650 #include <ieeefp.h>
47651 #endif
47654 main ()
47656 finite(0);
47658 return 0;
47660 _ACEOF
47661 if ac_fn_cxx_try_compile "$LINENO"; then :
47662 glibcxx_cv_func_finite_use=yes
47663 else
47664 glibcxx_cv_func_finite_use=no
47666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47667 ac_ext=c
47668 ac_cpp='$CPP $CPPFLAGS'
47669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47678 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47680 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47681 for ac_func in finite
47682 do :
47683 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47684 if test "x$ac_cv_func_finite" = x""yes; then :
47685 cat >>confdefs.h <<_ACEOF
47686 #define HAVE_FINITE 1
47687 _ACEOF
47690 done
47692 else
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47695 $as_echo_n "checking for _finite declaration... " >&6; }
47696 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47697 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47698 $as_echo_n "(cached) " >&6
47699 else
47702 ac_ext=cpp
47703 ac_cpp='$CXXCPP $CPPFLAGS'
47704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47709 /* end confdefs.h. */
47710 #include <math.h>
47711 #ifdef HAVE_IEEEFP_H
47712 #include <ieeefp.h>
47713 #endif
47716 main ()
47718 _finite(0);
47720 return 0;
47722 _ACEOF
47723 if ac_fn_cxx_try_compile "$LINENO"; then :
47724 glibcxx_cv_func__finite_use=yes
47725 else
47726 glibcxx_cv_func__finite_use=no
47728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47729 ac_ext=c
47730 ac_cpp='$CPP $CPPFLAGS'
47731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47740 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47742 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47743 for ac_func in _finite
47744 do :
47745 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47746 if test "x$ac_cv_func__finite" = x""yes; then :
47747 cat >>confdefs.h <<_ACEOF
47748 #define HAVE__FINITE 1
47749 _ACEOF
47752 done
47761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47762 $as_echo_n "checking for sincos declaration... " >&6; }
47763 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47764 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47765 $as_echo_n "(cached) " >&6
47766 else
47769 ac_ext=cpp
47770 ac_cpp='$CXXCPP $CPPFLAGS'
47771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47776 /* end confdefs.h. */
47777 #include <math.h>
47779 main ()
47781 sincos(0, 0, 0);
47783 return 0;
47785 _ACEOF
47786 if ac_fn_cxx_try_compile "$LINENO"; then :
47787 glibcxx_cv_func_sincos_use=yes
47788 else
47789 glibcxx_cv_func_sincos_use=no
47791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47792 ac_ext=c
47793 ac_cpp='$CPP $CPPFLAGS'
47794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47803 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47805 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47806 for ac_func in sincos
47807 do :
47808 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47809 if test "x$ac_cv_func_sincos" = x""yes; then :
47810 cat >>confdefs.h <<_ACEOF
47811 #define HAVE_SINCOS 1
47812 _ACEOF
47815 done
47817 else
47819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47820 $as_echo_n "checking for _sincos declaration... " >&6; }
47821 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47822 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47823 $as_echo_n "(cached) " >&6
47824 else
47827 ac_ext=cpp
47828 ac_cpp='$CXXCPP $CPPFLAGS'
47829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47834 /* end confdefs.h. */
47835 #include <math.h>
47837 main ()
47839 _sincos(0, 0, 0);
47841 return 0;
47843 _ACEOF
47844 if ac_fn_cxx_try_compile "$LINENO"; then :
47845 glibcxx_cv_func__sincos_use=yes
47846 else
47847 glibcxx_cv_func__sincos_use=no
47849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47850 ac_ext=c
47851 ac_cpp='$CPP $CPPFLAGS'
47852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47861 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47863 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47864 for ac_func in _sincos
47865 do :
47866 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47867 if test "x$ac_cv_func__sincos" = x""yes; then :
47868 cat >>confdefs.h <<_ACEOF
47869 #define HAVE__SINCOS 1
47870 _ACEOF
47873 done
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47883 $as_echo_n "checking for fpclass declaration... " >&6; }
47884 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47885 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
47908 return 0;
47910 _ACEOF
47911 if ac_fn_cxx_try_compile "$LINENO"; then :
47912 glibcxx_cv_func_fpclass_use=yes
47913 else
47914 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
47928 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47930 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47931 for ac_func in fpclass
47932 do :
47933 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47934 if test "x$ac_cv_func_fpclass" = x""yes; then :
47935 cat >>confdefs.h <<_ACEOF
47936 #define HAVE_FPCLASS 1
47937 _ACEOF
47940 done
47942 else
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47945 $as_echo_n "checking for _fpclass declaration... " >&6; }
47946 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47947 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47948 $as_echo_n "(cached) " >&6
47949 else
47952 ac_ext=cpp
47953 ac_cpp='$CXXCPP $CPPFLAGS'
47954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47959 /* end confdefs.h. */
47960 #include <math.h>
47961 #ifdef HAVE_IEEEFP_H
47962 #include <ieeefp.h>
47963 #endif
47966 main ()
47968 _fpclass(0);
47970 return 0;
47972 _ACEOF
47973 if ac_fn_cxx_try_compile "$LINENO"; then :
47974 glibcxx_cv_func__fpclass_use=yes
47975 else
47976 glibcxx_cv_func__fpclass_use=no
47978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47979 ac_ext=c
47980 ac_cpp='$CPP $CPPFLAGS'
47981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47990 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47992 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47993 for ac_func in _fpclass
47994 do :
47995 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47996 if test "x$ac_cv_func__fpclass" = x""yes; then :
47997 cat >>confdefs.h <<_ACEOF
47998 #define HAVE__FPCLASS 1
47999 _ACEOF
48002 done
48011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48012 $as_echo_n "checking for qfpclass declaration... " >&6; }
48013 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48014 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48015 $as_echo_n "(cached) " >&6
48016 else
48019 ac_ext=cpp
48020 ac_cpp='$CXXCPP $CPPFLAGS'
48021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48026 /* end confdefs.h. */
48027 #include <math.h>
48028 #ifdef HAVE_IEEEFP_H
48029 #include <ieeefp.h>
48030 #endif
48033 main ()
48035 qfpclass(0);
48037 return 0;
48039 _ACEOF
48040 if ac_fn_cxx_try_compile "$LINENO"; then :
48041 glibcxx_cv_func_qfpclass_use=yes
48042 else
48043 glibcxx_cv_func_qfpclass_use=no
48045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48046 ac_ext=c
48047 ac_cpp='$CPP $CPPFLAGS'
48048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48057 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48059 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48060 for ac_func in qfpclass
48061 do :
48062 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48063 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48064 cat >>confdefs.h <<_ACEOF
48065 #define HAVE_QFPCLASS 1
48066 _ACEOF
48069 done
48071 else
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48074 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48075 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48076 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48077 $as_echo_n "(cached) " >&6
48078 else
48081 ac_ext=cpp
48082 ac_cpp='$CXXCPP $CPPFLAGS'
48083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48088 /* end confdefs.h. */
48089 #include <math.h>
48090 #ifdef HAVE_IEEEFP_H
48091 #include <ieeefp.h>
48092 #endif
48095 main ()
48097 _qfpclass(0);
48099 return 0;
48101 _ACEOF
48102 if ac_fn_cxx_try_compile "$LINENO"; then :
48103 glibcxx_cv_func__qfpclass_use=yes
48104 else
48105 glibcxx_cv_func__qfpclass_use=no
48107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48108 ac_ext=c
48109 ac_cpp='$CPP $CPPFLAGS'
48110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48119 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48121 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48122 for ac_func in _qfpclass
48123 do :
48124 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48125 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48126 cat >>confdefs.h <<_ACEOF
48127 #define HAVE__QFPCLASS 1
48128 _ACEOF
48131 done
48140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48141 $as_echo_n "checking for hypot declaration... " >&6; }
48142 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48143 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48144 $as_echo_n "(cached) " >&6
48145 else
48148 ac_ext=cpp
48149 ac_cpp='$CXXCPP $CPPFLAGS'
48150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48155 /* end confdefs.h. */
48156 #include <math.h>
48158 main ()
48160 hypot(0, 0);
48162 return 0;
48164 _ACEOF
48165 if ac_fn_cxx_try_compile "$LINENO"; then :
48166 glibcxx_cv_func_hypot_use=yes
48167 else
48168 glibcxx_cv_func_hypot_use=no
48170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48171 ac_ext=c
48172 ac_cpp='$CPP $CPPFLAGS'
48173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48182 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48184 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48185 for ac_func in hypot
48186 do :
48187 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48188 if test "x$ac_cv_func_hypot" = x""yes; then :
48189 cat >>confdefs.h <<_ACEOF
48190 #define HAVE_HYPOT 1
48191 _ACEOF
48194 done
48196 else
48198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48199 $as_echo_n "checking for _hypot declaration... " >&6; }
48200 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48201 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48202 $as_echo_n "(cached) " >&6
48203 else
48206 ac_ext=cpp
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h. */
48214 #include <math.h>
48216 main ()
48218 _hypot(0, 0);
48220 return 0;
48222 _ACEOF
48223 if ac_fn_cxx_try_compile "$LINENO"; then :
48224 glibcxx_cv_func__hypot_use=yes
48225 else
48226 glibcxx_cv_func__hypot_use=no
48228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48229 ac_ext=c
48230 ac_cpp='$CPP $CPPFLAGS'
48231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48240 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48242 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48243 for ac_func in _hypot
48244 do :
48245 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48246 if test "x$ac_cv_func__hypot" = x""yes; then :
48247 cat >>confdefs.h <<_ACEOF
48248 #define HAVE__HYPOT 1
48249 _ACEOF
48252 done
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48262 $as_echo_n "checking for float trig functions... " >&6; }
48263 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48264 $as_echo_n "(cached) " >&6
48265 else
48268 ac_ext=cpp
48269 ac_cpp='$CXXCPP $CPPFLAGS'
48270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48275 /* end confdefs.h. */
48276 #include <math.h>
48278 main ()
48280 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48282 return 0;
48284 _ACEOF
48285 if ac_fn_cxx_try_compile "$LINENO"; then :
48286 glibcxx_cv_func_float_trig_use=yes
48287 else
48288 glibcxx_cv_func_float_trig_use=no
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291 ac_ext=c
48292 ac_cpp='$CPP $CPPFLAGS'
48293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48300 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48301 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48302 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48303 do :
48304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48306 eval as_val=\$$as_ac_var
48307 if test "x$as_val" = x""yes; then :
48308 cat >>confdefs.h <<_ACEOF
48309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48310 _ACEOF
48313 done
48315 else
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48317 $as_echo_n "checking for _float trig functions... " >&6; }
48318 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48319 $as_echo_n "(cached) " >&6
48320 else
48323 ac_ext=cpp
48324 ac_cpp='$CXXCPP $CPPFLAGS'
48325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330 /* end confdefs.h. */
48331 #include <math.h>
48333 main ()
48335 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48337 return 0;
48339 _ACEOF
48340 if ac_fn_cxx_try_compile "$LINENO"; then :
48341 glibcxx_cv_func__float_trig_use=yes
48342 else
48343 glibcxx_cv_func__float_trig_use=no
48345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_ext=c
48347 ac_cpp='$CPP $CPPFLAGS'
48348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48355 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48356 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48357 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48358 do :
48359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48361 eval as_val=\$$as_ac_var
48362 if test "x$as_val" = x""yes; then :
48363 cat >>confdefs.h <<_ACEOF
48364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48365 _ACEOF
48368 done
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48378 $as_echo_n "checking for float round functions... " >&6; }
48379 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48380 $as_echo_n "(cached) " >&6
48381 else
48384 ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h. */
48392 #include <math.h>
48394 main ()
48396 ceilf (0); floorf (0);
48398 return 0;
48400 _ACEOF
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func_float_round_use=yes
48403 else
48404 glibcxx_cv_func_float_round_use=no
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407 ac_ext=c
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48416 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48417 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48418 for ac_func in ceilf floorf
48419 do :
48420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48422 eval as_val=\$$as_ac_var
48423 if test "x$as_val" = x""yes; then :
48424 cat >>confdefs.h <<_ACEOF
48425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48426 _ACEOF
48429 done
48431 else
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48433 $as_echo_n "checking for _float round functions... " >&6; }
48434 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48435 $as_echo_n "(cached) " >&6
48436 else
48439 ac_ext=cpp
48440 ac_cpp='$CXXCPP $CPPFLAGS'
48441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48446 /* end confdefs.h. */
48447 #include <math.h>
48449 main ()
48451 _ceilf (0); _floorf (0);
48453 return 0;
48455 _ACEOF
48456 if ac_fn_cxx_try_compile "$LINENO"; then :
48457 glibcxx_cv_func__float_round_use=yes
48458 else
48459 glibcxx_cv_func__float_round_use=no
48461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48462 ac_ext=c
48463 ac_cpp='$CPP $CPPFLAGS'
48464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48471 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48472 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48473 for ac_func in _ceilf _floorf
48474 do :
48475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48477 eval as_val=\$$as_ac_var
48478 if test "x$as_val" = x""yes; then :
48479 cat >>confdefs.h <<_ACEOF
48480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48481 _ACEOF
48484 done
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48495 $as_echo_n "checking for expf declaration... " >&6; }
48496 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48497 if test "${glibcxx_cv_func_expf_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 expf(0);
48520 return 0;
48522 _ACEOF
48523 if ac_fn_cxx_try_compile "$LINENO"; then :
48524 glibcxx_cv_func_expf_use=yes
48525 else
48526 glibcxx_cv_func_expf_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_expf_use" >&5
48540 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48542 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48543 for ac_func in expf
48544 do :
48545 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48546 if test "x$ac_cv_func_expf" = x""yes; then :
48547 cat >>confdefs.h <<_ACEOF
48548 #define HAVE_EXPF 1
48549 _ACEOF
48552 done
48554 else
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48557 $as_echo_n "checking for _expf declaration... " >&6; }
48558 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48559 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48560 $as_echo_n "(cached) " >&6
48561 else
48564 ac_ext=cpp
48565 ac_cpp='$CXXCPP $CPPFLAGS'
48566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48571 /* end confdefs.h. */
48572 #include <math.h>
48573 #ifdef HAVE_IEEEFP_H
48574 #include <ieeefp.h>
48575 #endif
48578 main ()
48580 _expf(0);
48582 return 0;
48584 _ACEOF
48585 if ac_fn_cxx_try_compile "$LINENO"; then :
48586 glibcxx_cv_func__expf_use=yes
48587 else
48588 glibcxx_cv_func__expf_use=no
48590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48591 ac_ext=c
48592 ac_cpp='$CPP $CPPFLAGS'
48593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48602 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48604 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48605 for ac_func in _expf
48606 do :
48607 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48608 if test "x$ac_cv_func__expf" = x""yes; then :
48609 cat >>confdefs.h <<_ACEOF
48610 #define HAVE__EXPF 1
48611 _ACEOF
48614 done
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48624 $as_echo_n "checking for isnanf declaration... " >&6; }
48625 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48626 if test "${glibcxx_cv_func_isnanf_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 isnanf(0);
48649 return 0;
48651 _ACEOF
48652 if ac_fn_cxx_try_compile "$LINENO"; then :
48653 glibcxx_cv_func_isnanf_use=yes
48654 else
48655 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
48669 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48671 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48672 for ac_func in isnanf
48673 do :
48674 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48675 if test "x$ac_cv_func_isnanf" = x""yes; then :
48676 cat >>confdefs.h <<_ACEOF
48677 #define HAVE_ISNANF 1
48678 _ACEOF
48681 done
48683 else
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48686 $as_echo_n "checking for _isnanf declaration... " >&6; }
48687 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48688 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48689 $as_echo_n "(cached) " >&6
48690 else
48693 ac_ext=cpp
48694 ac_cpp='$CXXCPP $CPPFLAGS'
48695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48700 /* end confdefs.h. */
48701 #include <math.h>
48702 #ifdef HAVE_IEEEFP_H
48703 #include <ieeefp.h>
48704 #endif
48707 main ()
48709 _isnanf(0);
48711 return 0;
48713 _ACEOF
48714 if ac_fn_cxx_try_compile "$LINENO"; then :
48715 glibcxx_cv_func__isnanf_use=yes
48716 else
48717 glibcxx_cv_func__isnanf_use=no
48719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48720 ac_ext=c
48721 ac_cpp='$CPP $CPPFLAGS'
48722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48731 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48733 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48734 for ac_func in _isnanf
48735 do :
48736 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48737 if test "x$ac_cv_func__isnanf" = x""yes; then :
48738 cat >>confdefs.h <<_ACEOF
48739 #define HAVE__ISNANF 1
48740 _ACEOF
48743 done
48752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48753 $as_echo_n "checking for isinff declaration... " >&6; }
48754 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48755 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48756 $as_echo_n "(cached) " >&6
48757 else
48760 ac_ext=cpp
48761 ac_cpp='$CXXCPP $CPPFLAGS'
48762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48767 /* end confdefs.h. */
48768 #include <math.h>
48769 #ifdef HAVE_IEEEFP_H
48770 #include <ieeefp.h>
48771 #endif
48774 main ()
48776 isinff(0);
48778 return 0;
48780 _ACEOF
48781 if ac_fn_cxx_try_compile "$LINENO"; then :
48782 glibcxx_cv_func_isinff_use=yes
48783 else
48784 glibcxx_cv_func_isinff_use=no
48786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48787 ac_ext=c
48788 ac_cpp='$CPP $CPPFLAGS'
48789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48798 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48800 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48801 for ac_func in isinff
48802 do :
48803 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48804 if test "x$ac_cv_func_isinff" = x""yes; then :
48805 cat >>confdefs.h <<_ACEOF
48806 #define HAVE_ISINFF 1
48807 _ACEOF
48810 done
48812 else
48814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48815 $as_echo_n "checking for _isinff declaration... " >&6; }
48816 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48817 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48818 $as_echo_n "(cached) " >&6
48819 else
48822 ac_ext=cpp
48823 ac_cpp='$CXXCPP $CPPFLAGS'
48824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48829 /* end confdefs.h. */
48830 #include <math.h>
48831 #ifdef HAVE_IEEEFP_H
48832 #include <ieeefp.h>
48833 #endif
48836 main ()
48838 _isinff(0);
48840 return 0;
48842 _ACEOF
48843 if ac_fn_cxx_try_compile "$LINENO"; then :
48844 glibcxx_cv_func__isinff_use=yes
48845 else
48846 glibcxx_cv_func__isinff_use=no
48848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48849 ac_ext=c
48850 ac_cpp='$CPP $CPPFLAGS'
48851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48860 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48862 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48863 for ac_func in _isinff
48864 do :
48865 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48866 if test "x$ac_cv_func__isinff" = x""yes; then :
48867 cat >>confdefs.h <<_ACEOF
48868 #define HAVE__ISINFF 1
48869 _ACEOF
48872 done
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48882 $as_echo_n "checking for atan2f declaration... " >&6; }
48883 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48884 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48885 $as_echo_n "(cached) " >&6
48886 else
48889 ac_ext=cpp
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48896 /* end confdefs.h. */
48897 #include <math.h>
48899 main ()
48901 atan2f(0, 0);
48903 return 0;
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_atan2f_use=yes
48908 else
48909 glibcxx_cv_func_atan2f_use=no
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48923 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48925 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48926 for ac_func in atan2f
48927 do :
48928 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48929 if test "x$ac_cv_func_atan2f" = x""yes; then :
48930 cat >>confdefs.h <<_ACEOF
48931 #define HAVE_ATAN2F 1
48932 _ACEOF
48935 done
48937 else
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48940 $as_echo_n "checking for _atan2f declaration... " >&6; }
48941 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48942 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <math.h>
48957 main ()
48959 _atan2f(0, 0);
48961 return 0;
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func__atan2f_use=yes
48966 else
48967 glibcxx_cv_func__atan2f_use=no
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48981 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48983 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48984 for ac_func in _atan2f
48985 do :
48986 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48987 if test "x$ac_cv_func__atan2f" = x""yes; then :
48988 cat >>confdefs.h <<_ACEOF
48989 #define HAVE__ATAN2F 1
48990 _ACEOF
48993 done
49002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49003 $as_echo_n "checking for fabsf declaration... " >&6; }
49004 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49005 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49006 $as_echo_n "(cached) " >&6
49007 else
49010 ac_ext=cpp
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49017 /* end confdefs.h. */
49018 #include <math.h>
49019 #ifdef HAVE_IEEEFP_H
49020 #include <ieeefp.h>
49021 #endif
49024 main ()
49026 fabsf(0);
49028 return 0;
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_fabsf_use=yes
49033 else
49034 glibcxx_cv_func_fabsf_use=no
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49048 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49050 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49051 for ac_func in fabsf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49054 if test "x$ac_cv_func_fabsf" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE_FABSF 1
49057 _ACEOF
49060 done
49062 else
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49065 $as_echo_n "checking for _fabsf declaration... " >&6; }
49066 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49068 $as_echo_n "(cached) " >&6
49069 else
49072 ac_ext=cpp
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49079 /* end confdefs.h. */
49080 #include <math.h>
49081 #ifdef HAVE_IEEEFP_H
49082 #include <ieeefp.h>
49083 #endif
49086 main ()
49088 _fabsf(0);
49090 return 0;
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func__fabsf_use=yes
49095 else
49096 glibcxx_cv_func__fabsf_use=no
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49110 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49112 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49113 for ac_func in _fabsf
49114 do :
49115 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49116 if test "x$ac_cv_func__fabsf" = x""yes; then :
49117 cat >>confdefs.h <<_ACEOF
49118 #define HAVE__FABSF 1
49119 _ACEOF
49122 done
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49132 $as_echo_n "checking for fmodf declaration... " >&6; }
49133 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49134 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49135 $as_echo_n "(cached) " >&6
49136 else
49139 ac_ext=cpp
49140 ac_cpp='$CXXCPP $CPPFLAGS'
49141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49146 /* end confdefs.h. */
49147 #include <math.h>
49149 main ()
49151 fmodf(0, 0);
49153 return 0;
49155 _ACEOF
49156 if ac_fn_cxx_try_compile "$LINENO"; then :
49157 glibcxx_cv_func_fmodf_use=yes
49158 else
49159 glibcxx_cv_func_fmodf_use=no
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162 ac_ext=c
49163 ac_cpp='$CPP $CPPFLAGS'
49164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49173 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49175 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49176 for ac_func in fmodf
49177 do :
49178 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49179 if test "x$ac_cv_func_fmodf" = x""yes; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define HAVE_FMODF 1
49182 _ACEOF
49185 done
49187 else
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49190 $as_echo_n "checking for _fmodf declaration... " >&6; }
49191 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49192 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49207 main ()
49209 _fmodf(0, 0);
49211 return 0;
49213 _ACEOF
49214 if ac_fn_cxx_try_compile "$LINENO"; then :
49215 glibcxx_cv_func__fmodf_use=yes
49216 else
49217 glibcxx_cv_func__fmodf_use=no
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49220 ac_ext=c
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49231 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49233 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49234 for ac_func in _fmodf
49235 do :
49236 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49237 if test "x$ac_cv_func__fmodf" = x""yes; then :
49238 cat >>confdefs.h <<_ACEOF
49239 #define HAVE__FMODF 1
49240 _ACEOF
49243 done
49252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49253 $as_echo_n "checking for frexpf declaration... " >&6; }
49254 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49255 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49256 $as_echo_n "(cached) " >&6
49257 else
49260 ac_ext=cpp
49261 ac_cpp='$CXXCPP $CPPFLAGS'
49262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49267 /* end confdefs.h. */
49268 #include <math.h>
49270 main ()
49272 frexpf(0, 0);
49274 return 0;
49276 _ACEOF
49277 if ac_fn_cxx_try_compile "$LINENO"; then :
49278 glibcxx_cv_func_frexpf_use=yes
49279 else
49280 glibcxx_cv_func_frexpf_use=no
49282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49283 ac_ext=c
49284 ac_cpp='$CPP $CPPFLAGS'
49285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49294 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49296 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49297 for ac_func in frexpf
49298 do :
49299 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49300 if test "x$ac_cv_func_frexpf" = x""yes; then :
49301 cat >>confdefs.h <<_ACEOF
49302 #define HAVE_FREXPF 1
49303 _ACEOF
49306 done
49308 else
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49311 $as_echo_n "checking for _frexpf declaration... " >&6; }
49312 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49313 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49314 $as_echo_n "(cached) " >&6
49315 else
49318 ac_ext=cpp
49319 ac_cpp='$CXXCPP $CPPFLAGS'
49320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49325 /* end confdefs.h. */
49326 #include <math.h>
49328 main ()
49330 _frexpf(0, 0);
49332 return 0;
49334 _ACEOF
49335 if ac_fn_cxx_try_compile "$LINENO"; then :
49336 glibcxx_cv_func__frexpf_use=yes
49337 else
49338 glibcxx_cv_func__frexpf_use=no
49340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49341 ac_ext=c
49342 ac_cpp='$CPP $CPPFLAGS'
49343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49352 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49354 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49355 for ac_func in _frexpf
49356 do :
49357 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49358 if test "x$ac_cv_func__frexpf" = x""yes; then :
49359 cat >>confdefs.h <<_ACEOF
49360 #define HAVE__FREXPF 1
49361 _ACEOF
49364 done
49373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49374 $as_echo_n "checking for hypotf declaration... " >&6; }
49375 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49376 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49377 $as_echo_n "(cached) " >&6
49378 else
49381 ac_ext=cpp
49382 ac_cpp='$CXXCPP $CPPFLAGS'
49383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49388 /* end confdefs.h. */
49389 #include <math.h>
49391 main ()
49393 hypotf(0, 0);
49395 return 0;
49397 _ACEOF
49398 if ac_fn_cxx_try_compile "$LINENO"; then :
49399 glibcxx_cv_func_hypotf_use=yes
49400 else
49401 glibcxx_cv_func_hypotf_use=no
49403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49404 ac_ext=c
49405 ac_cpp='$CPP $CPPFLAGS'
49406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49415 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49417 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49418 for ac_func in hypotf
49419 do :
49420 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49421 if test "x$ac_cv_func_hypotf" = x""yes; then :
49422 cat >>confdefs.h <<_ACEOF
49423 #define HAVE_HYPOTF 1
49424 _ACEOF
49427 done
49429 else
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49432 $as_echo_n "checking for _hypotf declaration... " >&6; }
49433 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49434 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49435 $as_echo_n "(cached) " >&6
49436 else
49439 ac_ext=cpp
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49446 /* end confdefs.h. */
49447 #include <math.h>
49449 main ()
49451 _hypotf(0, 0);
49453 return 0;
49455 _ACEOF
49456 if ac_fn_cxx_try_compile "$LINENO"; then :
49457 glibcxx_cv_func__hypotf_use=yes
49458 else
49459 glibcxx_cv_func__hypotf_use=no
49461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49462 ac_ext=c
49463 ac_cpp='$CPP $CPPFLAGS'
49464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49473 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49475 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49476 for ac_func in _hypotf
49477 do :
49478 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49479 if test "x$ac_cv_func__hypotf" = x""yes; then :
49480 cat >>confdefs.h <<_ACEOF
49481 #define HAVE__HYPOTF 1
49482 _ACEOF
49485 done
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49495 $as_echo_n "checking for ldexpf declaration... " >&6; }
49496 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49497 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49498 $as_echo_n "(cached) " >&6
49499 else
49502 ac_ext=cpp
49503 ac_cpp='$CXXCPP $CPPFLAGS'
49504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49509 /* end confdefs.h. */
49510 #include <math.h>
49512 main ()
49514 ldexpf(0, 0);
49516 return 0;
49518 _ACEOF
49519 if ac_fn_cxx_try_compile "$LINENO"; then :
49520 glibcxx_cv_func_ldexpf_use=yes
49521 else
49522 glibcxx_cv_func_ldexpf_use=no
49524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49525 ac_ext=c
49526 ac_cpp='$CPP $CPPFLAGS'
49527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49536 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49538 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49539 for ac_func in ldexpf
49540 do :
49541 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49542 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49543 cat >>confdefs.h <<_ACEOF
49544 #define HAVE_LDEXPF 1
49545 _ACEOF
49548 done
49550 else
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49553 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49554 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49555 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49556 $as_echo_n "(cached) " >&6
49557 else
49560 ac_ext=cpp
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49567 /* end confdefs.h. */
49568 #include <math.h>
49570 main ()
49572 _ldexpf(0, 0);
49574 return 0;
49576 _ACEOF
49577 if ac_fn_cxx_try_compile "$LINENO"; then :
49578 glibcxx_cv_func__ldexpf_use=yes
49579 else
49580 glibcxx_cv_func__ldexpf_use=no
49582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49583 ac_ext=c
49584 ac_cpp='$CPP $CPPFLAGS'
49585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49594 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49596 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49597 for ac_func in _ldexpf
49598 do :
49599 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49600 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49601 cat >>confdefs.h <<_ACEOF
49602 #define HAVE__LDEXPF 1
49603 _ACEOF
49606 done
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49616 $as_echo_n "checking for logf declaration... " >&6; }
49617 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49618 if test "${glibcxx_cv_func_logf_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 logf(0);
49641 return 0;
49643 _ACEOF
49644 if ac_fn_cxx_try_compile "$LINENO"; then :
49645 glibcxx_cv_func_logf_use=yes
49646 else
49647 glibcxx_cv_func_logf_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_logf_use" >&5
49661 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49663 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49664 for ac_func in logf
49665 do :
49666 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49667 if test "x$ac_cv_func_logf" = x""yes; then :
49668 cat >>confdefs.h <<_ACEOF
49669 #define HAVE_LOGF 1
49670 _ACEOF
49673 done
49675 else
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49678 $as_echo_n "checking for _logf declaration... " >&6; }
49679 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49680 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49681 $as_echo_n "(cached) " >&6
49682 else
49685 ac_ext=cpp
49686 ac_cpp='$CXXCPP $CPPFLAGS'
49687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49692 /* end confdefs.h. */
49693 #include <math.h>
49694 #ifdef HAVE_IEEEFP_H
49695 #include <ieeefp.h>
49696 #endif
49699 main ()
49701 _logf(0);
49703 return 0;
49705 _ACEOF
49706 if ac_fn_cxx_try_compile "$LINENO"; then :
49707 glibcxx_cv_func__logf_use=yes
49708 else
49709 glibcxx_cv_func__logf_use=no
49711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49712 ac_ext=c
49713 ac_cpp='$CPP $CPPFLAGS'
49714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49723 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49725 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49726 for ac_func in _logf
49727 do :
49728 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49729 if test "x$ac_cv_func__logf" = x""yes; then :
49730 cat >>confdefs.h <<_ACEOF
49731 #define HAVE__LOGF 1
49732 _ACEOF
49735 done
49744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49745 $as_echo_n "checking for log10f declaration... " >&6; }
49746 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49747 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49748 $as_echo_n "(cached) " >&6
49749 else
49752 ac_ext=cpp
49753 ac_cpp='$CXXCPP $CPPFLAGS'
49754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49759 /* end confdefs.h. */
49760 #include <math.h>
49761 #ifdef HAVE_IEEEFP_H
49762 #include <ieeefp.h>
49763 #endif
49766 main ()
49768 log10f(0);
49770 return 0;
49772 _ACEOF
49773 if ac_fn_cxx_try_compile "$LINENO"; then :
49774 glibcxx_cv_func_log10f_use=yes
49775 else
49776 glibcxx_cv_func_log10f_use=no
49778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49779 ac_ext=c
49780 ac_cpp='$CPP $CPPFLAGS'
49781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49790 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49792 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49793 for ac_func in log10f
49794 do :
49795 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49796 if test "x$ac_cv_func_log10f" = x""yes; then :
49797 cat >>confdefs.h <<_ACEOF
49798 #define HAVE_LOG10F 1
49799 _ACEOF
49802 done
49804 else
49806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49807 $as_echo_n "checking for _log10f declaration... " >&6; }
49808 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49809 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49810 $as_echo_n "(cached) " >&6
49811 else
49814 ac_ext=cpp
49815 ac_cpp='$CXXCPP $CPPFLAGS'
49816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49821 /* end confdefs.h. */
49822 #include <math.h>
49823 #ifdef HAVE_IEEEFP_H
49824 #include <ieeefp.h>
49825 #endif
49828 main ()
49830 _log10f(0);
49832 return 0;
49834 _ACEOF
49835 if ac_fn_cxx_try_compile "$LINENO"; then :
49836 glibcxx_cv_func__log10f_use=yes
49837 else
49838 glibcxx_cv_func__log10f_use=no
49840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49841 ac_ext=c
49842 ac_cpp='$CPP $CPPFLAGS'
49843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49852 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49854 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49855 for ac_func in _log10f
49856 do :
49857 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49858 if test "x$ac_cv_func__log10f" = x""yes; then :
49859 cat >>confdefs.h <<_ACEOF
49860 #define HAVE__LOG10F 1
49861 _ACEOF
49864 done
49873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49874 $as_echo_n "checking for modff declaration... " >&6; }
49875 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49876 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49877 $as_echo_n "(cached) " >&6
49878 else
49881 ac_ext=cpp
49882 ac_cpp='$CXXCPP $CPPFLAGS'
49883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49888 /* end confdefs.h. */
49889 #include <math.h>
49891 main ()
49893 modff(0, 0);
49895 return 0;
49897 _ACEOF
49898 if ac_fn_cxx_try_compile "$LINENO"; then :
49899 glibcxx_cv_func_modff_use=yes
49900 else
49901 glibcxx_cv_func_modff_use=no
49903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49904 ac_ext=c
49905 ac_cpp='$CPP $CPPFLAGS'
49906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49915 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49917 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49918 for ac_func in modff
49919 do :
49920 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49921 if test "x$ac_cv_func_modff" = x""yes; then :
49922 cat >>confdefs.h <<_ACEOF
49923 #define HAVE_MODFF 1
49924 _ACEOF
49927 done
49929 else
49931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49932 $as_echo_n "checking for _modff declaration... " >&6; }
49933 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49934 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49935 $as_echo_n "(cached) " >&6
49936 else
49939 ac_ext=cpp
49940 ac_cpp='$CXXCPP $CPPFLAGS'
49941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49946 /* end confdefs.h. */
49947 #include <math.h>
49949 main ()
49951 _modff(0, 0);
49953 return 0;
49955 _ACEOF
49956 if ac_fn_cxx_try_compile "$LINENO"; then :
49957 glibcxx_cv_func__modff_use=yes
49958 else
49959 glibcxx_cv_func__modff_use=no
49961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49962 ac_ext=c
49963 ac_cpp='$CPP $CPPFLAGS'
49964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49973 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49975 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49976 for ac_func in _modff
49977 do :
49978 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49979 if test "x$ac_cv_func__modff" = x""yes; then :
49980 cat >>confdefs.h <<_ACEOF
49981 #define HAVE__MODFF 1
49982 _ACEOF
49985 done
49994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49995 $as_echo_n "checking for modf declaration... " >&6; }
49996 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49997 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49998 $as_echo_n "(cached) " >&6
49999 else
50002 ac_ext=cpp
50003 ac_cpp='$CXXCPP $CPPFLAGS'
50004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50009 /* end confdefs.h. */
50010 #include <math.h>
50012 main ()
50014 modf(0, 0);
50016 return 0;
50018 _ACEOF
50019 if ac_fn_cxx_try_compile "$LINENO"; then :
50020 glibcxx_cv_func_modf_use=yes
50021 else
50022 glibcxx_cv_func_modf_use=no
50024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50025 ac_ext=c
50026 ac_cpp='$CPP $CPPFLAGS'
50027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50036 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50038 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50039 for ac_func in modf
50040 do :
50041 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50042 if test "x$ac_cv_func_modf" = x""yes; then :
50043 cat >>confdefs.h <<_ACEOF
50044 #define HAVE_MODF 1
50045 _ACEOF
50048 done
50050 else
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50053 $as_echo_n "checking for _modf declaration... " >&6; }
50054 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50055 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50056 $as_echo_n "(cached) " >&6
50057 else
50060 ac_ext=cpp
50061 ac_cpp='$CXXCPP $CPPFLAGS'
50062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50067 /* end confdefs.h. */
50068 #include <math.h>
50070 main ()
50072 _modf(0, 0);
50074 return 0;
50076 _ACEOF
50077 if ac_fn_cxx_try_compile "$LINENO"; then :
50078 glibcxx_cv_func__modf_use=yes
50079 else
50080 glibcxx_cv_func__modf_use=no
50082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50083 ac_ext=c
50084 ac_cpp='$CPP $CPPFLAGS'
50085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50094 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50096 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50097 for ac_func in _modf
50098 do :
50099 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50100 if test "x$ac_cv_func__modf" = x""yes; then :
50101 cat >>confdefs.h <<_ACEOF
50102 #define HAVE__MODF 1
50103 _ACEOF
50106 done
50115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50116 $as_echo_n "checking for powf declaration... " >&6; }
50117 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50118 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50119 $as_echo_n "(cached) " >&6
50120 else
50123 ac_ext=cpp
50124 ac_cpp='$CXXCPP $CPPFLAGS'
50125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50130 /* end confdefs.h. */
50131 #include <math.h>
50133 main ()
50135 powf(0, 0);
50137 return 0;
50139 _ACEOF
50140 if ac_fn_cxx_try_compile "$LINENO"; then :
50141 glibcxx_cv_func_powf_use=yes
50142 else
50143 glibcxx_cv_func_powf_use=no
50145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50146 ac_ext=c
50147 ac_cpp='$CPP $CPPFLAGS'
50148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50157 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50159 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50160 for ac_func in powf
50161 do :
50162 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50163 if test "x$ac_cv_func_powf" = x""yes; then :
50164 cat >>confdefs.h <<_ACEOF
50165 #define HAVE_POWF 1
50166 _ACEOF
50169 done
50171 else
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50174 $as_echo_n "checking for _powf declaration... " >&6; }
50175 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50176 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50177 $as_echo_n "(cached) " >&6
50178 else
50181 ac_ext=cpp
50182 ac_cpp='$CXXCPP $CPPFLAGS'
50183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50188 /* end confdefs.h. */
50189 #include <math.h>
50191 main ()
50193 _powf(0, 0);
50195 return 0;
50197 _ACEOF
50198 if ac_fn_cxx_try_compile "$LINENO"; then :
50199 glibcxx_cv_func__powf_use=yes
50200 else
50201 glibcxx_cv_func__powf_use=no
50203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50204 ac_ext=c
50205 ac_cpp='$CPP $CPPFLAGS'
50206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50215 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50217 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50218 for ac_func in _powf
50219 do :
50220 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50221 if test "x$ac_cv_func__powf" = x""yes; then :
50222 cat >>confdefs.h <<_ACEOF
50223 #define HAVE__POWF 1
50224 _ACEOF
50227 done
50236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50237 $as_echo_n "checking for sqrtf declaration... " >&6; }
50238 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50239 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50240 $as_echo_n "(cached) " >&6
50241 else
50244 ac_ext=cpp
50245 ac_cpp='$CXXCPP $CPPFLAGS'
50246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50251 /* end confdefs.h. */
50252 #include <math.h>
50253 #ifdef HAVE_IEEEFP_H
50254 #include <ieeefp.h>
50255 #endif
50258 main ()
50260 sqrtf(0);
50262 return 0;
50264 _ACEOF
50265 if ac_fn_cxx_try_compile "$LINENO"; then :
50266 glibcxx_cv_func_sqrtf_use=yes
50267 else
50268 glibcxx_cv_func_sqrtf_use=no
50270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50271 ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50282 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50284 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50285 for ac_func in sqrtf
50286 do :
50287 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50288 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50289 cat >>confdefs.h <<_ACEOF
50290 #define HAVE_SQRTF 1
50291 _ACEOF
50294 done
50296 else
50298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50299 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50300 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50301 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50302 $as_echo_n "(cached) " >&6
50303 else
50306 ac_ext=cpp
50307 ac_cpp='$CXXCPP $CPPFLAGS'
50308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50313 /* end confdefs.h. */
50314 #include <math.h>
50315 #ifdef HAVE_IEEEFP_H
50316 #include <ieeefp.h>
50317 #endif
50320 main ()
50322 _sqrtf(0);
50324 return 0;
50326 _ACEOF
50327 if ac_fn_cxx_try_compile "$LINENO"; then :
50328 glibcxx_cv_func__sqrtf_use=yes
50329 else
50330 glibcxx_cv_func__sqrtf_use=no
50332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50333 ac_ext=c
50334 ac_cpp='$CPP $CPPFLAGS'
50335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50344 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50346 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50347 for ac_func in _sqrtf
50348 do :
50349 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50350 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50351 cat >>confdefs.h <<_ACEOF
50352 #define HAVE__SQRTF 1
50353 _ACEOF
50356 done
50365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50366 $as_echo_n "checking for sincosf declaration... " >&6; }
50367 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50368 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50369 $as_echo_n "(cached) " >&6
50370 else
50373 ac_ext=cpp
50374 ac_cpp='$CXXCPP $CPPFLAGS'
50375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50380 /* end confdefs.h. */
50381 #include <math.h>
50383 main ()
50385 sincosf(0, 0, 0);
50387 return 0;
50389 _ACEOF
50390 if ac_fn_cxx_try_compile "$LINENO"; then :
50391 glibcxx_cv_func_sincosf_use=yes
50392 else
50393 glibcxx_cv_func_sincosf_use=no
50395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50396 ac_ext=c
50397 ac_cpp='$CPP $CPPFLAGS'
50398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50407 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50409 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50410 for ac_func in sincosf
50411 do :
50412 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50413 if test "x$ac_cv_func_sincosf" = x""yes; then :
50414 cat >>confdefs.h <<_ACEOF
50415 #define HAVE_SINCOSF 1
50416 _ACEOF
50419 done
50421 else
50423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50424 $as_echo_n "checking for _sincosf declaration... " >&6; }
50425 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50426 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
50445 return 0;
50447 _ACEOF
50448 if ac_fn_cxx_try_compile "$LINENO"; then :
50449 glibcxx_cv_func__sincosf_use=yes
50450 else
50451 glibcxx_cv_func__sincosf_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
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50465 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50467 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50468 for ac_func in _sincosf
50469 do :
50470 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50471 if test "x$ac_cv_func__sincosf" = x""yes; then :
50472 cat >>confdefs.h <<_ACEOF
50473 #define HAVE__SINCOSF 1
50474 _ACEOF
50477 done
50486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50487 $as_echo_n "checking for finitef declaration... " >&6; }
50488 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50489 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50490 $as_echo_n "(cached) " >&6
50491 else
50494 ac_ext=cpp
50495 ac_cpp='$CXXCPP $CPPFLAGS'
50496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50501 /* end confdefs.h. */
50502 #include <math.h>
50503 #ifdef HAVE_IEEEFP_H
50504 #include <ieeefp.h>
50505 #endif
50508 main ()
50510 finitef(0);
50512 return 0;
50514 _ACEOF
50515 if ac_fn_cxx_try_compile "$LINENO"; then :
50516 glibcxx_cv_func_finitef_use=yes
50517 else
50518 glibcxx_cv_func_finitef_use=no
50520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50521 ac_ext=c
50522 ac_cpp='$CPP $CPPFLAGS'
50523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50532 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50534 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50535 for ac_func in finitef
50536 do :
50537 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50538 if test "x$ac_cv_func_finitef" = x""yes; then :
50539 cat >>confdefs.h <<_ACEOF
50540 #define HAVE_FINITEF 1
50541 _ACEOF
50544 done
50546 else
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50549 $as_echo_n "checking for _finitef declaration... " >&6; }
50550 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50551 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50552 $as_echo_n "(cached) " >&6
50553 else
50556 ac_ext=cpp
50557 ac_cpp='$CXXCPP $CPPFLAGS'
50558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50563 /* end confdefs.h. */
50564 #include <math.h>
50565 #ifdef HAVE_IEEEFP_H
50566 #include <ieeefp.h>
50567 #endif
50570 main ()
50572 _finitef(0);
50574 return 0;
50576 _ACEOF
50577 if ac_fn_cxx_try_compile "$LINENO"; then :
50578 glibcxx_cv_func__finitef_use=yes
50579 else
50580 glibcxx_cv_func__finitef_use=no
50582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50583 ac_ext=c
50584 ac_cpp='$CPP $CPPFLAGS'
50585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50594 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50596 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50597 for ac_func in _finitef
50598 do :
50599 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50600 if test "x$ac_cv_func__finitef" = x""yes; then :
50601 cat >>confdefs.h <<_ACEOF
50602 #define HAVE__FINITEF 1
50603 _ACEOF
50606 done
50615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50616 $as_echo_n "checking for long double trig functions... " >&6; }
50617 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50618 $as_echo_n "(cached) " >&6
50619 else
50622 ac_ext=cpp
50623 ac_cpp='$CXXCPP $CPPFLAGS'
50624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50629 /* end confdefs.h. */
50630 #include <math.h>
50632 main ()
50634 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50636 return 0;
50638 _ACEOF
50639 if ac_fn_cxx_try_compile "$LINENO"; then :
50640 glibcxx_cv_func_long_double_trig_use=yes
50641 else
50642 glibcxx_cv_func_long_double_trig_use=no
50644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50645 ac_ext=c
50646 ac_cpp='$CPP $CPPFLAGS'
50647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50654 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50655 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50656 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50657 do :
50658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50660 eval as_val=\$$as_ac_var
50661 if test "x$as_val" = x""yes; then :
50662 cat >>confdefs.h <<_ACEOF
50663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50664 _ACEOF
50667 done
50669 else
50670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50671 $as_echo_n "checking for _long double trig functions... " >&6; }
50672 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50673 $as_echo_n "(cached) " >&6
50674 else
50677 ac_ext=cpp
50678 ac_cpp='$CXXCPP $CPPFLAGS'
50679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50684 /* end confdefs.h. */
50685 #include <math.h>
50687 main ()
50689 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50691 return 0;
50693 _ACEOF
50694 if ac_fn_cxx_try_compile "$LINENO"; then :
50695 glibcxx_cv_func__long_double_trig_use=yes
50696 else
50697 glibcxx_cv_func__long_double_trig_use=no
50699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50700 ac_ext=c
50701 ac_cpp='$CPP $CPPFLAGS'
50702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50709 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50710 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50711 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50712 do :
50713 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50715 eval as_val=\$$as_ac_var
50716 if test "x$as_val" = x""yes; then :
50717 cat >>confdefs.h <<_ACEOF
50718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50719 _ACEOF
50722 done
50731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50732 $as_echo_n "checking for long double round functions... " >&6; }
50733 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50734 $as_echo_n "(cached) " >&6
50735 else
50738 ac_ext=cpp
50739 ac_cpp='$CXXCPP $CPPFLAGS'
50740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50745 /* end confdefs.h. */
50746 #include <math.h>
50748 main ()
50750 ceill (0); floorl (0);
50752 return 0;
50754 _ACEOF
50755 if ac_fn_cxx_try_compile "$LINENO"; then :
50756 glibcxx_cv_func_long_double_round_use=yes
50757 else
50758 glibcxx_cv_func_long_double_round_use=no
50760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50761 ac_ext=c
50762 ac_cpp='$CPP $CPPFLAGS'
50763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50770 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50771 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50772 for ac_func in ceill floorl
50773 do :
50774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50776 eval as_val=\$$as_ac_var
50777 if test "x$as_val" = x""yes; then :
50778 cat >>confdefs.h <<_ACEOF
50779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50780 _ACEOF
50783 done
50785 else
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50787 $as_echo_n "checking for _long double round functions... " >&6; }
50788 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50789 $as_echo_n "(cached) " >&6
50790 else
50793 ac_ext=cpp
50794 ac_cpp='$CXXCPP $CPPFLAGS'
50795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50800 /* end confdefs.h. */
50801 #include <math.h>
50803 main ()
50805 _ceill (0); _floorl (0);
50807 return 0;
50809 _ACEOF
50810 if ac_fn_cxx_try_compile "$LINENO"; then :
50811 glibcxx_cv_func__long_double_round_use=yes
50812 else
50813 glibcxx_cv_func__long_double_round_use=no
50815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50816 ac_ext=c
50817 ac_cpp='$CPP $CPPFLAGS'
50818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50825 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50826 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50827 for ac_func in _ceill _floorl
50828 do :
50829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50831 eval as_val=\$$as_ac_var
50832 if test "x$as_val" = x""yes; then :
50833 cat >>confdefs.h <<_ACEOF
50834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50835 _ACEOF
50838 done
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50849 $as_echo_n "checking for isnanl declaration... " >&6; }
50850 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50851 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
50874 return 0;
50876 _ACEOF
50877 if ac_fn_cxx_try_compile "$LINENO"; then :
50878 glibcxx_cv_func_isnanl_use=yes
50879 else
50880 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
50894 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50896 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50897 for ac_func in isnanl
50898 do :
50899 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50900 if test "x$ac_cv_func_isnanl" = x""yes; then :
50901 cat >>confdefs.h <<_ACEOF
50902 #define HAVE_ISNANL 1
50903 _ACEOF
50906 done
50908 else
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50911 $as_echo_n "checking for _isnanl declaration... " >&6; }
50912 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50913 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50914 $as_echo_n "(cached) " >&6
50915 else
50918 ac_ext=cpp
50919 ac_cpp='$CXXCPP $CPPFLAGS'
50920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h. */
50926 #include <math.h>
50927 #ifdef HAVE_IEEEFP_H
50928 #include <ieeefp.h>
50929 #endif
50932 main ()
50934 _isnanl(0);
50936 return 0;
50938 _ACEOF
50939 if ac_fn_cxx_try_compile "$LINENO"; then :
50940 glibcxx_cv_func__isnanl_use=yes
50941 else
50942 glibcxx_cv_func__isnanl_use=no
50944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50945 ac_ext=c
50946 ac_cpp='$CPP $CPPFLAGS'
50947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50956 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50958 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50959 for ac_func in _isnanl
50960 do :
50961 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50962 if test "x$ac_cv_func__isnanl" = x""yes; then :
50963 cat >>confdefs.h <<_ACEOF
50964 #define HAVE__ISNANL 1
50965 _ACEOF
50968 done
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50978 $as_echo_n "checking for isinfl declaration... " >&6; }
50979 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50980 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50981 $as_echo_n "(cached) " >&6
50982 else
50985 ac_ext=cpp
50986 ac_cpp='$CXXCPP $CPPFLAGS'
50987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50992 /* end confdefs.h. */
50993 #include <math.h>
50994 #ifdef HAVE_IEEEFP_H
50995 #include <ieeefp.h>
50996 #endif
50999 main ()
51001 isinfl(0);
51003 return 0;
51005 _ACEOF
51006 if ac_fn_cxx_try_compile "$LINENO"; then :
51007 glibcxx_cv_func_isinfl_use=yes
51008 else
51009 glibcxx_cv_func_isinfl_use=no
51011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51012 ac_ext=c
51013 ac_cpp='$CPP $CPPFLAGS'
51014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51023 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51025 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51026 for ac_func in isinfl
51027 do :
51028 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51029 if test "x$ac_cv_func_isinfl" = x""yes; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define HAVE_ISINFL 1
51032 _ACEOF
51035 done
51037 else
51039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51040 $as_echo_n "checking for _isinfl declaration... " >&6; }
51041 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51042 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51043 $as_echo_n "(cached) " >&6
51044 else
51047 ac_ext=cpp
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51054 /* end confdefs.h. */
51055 #include <math.h>
51056 #ifdef HAVE_IEEEFP_H
51057 #include <ieeefp.h>
51058 #endif
51061 main ()
51063 _isinfl(0);
51065 return 0;
51067 _ACEOF
51068 if ac_fn_cxx_try_compile "$LINENO"; then :
51069 glibcxx_cv_func__isinfl_use=yes
51070 else
51071 glibcxx_cv_func__isinfl_use=no
51073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51074 ac_ext=c
51075 ac_cpp='$CPP $CPPFLAGS'
51076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51085 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51087 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51088 for ac_func in _isinfl
51089 do :
51090 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51091 if test "x$ac_cv_func__isinfl" = x""yes; then :
51092 cat >>confdefs.h <<_ACEOF
51093 #define HAVE__ISINFL 1
51094 _ACEOF
51097 done
51106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51107 $as_echo_n "checking for atan2l declaration... " >&6; }
51108 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51109 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51110 $as_echo_n "(cached) " >&6
51111 else
51114 ac_ext=cpp
51115 ac_cpp='$CXXCPP $CPPFLAGS'
51116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51121 /* end confdefs.h. */
51122 #include <math.h>
51124 main ()
51126 atan2l(0, 0);
51128 return 0;
51130 _ACEOF
51131 if ac_fn_cxx_try_compile "$LINENO"; then :
51132 glibcxx_cv_func_atan2l_use=yes
51133 else
51134 glibcxx_cv_func_atan2l_use=no
51136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51137 ac_ext=c
51138 ac_cpp='$CPP $CPPFLAGS'
51139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51148 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51150 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51151 for ac_func in atan2l
51152 do :
51153 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51154 if test "x$ac_cv_func_atan2l" = x""yes; then :
51155 cat >>confdefs.h <<_ACEOF
51156 #define HAVE_ATAN2L 1
51157 _ACEOF
51160 done
51162 else
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51165 $as_echo_n "checking for _atan2l declaration... " >&6; }
51166 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51167 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51168 $as_echo_n "(cached) " >&6
51169 else
51172 ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h. */
51180 #include <math.h>
51182 main ()
51184 _atan2l(0, 0);
51186 return 0;
51188 _ACEOF
51189 if ac_fn_cxx_try_compile "$LINENO"; then :
51190 glibcxx_cv_func__atan2l_use=yes
51191 else
51192 glibcxx_cv_func__atan2l_use=no
51194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51195 ac_ext=c
51196 ac_cpp='$CPP $CPPFLAGS'
51197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51206 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51208 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51209 for ac_func in _atan2l
51210 do :
51211 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51212 if test "x$ac_cv_func__atan2l" = x""yes; then :
51213 cat >>confdefs.h <<_ACEOF
51214 #define HAVE__ATAN2L 1
51215 _ACEOF
51218 done
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51228 $as_echo_n "checking for expl declaration... " >&6; }
51229 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51230 if test "${glibcxx_cv_func_expl_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 expl(0);
51253 return 0;
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func_expl_use=yes
51258 else
51259 glibcxx_cv_func_expl_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_expl_use" >&5
51273 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51275 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51276 for ac_func in expl
51277 do :
51278 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51279 if test "x$ac_cv_func_expl" = x""yes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE_EXPL 1
51282 _ACEOF
51285 done
51287 else
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51290 $as_echo_n "checking for _expl declaration... " >&6; }
51291 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51292 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51293 $as_echo_n "(cached) " >&6
51294 else
51297 ac_ext=cpp
51298 ac_cpp='$CXXCPP $CPPFLAGS'
51299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51304 /* end confdefs.h. */
51305 #include <math.h>
51306 #ifdef HAVE_IEEEFP_H
51307 #include <ieeefp.h>
51308 #endif
51311 main ()
51313 _expl(0);
51315 return 0;
51317 _ACEOF
51318 if ac_fn_cxx_try_compile "$LINENO"; then :
51319 glibcxx_cv_func__expl_use=yes
51320 else
51321 glibcxx_cv_func__expl_use=no
51323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51324 ac_ext=c
51325 ac_cpp='$CPP $CPPFLAGS'
51326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51335 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51337 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51338 for ac_func in _expl
51339 do :
51340 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51341 if test "x$ac_cv_func__expl" = x""yes; then :
51342 cat >>confdefs.h <<_ACEOF
51343 #define HAVE__EXPL 1
51344 _ACEOF
51347 done
51356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51357 $as_echo_n "checking for fabsl declaration... " >&6; }
51358 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51359 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51360 $as_echo_n "(cached) " >&6
51361 else
51364 ac_ext=cpp
51365 ac_cpp='$CXXCPP $CPPFLAGS'
51366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51371 /* end confdefs.h. */
51372 #include <math.h>
51373 #ifdef HAVE_IEEEFP_H
51374 #include <ieeefp.h>
51375 #endif
51378 main ()
51380 fabsl(0);
51382 return 0;
51384 _ACEOF
51385 if ac_fn_cxx_try_compile "$LINENO"; then :
51386 glibcxx_cv_func_fabsl_use=yes
51387 else
51388 glibcxx_cv_func_fabsl_use=no
51390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51391 ac_ext=c
51392 ac_cpp='$CPP $CPPFLAGS'
51393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51402 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51404 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51405 for ac_func in fabsl
51406 do :
51407 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51408 if test "x$ac_cv_func_fabsl" = x""yes; then :
51409 cat >>confdefs.h <<_ACEOF
51410 #define HAVE_FABSL 1
51411 _ACEOF
51414 done
51416 else
51418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51419 $as_echo_n "checking for _fabsl declaration... " >&6; }
51420 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51421 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51422 $as_echo_n "(cached) " >&6
51423 else
51426 ac_ext=cpp
51427 ac_cpp='$CXXCPP $CPPFLAGS'
51428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51433 /* end confdefs.h. */
51434 #include <math.h>
51435 #ifdef HAVE_IEEEFP_H
51436 #include <ieeefp.h>
51437 #endif
51440 main ()
51442 _fabsl(0);
51444 return 0;
51446 _ACEOF
51447 if ac_fn_cxx_try_compile "$LINENO"; then :
51448 glibcxx_cv_func__fabsl_use=yes
51449 else
51450 glibcxx_cv_func__fabsl_use=no
51452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51464 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51466 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51467 for ac_func in _fabsl
51468 do :
51469 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51470 if test "x$ac_cv_func__fabsl" = x""yes; then :
51471 cat >>confdefs.h <<_ACEOF
51472 #define HAVE__FABSL 1
51473 _ACEOF
51476 done
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51486 $as_echo_n "checking for fmodl declaration... " >&6; }
51487 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51488 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51489 $as_echo_n "(cached) " >&6
51490 else
51493 ac_ext=cpp
51494 ac_cpp='$CXXCPP $CPPFLAGS'
51495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51500 /* end confdefs.h. */
51501 #include <math.h>
51503 main ()
51505 fmodl(0, 0);
51507 return 0;
51509 _ACEOF
51510 if ac_fn_cxx_try_compile "$LINENO"; then :
51511 glibcxx_cv_func_fmodl_use=yes
51512 else
51513 glibcxx_cv_func_fmodl_use=no
51515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51516 ac_ext=c
51517 ac_cpp='$CPP $CPPFLAGS'
51518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51527 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51529 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51530 for ac_func in fmodl
51531 do :
51532 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51533 if test "x$ac_cv_func_fmodl" = x""yes; then :
51534 cat >>confdefs.h <<_ACEOF
51535 #define HAVE_FMODL 1
51536 _ACEOF
51539 done
51541 else
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51544 $as_echo_n "checking for _fmodl declaration... " >&6; }
51545 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51546 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51547 $as_echo_n "(cached) " >&6
51548 else
51551 ac_ext=cpp
51552 ac_cpp='$CXXCPP $CPPFLAGS'
51553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51558 /* end confdefs.h. */
51559 #include <math.h>
51561 main ()
51563 _fmodl(0, 0);
51565 return 0;
51567 _ACEOF
51568 if ac_fn_cxx_try_compile "$LINENO"; then :
51569 glibcxx_cv_func__fmodl_use=yes
51570 else
51571 glibcxx_cv_func__fmodl_use=no
51573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51574 ac_ext=c
51575 ac_cpp='$CPP $CPPFLAGS'
51576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51585 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51587 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51588 for ac_func in _fmodl
51589 do :
51590 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51591 if test "x$ac_cv_func__fmodl" = x""yes; then :
51592 cat >>confdefs.h <<_ACEOF
51593 #define HAVE__FMODL 1
51594 _ACEOF
51597 done
51606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51607 $as_echo_n "checking for frexpl declaration... " >&6; }
51608 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51609 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51610 $as_echo_n "(cached) " >&6
51611 else
51614 ac_ext=cpp
51615 ac_cpp='$CXXCPP $CPPFLAGS'
51616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51621 /* end confdefs.h. */
51622 #include <math.h>
51624 main ()
51626 frexpl(0, 0);
51628 return 0;
51630 _ACEOF
51631 if ac_fn_cxx_try_compile "$LINENO"; then :
51632 glibcxx_cv_func_frexpl_use=yes
51633 else
51634 glibcxx_cv_func_frexpl_use=no
51636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51637 ac_ext=c
51638 ac_cpp='$CPP $CPPFLAGS'
51639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51648 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51650 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51651 for ac_func in frexpl
51652 do :
51653 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51654 if test "x$ac_cv_func_frexpl" = x""yes; then :
51655 cat >>confdefs.h <<_ACEOF
51656 #define HAVE_FREXPL 1
51657 _ACEOF
51660 done
51662 else
51664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51665 $as_echo_n "checking for _frexpl declaration... " >&6; }
51666 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51667 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51668 $as_echo_n "(cached) " >&6
51669 else
51672 ac_ext=cpp
51673 ac_cpp='$CXXCPP $CPPFLAGS'
51674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51679 /* end confdefs.h. */
51680 #include <math.h>
51682 main ()
51684 _frexpl(0, 0);
51686 return 0;
51688 _ACEOF
51689 if ac_fn_cxx_try_compile "$LINENO"; then :
51690 glibcxx_cv_func__frexpl_use=yes
51691 else
51692 glibcxx_cv_func__frexpl_use=no
51694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51695 ac_ext=c
51696 ac_cpp='$CPP $CPPFLAGS'
51697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51706 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51708 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51709 for ac_func in _frexpl
51710 do :
51711 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51712 if test "x$ac_cv_func__frexpl" = x""yes; then :
51713 cat >>confdefs.h <<_ACEOF
51714 #define HAVE__FREXPL 1
51715 _ACEOF
51718 done
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51728 $as_echo_n "checking for hypotl declaration... " >&6; }
51729 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51730 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51731 $as_echo_n "(cached) " >&6
51732 else
51735 ac_ext=cpp
51736 ac_cpp='$CXXCPP $CPPFLAGS'
51737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51742 /* end confdefs.h. */
51743 #include <math.h>
51745 main ()
51747 hypotl(0, 0);
51749 return 0;
51751 _ACEOF
51752 if ac_fn_cxx_try_compile "$LINENO"; then :
51753 glibcxx_cv_func_hypotl_use=yes
51754 else
51755 glibcxx_cv_func_hypotl_use=no
51757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51758 ac_ext=c
51759 ac_cpp='$CPP $CPPFLAGS'
51760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51769 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51771 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51772 for ac_func in hypotl
51773 do :
51774 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51775 if test "x$ac_cv_func_hypotl" = x""yes; then :
51776 cat >>confdefs.h <<_ACEOF
51777 #define HAVE_HYPOTL 1
51778 _ACEOF
51781 done
51783 else
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51786 $as_echo_n "checking for _hypotl declaration... " >&6; }
51787 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51788 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51789 $as_echo_n "(cached) " >&6
51790 else
51793 ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h. */
51801 #include <math.h>
51803 main ()
51805 _hypotl(0, 0);
51807 return 0;
51809 _ACEOF
51810 if ac_fn_cxx_try_compile "$LINENO"; then :
51811 glibcxx_cv_func__hypotl_use=yes
51812 else
51813 glibcxx_cv_func__hypotl_use=no
51815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51816 ac_ext=c
51817 ac_cpp='$CPP $CPPFLAGS'
51818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51827 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51829 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51830 for ac_func in _hypotl
51831 do :
51832 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51833 if test "x$ac_cv_func__hypotl" = x""yes; then :
51834 cat >>confdefs.h <<_ACEOF
51835 #define HAVE__HYPOTL 1
51836 _ACEOF
51839 done
51848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51849 $as_echo_n "checking for ldexpl declaration... " >&6; }
51850 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51851 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51852 $as_echo_n "(cached) " >&6
51853 else
51856 ac_ext=cpp
51857 ac_cpp='$CXXCPP $CPPFLAGS'
51858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51863 /* end confdefs.h. */
51864 #include <math.h>
51866 main ()
51868 ldexpl(0, 0);
51870 return 0;
51872 _ACEOF
51873 if ac_fn_cxx_try_compile "$LINENO"; then :
51874 glibcxx_cv_func_ldexpl_use=yes
51875 else
51876 glibcxx_cv_func_ldexpl_use=no
51878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51879 ac_ext=c
51880 ac_cpp='$CPP $CPPFLAGS'
51881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51890 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51892 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51893 for ac_func in ldexpl
51894 do :
51895 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51896 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51897 cat >>confdefs.h <<_ACEOF
51898 #define HAVE_LDEXPL 1
51899 _ACEOF
51902 done
51904 else
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51907 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51908 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51909 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51910 $as_echo_n "(cached) " >&6
51911 else
51914 ac_ext=cpp
51915 ac_cpp='$CXXCPP $CPPFLAGS'
51916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51921 /* end confdefs.h. */
51922 #include <math.h>
51924 main ()
51926 _ldexpl(0, 0);
51928 return 0;
51930 _ACEOF
51931 if ac_fn_cxx_try_compile "$LINENO"; then :
51932 glibcxx_cv_func__ldexpl_use=yes
51933 else
51934 glibcxx_cv_func__ldexpl_use=no
51936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51937 ac_ext=c
51938 ac_cpp='$CPP $CPPFLAGS'
51939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51948 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51950 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51951 for ac_func in _ldexpl
51952 do :
51953 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51954 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51955 cat >>confdefs.h <<_ACEOF
51956 #define HAVE__LDEXPL 1
51957 _ACEOF
51960 done
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51970 $as_echo_n "checking for logl declaration... " >&6; }
51971 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51972 if test "${glibcxx_cv_func_logl_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 logl(0);
51995 return 0;
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func_logl_use=yes
52000 else
52001 glibcxx_cv_func_logl_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_logl_use" >&5
52015 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52017 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52018 for ac_func in logl
52019 do :
52020 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52021 if test "x$ac_cv_func_logl" = x""yes; then :
52022 cat >>confdefs.h <<_ACEOF
52023 #define HAVE_LOGL 1
52024 _ACEOF
52027 done
52029 else
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52032 $as_echo_n "checking for _logl declaration... " >&6; }
52033 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52034 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52035 $as_echo_n "(cached) " >&6
52036 else
52039 ac_ext=cpp
52040 ac_cpp='$CXXCPP $CPPFLAGS'
52041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52046 /* end confdefs.h. */
52047 #include <math.h>
52048 #ifdef HAVE_IEEEFP_H
52049 #include <ieeefp.h>
52050 #endif
52053 main ()
52055 _logl(0);
52057 return 0;
52059 _ACEOF
52060 if ac_fn_cxx_try_compile "$LINENO"; then :
52061 glibcxx_cv_func__logl_use=yes
52062 else
52063 glibcxx_cv_func__logl_use=no
52065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52066 ac_ext=c
52067 ac_cpp='$CPP $CPPFLAGS'
52068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52077 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52079 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52080 for ac_func in _logl
52081 do :
52082 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52083 if test "x$ac_cv_func__logl" = x""yes; then :
52084 cat >>confdefs.h <<_ACEOF
52085 #define HAVE__LOGL 1
52086 _ACEOF
52089 done
52098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52099 $as_echo_n "checking for log10l declaration... " >&6; }
52100 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52101 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52102 $as_echo_n "(cached) " >&6
52103 else
52106 ac_ext=cpp
52107 ac_cpp='$CXXCPP $CPPFLAGS'
52108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52113 /* end confdefs.h. */
52114 #include <math.h>
52115 #ifdef HAVE_IEEEFP_H
52116 #include <ieeefp.h>
52117 #endif
52120 main ()
52122 log10l(0);
52124 return 0;
52126 _ACEOF
52127 if ac_fn_cxx_try_compile "$LINENO"; then :
52128 glibcxx_cv_func_log10l_use=yes
52129 else
52130 glibcxx_cv_func_log10l_use=no
52132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52133 ac_ext=c
52134 ac_cpp='$CPP $CPPFLAGS'
52135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52144 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52146 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52147 for ac_func in log10l
52148 do :
52149 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52150 if test "x$ac_cv_func_log10l" = x""yes; then :
52151 cat >>confdefs.h <<_ACEOF
52152 #define HAVE_LOG10L 1
52153 _ACEOF
52156 done
52158 else
52160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52161 $as_echo_n "checking for _log10l declaration... " >&6; }
52162 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52163 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52164 $as_echo_n "(cached) " >&6
52165 else
52168 ac_ext=cpp
52169 ac_cpp='$CXXCPP $CPPFLAGS'
52170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52175 /* end confdefs.h. */
52176 #include <math.h>
52177 #ifdef HAVE_IEEEFP_H
52178 #include <ieeefp.h>
52179 #endif
52182 main ()
52184 _log10l(0);
52186 return 0;
52188 _ACEOF
52189 if ac_fn_cxx_try_compile "$LINENO"; then :
52190 glibcxx_cv_func__log10l_use=yes
52191 else
52192 glibcxx_cv_func__log10l_use=no
52194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52195 ac_ext=c
52196 ac_cpp='$CPP $CPPFLAGS'
52197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52206 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52208 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52209 for ac_func in _log10l
52210 do :
52211 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52212 if test "x$ac_cv_func__log10l" = x""yes; then :
52213 cat >>confdefs.h <<_ACEOF
52214 #define HAVE__LOG10L 1
52215 _ACEOF
52218 done
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52228 $as_echo_n "checking for modfl declaration... " >&6; }
52229 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52230 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52231 $as_echo_n "(cached) " >&6
52232 else
52235 ac_ext=cpp
52236 ac_cpp='$CXXCPP $CPPFLAGS'
52237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52242 /* end confdefs.h. */
52243 #include <math.h>
52245 main ()
52247 modfl(0, 0);
52249 return 0;
52251 _ACEOF
52252 if ac_fn_cxx_try_compile "$LINENO"; then :
52253 glibcxx_cv_func_modfl_use=yes
52254 else
52255 glibcxx_cv_func_modfl_use=no
52257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52258 ac_ext=c
52259 ac_cpp='$CPP $CPPFLAGS'
52260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52269 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52271 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52272 for ac_func in modfl
52273 do :
52274 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52275 if test "x$ac_cv_func_modfl" = x""yes; then :
52276 cat >>confdefs.h <<_ACEOF
52277 #define HAVE_MODFL 1
52278 _ACEOF
52281 done
52283 else
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52286 $as_echo_n "checking for _modfl declaration... " >&6; }
52287 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52288 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52289 $as_echo_n "(cached) " >&6
52290 else
52293 ac_ext=cpp
52294 ac_cpp='$CXXCPP $CPPFLAGS'
52295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52300 /* end confdefs.h. */
52301 #include <math.h>
52303 main ()
52305 _modfl(0, 0);
52307 return 0;
52309 _ACEOF
52310 if ac_fn_cxx_try_compile "$LINENO"; then :
52311 glibcxx_cv_func__modfl_use=yes
52312 else
52313 glibcxx_cv_func__modfl_use=no
52315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52316 ac_ext=c
52317 ac_cpp='$CPP $CPPFLAGS'
52318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52327 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52329 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52330 for ac_func in _modfl
52331 do :
52332 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52333 if test "x$ac_cv_func__modfl" = x""yes; then :
52334 cat >>confdefs.h <<_ACEOF
52335 #define HAVE__MODFL 1
52336 _ACEOF
52339 done
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52349 $as_echo_n "checking for powl declaration... " >&6; }
52350 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52351 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52352 $as_echo_n "(cached) " >&6
52353 else
52356 ac_ext=cpp
52357 ac_cpp='$CXXCPP $CPPFLAGS'
52358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52364 #include <math.h>
52366 main ()
52368 powl(0, 0);
52370 return 0;
52372 _ACEOF
52373 if ac_fn_cxx_try_compile "$LINENO"; then :
52374 glibcxx_cv_func_powl_use=yes
52375 else
52376 glibcxx_cv_func_powl_use=no
52378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52379 ac_ext=c
52380 ac_cpp='$CPP $CPPFLAGS'
52381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52390 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52392 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52393 for ac_func in powl
52394 do :
52395 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52396 if test "x$ac_cv_func_powl" = x""yes; then :
52397 cat >>confdefs.h <<_ACEOF
52398 #define HAVE_POWL 1
52399 _ACEOF
52402 done
52404 else
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52407 $as_echo_n "checking for _powl declaration... " >&6; }
52408 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52409 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52410 $as_echo_n "(cached) " >&6
52411 else
52414 ac_ext=cpp
52415 ac_cpp='$CXXCPP $CPPFLAGS'
52416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52421 /* end confdefs.h. */
52422 #include <math.h>
52424 main ()
52426 _powl(0, 0);
52428 return 0;
52430 _ACEOF
52431 if ac_fn_cxx_try_compile "$LINENO"; then :
52432 glibcxx_cv_func__powl_use=yes
52433 else
52434 glibcxx_cv_func__powl_use=no
52436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52437 ac_ext=c
52438 ac_cpp='$CPP $CPPFLAGS'
52439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52448 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52450 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52451 for ac_func in _powl
52452 do :
52453 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52454 if test "x$ac_cv_func__powl" = x""yes; then :
52455 cat >>confdefs.h <<_ACEOF
52456 #define HAVE__POWL 1
52457 _ACEOF
52460 done
52469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52470 $as_echo_n "checking for sqrtl declaration... " >&6; }
52471 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52472 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52473 $as_echo_n "(cached) " >&6
52474 else
52477 ac_ext=cpp
52478 ac_cpp='$CXXCPP $CPPFLAGS'
52479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52484 /* end confdefs.h. */
52485 #include <math.h>
52486 #ifdef HAVE_IEEEFP_H
52487 #include <ieeefp.h>
52488 #endif
52491 main ()
52493 sqrtl(0);
52495 return 0;
52497 _ACEOF
52498 if ac_fn_cxx_try_compile "$LINENO"; then :
52499 glibcxx_cv_func_sqrtl_use=yes
52500 else
52501 glibcxx_cv_func_sqrtl_use=no
52503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52504 ac_ext=c
52505 ac_cpp='$CPP $CPPFLAGS'
52506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52515 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52517 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52518 for ac_func in sqrtl
52519 do :
52520 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52521 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52522 cat >>confdefs.h <<_ACEOF
52523 #define HAVE_SQRTL 1
52524 _ACEOF
52527 done
52529 else
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52532 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52533 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52534 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52535 $as_echo_n "(cached) " >&6
52536 else
52539 ac_ext=cpp
52540 ac_cpp='$CXXCPP $CPPFLAGS'
52541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52546 /* end confdefs.h. */
52547 #include <math.h>
52548 #ifdef HAVE_IEEEFP_H
52549 #include <ieeefp.h>
52550 #endif
52553 main ()
52555 _sqrtl(0);
52557 return 0;
52559 _ACEOF
52560 if ac_fn_cxx_try_compile "$LINENO"; then :
52561 glibcxx_cv_func__sqrtl_use=yes
52562 else
52563 glibcxx_cv_func__sqrtl_use=no
52565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52566 ac_ext=c
52567 ac_cpp='$CPP $CPPFLAGS'
52568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52577 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52579 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52580 for ac_func in _sqrtl
52581 do :
52582 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52583 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52584 cat >>confdefs.h <<_ACEOF
52585 #define HAVE__SQRTL 1
52586 _ACEOF
52589 done
52598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52599 $as_echo_n "checking for sincosl declaration... " >&6; }
52600 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52601 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52602 $as_echo_n "(cached) " >&6
52603 else
52606 ac_ext=cpp
52607 ac_cpp='$CXXCPP $CPPFLAGS'
52608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52613 /* end confdefs.h. */
52614 #include <math.h>
52616 main ()
52618 sincosl(0, 0, 0);
52620 return 0;
52622 _ACEOF
52623 if ac_fn_cxx_try_compile "$LINENO"; then :
52624 glibcxx_cv_func_sincosl_use=yes
52625 else
52626 glibcxx_cv_func_sincosl_use=no
52628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52629 ac_ext=c
52630 ac_cpp='$CPP $CPPFLAGS'
52631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52640 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52642 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52643 for ac_func in sincosl
52644 do :
52645 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52646 if test "x$ac_cv_func_sincosl" = x""yes; then :
52647 cat >>confdefs.h <<_ACEOF
52648 #define HAVE_SINCOSL 1
52649 _ACEOF
52652 done
52654 else
52656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52657 $as_echo_n "checking for _sincosl declaration... " >&6; }
52658 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52659 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52660 $as_echo_n "(cached) " >&6
52661 else
52664 ac_ext=cpp
52665 ac_cpp='$CXXCPP $CPPFLAGS'
52666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52671 /* end confdefs.h. */
52672 #include <math.h>
52674 main ()
52676 _sincosl(0, 0, 0);
52678 return 0;
52680 _ACEOF
52681 if ac_fn_cxx_try_compile "$LINENO"; then :
52682 glibcxx_cv_func__sincosl_use=yes
52683 else
52684 glibcxx_cv_func__sincosl_use=no
52686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52687 ac_ext=c
52688 ac_cpp='$CPP $CPPFLAGS'
52689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52698 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52700 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52701 for ac_func in _sincosl
52702 do :
52703 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52704 if test "x$ac_cv_func__sincosl" = x""yes; then :
52705 cat >>confdefs.h <<_ACEOF
52706 #define HAVE__SINCOSL 1
52707 _ACEOF
52710 done
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52720 $as_echo_n "checking for finitel declaration... " >&6; }
52721 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52722 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52723 $as_echo_n "(cached) " >&6
52724 else
52727 ac_ext=cpp
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734 /* end confdefs.h. */
52735 #include <math.h>
52736 #ifdef HAVE_IEEEFP_H
52737 #include <ieeefp.h>
52738 #endif
52741 main ()
52743 finitel(0);
52745 return 0;
52747 _ACEOF
52748 if ac_fn_cxx_try_compile "$LINENO"; then :
52749 glibcxx_cv_func_finitel_use=yes
52750 else
52751 glibcxx_cv_func_finitel_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_finitel_use" >&5
52765 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52767 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52768 for ac_func in finitel
52769 do :
52770 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52771 if test "x$ac_cv_func_finitel" = x""yes; then :
52772 cat >>confdefs.h <<_ACEOF
52773 #define HAVE_FINITEL 1
52774 _ACEOF
52777 done
52779 else
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52782 $as_echo_n "checking for _finitel declaration... " >&6; }
52783 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52784 if test "${glibcxx_cv_func__finitel_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 <math.h>
52798 #ifdef HAVE_IEEEFP_H
52799 #include <ieeefp.h>
52800 #endif
52803 main ()
52805 _finitel(0);
52807 return 0;
52809 _ACEOF
52810 if ac_fn_cxx_try_compile "$LINENO"; then :
52811 glibcxx_cv_func__finitel_use=yes
52812 else
52813 glibcxx_cv_func__finitel_use=no
52815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52816 ac_ext=c
52817 ac_cpp='$CPP $CPPFLAGS'
52818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52827 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52829 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52830 for ac_func in _finitel
52831 do :
52832 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52833 if test "x$ac_cv_func__finitel" = x""yes; then :
52834 cat >>confdefs.h <<_ACEOF
52835 #define HAVE__FINITEL 1
52836 _ACEOF
52839 done
52847 LIBS="$ac_save_LIBS"
52848 CXXFLAGS="$ac_save_CXXFLAGS"
52851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52852 ac_save_CXXFLAGS="$CXXFLAGS"
52853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52857 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52858 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52859 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52860 $as_echo_n "(cached) " >&6
52861 else
52864 ac_ext=cpp
52865 ac_cpp='$CXXCPP $CPPFLAGS'
52866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52871 /* end confdefs.h. */
52872 #include <stdlib.h>
52874 main ()
52876 at_quick_exit(0);
52878 return 0;
52880 _ACEOF
52881 if ac_fn_cxx_try_compile "$LINENO"; then :
52882 glibcxx_cv_func_at_quick_exit_use=yes
52883 else
52884 glibcxx_cv_func_at_quick_exit_use=no
52886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52887 ac_ext=c
52888 ac_cpp='$CPP $CPPFLAGS'
52889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52898 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52899 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52900 for ac_func in at_quick_exit
52901 do :
52902 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52903 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52904 cat >>confdefs.h <<_ACEOF
52905 #define HAVE_AT_QUICK_EXIT 1
52906 _ACEOF
52909 done
52914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52915 $as_echo_n "checking for quick_exit declaration... " >&6; }
52916 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52917 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52918 $as_echo_n "(cached) " >&6
52919 else
52922 ac_ext=cpp
52923 ac_cpp='$CXXCPP $CPPFLAGS'
52924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52929 /* end confdefs.h. */
52930 #include <stdlib.h>
52932 main ()
52934 quick_exit(0);
52936 return 0;
52938 _ACEOF
52939 if ac_fn_cxx_try_compile "$LINENO"; then :
52940 glibcxx_cv_func_quick_exit_use=yes
52941 else
52942 glibcxx_cv_func_quick_exit_use=no
52944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52945 ac_ext=c
52946 ac_cpp='$CPP $CPPFLAGS'
52947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52956 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52957 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52958 for ac_func in quick_exit
52959 do :
52960 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52961 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE_QUICK_EXIT 1
52964 _ACEOF
52967 done
52972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52973 $as_echo_n "checking for strtold declaration... " >&6; }
52974 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52975 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52976 $as_echo_n "(cached) " >&6
52977 else
52980 ac_ext=cpp
52981 ac_cpp='$CXXCPP $CPPFLAGS'
52982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52987 /* end confdefs.h. */
52988 #include <stdlib.h>
52990 main ()
52992 strtold(0, 0);
52994 return 0;
52996 _ACEOF
52997 if ac_fn_cxx_try_compile "$LINENO"; then :
52998 glibcxx_cv_func_strtold_use=yes
52999 else
53000 glibcxx_cv_func_strtold_use=no
53002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53003 ac_ext=c
53004 ac_cpp='$CPP $CPPFLAGS'
53005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53014 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53015 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53016 for ac_func in strtold
53017 do :
53018 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53019 if test "x$ac_cv_func_strtold" = x""yes; then :
53020 cat >>confdefs.h <<_ACEOF
53021 #define HAVE_STRTOLD 1
53022 _ACEOF
53025 done
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53033 $as_echo_n "checking for strtof declaration... " >&6; }
53034 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53035 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53036 $as_echo_n "(cached) " >&6
53037 else
53040 ac_ext=cpp
53041 ac_cpp='$CXXCPP $CPPFLAGS'
53042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53047 /* end confdefs.h. */
53048 #include <stdlib.h>
53050 main ()
53052 strtof(0, 0);
53054 return 0;
53056 _ACEOF
53057 if ac_fn_cxx_try_compile "$LINENO"; then :
53058 glibcxx_cv_func_strtof_use=yes
53059 else
53060 glibcxx_cv_func_strtof_use=no
53062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53063 ac_ext=c
53064 ac_cpp='$CPP $CPPFLAGS'
53065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53074 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53075 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53076 for ac_func in strtof
53077 do :
53078 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53079 if test "x$ac_cv_func_strtof" = x""yes; then :
53080 cat >>confdefs.h <<_ACEOF
53081 #define HAVE_STRTOF 1
53082 _ACEOF
53085 done
53092 CXXFLAGS="$ac_save_CXXFLAGS"
53096 *djgpp)
53097 # GLIBCXX_CHECK_MATH_SUPPORT
53098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53100 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53102 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53104 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53106 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53110 *-freebsd*)
53111 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53114 # If we're not using GNU ld, then there's no point in even trying these
53115 # tests. Check for that first. We should have already tested for gld
53116 # by now (in libtool), but require it now just to be safe...
53117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53122 # The name set by libtool depends on the version of libtool. Shame on us
53123 # for depending on an impl detail, but c'est la vie. Older versions used
53124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53127 # set (hence we're using an older libtool), then set it.
53128 if test x${with_gnu_ld+set} != xset; then
53129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53131 with_gnu_ld=no
53132 else
53133 with_gnu_ld=$ac_cv_prog_gnu_ld
53137 # Start by getting the version number. I think the libtool test already
53138 # does some of this, but throws away the result.
53139 glibcxx_ld_is_gold=no
53140 if test x"$with_gnu_ld" = x"yes"; then
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53142 $as_echo_n "checking for ld version... " >&6; }
53144 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53145 glibcxx_ld_is_gold=yes
53147 ldver=`$LD --version 2>/dev/null |
53148 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'`
53150 glibcxx_gnu_ld_version=`echo $ldver | \
53151 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53153 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53156 # Set --gc-sections.
53157 glibcxx_have_gc_sections=no
53158 if test "$glibcxx_ld_is_gold" = "yes"; then
53159 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53160 glibcxx_have_gc_sections=yes
53162 else
53163 glibcxx_gcsections_min_ld=21602
53164 if test x"$with_gnu_ld" = x"yes" &&
53165 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53166 glibcxx_have_gc_sections=yes
53169 if test "$glibcxx_have_gc_sections" = "yes"; then
53170 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53171 # NB: This flag only works reliably after 2.16.1. Configure tests
53172 # for this are difficult, so hard wire a value that should work.
53174 ac_test_CFLAGS="${CFLAGS+set}"
53175 ac_save_CFLAGS="$CFLAGS"
53176 CFLAGS='-Wl,--gc-sections'
53178 # Check for -Wl,--gc-sections
53179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53180 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53181 if test x$gcc_no_link = xyes; then
53182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53185 /* end confdefs.h. */
53186 int one(void) { return 1; }
53187 int two(void) { return 2; }
53190 main ()
53192 two();
53194 return 0;
53196 _ACEOF
53197 if ac_fn_c_try_link "$LINENO"; then :
53198 ac_gcsections=yes
53199 else
53200 ac_gcsections=no
53202 rm -f core conftest.err conftest.$ac_objext \
53203 conftest$ac_exeext conftest.$ac_ext
53204 if test "$ac_gcsections" = "yes"; then
53205 rm -f conftest.c
53206 touch conftest.c
53207 if $CC -c conftest.c; then
53208 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53209 grep "Warning: gc-sections option ignored" > /dev/null; then
53210 ac_gcsections=no
53213 rm -f conftest.c conftest.o conftest
53215 if test "$ac_gcsections" = "yes"; then
53216 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53219 $as_echo "$ac_gcsections" >&6; }
53221 if test "$ac_test_CFLAGS" = set; then
53222 CFLAGS="$ac_save_CFLAGS"
53223 else
53224 # this is the suspicious part
53225 CFLAGS=''
53229 # Set -z,relro.
53230 # Note this is only for shared objects.
53231 ac_ld_relro=no
53232 if test x"$with_gnu_ld" = x"yes"; then
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53234 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53235 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53236 if test -n "$cxx_z_relo"; then
53237 OPT_LDFLAGS="-Wl,-z,relro"
53238 ac_ld_relro=yes
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53241 $as_echo "$ac_ld_relro" >&6; }
53244 # Set linker optimization flags.
53245 if test x"$with_gnu_ld" = x"yes"; then
53246 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53252 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53254 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53256 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53258 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53260 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53262 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53264 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53266 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53268 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53271 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53273 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53275 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53277 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53279 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53281 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53283 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53285 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53287 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53289 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53291 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53293 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53295 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53297 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53299 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53301 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53303 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53305 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53307 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53309 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53311 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53313 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53315 if test x"long_double_math_on_this_cpu" = x"yes"; then
53316 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53318 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53320 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53323 for ac_func in __cxa_thread_atexit
53324 do :
53325 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53326 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53327 cat >>confdefs.h <<_ACEOF
53328 #define HAVE___CXA_THREAD_ATEXIT 1
53329 _ACEOF
53332 done
53336 *-fuchsia*)
53337 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53341 *-hpux*)
53342 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53345 # If we're not using GNU ld, then there's no point in even trying these
53346 # tests. Check for that first. We should have already tested for gld
53347 # by now (in libtool), but require it now just to be safe...
53348 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53349 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53353 # The name set by libtool depends on the version of libtool. Shame on us
53354 # for depending on an impl detail, but c'est la vie. Older versions used
53355 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53356 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53357 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53358 # set (hence we're using an older libtool), then set it.
53359 if test x${with_gnu_ld+set} != xset; then
53360 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53361 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53362 with_gnu_ld=no
53363 else
53364 with_gnu_ld=$ac_cv_prog_gnu_ld
53368 # Start by getting the version number. I think the libtool test already
53369 # does some of this, but throws away the result.
53370 glibcxx_ld_is_gold=no
53371 if test x"$with_gnu_ld" = x"yes"; then
53372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53373 $as_echo_n "checking for ld version... " >&6; }
53375 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53376 glibcxx_ld_is_gold=yes
53378 ldver=`$LD --version 2>/dev/null |
53379 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'`
53381 glibcxx_gnu_ld_version=`echo $ldver | \
53382 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53384 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53387 # Set --gc-sections.
53388 glibcxx_have_gc_sections=no
53389 if test "$glibcxx_ld_is_gold" = "yes"; then
53390 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53391 glibcxx_have_gc_sections=yes
53393 else
53394 glibcxx_gcsections_min_ld=21602
53395 if test x"$with_gnu_ld" = x"yes" &&
53396 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53397 glibcxx_have_gc_sections=yes
53400 if test "$glibcxx_have_gc_sections" = "yes"; then
53401 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53402 # NB: This flag only works reliably after 2.16.1. Configure tests
53403 # for this are difficult, so hard wire a value that should work.
53405 ac_test_CFLAGS="${CFLAGS+set}"
53406 ac_save_CFLAGS="$CFLAGS"
53407 CFLAGS='-Wl,--gc-sections'
53409 # Check for -Wl,--gc-sections
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53411 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53412 if test x$gcc_no_link = xyes; then
53413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53416 /* end confdefs.h. */
53417 int one(void) { return 1; }
53418 int two(void) { return 2; }
53421 main ()
53423 two();
53425 return 0;
53427 _ACEOF
53428 if ac_fn_c_try_link "$LINENO"; then :
53429 ac_gcsections=yes
53430 else
53431 ac_gcsections=no
53433 rm -f core conftest.err conftest.$ac_objext \
53434 conftest$ac_exeext conftest.$ac_ext
53435 if test "$ac_gcsections" = "yes"; then
53436 rm -f conftest.c
53437 touch conftest.c
53438 if $CC -c conftest.c; then
53439 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53440 grep "Warning: gc-sections option ignored" > /dev/null; then
53441 ac_gcsections=no
53444 rm -f conftest.c conftest.o conftest
53446 if test "$ac_gcsections" = "yes"; then
53447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53450 $as_echo "$ac_gcsections" >&6; }
53452 if test "$ac_test_CFLAGS" = set; then
53453 CFLAGS="$ac_save_CFLAGS"
53454 else
53455 # this is the suspicious part
53456 CFLAGS=''
53460 # Set -z,relro.
53461 # Note this is only for shared objects.
53462 ac_ld_relro=no
53463 if test x"$with_gnu_ld" = x"yes"; then
53464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53465 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53466 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53467 if test -n "$cxx_z_relo"; then
53468 OPT_LDFLAGS="-Wl,-z,relro"
53469 ac_ld_relro=yes
53471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53472 $as_echo "$ac_ld_relro" >&6; }
53475 # Set linker optimization flags.
53476 if test x"$with_gnu_ld" = x"yes"; then
53477 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53484 # GLIBCXX_CHECK_MATH_SUPPORT
53485 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53487 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53489 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53491 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53493 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53495 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53497 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53499 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53501 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53503 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53505 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53507 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53509 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53511 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53513 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53515 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53517 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53519 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53521 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53523 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53525 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53528 # GLIBCXX_CHECK_STDLIB_SUPPORT
53529 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53534 # Check whether --enable-tls was given.
53535 if test "${enable_tls+set}" = set; then :
53536 enableval=$enable_tls;
53537 case "$enableval" in
53538 yes|no) ;;
53539 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53540 esac
53542 else
53543 enable_tls=yes
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53548 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53549 if test "${gcc_cv_have_tls+set}" = set; then :
53550 $as_echo_n "(cached) " >&6
53551 else
53553 if test "$cross_compiling" = yes; then :
53554 if test x$gcc_no_link = xyes; then
53555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53558 /* end confdefs.h. */
53559 __thread int a; int b; int main() { return a = b; }
53560 _ACEOF
53561 if ac_fn_c_try_link "$LINENO"; then :
53562 chktls_save_LDFLAGS="$LDFLAGS"
53563 case $host in
53564 *-*-linux*)
53565 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53567 esac
53568 chktls_save_CFLAGS="$CFLAGS"
53569 CFLAGS="-fPIC $CFLAGS"
53570 if test x$gcc_no_link = xyes; then
53571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53574 /* end confdefs.h. */
53575 int f() { return 0; }
53576 _ACEOF
53577 if ac_fn_c_try_link "$LINENO"; then :
53578 if test x$gcc_no_link = xyes; then
53579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53582 /* end confdefs.h. */
53583 __thread int a; int b; int f() { return a = b; }
53584 _ACEOF
53585 if ac_fn_c_try_link "$LINENO"; then :
53586 gcc_cv_have_tls=yes
53587 else
53588 gcc_cv_have_tls=no
53590 rm -f core conftest.err conftest.$ac_objext \
53591 conftest$ac_exeext conftest.$ac_ext
53592 else
53593 gcc_cv_have_tls=yes
53595 rm -f core conftest.err conftest.$ac_objext \
53596 conftest$ac_exeext conftest.$ac_ext
53597 CFLAGS="$chktls_save_CFLAGS"
53598 LDFLAGS="$chktls_save_LDFLAGS"
53599 else
53600 gcc_cv_have_tls=no
53602 rm -f core conftest.err conftest.$ac_objext \
53603 conftest$ac_exeext conftest.$ac_ext
53606 else
53607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53608 /* end confdefs.h. */
53609 __thread int a; int b; int main() { return a = b; }
53610 _ACEOF
53611 if ac_fn_c_try_run "$LINENO"; then :
53612 chktls_save_LDFLAGS="$LDFLAGS"
53613 LDFLAGS="-static $LDFLAGS"
53614 if test x$gcc_no_link = xyes; then
53615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 int main() { return 0; }
53620 _ACEOF
53621 if ac_fn_c_try_link "$LINENO"; then :
53622 if test "$cross_compiling" = yes; then :
53623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53625 as_fn_error "cannot run test program while cross compiling
53626 See \`config.log' for more details." "$LINENO" 5; }
53627 else
53628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53629 /* end confdefs.h. */
53630 __thread int a; int b; int main() { return a = b; }
53631 _ACEOF
53632 if ac_fn_c_try_run "$LINENO"; then :
53633 gcc_cv_have_tls=yes
53634 else
53635 gcc_cv_have_tls=no
53637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53638 conftest.$ac_objext conftest.beam conftest.$ac_ext
53641 else
53642 gcc_cv_have_tls=yes
53644 rm -f core conftest.err conftest.$ac_objext \
53645 conftest$ac_exeext conftest.$ac_ext
53646 LDFLAGS="$chktls_save_LDFLAGS"
53647 if test $gcc_cv_have_tls = yes; then
53648 chktls_save_CFLAGS="$CFLAGS"
53649 thread_CFLAGS=failed
53650 for flag in '' '-pthread' '-lpthread'; do
53651 CFLAGS="$flag $chktls_save_CFLAGS"
53652 if test x$gcc_no_link = xyes; then
53653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53656 /* end confdefs.h. */
53657 #include <pthread.h>
53658 void *g(void *d) { return NULL; }
53660 main ()
53662 pthread_t t; pthread_create(&t,NULL,g,NULL);
53664 return 0;
53666 _ACEOF
53667 if ac_fn_c_try_link "$LINENO"; then :
53668 thread_CFLAGS="$flag"
53670 rm -f core conftest.err conftest.$ac_objext \
53671 conftest$ac_exeext conftest.$ac_ext
53672 if test "X$thread_CFLAGS" != Xfailed; then
53673 break
53675 done
53676 CFLAGS="$chktls_save_CFLAGS"
53677 if test "X$thread_CFLAGS" != Xfailed; then
53678 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53679 if test "$cross_compiling" = yes; then :
53680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53682 as_fn_error "cannot run test program while cross compiling
53683 See \`config.log' for more details." "$LINENO" 5; }
53684 else
53685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53686 /* end confdefs.h. */
53687 #include <pthread.h>
53688 __thread int a;
53689 static int *volatile a_in_other_thread;
53690 static void *
53691 thread_func (void *arg)
53693 a_in_other_thread = &a;
53694 return (void *)0;
53697 main ()
53699 pthread_t thread;
53700 void *thread_retval;
53701 int *volatile a_in_main_thread;
53702 a_in_main_thread = &a;
53703 if (pthread_create (&thread, (pthread_attr_t *)0,
53704 thread_func, (void *)0))
53705 return 0;
53706 if (pthread_join (thread, &thread_retval))
53707 return 0;
53708 return (a_in_other_thread == a_in_main_thread);
53710 return 0;
53712 _ACEOF
53713 if ac_fn_c_try_run "$LINENO"; then :
53714 gcc_cv_have_tls=yes
53715 else
53716 gcc_cv_have_tls=no
53718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53719 conftest.$ac_objext conftest.beam conftest.$ac_ext
53722 CFLAGS="$chktls_save_CFLAGS"
53725 else
53726 gcc_cv_have_tls=no
53728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53729 conftest.$ac_objext conftest.beam conftest.$ac_ext
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53734 $as_echo "$gcc_cv_have_tls" >&6; }
53735 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53737 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53740 case "$target" in
53741 *-hpux10*)
53742 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53744 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53746 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53748 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53750 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53753 esac
53755 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53757 # All these tests are for C++; save the language and the compiler flags.
53758 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53759 # found in GLIBCXX_CONFIGURE.
53761 ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53767 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53768 ac_save_CXXFLAGS="$CXXFLAGS"
53770 # Check for maintainer-mode bits.
53771 if test x"$USE_MAINTAINER_MODE" = xno; then
53772 WERROR=''
53773 else
53774 WERROR='-Werror'
53777 # Check for -ffunction-sections -fdata-sections
53778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53779 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53780 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53782 /* end confdefs.h. */
53783 int foo; void bar() { };
53785 main ()
53789 return 0;
53791 _ACEOF
53792 if ac_fn_cxx_try_compile "$LINENO"; then :
53793 ac_fdsections=yes
53794 else
53795 ac_fdsections=no
53797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53798 if test "$ac_test_CXXFLAGS" = set; then
53799 CXXFLAGS="$ac_save_CXXFLAGS"
53800 else
53801 # this is the suspicious part
53802 CXXFLAGS=''
53804 if test x"$ac_fdsections" = x"yes"; then
53805 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53808 $as_echo "$ac_fdsections" >&6; }
53810 ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 # If we're not using GNU ld, then there's no point in even trying these
53821 # tests. Check for that first. We should have already tested for gld
53822 # by now (in libtool), but require it now just to be safe...
53823 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53824 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53828 # The name set by libtool depends on the version of libtool. Shame on us
53829 # for depending on an impl detail, but c'est la vie. Older versions used
53830 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53831 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53832 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53833 # set (hence we're using an older libtool), then set it.
53834 if test x${with_gnu_ld+set} != xset; then
53835 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53836 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53837 with_gnu_ld=no
53838 else
53839 with_gnu_ld=$ac_cv_prog_gnu_ld
53843 # Start by getting the version number. I think the libtool test already
53844 # does some of this, but throws away the result.
53845 glibcxx_ld_is_gold=no
53846 if test x"$with_gnu_ld" = x"yes"; then
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53848 $as_echo_n "checking for ld version... " >&6; }
53850 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53851 glibcxx_ld_is_gold=yes
53853 ldver=`$LD --version 2>/dev/null |
53854 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'`
53856 glibcxx_gnu_ld_version=`echo $ldver | \
53857 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53859 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53862 # Set --gc-sections.
53863 glibcxx_have_gc_sections=no
53864 if test "$glibcxx_ld_is_gold" = "yes"; then
53865 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53866 glibcxx_have_gc_sections=yes
53868 else
53869 glibcxx_gcsections_min_ld=21602
53870 if test x"$with_gnu_ld" = x"yes" &&
53871 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53872 glibcxx_have_gc_sections=yes
53875 if test "$glibcxx_have_gc_sections" = "yes"; then
53876 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53877 # NB: This flag only works reliably after 2.16.1. Configure tests
53878 # for this are difficult, so hard wire a value that should work.
53880 ac_test_CFLAGS="${CFLAGS+set}"
53881 ac_save_CFLAGS="$CFLAGS"
53882 CFLAGS='-Wl,--gc-sections'
53884 # Check for -Wl,--gc-sections
53885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53886 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53887 if test x$gcc_no_link = xyes; then
53888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53891 /* end confdefs.h. */
53892 int one(void) { return 1; }
53893 int two(void) { return 2; }
53896 main ()
53898 two();
53900 return 0;
53902 _ACEOF
53903 if ac_fn_c_try_link "$LINENO"; then :
53904 ac_gcsections=yes
53905 else
53906 ac_gcsections=no
53908 rm -f core conftest.err conftest.$ac_objext \
53909 conftest$ac_exeext conftest.$ac_ext
53910 if test "$ac_gcsections" = "yes"; then
53911 rm -f conftest.c
53912 touch conftest.c
53913 if $CC -c conftest.c; then
53914 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53915 grep "Warning: gc-sections option ignored" > /dev/null; then
53916 ac_gcsections=no
53919 rm -f conftest.c conftest.o conftest
53921 if test "$ac_gcsections" = "yes"; then
53922 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53925 $as_echo "$ac_gcsections" >&6; }
53927 if test "$ac_test_CFLAGS" = set; then
53928 CFLAGS="$ac_save_CFLAGS"
53929 else
53930 # this is the suspicious part
53931 CFLAGS=''
53935 # Set -z,relro.
53936 # Note this is only for shared objects.
53937 ac_ld_relro=no
53938 if test x"$with_gnu_ld" = x"yes"; then
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53940 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53941 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53942 if test -n "$cxx_z_relo"; then
53943 OPT_LDFLAGS="-Wl,-z,relro"
53944 ac_ld_relro=yes
53946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53947 $as_echo "$ac_ld_relro" >&6; }
53950 # Set linker optimization flags.
53951 if test x"$with_gnu_ld" = x"yes"; then
53952 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53959 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53960 ac_save_CXXFLAGS="$CXXFLAGS"
53961 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53964 $as_echo_n "checking for sin in -lm... " >&6; }
53965 if test "${ac_cv_lib_m_sin+set}" = set; then :
53966 $as_echo_n "(cached) " >&6
53967 else
53968 ac_check_lib_save_LIBS=$LIBS
53969 LIBS="-lm $LIBS"
53970 if test x$gcc_no_link = xyes; then
53971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53974 /* end confdefs.h. */
53976 /* Override any GCC internal prototype to avoid an error.
53977 Use char because int might match the return type of a GCC
53978 builtin and then its argument prototype would still apply. */
53979 #ifdef __cplusplus
53980 extern "C"
53981 #endif
53982 char sin ();
53984 main ()
53986 return sin ();
53988 return 0;
53990 _ACEOF
53991 if ac_fn_c_try_link "$LINENO"; then :
53992 ac_cv_lib_m_sin=yes
53993 else
53994 ac_cv_lib_m_sin=no
53996 rm -f core conftest.err conftest.$ac_objext \
53997 conftest$ac_exeext conftest.$ac_ext
53998 LIBS=$ac_check_lib_save_LIBS
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54001 $as_echo "$ac_cv_lib_m_sin" >&6; }
54002 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54003 libm="-lm"
54006 ac_save_LIBS="$LIBS"
54007 LIBS="$LIBS $libm"
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54012 $as_echo_n "checking for isinf declaration... " >&6; }
54013 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54014 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54015 $as_echo_n "(cached) " >&6
54016 else
54019 ac_ext=cpp
54020 ac_cpp='$CXXCPP $CPPFLAGS'
54021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54026 /* end confdefs.h. */
54027 #include <math.h>
54028 #ifdef HAVE_IEEEFP_H
54029 #include <ieeefp.h>
54030 #endif
54033 main ()
54035 isinf(0);
54037 return 0;
54039 _ACEOF
54040 if ac_fn_cxx_try_compile "$LINENO"; then :
54041 glibcxx_cv_func_isinf_use=yes
54042 else
54043 glibcxx_cv_func_isinf_use=no
54045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54046 ac_ext=c
54047 ac_cpp='$CPP $CPPFLAGS'
54048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54057 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54059 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54060 for ac_func in isinf
54061 do :
54062 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54063 if test "x$ac_cv_func_isinf" = x""yes; then :
54064 cat >>confdefs.h <<_ACEOF
54065 #define HAVE_ISINF 1
54066 _ACEOF
54069 done
54071 else
54073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54074 $as_echo_n "checking for _isinf declaration... " >&6; }
54075 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54076 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54077 $as_echo_n "(cached) " >&6
54078 else
54081 ac_ext=cpp
54082 ac_cpp='$CXXCPP $CPPFLAGS'
54083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54088 /* end confdefs.h. */
54089 #include <math.h>
54090 #ifdef HAVE_IEEEFP_H
54091 #include <ieeefp.h>
54092 #endif
54095 main ()
54097 _isinf(0);
54099 return 0;
54101 _ACEOF
54102 if ac_fn_cxx_try_compile "$LINENO"; then :
54103 glibcxx_cv_func__isinf_use=yes
54104 else
54105 glibcxx_cv_func__isinf_use=no
54107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54108 ac_ext=c
54109 ac_cpp='$CPP $CPPFLAGS'
54110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54119 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54121 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54122 for ac_func in _isinf
54123 do :
54124 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54125 if test "x$ac_cv_func__isinf" = x""yes; then :
54126 cat >>confdefs.h <<_ACEOF
54127 #define HAVE__ISINF 1
54128 _ACEOF
54131 done
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54141 $as_echo_n "checking for isnan declaration... " >&6; }
54142 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54143 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54144 $as_echo_n "(cached) " >&6
54145 else
54148 ac_ext=cpp
54149 ac_cpp='$CXXCPP $CPPFLAGS'
54150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54155 /* end confdefs.h. */
54156 #include <math.h>
54157 #ifdef HAVE_IEEEFP_H
54158 #include <ieeefp.h>
54159 #endif
54162 main ()
54164 isnan(0);
54166 return 0;
54168 _ACEOF
54169 if ac_fn_cxx_try_compile "$LINENO"; then :
54170 glibcxx_cv_func_isnan_use=yes
54171 else
54172 glibcxx_cv_func_isnan_use=no
54174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54175 ac_ext=c
54176 ac_cpp='$CPP $CPPFLAGS'
54177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54186 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54188 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54189 for ac_func in isnan
54190 do :
54191 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54192 if test "x$ac_cv_func_isnan" = x""yes; then :
54193 cat >>confdefs.h <<_ACEOF
54194 #define HAVE_ISNAN 1
54195 _ACEOF
54198 done
54200 else
54202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54203 $as_echo_n "checking for _isnan declaration... " >&6; }
54204 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54205 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54206 $as_echo_n "(cached) " >&6
54207 else
54210 ac_ext=cpp
54211 ac_cpp='$CXXCPP $CPPFLAGS'
54212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54217 /* end confdefs.h. */
54218 #include <math.h>
54219 #ifdef HAVE_IEEEFP_H
54220 #include <ieeefp.h>
54221 #endif
54224 main ()
54226 _isnan(0);
54228 return 0;
54230 _ACEOF
54231 if ac_fn_cxx_try_compile "$LINENO"; then :
54232 glibcxx_cv_func__isnan_use=yes
54233 else
54234 glibcxx_cv_func__isnan_use=no
54236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54237 ac_ext=c
54238 ac_cpp='$CPP $CPPFLAGS'
54239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54248 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54250 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54251 for ac_func in _isnan
54252 do :
54253 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54254 if test "x$ac_cv_func__isnan" = x""yes; then :
54255 cat >>confdefs.h <<_ACEOF
54256 #define HAVE__ISNAN 1
54257 _ACEOF
54260 done
54269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54270 $as_echo_n "checking for finite declaration... " >&6; }
54271 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54272 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54273 $as_echo_n "(cached) " >&6
54274 else
54277 ac_ext=cpp
54278 ac_cpp='$CXXCPP $CPPFLAGS'
54279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54284 /* end confdefs.h. */
54285 #include <math.h>
54286 #ifdef HAVE_IEEEFP_H
54287 #include <ieeefp.h>
54288 #endif
54291 main ()
54293 finite(0);
54295 return 0;
54297 _ACEOF
54298 if ac_fn_cxx_try_compile "$LINENO"; then :
54299 glibcxx_cv_func_finite_use=yes
54300 else
54301 glibcxx_cv_func_finite_use=no
54303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54304 ac_ext=c
54305 ac_cpp='$CPP $CPPFLAGS'
54306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54315 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54317 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54318 for ac_func in finite
54319 do :
54320 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54321 if test "x$ac_cv_func_finite" = x""yes; then :
54322 cat >>confdefs.h <<_ACEOF
54323 #define HAVE_FINITE 1
54324 _ACEOF
54327 done
54329 else
54331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54332 $as_echo_n "checking for _finite declaration... " >&6; }
54333 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54334 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54335 $as_echo_n "(cached) " >&6
54336 else
54339 ac_ext=cpp
54340 ac_cpp='$CXXCPP $CPPFLAGS'
54341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54346 /* end confdefs.h. */
54347 #include <math.h>
54348 #ifdef HAVE_IEEEFP_H
54349 #include <ieeefp.h>
54350 #endif
54353 main ()
54355 _finite(0);
54357 return 0;
54359 _ACEOF
54360 if ac_fn_cxx_try_compile "$LINENO"; then :
54361 glibcxx_cv_func__finite_use=yes
54362 else
54363 glibcxx_cv_func__finite_use=no
54365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54366 ac_ext=c
54367 ac_cpp='$CPP $CPPFLAGS'
54368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54377 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54379 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54380 for ac_func in _finite
54381 do :
54382 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54383 if test "x$ac_cv_func__finite" = x""yes; then :
54384 cat >>confdefs.h <<_ACEOF
54385 #define HAVE__FINITE 1
54386 _ACEOF
54389 done
54398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54399 $as_echo_n "checking for sincos declaration... " >&6; }
54400 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54401 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54402 $as_echo_n "(cached) " >&6
54403 else
54406 ac_ext=cpp
54407 ac_cpp='$CXXCPP $CPPFLAGS'
54408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54413 /* end confdefs.h. */
54414 #include <math.h>
54416 main ()
54418 sincos(0, 0, 0);
54420 return 0;
54422 _ACEOF
54423 if ac_fn_cxx_try_compile "$LINENO"; then :
54424 glibcxx_cv_func_sincos_use=yes
54425 else
54426 glibcxx_cv_func_sincos_use=no
54428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54429 ac_ext=c
54430 ac_cpp='$CPP $CPPFLAGS'
54431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54440 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54442 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54443 for ac_func in sincos
54444 do :
54445 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54446 if test "x$ac_cv_func_sincos" = x""yes; then :
54447 cat >>confdefs.h <<_ACEOF
54448 #define HAVE_SINCOS 1
54449 _ACEOF
54452 done
54454 else
54456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54457 $as_echo_n "checking for _sincos declaration... " >&6; }
54458 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54459 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54460 $as_echo_n "(cached) " >&6
54461 else
54464 ac_ext=cpp
54465 ac_cpp='$CXXCPP $CPPFLAGS'
54466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54471 /* end confdefs.h. */
54472 #include <math.h>
54474 main ()
54476 _sincos(0, 0, 0);
54478 return 0;
54480 _ACEOF
54481 if ac_fn_cxx_try_compile "$LINENO"; then :
54482 glibcxx_cv_func__sincos_use=yes
54483 else
54484 glibcxx_cv_func__sincos_use=no
54486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54487 ac_ext=c
54488 ac_cpp='$CPP $CPPFLAGS'
54489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54498 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54500 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54501 for ac_func in _sincos
54502 do :
54503 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54504 if test "x$ac_cv_func__sincos" = x""yes; then :
54505 cat >>confdefs.h <<_ACEOF
54506 #define HAVE__SINCOS 1
54507 _ACEOF
54510 done
54519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54520 $as_echo_n "checking for fpclass declaration... " >&6; }
54521 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54522 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54523 $as_echo_n "(cached) " >&6
54524 else
54527 ac_ext=cpp
54528 ac_cpp='$CXXCPP $CPPFLAGS'
54529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54534 /* end confdefs.h. */
54535 #include <math.h>
54536 #ifdef HAVE_IEEEFP_H
54537 #include <ieeefp.h>
54538 #endif
54541 main ()
54543 fpclass(0);
54545 return 0;
54547 _ACEOF
54548 if ac_fn_cxx_try_compile "$LINENO"; then :
54549 glibcxx_cv_func_fpclass_use=yes
54550 else
54551 glibcxx_cv_func_fpclass_use=no
54553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54554 ac_ext=c
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54565 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54567 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54568 for ac_func in fpclass
54569 do :
54570 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54571 if test "x$ac_cv_func_fpclass" = x""yes; then :
54572 cat >>confdefs.h <<_ACEOF
54573 #define HAVE_FPCLASS 1
54574 _ACEOF
54577 done
54579 else
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54582 $as_echo_n "checking for _fpclass declaration... " >&6; }
54583 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54584 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54585 $as_echo_n "(cached) " >&6
54586 else
54589 ac_ext=cpp
54590 ac_cpp='$CXXCPP $CPPFLAGS'
54591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54596 /* end confdefs.h. */
54597 #include <math.h>
54598 #ifdef HAVE_IEEEFP_H
54599 #include <ieeefp.h>
54600 #endif
54603 main ()
54605 _fpclass(0);
54607 return 0;
54609 _ACEOF
54610 if ac_fn_cxx_try_compile "$LINENO"; then :
54611 glibcxx_cv_func__fpclass_use=yes
54612 else
54613 glibcxx_cv_func__fpclass_use=no
54615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54616 ac_ext=c
54617 ac_cpp='$CPP $CPPFLAGS'
54618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54627 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54629 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54630 for ac_func in _fpclass
54631 do :
54632 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54633 if test "x$ac_cv_func__fpclass" = x""yes; then :
54634 cat >>confdefs.h <<_ACEOF
54635 #define HAVE__FPCLASS 1
54636 _ACEOF
54639 done
54648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54649 $as_echo_n "checking for qfpclass declaration... " >&6; }
54650 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54651 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54652 $as_echo_n "(cached) " >&6
54653 else
54656 ac_ext=cpp
54657 ac_cpp='$CXXCPP $CPPFLAGS'
54658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54663 /* end confdefs.h. */
54664 #include <math.h>
54665 #ifdef HAVE_IEEEFP_H
54666 #include <ieeefp.h>
54667 #endif
54670 main ()
54672 qfpclass(0);
54674 return 0;
54676 _ACEOF
54677 if ac_fn_cxx_try_compile "$LINENO"; then :
54678 glibcxx_cv_func_qfpclass_use=yes
54679 else
54680 glibcxx_cv_func_qfpclass_use=no
54682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54683 ac_ext=c
54684 ac_cpp='$CPP $CPPFLAGS'
54685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54694 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54696 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54697 for ac_func in qfpclass
54698 do :
54699 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54700 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54701 cat >>confdefs.h <<_ACEOF
54702 #define HAVE_QFPCLASS 1
54703 _ACEOF
54706 done
54708 else
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54711 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54713 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54714 $as_echo_n "(cached) " >&6
54715 else
54718 ac_ext=cpp
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54725 /* end confdefs.h. */
54726 #include <math.h>
54727 #ifdef HAVE_IEEEFP_H
54728 #include <ieeefp.h>
54729 #endif
54732 main ()
54734 _qfpclass(0);
54736 return 0;
54738 _ACEOF
54739 if ac_fn_cxx_try_compile "$LINENO"; then :
54740 glibcxx_cv_func__qfpclass_use=yes
54741 else
54742 glibcxx_cv_func__qfpclass_use=no
54744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54745 ac_ext=c
54746 ac_cpp='$CPP $CPPFLAGS'
54747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54756 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54758 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54759 for ac_func in _qfpclass
54760 do :
54761 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54762 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54763 cat >>confdefs.h <<_ACEOF
54764 #define HAVE__QFPCLASS 1
54765 _ACEOF
54768 done
54777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54778 $as_echo_n "checking for hypot declaration... " >&6; }
54779 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54780 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54781 $as_echo_n "(cached) " >&6
54782 else
54785 ac_ext=cpp
54786 ac_cpp='$CXXCPP $CPPFLAGS'
54787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54792 /* end confdefs.h. */
54793 #include <math.h>
54795 main ()
54797 hypot(0, 0);
54799 return 0;
54801 _ACEOF
54802 if ac_fn_cxx_try_compile "$LINENO"; then :
54803 glibcxx_cv_func_hypot_use=yes
54804 else
54805 glibcxx_cv_func_hypot_use=no
54807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54808 ac_ext=c
54809 ac_cpp='$CPP $CPPFLAGS'
54810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54819 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54821 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54822 for ac_func in hypot
54823 do :
54824 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54825 if test "x$ac_cv_func_hypot" = x""yes; then :
54826 cat >>confdefs.h <<_ACEOF
54827 #define HAVE_HYPOT 1
54828 _ACEOF
54831 done
54833 else
54835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54836 $as_echo_n "checking for _hypot declaration... " >&6; }
54837 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54838 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54839 $as_echo_n "(cached) " >&6
54840 else
54843 ac_ext=cpp
54844 ac_cpp='$CXXCPP $CPPFLAGS'
54845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54850 /* end confdefs.h. */
54851 #include <math.h>
54853 main ()
54855 _hypot(0, 0);
54857 return 0;
54859 _ACEOF
54860 if ac_fn_cxx_try_compile "$LINENO"; then :
54861 glibcxx_cv_func__hypot_use=yes
54862 else
54863 glibcxx_cv_func__hypot_use=no
54865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54866 ac_ext=c
54867 ac_cpp='$CPP $CPPFLAGS'
54868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54877 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54879 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54880 for ac_func in _hypot
54881 do :
54882 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54883 if test "x$ac_cv_func__hypot" = x""yes; then :
54884 cat >>confdefs.h <<_ACEOF
54885 #define HAVE__HYPOT 1
54886 _ACEOF
54889 done
54898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54899 $as_echo_n "checking for float trig functions... " >&6; }
54900 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54901 $as_echo_n "(cached) " >&6
54902 else
54905 ac_ext=cpp
54906 ac_cpp='$CXXCPP $CPPFLAGS'
54907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54912 /* end confdefs.h. */
54913 #include <math.h>
54915 main ()
54917 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54919 return 0;
54921 _ACEOF
54922 if ac_fn_cxx_try_compile "$LINENO"; then :
54923 glibcxx_cv_func_float_trig_use=yes
54924 else
54925 glibcxx_cv_func_float_trig_use=no
54927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54928 ac_ext=c
54929 ac_cpp='$CPP $CPPFLAGS'
54930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54937 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54938 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54939 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54940 do :
54941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54943 eval as_val=\$$as_ac_var
54944 if test "x$as_val" = x""yes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54947 _ACEOF
54950 done
54952 else
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54954 $as_echo_n "checking for _float trig functions... " >&6; }
54955 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54970 main ()
54972 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54974 return 0;
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__float_trig_use=yes
54979 else
54980 glibcxx_cv_func__float_trig_use=no
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54992 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54993 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54994 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54995 do :
54996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54998 eval as_val=\$$as_ac_var
54999 if test "x$as_val" = x""yes; then :
55000 cat >>confdefs.h <<_ACEOF
55001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55002 _ACEOF
55005 done
55014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55015 $as_echo_n "checking for float round functions... " >&6; }
55016 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55017 $as_echo_n "(cached) " >&6
55018 else
55021 ac_ext=cpp
55022 ac_cpp='$CXXCPP $CPPFLAGS'
55023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55028 /* end confdefs.h. */
55029 #include <math.h>
55031 main ()
55033 ceilf (0); floorf (0);
55035 return 0;
55037 _ACEOF
55038 if ac_fn_cxx_try_compile "$LINENO"; then :
55039 glibcxx_cv_func_float_round_use=yes
55040 else
55041 glibcxx_cv_func_float_round_use=no
55043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55044 ac_ext=c
55045 ac_cpp='$CPP $CPPFLAGS'
55046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55053 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55054 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55055 for ac_func in ceilf floorf
55056 do :
55057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55059 eval as_val=\$$as_ac_var
55060 if test "x$as_val" = x""yes; then :
55061 cat >>confdefs.h <<_ACEOF
55062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55063 _ACEOF
55066 done
55068 else
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55070 $as_echo_n "checking for _float round functions... " >&6; }
55071 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55072 $as_echo_n "(cached) " >&6
55073 else
55076 ac_ext=cpp
55077 ac_cpp='$CXXCPP $CPPFLAGS'
55078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55083 /* end confdefs.h. */
55084 #include <math.h>
55086 main ()
55088 _ceilf (0); _floorf (0);
55090 return 0;
55092 _ACEOF
55093 if ac_fn_cxx_try_compile "$LINENO"; then :
55094 glibcxx_cv_func__float_round_use=yes
55095 else
55096 glibcxx_cv_func__float_round_use=no
55098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55099 ac_ext=c
55100 ac_cpp='$CPP $CPPFLAGS'
55101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55108 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55109 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55110 for ac_func in _ceilf _floorf
55111 do :
55112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55114 eval as_val=\$$as_ac_var
55115 if test "x$as_val" = x""yes; then :
55116 cat >>confdefs.h <<_ACEOF
55117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55118 _ACEOF
55121 done
55131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55132 $as_echo_n "checking for expf declaration... " >&6; }
55133 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55134 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55135 $as_echo_n "(cached) " >&6
55136 else
55139 ac_ext=cpp
55140 ac_cpp='$CXXCPP $CPPFLAGS'
55141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55146 /* end confdefs.h. */
55147 #include <math.h>
55148 #ifdef HAVE_IEEEFP_H
55149 #include <ieeefp.h>
55150 #endif
55153 main ()
55155 expf(0);
55157 return 0;
55159 _ACEOF
55160 if ac_fn_cxx_try_compile "$LINENO"; then :
55161 glibcxx_cv_func_expf_use=yes
55162 else
55163 glibcxx_cv_func_expf_use=no
55165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55166 ac_ext=c
55167 ac_cpp='$CPP $CPPFLAGS'
55168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55177 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55179 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55180 for ac_func in expf
55181 do :
55182 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55183 if test "x$ac_cv_func_expf" = x""yes; then :
55184 cat >>confdefs.h <<_ACEOF
55185 #define HAVE_EXPF 1
55186 _ACEOF
55189 done
55191 else
55193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55194 $as_echo_n "checking for _expf declaration... " >&6; }
55195 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55196 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55197 $as_echo_n "(cached) " >&6
55198 else
55201 ac_ext=cpp
55202 ac_cpp='$CXXCPP $CPPFLAGS'
55203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55208 /* end confdefs.h. */
55209 #include <math.h>
55210 #ifdef HAVE_IEEEFP_H
55211 #include <ieeefp.h>
55212 #endif
55215 main ()
55217 _expf(0);
55219 return 0;
55221 _ACEOF
55222 if ac_fn_cxx_try_compile "$LINENO"; then :
55223 glibcxx_cv_func__expf_use=yes
55224 else
55225 glibcxx_cv_func__expf_use=no
55227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55228 ac_ext=c
55229 ac_cpp='$CPP $CPPFLAGS'
55230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55239 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55241 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55242 for ac_func in _expf
55243 do :
55244 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55245 if test "x$ac_cv_func__expf" = x""yes; then :
55246 cat >>confdefs.h <<_ACEOF
55247 #define HAVE__EXPF 1
55248 _ACEOF
55251 done
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55261 $as_echo_n "checking for isnanf declaration... " >&6; }
55262 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55263 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55264 $as_echo_n "(cached) " >&6
55265 else
55268 ac_ext=cpp
55269 ac_cpp='$CXXCPP $CPPFLAGS'
55270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55275 /* end confdefs.h. */
55276 #include <math.h>
55277 #ifdef HAVE_IEEEFP_H
55278 #include <ieeefp.h>
55279 #endif
55282 main ()
55284 isnanf(0);
55286 return 0;
55288 _ACEOF
55289 if ac_fn_cxx_try_compile "$LINENO"; then :
55290 glibcxx_cv_func_isnanf_use=yes
55291 else
55292 glibcxx_cv_func_isnanf_use=no
55294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55295 ac_ext=c
55296 ac_cpp='$CPP $CPPFLAGS'
55297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55306 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55308 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55309 for ac_func in isnanf
55310 do :
55311 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55312 if test "x$ac_cv_func_isnanf" = x""yes; then :
55313 cat >>confdefs.h <<_ACEOF
55314 #define HAVE_ISNANF 1
55315 _ACEOF
55318 done
55320 else
55322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55323 $as_echo_n "checking for _isnanf declaration... " >&6; }
55324 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55325 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55326 $as_echo_n "(cached) " >&6
55327 else
55330 ac_ext=cpp
55331 ac_cpp='$CXXCPP $CPPFLAGS'
55332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55337 /* end confdefs.h. */
55338 #include <math.h>
55339 #ifdef HAVE_IEEEFP_H
55340 #include <ieeefp.h>
55341 #endif
55344 main ()
55346 _isnanf(0);
55348 return 0;
55350 _ACEOF
55351 if ac_fn_cxx_try_compile "$LINENO"; then :
55352 glibcxx_cv_func__isnanf_use=yes
55353 else
55354 glibcxx_cv_func__isnanf_use=no
55356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55357 ac_ext=c
55358 ac_cpp='$CPP $CPPFLAGS'
55359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55368 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55370 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55371 for ac_func in _isnanf
55372 do :
55373 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55374 if test "x$ac_cv_func__isnanf" = x""yes; then :
55375 cat >>confdefs.h <<_ACEOF
55376 #define HAVE__ISNANF 1
55377 _ACEOF
55380 done
55389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55390 $as_echo_n "checking for isinff declaration... " >&6; }
55391 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55392 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55393 $as_echo_n "(cached) " >&6
55394 else
55397 ac_ext=cpp
55398 ac_cpp='$CXXCPP $CPPFLAGS'
55399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55404 /* end confdefs.h. */
55405 #include <math.h>
55406 #ifdef HAVE_IEEEFP_H
55407 #include <ieeefp.h>
55408 #endif
55411 main ()
55413 isinff(0);
55415 return 0;
55417 _ACEOF
55418 if ac_fn_cxx_try_compile "$LINENO"; then :
55419 glibcxx_cv_func_isinff_use=yes
55420 else
55421 glibcxx_cv_func_isinff_use=no
55423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55424 ac_ext=c
55425 ac_cpp='$CPP $CPPFLAGS'
55426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55435 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55437 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55438 for ac_func in isinff
55439 do :
55440 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55441 if test "x$ac_cv_func_isinff" = x""yes; then :
55442 cat >>confdefs.h <<_ACEOF
55443 #define HAVE_ISINFF 1
55444 _ACEOF
55447 done
55449 else
55451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55452 $as_echo_n "checking for _isinff declaration... " >&6; }
55453 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55454 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55455 $as_echo_n "(cached) " >&6
55456 else
55459 ac_ext=cpp
55460 ac_cpp='$CXXCPP $CPPFLAGS'
55461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55466 /* end confdefs.h. */
55467 #include <math.h>
55468 #ifdef HAVE_IEEEFP_H
55469 #include <ieeefp.h>
55470 #endif
55473 main ()
55475 _isinff(0);
55477 return 0;
55479 _ACEOF
55480 if ac_fn_cxx_try_compile "$LINENO"; then :
55481 glibcxx_cv_func__isinff_use=yes
55482 else
55483 glibcxx_cv_func__isinff_use=no
55485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55486 ac_ext=c
55487 ac_cpp='$CPP $CPPFLAGS'
55488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55497 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55499 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55500 for ac_func in _isinff
55501 do :
55502 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55503 if test "x$ac_cv_func__isinff" = x""yes; then :
55504 cat >>confdefs.h <<_ACEOF
55505 #define HAVE__ISINFF 1
55506 _ACEOF
55509 done
55518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55519 $as_echo_n "checking for atan2f declaration... " >&6; }
55520 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55521 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55522 $as_echo_n "(cached) " >&6
55523 else
55526 ac_ext=cpp
55527 ac_cpp='$CXXCPP $CPPFLAGS'
55528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55533 /* end confdefs.h. */
55534 #include <math.h>
55536 main ()
55538 atan2f(0, 0);
55540 return 0;
55542 _ACEOF
55543 if ac_fn_cxx_try_compile "$LINENO"; then :
55544 glibcxx_cv_func_atan2f_use=yes
55545 else
55546 glibcxx_cv_func_atan2f_use=no
55548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55549 ac_ext=c
55550 ac_cpp='$CPP $CPPFLAGS'
55551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55560 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55562 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55563 for ac_func in atan2f
55564 do :
55565 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55566 if test "x$ac_cv_func_atan2f" = x""yes; then :
55567 cat >>confdefs.h <<_ACEOF
55568 #define HAVE_ATAN2F 1
55569 _ACEOF
55572 done
55574 else
55576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55577 $as_echo_n "checking for _atan2f declaration... " >&6; }
55578 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55579 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55580 $as_echo_n "(cached) " >&6
55581 else
55584 ac_ext=cpp
55585 ac_cpp='$CXXCPP $CPPFLAGS'
55586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55591 /* end confdefs.h. */
55592 #include <math.h>
55594 main ()
55596 _atan2f(0, 0);
55598 return 0;
55600 _ACEOF
55601 if ac_fn_cxx_try_compile "$LINENO"; then :
55602 glibcxx_cv_func__atan2f_use=yes
55603 else
55604 glibcxx_cv_func__atan2f_use=no
55606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55607 ac_ext=c
55608 ac_cpp='$CPP $CPPFLAGS'
55609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55618 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55620 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55621 for ac_func in _atan2f
55622 do :
55623 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55624 if test "x$ac_cv_func__atan2f" = x""yes; then :
55625 cat >>confdefs.h <<_ACEOF
55626 #define HAVE__ATAN2F 1
55627 _ACEOF
55630 done
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55640 $as_echo_n "checking for fabsf declaration... " >&6; }
55641 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55642 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55643 $as_echo_n "(cached) " >&6
55644 else
55647 ac_ext=cpp
55648 ac_cpp='$CXXCPP $CPPFLAGS'
55649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55654 /* end confdefs.h. */
55655 #include <math.h>
55656 #ifdef HAVE_IEEEFP_H
55657 #include <ieeefp.h>
55658 #endif
55661 main ()
55663 fabsf(0);
55665 return 0;
55667 _ACEOF
55668 if ac_fn_cxx_try_compile "$LINENO"; then :
55669 glibcxx_cv_func_fabsf_use=yes
55670 else
55671 glibcxx_cv_func_fabsf_use=no
55673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55674 ac_ext=c
55675 ac_cpp='$CPP $CPPFLAGS'
55676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55685 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55687 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55688 for ac_func in fabsf
55689 do :
55690 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55691 if test "x$ac_cv_func_fabsf" = x""yes; then :
55692 cat >>confdefs.h <<_ACEOF
55693 #define HAVE_FABSF 1
55694 _ACEOF
55697 done
55699 else
55701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55702 $as_echo_n "checking for _fabsf declaration... " >&6; }
55703 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55704 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55705 $as_echo_n "(cached) " >&6
55706 else
55709 ac_ext=cpp
55710 ac_cpp='$CXXCPP $CPPFLAGS'
55711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55716 /* end confdefs.h. */
55717 #include <math.h>
55718 #ifdef HAVE_IEEEFP_H
55719 #include <ieeefp.h>
55720 #endif
55723 main ()
55725 _fabsf(0);
55727 return 0;
55729 _ACEOF
55730 if ac_fn_cxx_try_compile "$LINENO"; then :
55731 glibcxx_cv_func__fabsf_use=yes
55732 else
55733 glibcxx_cv_func__fabsf_use=no
55735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55736 ac_ext=c
55737 ac_cpp='$CPP $CPPFLAGS'
55738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55747 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55749 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55750 for ac_func in _fabsf
55751 do :
55752 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55753 if test "x$ac_cv_func__fabsf" = x""yes; then :
55754 cat >>confdefs.h <<_ACEOF
55755 #define HAVE__FABSF 1
55756 _ACEOF
55759 done
55768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55769 $as_echo_n "checking for fmodf declaration... " >&6; }
55770 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55771 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55772 $as_echo_n "(cached) " >&6
55773 else
55776 ac_ext=cpp
55777 ac_cpp='$CXXCPP $CPPFLAGS'
55778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55783 /* end confdefs.h. */
55784 #include <math.h>
55786 main ()
55788 fmodf(0, 0);
55790 return 0;
55792 _ACEOF
55793 if ac_fn_cxx_try_compile "$LINENO"; then :
55794 glibcxx_cv_func_fmodf_use=yes
55795 else
55796 glibcxx_cv_func_fmodf_use=no
55798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55799 ac_ext=c
55800 ac_cpp='$CPP $CPPFLAGS'
55801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55810 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55812 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55813 for ac_func in fmodf
55814 do :
55815 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55816 if test "x$ac_cv_func_fmodf" = x""yes; then :
55817 cat >>confdefs.h <<_ACEOF
55818 #define HAVE_FMODF 1
55819 _ACEOF
55822 done
55824 else
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55827 $as_echo_n "checking for _fmodf declaration... " >&6; }
55828 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55829 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55830 $as_echo_n "(cached) " >&6
55831 else
55834 ac_ext=cpp
55835 ac_cpp='$CXXCPP $CPPFLAGS'
55836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55841 /* end confdefs.h. */
55842 #include <math.h>
55844 main ()
55846 _fmodf(0, 0);
55848 return 0;
55850 _ACEOF
55851 if ac_fn_cxx_try_compile "$LINENO"; then :
55852 glibcxx_cv_func__fmodf_use=yes
55853 else
55854 glibcxx_cv_func__fmodf_use=no
55856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55857 ac_ext=c
55858 ac_cpp='$CPP $CPPFLAGS'
55859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55868 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55870 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55871 for ac_func in _fmodf
55872 do :
55873 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55874 if test "x$ac_cv_func__fmodf" = x""yes; then :
55875 cat >>confdefs.h <<_ACEOF
55876 #define HAVE__FMODF 1
55877 _ACEOF
55880 done
55889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55890 $as_echo_n "checking for frexpf declaration... " >&6; }
55891 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55892 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55893 $as_echo_n "(cached) " >&6
55894 else
55897 ac_ext=cpp
55898 ac_cpp='$CXXCPP $CPPFLAGS'
55899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55904 /* end confdefs.h. */
55905 #include <math.h>
55907 main ()
55909 frexpf(0, 0);
55911 return 0;
55913 _ACEOF
55914 if ac_fn_cxx_try_compile "$LINENO"; then :
55915 glibcxx_cv_func_frexpf_use=yes
55916 else
55917 glibcxx_cv_func_frexpf_use=no
55919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55920 ac_ext=c
55921 ac_cpp='$CPP $CPPFLAGS'
55922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55931 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55933 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55934 for ac_func in frexpf
55935 do :
55936 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55937 if test "x$ac_cv_func_frexpf" = x""yes; then :
55938 cat >>confdefs.h <<_ACEOF
55939 #define HAVE_FREXPF 1
55940 _ACEOF
55943 done
55945 else
55947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55948 $as_echo_n "checking for _frexpf declaration... " >&6; }
55949 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55950 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55951 $as_echo_n "(cached) " >&6
55952 else
55955 ac_ext=cpp
55956 ac_cpp='$CXXCPP $CPPFLAGS'
55957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55962 /* end confdefs.h. */
55963 #include <math.h>
55965 main ()
55967 _frexpf(0, 0);
55969 return 0;
55971 _ACEOF
55972 if ac_fn_cxx_try_compile "$LINENO"; then :
55973 glibcxx_cv_func__frexpf_use=yes
55974 else
55975 glibcxx_cv_func__frexpf_use=no
55977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55978 ac_ext=c
55979 ac_cpp='$CPP $CPPFLAGS'
55980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55989 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55991 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55992 for ac_func in _frexpf
55993 do :
55994 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55995 if test "x$ac_cv_func__frexpf" = x""yes; then :
55996 cat >>confdefs.h <<_ACEOF
55997 #define HAVE__FREXPF 1
55998 _ACEOF
56001 done
56010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56011 $as_echo_n "checking for hypotf declaration... " >&6; }
56012 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56013 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56014 $as_echo_n "(cached) " >&6
56015 else
56018 ac_ext=cpp
56019 ac_cpp='$CXXCPP $CPPFLAGS'
56020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56025 /* end confdefs.h. */
56026 #include <math.h>
56028 main ()
56030 hypotf(0, 0);
56032 return 0;
56034 _ACEOF
56035 if ac_fn_cxx_try_compile "$LINENO"; then :
56036 glibcxx_cv_func_hypotf_use=yes
56037 else
56038 glibcxx_cv_func_hypotf_use=no
56040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56041 ac_ext=c
56042 ac_cpp='$CPP $CPPFLAGS'
56043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56052 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56054 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56055 for ac_func in hypotf
56056 do :
56057 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56058 if test "x$ac_cv_func_hypotf" = x""yes; then :
56059 cat >>confdefs.h <<_ACEOF
56060 #define HAVE_HYPOTF 1
56061 _ACEOF
56064 done
56066 else
56068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56069 $as_echo_n "checking for _hypotf declaration... " >&6; }
56070 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56071 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56072 $as_echo_n "(cached) " >&6
56073 else
56076 ac_ext=cpp
56077 ac_cpp='$CXXCPP $CPPFLAGS'
56078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56083 /* end confdefs.h. */
56084 #include <math.h>
56086 main ()
56088 _hypotf(0, 0);
56090 return 0;
56092 _ACEOF
56093 if ac_fn_cxx_try_compile "$LINENO"; then :
56094 glibcxx_cv_func__hypotf_use=yes
56095 else
56096 glibcxx_cv_func__hypotf_use=no
56098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56099 ac_ext=c
56100 ac_cpp='$CPP $CPPFLAGS'
56101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56110 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56112 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56113 for ac_func in _hypotf
56114 do :
56115 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56116 if test "x$ac_cv_func__hypotf" = x""yes; then :
56117 cat >>confdefs.h <<_ACEOF
56118 #define HAVE__HYPOTF 1
56119 _ACEOF
56122 done
56131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56132 $as_echo_n "checking for ldexpf declaration... " >&6; }
56133 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56134 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56135 $as_echo_n "(cached) " >&6
56136 else
56139 ac_ext=cpp
56140 ac_cpp='$CXXCPP $CPPFLAGS'
56141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56146 /* end confdefs.h. */
56147 #include <math.h>
56149 main ()
56151 ldexpf(0, 0);
56153 return 0;
56155 _ACEOF
56156 if ac_fn_cxx_try_compile "$LINENO"; then :
56157 glibcxx_cv_func_ldexpf_use=yes
56158 else
56159 glibcxx_cv_func_ldexpf_use=no
56161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56162 ac_ext=c
56163 ac_cpp='$CPP $CPPFLAGS'
56164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56173 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56175 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56176 for ac_func in ldexpf
56177 do :
56178 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56179 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56180 cat >>confdefs.h <<_ACEOF
56181 #define HAVE_LDEXPF 1
56182 _ACEOF
56185 done
56187 else
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56190 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56191 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56192 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56193 $as_echo_n "(cached) " >&6
56194 else
56197 ac_ext=cpp
56198 ac_cpp='$CXXCPP $CPPFLAGS'
56199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56204 /* end confdefs.h. */
56205 #include <math.h>
56207 main ()
56209 _ldexpf(0, 0);
56211 return 0;
56213 _ACEOF
56214 if ac_fn_cxx_try_compile "$LINENO"; then :
56215 glibcxx_cv_func__ldexpf_use=yes
56216 else
56217 glibcxx_cv_func__ldexpf_use=no
56219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56220 ac_ext=c
56221 ac_cpp='$CPP $CPPFLAGS'
56222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56231 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56233 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56234 for ac_func in _ldexpf
56235 do :
56236 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56237 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56238 cat >>confdefs.h <<_ACEOF
56239 #define HAVE__LDEXPF 1
56240 _ACEOF
56243 done
56252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56253 $as_echo_n "checking for logf declaration... " >&6; }
56254 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56255 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56256 $as_echo_n "(cached) " >&6
56257 else
56260 ac_ext=cpp
56261 ac_cpp='$CXXCPP $CPPFLAGS'
56262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56267 /* end confdefs.h. */
56268 #include <math.h>
56269 #ifdef HAVE_IEEEFP_H
56270 #include <ieeefp.h>
56271 #endif
56274 main ()
56276 logf(0);
56278 return 0;
56280 _ACEOF
56281 if ac_fn_cxx_try_compile "$LINENO"; then :
56282 glibcxx_cv_func_logf_use=yes
56283 else
56284 glibcxx_cv_func_logf_use=no
56286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56287 ac_ext=c
56288 ac_cpp='$CPP $CPPFLAGS'
56289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56298 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56300 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56301 for ac_func in logf
56302 do :
56303 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56304 if test "x$ac_cv_func_logf" = x""yes; then :
56305 cat >>confdefs.h <<_ACEOF
56306 #define HAVE_LOGF 1
56307 _ACEOF
56310 done
56312 else
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56315 $as_echo_n "checking for _logf declaration... " >&6; }
56316 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56317 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56318 $as_echo_n "(cached) " >&6
56319 else
56322 ac_ext=cpp
56323 ac_cpp='$CXXCPP $CPPFLAGS'
56324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56329 /* end confdefs.h. */
56330 #include <math.h>
56331 #ifdef HAVE_IEEEFP_H
56332 #include <ieeefp.h>
56333 #endif
56336 main ()
56338 _logf(0);
56340 return 0;
56342 _ACEOF
56343 if ac_fn_cxx_try_compile "$LINENO"; then :
56344 glibcxx_cv_func__logf_use=yes
56345 else
56346 glibcxx_cv_func__logf_use=no
56348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56349 ac_ext=c
56350 ac_cpp='$CPP $CPPFLAGS'
56351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56360 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56362 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56363 for ac_func in _logf
56364 do :
56365 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56366 if test "x$ac_cv_func__logf" = x""yes; then :
56367 cat >>confdefs.h <<_ACEOF
56368 #define HAVE__LOGF 1
56369 _ACEOF
56372 done
56381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56382 $as_echo_n "checking for log10f declaration... " >&6; }
56383 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56384 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56385 $as_echo_n "(cached) " >&6
56386 else
56389 ac_ext=cpp
56390 ac_cpp='$CXXCPP $CPPFLAGS'
56391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56396 /* end confdefs.h. */
56397 #include <math.h>
56398 #ifdef HAVE_IEEEFP_H
56399 #include <ieeefp.h>
56400 #endif
56403 main ()
56405 log10f(0);
56407 return 0;
56409 _ACEOF
56410 if ac_fn_cxx_try_compile "$LINENO"; then :
56411 glibcxx_cv_func_log10f_use=yes
56412 else
56413 glibcxx_cv_func_log10f_use=no
56415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56416 ac_ext=c
56417 ac_cpp='$CPP $CPPFLAGS'
56418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56427 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56429 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56430 for ac_func in log10f
56431 do :
56432 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56433 if test "x$ac_cv_func_log10f" = x""yes; then :
56434 cat >>confdefs.h <<_ACEOF
56435 #define HAVE_LOG10F 1
56436 _ACEOF
56439 done
56441 else
56443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56444 $as_echo_n "checking for _log10f declaration... " >&6; }
56445 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56446 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56447 $as_echo_n "(cached) " >&6
56448 else
56451 ac_ext=cpp
56452 ac_cpp='$CXXCPP $CPPFLAGS'
56453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56458 /* end confdefs.h. */
56459 #include <math.h>
56460 #ifdef HAVE_IEEEFP_H
56461 #include <ieeefp.h>
56462 #endif
56465 main ()
56467 _log10f(0);
56469 return 0;
56471 _ACEOF
56472 if ac_fn_cxx_try_compile "$LINENO"; then :
56473 glibcxx_cv_func__log10f_use=yes
56474 else
56475 glibcxx_cv_func__log10f_use=no
56477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56478 ac_ext=c
56479 ac_cpp='$CPP $CPPFLAGS'
56480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56489 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56491 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56492 for ac_func in _log10f
56493 do :
56494 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56495 if test "x$ac_cv_func__log10f" = x""yes; then :
56496 cat >>confdefs.h <<_ACEOF
56497 #define HAVE__LOG10F 1
56498 _ACEOF
56501 done
56510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56511 $as_echo_n "checking for modff declaration... " >&6; }
56512 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56513 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56514 $as_echo_n "(cached) " >&6
56515 else
56518 ac_ext=cpp
56519 ac_cpp='$CXXCPP $CPPFLAGS'
56520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56525 /* end confdefs.h. */
56526 #include <math.h>
56528 main ()
56530 modff(0, 0);
56532 return 0;
56534 _ACEOF
56535 if ac_fn_cxx_try_compile "$LINENO"; then :
56536 glibcxx_cv_func_modff_use=yes
56537 else
56538 glibcxx_cv_func_modff_use=no
56540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56541 ac_ext=c
56542 ac_cpp='$CPP $CPPFLAGS'
56543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56552 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56554 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56555 for ac_func in modff
56556 do :
56557 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56558 if test "x$ac_cv_func_modff" = x""yes; then :
56559 cat >>confdefs.h <<_ACEOF
56560 #define HAVE_MODFF 1
56561 _ACEOF
56564 done
56566 else
56568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56569 $as_echo_n "checking for _modff declaration... " >&6; }
56570 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56571 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56572 $as_echo_n "(cached) " >&6
56573 else
56576 ac_ext=cpp
56577 ac_cpp='$CXXCPP $CPPFLAGS'
56578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56583 /* end confdefs.h. */
56584 #include <math.h>
56586 main ()
56588 _modff(0, 0);
56590 return 0;
56592 _ACEOF
56593 if ac_fn_cxx_try_compile "$LINENO"; then :
56594 glibcxx_cv_func__modff_use=yes
56595 else
56596 glibcxx_cv_func__modff_use=no
56598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56599 ac_ext=c
56600 ac_cpp='$CPP $CPPFLAGS'
56601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56610 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56612 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56613 for ac_func in _modff
56614 do :
56615 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56616 if test "x$ac_cv_func__modff" = x""yes; then :
56617 cat >>confdefs.h <<_ACEOF
56618 #define HAVE__MODFF 1
56619 _ACEOF
56622 done
56631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56632 $as_echo_n "checking for modf declaration... " >&6; }
56633 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56634 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56635 $as_echo_n "(cached) " >&6
56636 else
56639 ac_ext=cpp
56640 ac_cpp='$CXXCPP $CPPFLAGS'
56641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56646 /* end confdefs.h. */
56647 #include <math.h>
56649 main ()
56651 modf(0, 0);
56653 return 0;
56655 _ACEOF
56656 if ac_fn_cxx_try_compile "$LINENO"; then :
56657 glibcxx_cv_func_modf_use=yes
56658 else
56659 glibcxx_cv_func_modf_use=no
56661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56662 ac_ext=c
56663 ac_cpp='$CPP $CPPFLAGS'
56664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56673 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56675 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56676 for ac_func in modf
56677 do :
56678 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56679 if test "x$ac_cv_func_modf" = x""yes; then :
56680 cat >>confdefs.h <<_ACEOF
56681 #define HAVE_MODF 1
56682 _ACEOF
56685 done
56687 else
56689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56690 $as_echo_n "checking for _modf declaration... " >&6; }
56691 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56692 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56693 $as_echo_n "(cached) " >&6
56694 else
56697 ac_ext=cpp
56698 ac_cpp='$CXXCPP $CPPFLAGS'
56699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56704 /* end confdefs.h. */
56705 #include <math.h>
56707 main ()
56709 _modf(0, 0);
56711 return 0;
56713 _ACEOF
56714 if ac_fn_cxx_try_compile "$LINENO"; then :
56715 glibcxx_cv_func__modf_use=yes
56716 else
56717 glibcxx_cv_func__modf_use=no
56719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56720 ac_ext=c
56721 ac_cpp='$CPP $CPPFLAGS'
56722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56731 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56733 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56734 for ac_func in _modf
56735 do :
56736 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56737 if test "x$ac_cv_func__modf" = x""yes; then :
56738 cat >>confdefs.h <<_ACEOF
56739 #define HAVE__MODF 1
56740 _ACEOF
56743 done
56752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56753 $as_echo_n "checking for powf declaration... " >&6; }
56754 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56755 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56756 $as_echo_n "(cached) " >&6
56757 else
56760 ac_ext=cpp
56761 ac_cpp='$CXXCPP $CPPFLAGS'
56762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56767 /* end confdefs.h. */
56768 #include <math.h>
56770 main ()
56772 powf(0, 0);
56774 return 0;
56776 _ACEOF
56777 if ac_fn_cxx_try_compile "$LINENO"; then :
56778 glibcxx_cv_func_powf_use=yes
56779 else
56780 glibcxx_cv_func_powf_use=no
56782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56783 ac_ext=c
56784 ac_cpp='$CPP $CPPFLAGS'
56785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56794 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56796 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56797 for ac_func in powf
56798 do :
56799 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56800 if test "x$ac_cv_func_powf" = x""yes; then :
56801 cat >>confdefs.h <<_ACEOF
56802 #define HAVE_POWF 1
56803 _ACEOF
56806 done
56808 else
56810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56811 $as_echo_n "checking for _powf declaration... " >&6; }
56812 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56813 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56814 $as_echo_n "(cached) " >&6
56815 else
56818 ac_ext=cpp
56819 ac_cpp='$CXXCPP $CPPFLAGS'
56820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56825 /* end confdefs.h. */
56826 #include <math.h>
56828 main ()
56830 _powf(0, 0);
56832 return 0;
56834 _ACEOF
56835 if ac_fn_cxx_try_compile "$LINENO"; then :
56836 glibcxx_cv_func__powf_use=yes
56837 else
56838 glibcxx_cv_func__powf_use=no
56840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56841 ac_ext=c
56842 ac_cpp='$CPP $CPPFLAGS'
56843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56852 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56854 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56855 for ac_func in _powf
56856 do :
56857 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56858 if test "x$ac_cv_func__powf" = x""yes; then :
56859 cat >>confdefs.h <<_ACEOF
56860 #define HAVE__POWF 1
56861 _ACEOF
56864 done
56873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56874 $as_echo_n "checking for sqrtf declaration... " >&6; }
56875 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56876 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56877 $as_echo_n "(cached) " >&6
56878 else
56881 ac_ext=cpp
56882 ac_cpp='$CXXCPP $CPPFLAGS'
56883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56888 /* end confdefs.h. */
56889 #include <math.h>
56890 #ifdef HAVE_IEEEFP_H
56891 #include <ieeefp.h>
56892 #endif
56895 main ()
56897 sqrtf(0);
56899 return 0;
56901 _ACEOF
56902 if ac_fn_cxx_try_compile "$LINENO"; then :
56903 glibcxx_cv_func_sqrtf_use=yes
56904 else
56905 glibcxx_cv_func_sqrtf_use=no
56907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56908 ac_ext=c
56909 ac_cpp='$CPP $CPPFLAGS'
56910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56919 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56921 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56922 for ac_func in sqrtf
56923 do :
56924 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56925 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56926 cat >>confdefs.h <<_ACEOF
56927 #define HAVE_SQRTF 1
56928 _ACEOF
56931 done
56933 else
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56936 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56937 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56938 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56939 $as_echo_n "(cached) " >&6
56940 else
56943 ac_ext=cpp
56944 ac_cpp='$CXXCPP $CPPFLAGS'
56945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56950 /* end confdefs.h. */
56951 #include <math.h>
56952 #ifdef HAVE_IEEEFP_H
56953 #include <ieeefp.h>
56954 #endif
56957 main ()
56959 _sqrtf(0);
56961 return 0;
56963 _ACEOF
56964 if ac_fn_cxx_try_compile "$LINENO"; then :
56965 glibcxx_cv_func__sqrtf_use=yes
56966 else
56967 glibcxx_cv_func__sqrtf_use=no
56969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56970 ac_ext=c
56971 ac_cpp='$CPP $CPPFLAGS'
56972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56981 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56983 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56984 for ac_func in _sqrtf
56985 do :
56986 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56987 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56988 cat >>confdefs.h <<_ACEOF
56989 #define HAVE__SQRTF 1
56990 _ACEOF
56993 done
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57003 $as_echo_n "checking for sincosf declaration... " >&6; }
57004 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57005 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57006 $as_echo_n "(cached) " >&6
57007 else
57010 ac_ext=cpp
57011 ac_cpp='$CXXCPP $CPPFLAGS'
57012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57017 /* end confdefs.h. */
57018 #include <math.h>
57020 main ()
57022 sincosf(0, 0, 0);
57024 return 0;
57026 _ACEOF
57027 if ac_fn_cxx_try_compile "$LINENO"; then :
57028 glibcxx_cv_func_sincosf_use=yes
57029 else
57030 glibcxx_cv_func_sincosf_use=no
57032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57033 ac_ext=c
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57044 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57046 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57047 for ac_func in sincosf
57048 do :
57049 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57050 if test "x$ac_cv_func_sincosf" = x""yes; then :
57051 cat >>confdefs.h <<_ACEOF
57052 #define HAVE_SINCOSF 1
57053 _ACEOF
57056 done
57058 else
57060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57061 $as_echo_n "checking for _sincosf declaration... " >&6; }
57062 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57063 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57064 $as_echo_n "(cached) " >&6
57065 else
57068 ac_ext=cpp
57069 ac_cpp='$CXXCPP $CPPFLAGS'
57070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57075 /* end confdefs.h. */
57076 #include <math.h>
57078 main ()
57080 _sincosf(0, 0, 0);
57082 return 0;
57084 _ACEOF
57085 if ac_fn_cxx_try_compile "$LINENO"; then :
57086 glibcxx_cv_func__sincosf_use=yes
57087 else
57088 glibcxx_cv_func__sincosf_use=no
57090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57091 ac_ext=c
57092 ac_cpp='$CPP $CPPFLAGS'
57093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57102 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57104 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57105 for ac_func in _sincosf
57106 do :
57107 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57108 if test "x$ac_cv_func__sincosf" = x""yes; then :
57109 cat >>confdefs.h <<_ACEOF
57110 #define HAVE__SINCOSF 1
57111 _ACEOF
57114 done
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57124 $as_echo_n "checking for finitef declaration... " >&6; }
57125 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57126 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57127 $as_echo_n "(cached) " >&6
57128 else
57131 ac_ext=cpp
57132 ac_cpp='$CXXCPP $CPPFLAGS'
57133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57138 /* end confdefs.h. */
57139 #include <math.h>
57140 #ifdef HAVE_IEEEFP_H
57141 #include <ieeefp.h>
57142 #endif
57145 main ()
57147 finitef(0);
57149 return 0;
57151 _ACEOF
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func_finitef_use=yes
57154 else
57155 glibcxx_cv_func_finitef_use=no
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57158 ac_ext=c
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57169 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57171 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57172 for ac_func in finitef
57173 do :
57174 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57175 if test "x$ac_cv_func_finitef" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE_FINITEF 1
57178 _ACEOF
57181 done
57183 else
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57186 $as_echo_n "checking for _finitef declaration... " >&6; }
57187 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57188 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57189 $as_echo_n "(cached) " >&6
57190 else
57193 ac_ext=cpp
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57200 /* end confdefs.h. */
57201 #include <math.h>
57202 #ifdef HAVE_IEEEFP_H
57203 #include <ieeefp.h>
57204 #endif
57207 main ()
57209 _finitef(0);
57211 return 0;
57213 _ACEOF
57214 if ac_fn_cxx_try_compile "$LINENO"; then :
57215 glibcxx_cv_func__finitef_use=yes
57216 else
57217 glibcxx_cv_func__finitef_use=no
57219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57220 ac_ext=c
57221 ac_cpp='$CPP $CPPFLAGS'
57222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57231 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57233 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57234 for ac_func in _finitef
57235 do :
57236 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57237 if test "x$ac_cv_func__finitef" = x""yes; then :
57238 cat >>confdefs.h <<_ACEOF
57239 #define HAVE__FINITEF 1
57240 _ACEOF
57243 done
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57253 $as_echo_n "checking for long double trig functions... " >&6; }
57254 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57255 $as_echo_n "(cached) " >&6
57256 else
57259 ac_ext=cpp
57260 ac_cpp='$CXXCPP $CPPFLAGS'
57261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57266 /* end confdefs.h. */
57267 #include <math.h>
57269 main ()
57271 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57273 return 0;
57275 _ACEOF
57276 if ac_fn_cxx_try_compile "$LINENO"; then :
57277 glibcxx_cv_func_long_double_trig_use=yes
57278 else
57279 glibcxx_cv_func_long_double_trig_use=no
57281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57282 ac_ext=c
57283 ac_cpp='$CPP $CPPFLAGS'
57284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57291 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57292 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57293 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57294 do :
57295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57297 eval as_val=\$$as_ac_var
57298 if test "x$as_val" = x""yes; then :
57299 cat >>confdefs.h <<_ACEOF
57300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57301 _ACEOF
57304 done
57306 else
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57308 $as_echo_n "checking for _long double trig functions... " >&6; }
57309 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57310 $as_echo_n "(cached) " >&6
57311 else
57314 ac_ext=cpp
57315 ac_cpp='$CXXCPP $CPPFLAGS'
57316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57321 /* end confdefs.h. */
57322 #include <math.h>
57324 main ()
57326 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57328 return 0;
57330 _ACEOF
57331 if ac_fn_cxx_try_compile "$LINENO"; then :
57332 glibcxx_cv_func__long_double_trig_use=yes
57333 else
57334 glibcxx_cv_func__long_double_trig_use=no
57336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57337 ac_ext=c
57338 ac_cpp='$CPP $CPPFLAGS'
57339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57346 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57347 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57348 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57349 do :
57350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57352 eval as_val=\$$as_ac_var
57353 if test "x$as_val" = x""yes; then :
57354 cat >>confdefs.h <<_ACEOF
57355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57356 _ACEOF
57359 done
57368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57369 $as_echo_n "checking for long double round functions... " >&6; }
57370 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57371 $as_echo_n "(cached) " >&6
57372 else
57375 ac_ext=cpp
57376 ac_cpp='$CXXCPP $CPPFLAGS'
57377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57382 /* end confdefs.h. */
57383 #include <math.h>
57385 main ()
57387 ceill (0); floorl (0);
57389 return 0;
57391 _ACEOF
57392 if ac_fn_cxx_try_compile "$LINENO"; then :
57393 glibcxx_cv_func_long_double_round_use=yes
57394 else
57395 glibcxx_cv_func_long_double_round_use=no
57397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57398 ac_ext=c
57399 ac_cpp='$CPP $CPPFLAGS'
57400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57407 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57408 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57409 for ac_func in ceill floorl
57410 do :
57411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57413 eval as_val=\$$as_ac_var
57414 if test "x$as_val" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57417 _ACEOF
57420 done
57422 else
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57424 $as_echo_n "checking for _long double round functions... " >&6; }
57425 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57426 $as_echo_n "(cached) " >&6
57427 else
57430 ac_ext=cpp
57431 ac_cpp='$CXXCPP $CPPFLAGS'
57432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57437 /* end confdefs.h. */
57438 #include <math.h>
57440 main ()
57442 _ceill (0); _floorl (0);
57444 return 0;
57446 _ACEOF
57447 if ac_fn_cxx_try_compile "$LINENO"; then :
57448 glibcxx_cv_func__long_double_round_use=yes
57449 else
57450 glibcxx_cv_func__long_double_round_use=no
57452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57453 ac_ext=c
57454 ac_cpp='$CPP $CPPFLAGS'
57455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57462 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57463 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57464 for ac_func in _ceill _floorl
57465 do :
57466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57468 eval as_val=\$$as_ac_var
57469 if test "x$as_val" = x""yes; then :
57470 cat >>confdefs.h <<_ACEOF
57471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57472 _ACEOF
57475 done
57485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57486 $as_echo_n "checking for isnanl declaration... " >&6; }
57487 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57488 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57489 $as_echo_n "(cached) " >&6
57490 else
57493 ac_ext=cpp
57494 ac_cpp='$CXXCPP $CPPFLAGS'
57495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57500 /* end confdefs.h. */
57501 #include <math.h>
57502 #ifdef HAVE_IEEEFP_H
57503 #include <ieeefp.h>
57504 #endif
57507 main ()
57509 isnanl(0);
57511 return 0;
57513 _ACEOF
57514 if ac_fn_cxx_try_compile "$LINENO"; then :
57515 glibcxx_cv_func_isnanl_use=yes
57516 else
57517 glibcxx_cv_func_isnanl_use=no
57519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57520 ac_ext=c
57521 ac_cpp='$CPP $CPPFLAGS'
57522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57531 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57533 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57534 for ac_func in isnanl
57535 do :
57536 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57537 if test "x$ac_cv_func_isnanl" = x""yes; then :
57538 cat >>confdefs.h <<_ACEOF
57539 #define HAVE_ISNANL 1
57540 _ACEOF
57543 done
57545 else
57547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57548 $as_echo_n "checking for _isnanl declaration... " >&6; }
57549 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57550 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57551 $as_echo_n "(cached) " >&6
57552 else
57555 ac_ext=cpp
57556 ac_cpp='$CXXCPP $CPPFLAGS'
57557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57562 /* end confdefs.h. */
57563 #include <math.h>
57564 #ifdef HAVE_IEEEFP_H
57565 #include <ieeefp.h>
57566 #endif
57569 main ()
57571 _isnanl(0);
57573 return 0;
57575 _ACEOF
57576 if ac_fn_cxx_try_compile "$LINENO"; then :
57577 glibcxx_cv_func__isnanl_use=yes
57578 else
57579 glibcxx_cv_func__isnanl_use=no
57581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57582 ac_ext=c
57583 ac_cpp='$CPP $CPPFLAGS'
57584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57593 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57595 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57596 for ac_func in _isnanl
57597 do :
57598 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57599 if test "x$ac_cv_func__isnanl" = x""yes; then :
57600 cat >>confdefs.h <<_ACEOF
57601 #define HAVE__ISNANL 1
57602 _ACEOF
57605 done
57614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57615 $as_echo_n "checking for isinfl declaration... " >&6; }
57616 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57617 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57618 $as_echo_n "(cached) " >&6
57619 else
57622 ac_ext=cpp
57623 ac_cpp='$CXXCPP $CPPFLAGS'
57624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57629 /* end confdefs.h. */
57630 #include <math.h>
57631 #ifdef HAVE_IEEEFP_H
57632 #include <ieeefp.h>
57633 #endif
57636 main ()
57638 isinfl(0);
57640 return 0;
57642 _ACEOF
57643 if ac_fn_cxx_try_compile "$LINENO"; then :
57644 glibcxx_cv_func_isinfl_use=yes
57645 else
57646 glibcxx_cv_func_isinfl_use=no
57648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57649 ac_ext=c
57650 ac_cpp='$CPP $CPPFLAGS'
57651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57660 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57662 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57663 for ac_func in isinfl
57664 do :
57665 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57666 if test "x$ac_cv_func_isinfl" = x""yes; then :
57667 cat >>confdefs.h <<_ACEOF
57668 #define HAVE_ISINFL 1
57669 _ACEOF
57672 done
57674 else
57676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57677 $as_echo_n "checking for _isinfl declaration... " >&6; }
57678 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57679 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57680 $as_echo_n "(cached) " >&6
57681 else
57684 ac_ext=cpp
57685 ac_cpp='$CXXCPP $CPPFLAGS'
57686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57691 /* end confdefs.h. */
57692 #include <math.h>
57693 #ifdef HAVE_IEEEFP_H
57694 #include <ieeefp.h>
57695 #endif
57698 main ()
57700 _isinfl(0);
57702 return 0;
57704 _ACEOF
57705 if ac_fn_cxx_try_compile "$LINENO"; then :
57706 glibcxx_cv_func__isinfl_use=yes
57707 else
57708 glibcxx_cv_func__isinfl_use=no
57710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57711 ac_ext=c
57712 ac_cpp='$CPP $CPPFLAGS'
57713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57722 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57724 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57725 for ac_func in _isinfl
57726 do :
57727 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57728 if test "x$ac_cv_func__isinfl" = x""yes; then :
57729 cat >>confdefs.h <<_ACEOF
57730 #define HAVE__ISINFL 1
57731 _ACEOF
57734 done
57743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57744 $as_echo_n "checking for atan2l declaration... " >&6; }
57745 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57746 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57747 $as_echo_n "(cached) " >&6
57748 else
57751 ac_ext=cpp
57752 ac_cpp='$CXXCPP $CPPFLAGS'
57753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 #include <math.h>
57761 main ()
57763 atan2l(0, 0);
57765 return 0;
57767 _ACEOF
57768 if ac_fn_cxx_try_compile "$LINENO"; then :
57769 glibcxx_cv_func_atan2l_use=yes
57770 else
57771 glibcxx_cv_func_atan2l_use=no
57773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57774 ac_ext=c
57775 ac_cpp='$CPP $CPPFLAGS'
57776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57785 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57787 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57788 for ac_func in atan2l
57789 do :
57790 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57791 if test "x$ac_cv_func_atan2l" = x""yes; then :
57792 cat >>confdefs.h <<_ACEOF
57793 #define HAVE_ATAN2L 1
57794 _ACEOF
57797 done
57799 else
57801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57802 $as_echo_n "checking for _atan2l declaration... " >&6; }
57803 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57804 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57805 $as_echo_n "(cached) " >&6
57806 else
57809 ac_ext=cpp
57810 ac_cpp='$CXXCPP $CPPFLAGS'
57811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57816 /* end confdefs.h. */
57817 #include <math.h>
57819 main ()
57821 _atan2l(0, 0);
57823 return 0;
57825 _ACEOF
57826 if ac_fn_cxx_try_compile "$LINENO"; then :
57827 glibcxx_cv_func__atan2l_use=yes
57828 else
57829 glibcxx_cv_func__atan2l_use=no
57831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57832 ac_ext=c
57833 ac_cpp='$CPP $CPPFLAGS'
57834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57843 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57845 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57846 for ac_func in _atan2l
57847 do :
57848 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57849 if test "x$ac_cv_func__atan2l" = x""yes; then :
57850 cat >>confdefs.h <<_ACEOF
57851 #define HAVE__ATAN2L 1
57852 _ACEOF
57855 done
57864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57865 $as_echo_n "checking for expl declaration... " >&6; }
57866 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57867 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57868 $as_echo_n "(cached) " >&6
57869 else
57872 ac_ext=cpp
57873 ac_cpp='$CXXCPP $CPPFLAGS'
57874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57879 /* end confdefs.h. */
57880 #include <math.h>
57881 #ifdef HAVE_IEEEFP_H
57882 #include <ieeefp.h>
57883 #endif
57886 main ()
57888 expl(0);
57890 return 0;
57892 _ACEOF
57893 if ac_fn_cxx_try_compile "$LINENO"; then :
57894 glibcxx_cv_func_expl_use=yes
57895 else
57896 glibcxx_cv_func_expl_use=no
57898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57899 ac_ext=c
57900 ac_cpp='$CPP $CPPFLAGS'
57901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57910 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57912 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57913 for ac_func in expl
57914 do :
57915 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57916 if test "x$ac_cv_func_expl" = x""yes; then :
57917 cat >>confdefs.h <<_ACEOF
57918 #define HAVE_EXPL 1
57919 _ACEOF
57922 done
57924 else
57926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57927 $as_echo_n "checking for _expl declaration... " >&6; }
57928 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57929 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57930 $as_echo_n "(cached) " >&6
57931 else
57934 ac_ext=cpp
57935 ac_cpp='$CXXCPP $CPPFLAGS'
57936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57941 /* end confdefs.h. */
57942 #include <math.h>
57943 #ifdef HAVE_IEEEFP_H
57944 #include <ieeefp.h>
57945 #endif
57948 main ()
57950 _expl(0);
57952 return 0;
57954 _ACEOF
57955 if ac_fn_cxx_try_compile "$LINENO"; then :
57956 glibcxx_cv_func__expl_use=yes
57957 else
57958 glibcxx_cv_func__expl_use=no
57960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57961 ac_ext=c
57962 ac_cpp='$CPP $CPPFLAGS'
57963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57972 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57974 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57975 for ac_func in _expl
57976 do :
57977 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57978 if test "x$ac_cv_func__expl" = x""yes; then :
57979 cat >>confdefs.h <<_ACEOF
57980 #define HAVE__EXPL 1
57981 _ACEOF
57984 done
57993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57994 $as_echo_n "checking for fabsl declaration... " >&6; }
57995 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57996 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57997 $as_echo_n "(cached) " >&6
57998 else
58001 ac_ext=cpp
58002 ac_cpp='$CXXCPP $CPPFLAGS'
58003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58008 /* end confdefs.h. */
58009 #include <math.h>
58010 #ifdef HAVE_IEEEFP_H
58011 #include <ieeefp.h>
58012 #endif
58015 main ()
58017 fabsl(0);
58019 return 0;
58021 _ACEOF
58022 if ac_fn_cxx_try_compile "$LINENO"; then :
58023 glibcxx_cv_func_fabsl_use=yes
58024 else
58025 glibcxx_cv_func_fabsl_use=no
58027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58028 ac_ext=c
58029 ac_cpp='$CPP $CPPFLAGS'
58030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58039 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58041 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58042 for ac_func in fabsl
58043 do :
58044 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58045 if test "x$ac_cv_func_fabsl" = x""yes; then :
58046 cat >>confdefs.h <<_ACEOF
58047 #define HAVE_FABSL 1
58048 _ACEOF
58051 done
58053 else
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58056 $as_echo_n "checking for _fabsl declaration... " >&6; }
58057 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58058 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58059 $as_echo_n "(cached) " >&6
58060 else
58063 ac_ext=cpp
58064 ac_cpp='$CXXCPP $CPPFLAGS'
58065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58070 /* end confdefs.h. */
58071 #include <math.h>
58072 #ifdef HAVE_IEEEFP_H
58073 #include <ieeefp.h>
58074 #endif
58077 main ()
58079 _fabsl(0);
58081 return 0;
58083 _ACEOF
58084 if ac_fn_cxx_try_compile "$LINENO"; then :
58085 glibcxx_cv_func__fabsl_use=yes
58086 else
58087 glibcxx_cv_func__fabsl_use=no
58089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58090 ac_ext=c
58091 ac_cpp='$CPP $CPPFLAGS'
58092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58101 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58103 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58104 for ac_func in _fabsl
58105 do :
58106 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58107 if test "x$ac_cv_func__fabsl" = x""yes; then :
58108 cat >>confdefs.h <<_ACEOF
58109 #define HAVE__FABSL 1
58110 _ACEOF
58113 done
58122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58123 $as_echo_n "checking for fmodl declaration... " >&6; }
58124 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58125 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58126 $as_echo_n "(cached) " >&6
58127 else
58130 ac_ext=cpp
58131 ac_cpp='$CXXCPP $CPPFLAGS'
58132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58137 /* end confdefs.h. */
58138 #include <math.h>
58140 main ()
58142 fmodl(0, 0);
58144 return 0;
58146 _ACEOF
58147 if ac_fn_cxx_try_compile "$LINENO"; then :
58148 glibcxx_cv_func_fmodl_use=yes
58149 else
58150 glibcxx_cv_func_fmodl_use=no
58152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58153 ac_ext=c
58154 ac_cpp='$CPP $CPPFLAGS'
58155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58164 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58166 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58167 for ac_func in fmodl
58168 do :
58169 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58170 if test "x$ac_cv_func_fmodl" = x""yes; then :
58171 cat >>confdefs.h <<_ACEOF
58172 #define HAVE_FMODL 1
58173 _ACEOF
58176 done
58178 else
58180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58181 $as_echo_n "checking for _fmodl declaration... " >&6; }
58182 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58183 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58184 $as_echo_n "(cached) " >&6
58185 else
58188 ac_ext=cpp
58189 ac_cpp='$CXXCPP $CPPFLAGS'
58190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58195 /* end confdefs.h. */
58196 #include <math.h>
58198 main ()
58200 _fmodl(0, 0);
58202 return 0;
58204 _ACEOF
58205 if ac_fn_cxx_try_compile "$LINENO"; then :
58206 glibcxx_cv_func__fmodl_use=yes
58207 else
58208 glibcxx_cv_func__fmodl_use=no
58210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58211 ac_ext=c
58212 ac_cpp='$CPP $CPPFLAGS'
58213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58222 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58224 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58225 for ac_func in _fmodl
58226 do :
58227 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58228 if test "x$ac_cv_func__fmodl" = x""yes; then :
58229 cat >>confdefs.h <<_ACEOF
58230 #define HAVE__FMODL 1
58231 _ACEOF
58234 done
58243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58244 $as_echo_n "checking for frexpl declaration... " >&6; }
58245 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58246 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58247 $as_echo_n "(cached) " >&6
58248 else
58251 ac_ext=cpp
58252 ac_cpp='$CXXCPP $CPPFLAGS'
58253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58258 /* end confdefs.h. */
58259 #include <math.h>
58261 main ()
58263 frexpl(0, 0);
58265 return 0;
58267 _ACEOF
58268 if ac_fn_cxx_try_compile "$LINENO"; then :
58269 glibcxx_cv_func_frexpl_use=yes
58270 else
58271 glibcxx_cv_func_frexpl_use=no
58273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58274 ac_ext=c
58275 ac_cpp='$CPP $CPPFLAGS'
58276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58285 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58287 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58288 for ac_func in frexpl
58289 do :
58290 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58291 if test "x$ac_cv_func_frexpl" = x""yes; then :
58292 cat >>confdefs.h <<_ACEOF
58293 #define HAVE_FREXPL 1
58294 _ACEOF
58297 done
58299 else
58301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58302 $as_echo_n "checking for _frexpl declaration... " >&6; }
58303 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58304 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58305 $as_echo_n "(cached) " >&6
58306 else
58309 ac_ext=cpp
58310 ac_cpp='$CXXCPP $CPPFLAGS'
58311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58316 /* end confdefs.h. */
58317 #include <math.h>
58319 main ()
58321 _frexpl(0, 0);
58323 return 0;
58325 _ACEOF
58326 if ac_fn_cxx_try_compile "$LINENO"; then :
58327 glibcxx_cv_func__frexpl_use=yes
58328 else
58329 glibcxx_cv_func__frexpl_use=no
58331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58332 ac_ext=c
58333 ac_cpp='$CPP $CPPFLAGS'
58334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58343 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58345 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58346 for ac_func in _frexpl
58347 do :
58348 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58349 if test "x$ac_cv_func__frexpl" = x""yes; then :
58350 cat >>confdefs.h <<_ACEOF
58351 #define HAVE__FREXPL 1
58352 _ACEOF
58355 done
58364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58365 $as_echo_n "checking for hypotl declaration... " >&6; }
58366 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58367 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58368 $as_echo_n "(cached) " >&6
58369 else
58372 ac_ext=cpp
58373 ac_cpp='$CXXCPP $CPPFLAGS'
58374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58379 /* end confdefs.h. */
58380 #include <math.h>
58382 main ()
58384 hypotl(0, 0);
58386 return 0;
58388 _ACEOF
58389 if ac_fn_cxx_try_compile "$LINENO"; then :
58390 glibcxx_cv_func_hypotl_use=yes
58391 else
58392 glibcxx_cv_func_hypotl_use=no
58394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58395 ac_ext=c
58396 ac_cpp='$CPP $CPPFLAGS'
58397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58406 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58408 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58409 for ac_func in hypotl
58410 do :
58411 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58412 if test "x$ac_cv_func_hypotl" = x""yes; then :
58413 cat >>confdefs.h <<_ACEOF
58414 #define HAVE_HYPOTL 1
58415 _ACEOF
58418 done
58420 else
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58423 $as_echo_n "checking for _hypotl declaration... " >&6; }
58424 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58425 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58426 $as_echo_n "(cached) " >&6
58427 else
58430 ac_ext=cpp
58431 ac_cpp='$CXXCPP $CPPFLAGS'
58432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58437 /* end confdefs.h. */
58438 #include <math.h>
58440 main ()
58442 _hypotl(0, 0);
58444 return 0;
58446 _ACEOF
58447 if ac_fn_cxx_try_compile "$LINENO"; then :
58448 glibcxx_cv_func__hypotl_use=yes
58449 else
58450 glibcxx_cv_func__hypotl_use=no
58452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58453 ac_ext=c
58454 ac_cpp='$CPP $CPPFLAGS'
58455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58464 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58466 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58467 for ac_func in _hypotl
58468 do :
58469 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58470 if test "x$ac_cv_func__hypotl" = x""yes; then :
58471 cat >>confdefs.h <<_ACEOF
58472 #define HAVE__HYPOTL 1
58473 _ACEOF
58476 done
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58486 $as_echo_n "checking for ldexpl declaration... " >&6; }
58487 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58488 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58489 $as_echo_n "(cached) " >&6
58490 else
58493 ac_ext=cpp
58494 ac_cpp='$CXXCPP $CPPFLAGS'
58495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58500 /* end confdefs.h. */
58501 #include <math.h>
58503 main ()
58505 ldexpl(0, 0);
58507 return 0;
58509 _ACEOF
58510 if ac_fn_cxx_try_compile "$LINENO"; then :
58511 glibcxx_cv_func_ldexpl_use=yes
58512 else
58513 glibcxx_cv_func_ldexpl_use=no
58515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58516 ac_ext=c
58517 ac_cpp='$CPP $CPPFLAGS'
58518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58527 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58529 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58530 for ac_func in ldexpl
58531 do :
58532 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58533 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58534 cat >>confdefs.h <<_ACEOF
58535 #define HAVE_LDEXPL 1
58536 _ACEOF
58539 done
58541 else
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58544 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58545 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58546 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58547 $as_echo_n "(cached) " >&6
58548 else
58551 ac_ext=cpp
58552 ac_cpp='$CXXCPP $CPPFLAGS'
58553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 #include <math.h>
58561 main ()
58563 _ldexpl(0, 0);
58565 return 0;
58567 _ACEOF
58568 if ac_fn_cxx_try_compile "$LINENO"; then :
58569 glibcxx_cv_func__ldexpl_use=yes
58570 else
58571 glibcxx_cv_func__ldexpl_use=no
58573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58574 ac_ext=c
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58585 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58587 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58588 for ac_func in _ldexpl
58589 do :
58590 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58591 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58592 cat >>confdefs.h <<_ACEOF
58593 #define HAVE__LDEXPL 1
58594 _ACEOF
58597 done
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58607 $as_echo_n "checking for logl declaration... " >&6; }
58608 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58609 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58610 $as_echo_n "(cached) " >&6
58611 else
58614 ac_ext=cpp
58615 ac_cpp='$CXXCPP $CPPFLAGS'
58616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58621 /* end confdefs.h. */
58622 #include <math.h>
58623 #ifdef HAVE_IEEEFP_H
58624 #include <ieeefp.h>
58625 #endif
58628 main ()
58630 logl(0);
58632 return 0;
58634 _ACEOF
58635 if ac_fn_cxx_try_compile "$LINENO"; then :
58636 glibcxx_cv_func_logl_use=yes
58637 else
58638 glibcxx_cv_func_logl_use=no
58640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58641 ac_ext=c
58642 ac_cpp='$CPP $CPPFLAGS'
58643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58652 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58654 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58655 for ac_func in logl
58656 do :
58657 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58658 if test "x$ac_cv_func_logl" = x""yes; then :
58659 cat >>confdefs.h <<_ACEOF
58660 #define HAVE_LOGL 1
58661 _ACEOF
58664 done
58666 else
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58669 $as_echo_n "checking for _logl declaration... " >&6; }
58670 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58671 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58672 $as_echo_n "(cached) " >&6
58673 else
58676 ac_ext=cpp
58677 ac_cpp='$CXXCPP $CPPFLAGS'
58678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58683 /* end confdefs.h. */
58684 #include <math.h>
58685 #ifdef HAVE_IEEEFP_H
58686 #include <ieeefp.h>
58687 #endif
58690 main ()
58692 _logl(0);
58694 return 0;
58696 _ACEOF
58697 if ac_fn_cxx_try_compile "$LINENO"; then :
58698 glibcxx_cv_func__logl_use=yes
58699 else
58700 glibcxx_cv_func__logl_use=no
58702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58703 ac_ext=c
58704 ac_cpp='$CPP $CPPFLAGS'
58705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58714 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58716 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58717 for ac_func in _logl
58718 do :
58719 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58720 if test "x$ac_cv_func__logl" = x""yes; then :
58721 cat >>confdefs.h <<_ACEOF
58722 #define HAVE__LOGL 1
58723 _ACEOF
58726 done
58735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58736 $as_echo_n "checking for log10l declaration... " >&6; }
58737 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58738 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58739 $as_echo_n "(cached) " >&6
58740 else
58743 ac_ext=cpp
58744 ac_cpp='$CXXCPP $CPPFLAGS'
58745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58750 /* end confdefs.h. */
58751 #include <math.h>
58752 #ifdef HAVE_IEEEFP_H
58753 #include <ieeefp.h>
58754 #endif
58757 main ()
58759 log10l(0);
58761 return 0;
58763 _ACEOF
58764 if ac_fn_cxx_try_compile "$LINENO"; then :
58765 glibcxx_cv_func_log10l_use=yes
58766 else
58767 glibcxx_cv_func_log10l_use=no
58769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58770 ac_ext=c
58771 ac_cpp='$CPP $CPPFLAGS'
58772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58781 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58783 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58784 for ac_func in log10l
58785 do :
58786 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58787 if test "x$ac_cv_func_log10l" = x""yes; then :
58788 cat >>confdefs.h <<_ACEOF
58789 #define HAVE_LOG10L 1
58790 _ACEOF
58793 done
58795 else
58797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58798 $as_echo_n "checking for _log10l declaration... " >&6; }
58799 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58800 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58801 $as_echo_n "(cached) " >&6
58802 else
58805 ac_ext=cpp
58806 ac_cpp='$CXXCPP $CPPFLAGS'
58807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58812 /* end confdefs.h. */
58813 #include <math.h>
58814 #ifdef HAVE_IEEEFP_H
58815 #include <ieeefp.h>
58816 #endif
58819 main ()
58821 _log10l(0);
58823 return 0;
58825 _ACEOF
58826 if ac_fn_cxx_try_compile "$LINENO"; then :
58827 glibcxx_cv_func__log10l_use=yes
58828 else
58829 glibcxx_cv_func__log10l_use=no
58831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58832 ac_ext=c
58833 ac_cpp='$CPP $CPPFLAGS'
58834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58843 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58845 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58846 for ac_func in _log10l
58847 do :
58848 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58849 if test "x$ac_cv_func__log10l" = x""yes; then :
58850 cat >>confdefs.h <<_ACEOF
58851 #define HAVE__LOG10L 1
58852 _ACEOF
58855 done
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58865 $as_echo_n "checking for modfl declaration... " >&6; }
58866 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58867 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58868 $as_echo_n "(cached) " >&6
58869 else
58872 ac_ext=cpp
58873 ac_cpp='$CXXCPP $CPPFLAGS'
58874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58879 /* end confdefs.h. */
58880 #include <math.h>
58882 main ()
58884 modfl(0, 0);
58886 return 0;
58888 _ACEOF
58889 if ac_fn_cxx_try_compile "$LINENO"; then :
58890 glibcxx_cv_func_modfl_use=yes
58891 else
58892 glibcxx_cv_func_modfl_use=no
58894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58895 ac_ext=c
58896 ac_cpp='$CPP $CPPFLAGS'
58897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58906 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58908 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58909 for ac_func in modfl
58910 do :
58911 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58912 if test "x$ac_cv_func_modfl" = x""yes; then :
58913 cat >>confdefs.h <<_ACEOF
58914 #define HAVE_MODFL 1
58915 _ACEOF
58918 done
58920 else
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58923 $as_echo_n "checking for _modfl declaration... " >&6; }
58924 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58925 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58926 $as_echo_n "(cached) " >&6
58927 else
58930 ac_ext=cpp
58931 ac_cpp='$CXXCPP $CPPFLAGS'
58932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h. */
58938 #include <math.h>
58940 main ()
58942 _modfl(0, 0);
58944 return 0;
58946 _ACEOF
58947 if ac_fn_cxx_try_compile "$LINENO"; then :
58948 glibcxx_cv_func__modfl_use=yes
58949 else
58950 glibcxx_cv_func__modfl_use=no
58952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58953 ac_ext=c
58954 ac_cpp='$CPP $CPPFLAGS'
58955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58964 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58966 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58967 for ac_func in _modfl
58968 do :
58969 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58970 if test "x$ac_cv_func__modfl" = x""yes; then :
58971 cat >>confdefs.h <<_ACEOF
58972 #define HAVE__MODFL 1
58973 _ACEOF
58976 done
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58986 $as_echo_n "checking for powl declaration... " >&6; }
58987 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58988 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58989 $as_echo_n "(cached) " >&6
58990 else
58993 ac_ext=cpp
58994 ac_cpp='$CXXCPP $CPPFLAGS'
58995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59000 /* end confdefs.h. */
59001 #include <math.h>
59003 main ()
59005 powl(0, 0);
59007 return 0;
59009 _ACEOF
59010 if ac_fn_cxx_try_compile "$LINENO"; then :
59011 glibcxx_cv_func_powl_use=yes
59012 else
59013 glibcxx_cv_func_powl_use=no
59015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59016 ac_ext=c
59017 ac_cpp='$CPP $CPPFLAGS'
59018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59027 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59029 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59030 for ac_func in powl
59031 do :
59032 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59033 if test "x$ac_cv_func_powl" = x""yes; then :
59034 cat >>confdefs.h <<_ACEOF
59035 #define HAVE_POWL 1
59036 _ACEOF
59039 done
59041 else
59043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59044 $as_echo_n "checking for _powl declaration... " >&6; }
59045 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59046 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59047 $as_echo_n "(cached) " >&6
59048 else
59051 ac_ext=cpp
59052 ac_cpp='$CXXCPP $CPPFLAGS'
59053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59058 /* end confdefs.h. */
59059 #include <math.h>
59061 main ()
59063 _powl(0, 0);
59065 return 0;
59067 _ACEOF
59068 if ac_fn_cxx_try_compile "$LINENO"; then :
59069 glibcxx_cv_func__powl_use=yes
59070 else
59071 glibcxx_cv_func__powl_use=no
59073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59074 ac_ext=c
59075 ac_cpp='$CPP $CPPFLAGS'
59076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59085 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59087 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59088 for ac_func in _powl
59089 do :
59090 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59091 if test "x$ac_cv_func__powl" = x""yes; then :
59092 cat >>confdefs.h <<_ACEOF
59093 #define HAVE__POWL 1
59094 _ACEOF
59097 done
59106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59107 $as_echo_n "checking for sqrtl declaration... " >&6; }
59108 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59109 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59110 $as_echo_n "(cached) " >&6
59111 else
59114 ac_ext=cpp
59115 ac_cpp='$CXXCPP $CPPFLAGS'
59116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59121 /* end confdefs.h. */
59122 #include <math.h>
59123 #ifdef HAVE_IEEEFP_H
59124 #include <ieeefp.h>
59125 #endif
59128 main ()
59130 sqrtl(0);
59132 return 0;
59134 _ACEOF
59135 if ac_fn_cxx_try_compile "$LINENO"; then :
59136 glibcxx_cv_func_sqrtl_use=yes
59137 else
59138 glibcxx_cv_func_sqrtl_use=no
59140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59141 ac_ext=c
59142 ac_cpp='$CPP $CPPFLAGS'
59143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59152 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59154 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59155 for ac_func in sqrtl
59156 do :
59157 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59158 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59159 cat >>confdefs.h <<_ACEOF
59160 #define HAVE_SQRTL 1
59161 _ACEOF
59164 done
59166 else
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59169 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59170 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59171 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59172 $as_echo_n "(cached) " >&6
59173 else
59176 ac_ext=cpp
59177 ac_cpp='$CXXCPP $CPPFLAGS'
59178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59183 /* end confdefs.h. */
59184 #include <math.h>
59185 #ifdef HAVE_IEEEFP_H
59186 #include <ieeefp.h>
59187 #endif
59190 main ()
59192 _sqrtl(0);
59194 return 0;
59196 _ACEOF
59197 if ac_fn_cxx_try_compile "$LINENO"; then :
59198 glibcxx_cv_func__sqrtl_use=yes
59199 else
59200 glibcxx_cv_func__sqrtl_use=no
59202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59203 ac_ext=c
59204 ac_cpp='$CPP $CPPFLAGS'
59205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59214 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59216 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59217 for ac_func in _sqrtl
59218 do :
59219 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59220 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59221 cat >>confdefs.h <<_ACEOF
59222 #define HAVE__SQRTL 1
59223 _ACEOF
59226 done
59235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59236 $as_echo_n "checking for sincosl declaration... " >&6; }
59237 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59238 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59239 $as_echo_n "(cached) " >&6
59240 else
59243 ac_ext=cpp
59244 ac_cpp='$CXXCPP $CPPFLAGS'
59245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59250 /* end confdefs.h. */
59251 #include <math.h>
59253 main ()
59255 sincosl(0, 0, 0);
59257 return 0;
59259 _ACEOF
59260 if ac_fn_cxx_try_compile "$LINENO"; then :
59261 glibcxx_cv_func_sincosl_use=yes
59262 else
59263 glibcxx_cv_func_sincosl_use=no
59265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59266 ac_ext=c
59267 ac_cpp='$CPP $CPPFLAGS'
59268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59277 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59279 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59280 for ac_func in sincosl
59281 do :
59282 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59283 if test "x$ac_cv_func_sincosl" = x""yes; then :
59284 cat >>confdefs.h <<_ACEOF
59285 #define HAVE_SINCOSL 1
59286 _ACEOF
59289 done
59291 else
59293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59294 $as_echo_n "checking for _sincosl declaration... " >&6; }
59295 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59296 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59297 $as_echo_n "(cached) " >&6
59298 else
59301 ac_ext=cpp
59302 ac_cpp='$CXXCPP $CPPFLAGS'
59303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59308 /* end confdefs.h. */
59309 #include <math.h>
59311 main ()
59313 _sincosl(0, 0, 0);
59315 return 0;
59317 _ACEOF
59318 if ac_fn_cxx_try_compile "$LINENO"; then :
59319 glibcxx_cv_func__sincosl_use=yes
59320 else
59321 glibcxx_cv_func__sincosl_use=no
59323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59324 ac_ext=c
59325 ac_cpp='$CPP $CPPFLAGS'
59326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59335 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59337 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59338 for ac_func in _sincosl
59339 do :
59340 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59341 if test "x$ac_cv_func__sincosl" = x""yes; then :
59342 cat >>confdefs.h <<_ACEOF
59343 #define HAVE__SINCOSL 1
59344 _ACEOF
59347 done
59356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59357 $as_echo_n "checking for finitel declaration... " >&6; }
59358 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59359 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59360 $as_echo_n "(cached) " >&6
59361 else
59364 ac_ext=cpp
59365 ac_cpp='$CXXCPP $CPPFLAGS'
59366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59371 /* end confdefs.h. */
59372 #include <math.h>
59373 #ifdef HAVE_IEEEFP_H
59374 #include <ieeefp.h>
59375 #endif
59378 main ()
59380 finitel(0);
59382 return 0;
59384 _ACEOF
59385 if ac_fn_cxx_try_compile "$LINENO"; then :
59386 glibcxx_cv_func_finitel_use=yes
59387 else
59388 glibcxx_cv_func_finitel_use=no
59390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59391 ac_ext=c
59392 ac_cpp='$CPP $CPPFLAGS'
59393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59402 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59404 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59405 for ac_func in finitel
59406 do :
59407 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59408 if test "x$ac_cv_func_finitel" = x""yes; then :
59409 cat >>confdefs.h <<_ACEOF
59410 #define HAVE_FINITEL 1
59411 _ACEOF
59414 done
59416 else
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59419 $as_echo_n "checking for _finitel declaration... " >&6; }
59420 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59421 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59422 $as_echo_n "(cached) " >&6
59423 else
59426 ac_ext=cpp
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59433 /* end confdefs.h. */
59434 #include <math.h>
59435 #ifdef HAVE_IEEEFP_H
59436 #include <ieeefp.h>
59437 #endif
59440 main ()
59442 _finitel(0);
59444 return 0;
59446 _ACEOF
59447 if ac_fn_cxx_try_compile "$LINENO"; then :
59448 glibcxx_cv_func__finitel_use=yes
59449 else
59450 glibcxx_cv_func__finitel_use=no
59452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59453 ac_ext=c
59454 ac_cpp='$CPP $CPPFLAGS'
59455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59464 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59466 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59467 for ac_func in _finitel
59468 do :
59469 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59470 if test "x$ac_cv_func__finitel" = x""yes; then :
59471 cat >>confdefs.h <<_ACEOF
59472 #define HAVE__FINITEL 1
59473 _ACEOF
59476 done
59484 LIBS="$ac_save_LIBS"
59485 CXXFLAGS="$ac_save_CXXFLAGS"
59488 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59489 ac_save_CXXFLAGS="$CXXFLAGS"
59490 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59494 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59495 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59496 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59497 $as_echo_n "(cached) " >&6
59498 else
59501 ac_ext=cpp
59502 ac_cpp='$CXXCPP $CPPFLAGS'
59503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59508 /* end confdefs.h. */
59509 #include <stdlib.h>
59511 main ()
59513 at_quick_exit(0);
59515 return 0;
59517 _ACEOF
59518 if ac_fn_cxx_try_compile "$LINENO"; then :
59519 glibcxx_cv_func_at_quick_exit_use=yes
59520 else
59521 glibcxx_cv_func_at_quick_exit_use=no
59523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59524 ac_ext=c
59525 ac_cpp='$CPP $CPPFLAGS'
59526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59535 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59536 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59537 for ac_func in at_quick_exit
59538 do :
59539 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59540 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59541 cat >>confdefs.h <<_ACEOF
59542 #define HAVE_AT_QUICK_EXIT 1
59543 _ACEOF
59546 done
59551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59552 $as_echo_n "checking for quick_exit declaration... " >&6; }
59553 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59554 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59555 $as_echo_n "(cached) " >&6
59556 else
59559 ac_ext=cpp
59560 ac_cpp='$CXXCPP $CPPFLAGS'
59561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59566 /* end confdefs.h. */
59567 #include <stdlib.h>
59569 main ()
59571 quick_exit(0);
59573 return 0;
59575 _ACEOF
59576 if ac_fn_cxx_try_compile "$LINENO"; then :
59577 glibcxx_cv_func_quick_exit_use=yes
59578 else
59579 glibcxx_cv_func_quick_exit_use=no
59581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59593 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59594 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59595 for ac_func in quick_exit
59596 do :
59597 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59598 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59599 cat >>confdefs.h <<_ACEOF
59600 #define HAVE_QUICK_EXIT 1
59601 _ACEOF
59604 done
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59610 $as_echo_n "checking for strtold declaration... " >&6; }
59611 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59612 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59613 $as_echo_n "(cached) " >&6
59614 else
59617 ac_ext=cpp
59618 ac_cpp='$CXXCPP $CPPFLAGS'
59619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59624 /* end confdefs.h. */
59625 #include <stdlib.h>
59627 main ()
59629 strtold(0, 0);
59631 return 0;
59633 _ACEOF
59634 if ac_fn_cxx_try_compile "$LINENO"; then :
59635 glibcxx_cv_func_strtold_use=yes
59636 else
59637 glibcxx_cv_func_strtold_use=no
59639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59640 ac_ext=c
59641 ac_cpp='$CPP $CPPFLAGS'
59642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59651 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59652 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59653 for ac_func in strtold
59654 do :
59655 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59656 if test "x$ac_cv_func_strtold" = x""yes; then :
59657 cat >>confdefs.h <<_ACEOF
59658 #define HAVE_STRTOLD 1
59659 _ACEOF
59662 done
59669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59670 $as_echo_n "checking for strtof declaration... " >&6; }
59671 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59672 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59673 $as_echo_n "(cached) " >&6
59674 else
59677 ac_ext=cpp
59678 ac_cpp='$CXXCPP $CPPFLAGS'
59679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59684 /* end confdefs.h. */
59685 #include <stdlib.h>
59687 main ()
59689 strtof(0, 0);
59691 return 0;
59693 _ACEOF
59694 if ac_fn_cxx_try_compile "$LINENO"; then :
59695 glibcxx_cv_func_strtof_use=yes
59696 else
59697 glibcxx_cv_func_strtof_use=no
59699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59700 ac_ext=c
59701 ac_cpp='$CPP $CPPFLAGS'
59702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59711 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59712 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59713 for ac_func in strtof
59714 do :
59715 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59716 if test "x$ac_cv_func_strtof" = x""yes; then :
59717 cat >>confdefs.h <<_ACEOF
59718 #define HAVE_STRTOF 1
59719 _ACEOF
59722 done
59729 CXXFLAGS="$ac_save_CXXFLAGS"
59731 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59735 # Check whether --enable-tls was given.
59736 if test "${enable_tls+set}" = set; then :
59737 enableval=$enable_tls;
59738 case "$enableval" in
59739 yes|no) ;;
59740 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59741 esac
59743 else
59744 enable_tls=yes
59748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59749 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59750 if test "${gcc_cv_have_tls+set}" = set; then :
59751 $as_echo_n "(cached) " >&6
59752 else
59754 if test "$cross_compiling" = yes; then :
59755 if test x$gcc_no_link = xyes; then
59756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 __thread int a; int b; int main() { return a = b; }
59761 _ACEOF
59762 if ac_fn_c_try_link "$LINENO"; then :
59763 chktls_save_LDFLAGS="$LDFLAGS"
59764 case $host in
59765 *-*-linux*)
59766 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59768 esac
59769 chktls_save_CFLAGS="$CFLAGS"
59770 CFLAGS="-fPIC $CFLAGS"
59771 if test x$gcc_no_link = xyes; then
59772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59775 /* end confdefs.h. */
59776 int f() { return 0; }
59777 _ACEOF
59778 if ac_fn_c_try_link "$LINENO"; then :
59779 if test x$gcc_no_link = xyes; then
59780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59783 /* end confdefs.h. */
59784 __thread int a; int b; int f() { return a = b; }
59785 _ACEOF
59786 if ac_fn_c_try_link "$LINENO"; then :
59787 gcc_cv_have_tls=yes
59788 else
59789 gcc_cv_have_tls=no
59791 rm -f core conftest.err conftest.$ac_objext \
59792 conftest$ac_exeext conftest.$ac_ext
59793 else
59794 gcc_cv_have_tls=yes
59796 rm -f core conftest.err conftest.$ac_objext \
59797 conftest$ac_exeext conftest.$ac_ext
59798 CFLAGS="$chktls_save_CFLAGS"
59799 LDFLAGS="$chktls_save_LDFLAGS"
59800 else
59801 gcc_cv_have_tls=no
59803 rm -f core conftest.err conftest.$ac_objext \
59804 conftest$ac_exeext conftest.$ac_ext
59807 else
59808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59809 /* end confdefs.h. */
59810 __thread int a; int b; int main() { return a = b; }
59811 _ACEOF
59812 if ac_fn_c_try_run "$LINENO"; then :
59813 chktls_save_LDFLAGS="$LDFLAGS"
59814 LDFLAGS="-static $LDFLAGS"
59815 if test x$gcc_no_link = xyes; then
59816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59819 /* end confdefs.h. */
59820 int main() { return 0; }
59821 _ACEOF
59822 if ac_fn_c_try_link "$LINENO"; then :
59823 if test "$cross_compiling" = yes; then :
59824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59826 as_fn_error "cannot run test program while cross compiling
59827 See \`config.log' for more details." "$LINENO" 5; }
59828 else
59829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59830 /* end confdefs.h. */
59831 __thread int a; int b; int main() { return a = b; }
59832 _ACEOF
59833 if ac_fn_c_try_run "$LINENO"; then :
59834 gcc_cv_have_tls=yes
59835 else
59836 gcc_cv_have_tls=no
59838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59839 conftest.$ac_objext conftest.beam conftest.$ac_ext
59842 else
59843 gcc_cv_have_tls=yes
59845 rm -f core conftest.err conftest.$ac_objext \
59846 conftest$ac_exeext conftest.$ac_ext
59847 LDFLAGS="$chktls_save_LDFLAGS"
59848 if test $gcc_cv_have_tls = yes; then
59849 chktls_save_CFLAGS="$CFLAGS"
59850 thread_CFLAGS=failed
59851 for flag in '' '-pthread' '-lpthread'; do
59852 CFLAGS="$flag $chktls_save_CFLAGS"
59853 if test x$gcc_no_link = xyes; then
59854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59857 /* end confdefs.h. */
59858 #include <pthread.h>
59859 void *g(void *d) { return NULL; }
59861 main ()
59863 pthread_t t; pthread_create(&t,NULL,g,NULL);
59865 return 0;
59867 _ACEOF
59868 if ac_fn_c_try_link "$LINENO"; then :
59869 thread_CFLAGS="$flag"
59871 rm -f core conftest.err conftest.$ac_objext \
59872 conftest$ac_exeext conftest.$ac_ext
59873 if test "X$thread_CFLAGS" != Xfailed; then
59874 break
59876 done
59877 CFLAGS="$chktls_save_CFLAGS"
59878 if test "X$thread_CFLAGS" != Xfailed; then
59879 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59880 if test "$cross_compiling" = yes; then :
59881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59883 as_fn_error "cannot run test program while cross compiling
59884 See \`config.log' for more details." "$LINENO" 5; }
59885 else
59886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59887 /* end confdefs.h. */
59888 #include <pthread.h>
59889 __thread int a;
59890 static int *volatile a_in_other_thread;
59891 static void *
59892 thread_func (void *arg)
59894 a_in_other_thread = &a;
59895 return (void *)0;
59898 main ()
59900 pthread_t thread;
59901 void *thread_retval;
59902 int *volatile a_in_main_thread;
59903 a_in_main_thread = &a;
59904 if (pthread_create (&thread, (pthread_attr_t *)0,
59905 thread_func, (void *)0))
59906 return 0;
59907 if (pthread_join (thread, &thread_retval))
59908 return 0;
59909 return (a_in_other_thread == a_in_main_thread);
59911 return 0;
59913 _ACEOF
59914 if ac_fn_c_try_run "$LINENO"; then :
59915 gcc_cv_have_tls=yes
59916 else
59917 gcc_cv_have_tls=no
59919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59920 conftest.$ac_objext conftest.beam conftest.$ac_ext
59923 CFLAGS="$chktls_save_CFLAGS"
59926 else
59927 gcc_cv_have_tls=no
59929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59930 conftest.$ac_objext conftest.beam conftest.$ac_ext
59934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59935 $as_echo "$gcc_cv_have_tls" >&6; }
59936 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59938 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59941 for ac_func in __cxa_thread_atexit_impl
59942 do :
59943 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59944 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59945 cat >>confdefs.h <<_ACEOF
59946 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59947 _ACEOF
59950 done
59952 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59953 do :
59954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59956 eval as_val=\$$as_ac_var
59957 if test "x$as_val" = x""yes; then :
59958 cat >>confdefs.h <<_ACEOF
59959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59960 _ACEOF
59963 done
59970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59971 $as_echo_n "checking for iconv... " >&6; }
59972 if test "${am_cv_func_iconv+set}" = set; then :
59973 $as_echo_n "(cached) " >&6
59974 else
59976 am_cv_func_iconv="no, consider installing GNU libiconv"
59977 am_cv_lib_iconv=no
59978 am_save_CPPFLAGS="$CPPFLAGS"
59979 CPPFLAGS="$CPPFLAGS $INCICONV"
59980 if test x$gcc_no_link = xyes; then
59981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59984 /* end confdefs.h. */
59985 #include <stdlib.h>
59986 #include <iconv.h>
59988 main ()
59990 iconv_t cd = iconv_open("","");
59991 iconv(cd,NULL,NULL,NULL,NULL);
59992 iconv_close(cd);
59994 return 0;
59996 _ACEOF
59997 if ac_fn_c_try_link "$LINENO"; then :
59998 am_cv_func_iconv=yes
60000 rm -f core conftest.err conftest.$ac_objext \
60001 conftest$ac_exeext conftest.$ac_ext
60002 CPPFLAGS="$am_save_CPPFLAGS"
60004 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60005 for _libs in .libs _libs; do
60006 am_save_CPPFLAGS="$CPPFLAGS"
60007 am_save_LIBS="$LIBS"
60008 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60009 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60010 if test x$gcc_no_link = xyes; then
60011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60014 /* end confdefs.h. */
60015 #include <stdlib.h>
60016 #include <iconv.h>
60018 main ()
60020 iconv_t cd = iconv_open("","");
60021 iconv(cd,NULL,NULL,NULL,NULL);
60022 iconv_close(cd);
60024 return 0;
60026 _ACEOF
60027 if ac_fn_c_try_link "$LINENO"; then :
60028 INCICONV="-I../libiconv/include"
60029 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60030 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60031 am_cv_lib_iconv=yes
60032 am_cv_func_iconv=yes
60034 rm -f core conftest.err conftest.$ac_objext \
60035 conftest$ac_exeext conftest.$ac_ext
60036 CPPFLAGS="$am_save_CPPFLAGS"
60037 LIBS="$am_save_LIBS"
60038 if test "$am_cv_func_iconv" = "yes"; then
60039 break
60041 done
60044 if test "$am_cv_func_iconv" != yes; then
60045 am_save_CPPFLAGS="$CPPFLAGS"
60046 am_save_LIBS="$LIBS"
60047 CPPFLAGS="$LIBS $INCICONV"
60048 LIBS="$LIBS $LIBICONV"
60049 if test x$gcc_no_link = xyes; then
60050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053 /* end confdefs.h. */
60054 #include <stdlib.h>
60055 #include <iconv.h>
60057 main ()
60059 iconv_t cd = iconv_open("","");
60060 iconv(cd,NULL,NULL,NULL,NULL);
60061 iconv_close(cd);
60063 return 0;
60065 _ACEOF
60066 if ac_fn_c_try_link "$LINENO"; then :
60067 am_cv_lib_iconv=yes
60068 am_cv_func_iconv=yes
60070 rm -f core conftest.err conftest.$ac_objext \
60071 conftest$ac_exeext conftest.$ac_ext
60072 CPPFLAGS="$am_save_CPPFLAGS"
60073 LIBS="$am_save_LIBS"
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60078 $as_echo "$am_cv_func_iconv" >&6; }
60079 if test "$am_cv_func_iconv" = yes; then
60081 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60084 if test "$am_cv_lib_iconv" = yes; then
60086 for element in $INCICONV; do
60087 haveit=
60088 for x in $CPPFLAGS; do
60090 acl_save_prefix="$prefix"
60091 prefix="$acl_final_prefix"
60092 acl_save_exec_prefix="$exec_prefix"
60093 exec_prefix="$acl_final_exec_prefix"
60094 eval x=\"$x\"
60095 exec_prefix="$acl_save_exec_prefix"
60096 prefix="$acl_save_prefix"
60098 if test "X$x" = "X$element"; then
60099 haveit=yes
60100 break
60102 done
60103 if test -z "$haveit"; then
60104 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60106 done
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60109 $as_echo_n "checking how to link with libiconv... " >&6; }
60110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60111 $as_echo "$LIBICONV" >&6; }
60112 else
60113 LIBICONV=
60114 LTLIBICONV=
60119 if test "$am_cv_func_iconv" = yes; then
60120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60121 $as_echo_n "checking for iconv declaration... " >&6; }
60122 if test "${am_cv_proto_iconv+set}" = set; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60127 /* end confdefs.h. */
60129 #include <stdlib.h>
60130 #include <iconv.h>
60131 extern
60132 #ifdef __cplusplus
60134 #endif
60135 #if defined(__STDC__) || defined(__cplusplus)
60136 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60137 #else
60138 size_t iconv();
60139 #endif
60142 main ()
60146 return 0;
60148 _ACEOF
60149 if ac_fn_c_try_compile "$LINENO"; then :
60150 am_cv_proto_iconv_arg1=""
60151 else
60152 am_cv_proto_iconv_arg1="const"
60154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60155 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);"
60158 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60160 }$am_cv_proto_iconv" >&5
60161 $as_echo "${ac_t:-
60162 }$am_cv_proto_iconv" >&6; }
60164 cat >>confdefs.h <<_ACEOF
60165 #define ICONV_CONST $am_cv_proto_iconv_arg1
60166 _ACEOF
60171 *-mingw32*)
60173 # If we're not using GNU ld, then there's no point in even trying these
60174 # tests. Check for that first. We should have already tested for gld
60175 # by now (in libtool), but require it now just to be safe...
60176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60181 # The name set by libtool depends on the version of libtool. Shame on us
60182 # for depending on an impl detail, but c'est la vie. Older versions used
60183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60186 # set (hence we're using an older libtool), then set it.
60187 if test x${with_gnu_ld+set} != xset; then
60188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60190 with_gnu_ld=no
60191 else
60192 with_gnu_ld=$ac_cv_prog_gnu_ld
60196 # Start by getting the version number. I think the libtool test already
60197 # does some of this, but throws away the result.
60198 glibcxx_ld_is_gold=no
60199 if test x"$with_gnu_ld" = x"yes"; then
60200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60201 $as_echo_n "checking for ld version... " >&6; }
60203 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60204 glibcxx_ld_is_gold=yes
60206 ldver=`$LD --version 2>/dev/null |
60207 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'`
60209 glibcxx_gnu_ld_version=`echo $ldver | \
60210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60212 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60215 # Set --gc-sections.
60216 glibcxx_have_gc_sections=no
60217 if test "$glibcxx_ld_is_gold" = "yes"; then
60218 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60219 glibcxx_have_gc_sections=yes
60221 else
60222 glibcxx_gcsections_min_ld=21602
60223 if test x"$with_gnu_ld" = x"yes" &&
60224 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60225 glibcxx_have_gc_sections=yes
60228 if test "$glibcxx_have_gc_sections" = "yes"; then
60229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60230 # NB: This flag only works reliably after 2.16.1. Configure tests
60231 # for this are difficult, so hard wire a value that should work.
60233 ac_test_CFLAGS="${CFLAGS+set}"
60234 ac_save_CFLAGS="$CFLAGS"
60235 CFLAGS='-Wl,--gc-sections'
60237 # Check for -Wl,--gc-sections
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60239 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60240 if test x$gcc_no_link = xyes; then
60241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60244 /* end confdefs.h. */
60245 int one(void) { return 1; }
60246 int two(void) { return 2; }
60249 main ()
60251 two();
60253 return 0;
60255 _ACEOF
60256 if ac_fn_c_try_link "$LINENO"; then :
60257 ac_gcsections=yes
60258 else
60259 ac_gcsections=no
60261 rm -f core conftest.err conftest.$ac_objext \
60262 conftest$ac_exeext conftest.$ac_ext
60263 if test "$ac_gcsections" = "yes"; then
60264 rm -f conftest.c
60265 touch conftest.c
60266 if $CC -c conftest.c; then
60267 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60268 grep "Warning: gc-sections option ignored" > /dev/null; then
60269 ac_gcsections=no
60272 rm -f conftest.c conftest.o conftest
60274 if test "$ac_gcsections" = "yes"; then
60275 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60278 $as_echo "$ac_gcsections" >&6; }
60280 if test "$ac_test_CFLAGS" = set; then
60281 CFLAGS="$ac_save_CFLAGS"
60282 else
60283 # this is the suspicious part
60284 CFLAGS=''
60288 # Set -z,relro.
60289 # Note this is only for shared objects.
60290 ac_ld_relro=no
60291 if test x"$with_gnu_ld" = x"yes"; then
60292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60293 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60294 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60295 if test -n "$cxx_z_relo"; then
60296 OPT_LDFLAGS="-Wl,-z,relro"
60297 ac_ld_relro=yes
60299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60300 $as_echo "$ac_ld_relro" >&6; }
60303 # Set linker optimization flags.
60304 if test x"$with_gnu_ld" = x"yes"; then
60305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60313 ac_save_CXXFLAGS="$CXXFLAGS"
60314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60317 $as_echo_n "checking for sin in -lm... " >&6; }
60318 if test "${ac_cv_lib_m_sin+set}" = set; then :
60319 $as_echo_n "(cached) " >&6
60320 else
60321 ac_check_lib_save_LIBS=$LIBS
60322 LIBS="-lm $LIBS"
60323 if test x$gcc_no_link = xyes; then
60324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60327 /* end confdefs.h. */
60329 /* Override any GCC internal prototype to avoid an error.
60330 Use char because int might match the return type of a GCC
60331 builtin and then its argument prototype would still apply. */
60332 #ifdef __cplusplus
60333 extern "C"
60334 #endif
60335 char sin ();
60337 main ()
60339 return sin ();
60341 return 0;
60343 _ACEOF
60344 if ac_fn_c_try_link "$LINENO"; then :
60345 ac_cv_lib_m_sin=yes
60346 else
60347 ac_cv_lib_m_sin=no
60349 rm -f core conftest.err conftest.$ac_objext \
60350 conftest$ac_exeext conftest.$ac_ext
60351 LIBS=$ac_check_lib_save_LIBS
60353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60354 $as_echo "$ac_cv_lib_m_sin" >&6; }
60355 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60356 libm="-lm"
60359 ac_save_LIBS="$LIBS"
60360 LIBS="$LIBS $libm"
60364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60365 $as_echo_n "checking for isinf declaration... " >&6; }
60366 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60367 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60368 $as_echo_n "(cached) " >&6
60369 else
60372 ac_ext=cpp
60373 ac_cpp='$CXXCPP $CPPFLAGS'
60374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60379 /* end confdefs.h. */
60380 #include <math.h>
60381 #ifdef HAVE_IEEEFP_H
60382 #include <ieeefp.h>
60383 #endif
60386 main ()
60388 isinf(0);
60390 return 0;
60392 _ACEOF
60393 if ac_fn_cxx_try_compile "$LINENO"; then :
60394 glibcxx_cv_func_isinf_use=yes
60395 else
60396 glibcxx_cv_func_isinf_use=no
60398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60399 ac_ext=c
60400 ac_cpp='$CPP $CPPFLAGS'
60401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60410 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60412 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60413 for ac_func in isinf
60414 do :
60415 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60416 if test "x$ac_cv_func_isinf" = x""yes; then :
60417 cat >>confdefs.h <<_ACEOF
60418 #define HAVE_ISINF 1
60419 _ACEOF
60422 done
60424 else
60426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60427 $as_echo_n "checking for _isinf declaration... " >&6; }
60428 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60429 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60430 $as_echo_n "(cached) " >&6
60431 else
60434 ac_ext=cpp
60435 ac_cpp='$CXXCPP $CPPFLAGS'
60436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60441 /* end confdefs.h. */
60442 #include <math.h>
60443 #ifdef HAVE_IEEEFP_H
60444 #include <ieeefp.h>
60445 #endif
60448 main ()
60450 _isinf(0);
60452 return 0;
60454 _ACEOF
60455 if ac_fn_cxx_try_compile "$LINENO"; then :
60456 glibcxx_cv_func__isinf_use=yes
60457 else
60458 glibcxx_cv_func__isinf_use=no
60460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60461 ac_ext=c
60462 ac_cpp='$CPP $CPPFLAGS'
60463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60472 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60474 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60475 for ac_func in _isinf
60476 do :
60477 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60478 if test "x$ac_cv_func__isinf" = x""yes; then :
60479 cat >>confdefs.h <<_ACEOF
60480 #define HAVE__ISINF 1
60481 _ACEOF
60484 done
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60494 $as_echo_n "checking for isnan declaration... " >&6; }
60495 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60496 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60497 $as_echo_n "(cached) " >&6
60498 else
60501 ac_ext=cpp
60502 ac_cpp='$CXXCPP $CPPFLAGS'
60503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60508 /* end confdefs.h. */
60509 #include <math.h>
60510 #ifdef HAVE_IEEEFP_H
60511 #include <ieeefp.h>
60512 #endif
60515 main ()
60517 isnan(0);
60519 return 0;
60521 _ACEOF
60522 if ac_fn_cxx_try_compile "$LINENO"; then :
60523 glibcxx_cv_func_isnan_use=yes
60524 else
60525 glibcxx_cv_func_isnan_use=no
60527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60528 ac_ext=c
60529 ac_cpp='$CPP $CPPFLAGS'
60530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60539 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60541 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60542 for ac_func in isnan
60543 do :
60544 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60545 if test "x$ac_cv_func_isnan" = x""yes; then :
60546 cat >>confdefs.h <<_ACEOF
60547 #define HAVE_ISNAN 1
60548 _ACEOF
60551 done
60553 else
60555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60556 $as_echo_n "checking for _isnan declaration... " >&6; }
60557 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60558 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60559 $as_echo_n "(cached) " >&6
60560 else
60563 ac_ext=cpp
60564 ac_cpp='$CXXCPP $CPPFLAGS'
60565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60570 /* end confdefs.h. */
60571 #include <math.h>
60572 #ifdef HAVE_IEEEFP_H
60573 #include <ieeefp.h>
60574 #endif
60577 main ()
60579 _isnan(0);
60581 return 0;
60583 _ACEOF
60584 if ac_fn_cxx_try_compile "$LINENO"; then :
60585 glibcxx_cv_func__isnan_use=yes
60586 else
60587 glibcxx_cv_func__isnan_use=no
60589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60590 ac_ext=c
60591 ac_cpp='$CPP $CPPFLAGS'
60592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60601 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60603 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60604 for ac_func in _isnan
60605 do :
60606 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60607 if test "x$ac_cv_func__isnan" = x""yes; then :
60608 cat >>confdefs.h <<_ACEOF
60609 #define HAVE__ISNAN 1
60610 _ACEOF
60613 done
60622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60623 $as_echo_n "checking for finite declaration... " >&6; }
60624 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60625 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60626 $as_echo_n "(cached) " >&6
60627 else
60630 ac_ext=cpp
60631 ac_cpp='$CXXCPP $CPPFLAGS'
60632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60637 /* end confdefs.h. */
60638 #include <math.h>
60639 #ifdef HAVE_IEEEFP_H
60640 #include <ieeefp.h>
60641 #endif
60644 main ()
60646 finite(0);
60648 return 0;
60650 _ACEOF
60651 if ac_fn_cxx_try_compile "$LINENO"; then :
60652 glibcxx_cv_func_finite_use=yes
60653 else
60654 glibcxx_cv_func_finite_use=no
60656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60657 ac_ext=c
60658 ac_cpp='$CPP $CPPFLAGS'
60659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60668 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60670 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60671 for ac_func in finite
60672 do :
60673 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60674 if test "x$ac_cv_func_finite" = x""yes; then :
60675 cat >>confdefs.h <<_ACEOF
60676 #define HAVE_FINITE 1
60677 _ACEOF
60680 done
60682 else
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60685 $as_echo_n "checking for _finite declaration... " >&6; }
60686 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60687 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60688 $as_echo_n "(cached) " >&6
60689 else
60692 ac_ext=cpp
60693 ac_cpp='$CXXCPP $CPPFLAGS'
60694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60699 /* end confdefs.h. */
60700 #include <math.h>
60701 #ifdef HAVE_IEEEFP_H
60702 #include <ieeefp.h>
60703 #endif
60706 main ()
60708 _finite(0);
60710 return 0;
60712 _ACEOF
60713 if ac_fn_cxx_try_compile "$LINENO"; then :
60714 glibcxx_cv_func__finite_use=yes
60715 else
60716 glibcxx_cv_func__finite_use=no
60718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60719 ac_ext=c
60720 ac_cpp='$CPP $CPPFLAGS'
60721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60730 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60732 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60733 for ac_func in _finite
60734 do :
60735 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60736 if test "x$ac_cv_func__finite" = x""yes; then :
60737 cat >>confdefs.h <<_ACEOF
60738 #define HAVE__FINITE 1
60739 _ACEOF
60742 done
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60752 $as_echo_n "checking for sincos declaration... " >&6; }
60753 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60754 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60755 $as_echo_n "(cached) " >&6
60756 else
60759 ac_ext=cpp
60760 ac_cpp='$CXXCPP $CPPFLAGS'
60761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60766 /* end confdefs.h. */
60767 #include <math.h>
60769 main ()
60771 sincos(0, 0, 0);
60773 return 0;
60775 _ACEOF
60776 if ac_fn_cxx_try_compile "$LINENO"; then :
60777 glibcxx_cv_func_sincos_use=yes
60778 else
60779 glibcxx_cv_func_sincos_use=no
60781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60782 ac_ext=c
60783 ac_cpp='$CPP $CPPFLAGS'
60784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60793 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60795 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60796 for ac_func in sincos
60797 do :
60798 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60799 if test "x$ac_cv_func_sincos" = x""yes; then :
60800 cat >>confdefs.h <<_ACEOF
60801 #define HAVE_SINCOS 1
60802 _ACEOF
60805 done
60807 else
60809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60810 $as_echo_n "checking for _sincos declaration... " >&6; }
60811 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60812 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60813 $as_echo_n "(cached) " >&6
60814 else
60817 ac_ext=cpp
60818 ac_cpp='$CXXCPP $CPPFLAGS'
60819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60824 /* end confdefs.h. */
60825 #include <math.h>
60827 main ()
60829 _sincos(0, 0, 0);
60831 return 0;
60833 _ACEOF
60834 if ac_fn_cxx_try_compile "$LINENO"; then :
60835 glibcxx_cv_func__sincos_use=yes
60836 else
60837 glibcxx_cv_func__sincos_use=no
60839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60840 ac_ext=c
60841 ac_cpp='$CPP $CPPFLAGS'
60842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60851 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60853 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60854 for ac_func in _sincos
60855 do :
60856 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60857 if test "x$ac_cv_func__sincos" = x""yes; then :
60858 cat >>confdefs.h <<_ACEOF
60859 #define HAVE__SINCOS 1
60860 _ACEOF
60863 done
60872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60873 $as_echo_n "checking for fpclass declaration... " >&6; }
60874 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60875 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60876 $as_echo_n "(cached) " >&6
60877 else
60880 ac_ext=cpp
60881 ac_cpp='$CXXCPP $CPPFLAGS'
60882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60887 /* end confdefs.h. */
60888 #include <math.h>
60889 #ifdef HAVE_IEEEFP_H
60890 #include <ieeefp.h>
60891 #endif
60894 main ()
60896 fpclass(0);
60898 return 0;
60900 _ACEOF
60901 if ac_fn_cxx_try_compile "$LINENO"; then :
60902 glibcxx_cv_func_fpclass_use=yes
60903 else
60904 glibcxx_cv_func_fpclass_use=no
60906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60907 ac_ext=c
60908 ac_cpp='$CPP $CPPFLAGS'
60909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60918 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60920 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60921 for ac_func in fpclass
60922 do :
60923 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60924 if test "x$ac_cv_func_fpclass" = x""yes; then :
60925 cat >>confdefs.h <<_ACEOF
60926 #define HAVE_FPCLASS 1
60927 _ACEOF
60930 done
60932 else
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60935 $as_echo_n "checking for _fpclass declaration... " >&6; }
60936 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60937 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60938 $as_echo_n "(cached) " >&6
60939 else
60942 ac_ext=cpp
60943 ac_cpp='$CXXCPP $CPPFLAGS'
60944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h. */
60950 #include <math.h>
60951 #ifdef HAVE_IEEEFP_H
60952 #include <ieeefp.h>
60953 #endif
60956 main ()
60958 _fpclass(0);
60960 return 0;
60962 _ACEOF
60963 if ac_fn_cxx_try_compile "$LINENO"; then :
60964 glibcxx_cv_func__fpclass_use=yes
60965 else
60966 glibcxx_cv_func__fpclass_use=no
60968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60969 ac_ext=c
60970 ac_cpp='$CPP $CPPFLAGS'
60971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60980 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60982 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60983 for ac_func in _fpclass
60984 do :
60985 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60986 if test "x$ac_cv_func__fpclass" = x""yes; then :
60987 cat >>confdefs.h <<_ACEOF
60988 #define HAVE__FPCLASS 1
60989 _ACEOF
60992 done
61001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61002 $as_echo_n "checking for qfpclass declaration... " >&6; }
61003 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61004 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61005 $as_echo_n "(cached) " >&6
61006 else
61009 ac_ext=cpp
61010 ac_cpp='$CXXCPP $CPPFLAGS'
61011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61016 /* end confdefs.h. */
61017 #include <math.h>
61018 #ifdef HAVE_IEEEFP_H
61019 #include <ieeefp.h>
61020 #endif
61023 main ()
61025 qfpclass(0);
61027 return 0;
61029 _ACEOF
61030 if ac_fn_cxx_try_compile "$LINENO"; then :
61031 glibcxx_cv_func_qfpclass_use=yes
61032 else
61033 glibcxx_cv_func_qfpclass_use=no
61035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61036 ac_ext=c
61037 ac_cpp='$CPP $CPPFLAGS'
61038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61047 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61049 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61050 for ac_func in qfpclass
61051 do :
61052 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61053 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61054 cat >>confdefs.h <<_ACEOF
61055 #define HAVE_QFPCLASS 1
61056 _ACEOF
61059 done
61061 else
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61064 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61065 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61066 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61067 $as_echo_n "(cached) " >&6
61068 else
61071 ac_ext=cpp
61072 ac_cpp='$CXXCPP $CPPFLAGS'
61073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61078 /* end confdefs.h. */
61079 #include <math.h>
61080 #ifdef HAVE_IEEEFP_H
61081 #include <ieeefp.h>
61082 #endif
61085 main ()
61087 _qfpclass(0);
61089 return 0;
61091 _ACEOF
61092 if ac_fn_cxx_try_compile "$LINENO"; then :
61093 glibcxx_cv_func__qfpclass_use=yes
61094 else
61095 glibcxx_cv_func__qfpclass_use=no
61097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61109 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61111 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61112 for ac_func in _qfpclass
61113 do :
61114 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61115 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61116 cat >>confdefs.h <<_ACEOF
61117 #define HAVE__QFPCLASS 1
61118 _ACEOF
61121 done
61130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61131 $as_echo_n "checking for hypot declaration... " >&6; }
61132 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61133 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61134 $as_echo_n "(cached) " >&6
61135 else
61138 ac_ext=cpp
61139 ac_cpp='$CXXCPP $CPPFLAGS'
61140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61145 /* end confdefs.h. */
61146 #include <math.h>
61148 main ()
61150 hypot(0, 0);
61152 return 0;
61154 _ACEOF
61155 if ac_fn_cxx_try_compile "$LINENO"; then :
61156 glibcxx_cv_func_hypot_use=yes
61157 else
61158 glibcxx_cv_func_hypot_use=no
61160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61161 ac_ext=c
61162 ac_cpp='$CPP $CPPFLAGS'
61163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61172 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61174 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61175 for ac_func in hypot
61176 do :
61177 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61178 if test "x$ac_cv_func_hypot" = x""yes; then :
61179 cat >>confdefs.h <<_ACEOF
61180 #define HAVE_HYPOT 1
61181 _ACEOF
61184 done
61186 else
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61189 $as_echo_n "checking for _hypot declaration... " >&6; }
61190 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61191 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61192 $as_echo_n "(cached) " >&6
61193 else
61196 ac_ext=cpp
61197 ac_cpp='$CXXCPP $CPPFLAGS'
61198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61203 /* end confdefs.h. */
61204 #include <math.h>
61206 main ()
61208 _hypot(0, 0);
61210 return 0;
61212 _ACEOF
61213 if ac_fn_cxx_try_compile "$LINENO"; then :
61214 glibcxx_cv_func__hypot_use=yes
61215 else
61216 glibcxx_cv_func__hypot_use=no
61218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61219 ac_ext=c
61220 ac_cpp='$CPP $CPPFLAGS'
61221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61230 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61232 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61233 for ac_func in _hypot
61234 do :
61235 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61236 if test "x$ac_cv_func__hypot" = x""yes; then :
61237 cat >>confdefs.h <<_ACEOF
61238 #define HAVE__HYPOT 1
61239 _ACEOF
61242 done
61251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61252 $as_echo_n "checking for float trig functions... " >&6; }
61253 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61254 $as_echo_n "(cached) " >&6
61255 else
61258 ac_ext=cpp
61259 ac_cpp='$CXXCPP $CPPFLAGS'
61260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61265 /* end confdefs.h. */
61266 #include <math.h>
61268 main ()
61270 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61272 return 0;
61274 _ACEOF
61275 if ac_fn_cxx_try_compile "$LINENO"; then :
61276 glibcxx_cv_func_float_trig_use=yes
61277 else
61278 glibcxx_cv_func_float_trig_use=no
61280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61281 ac_ext=c
61282 ac_cpp='$CPP $CPPFLAGS'
61283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61290 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61291 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61293 do :
61294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61296 eval as_val=\$$as_ac_var
61297 if test "x$as_val" = x""yes; then :
61298 cat >>confdefs.h <<_ACEOF
61299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61300 _ACEOF
61303 done
61305 else
61306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61307 $as_echo_n "checking for _float trig functions... " >&6; }
61308 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61309 $as_echo_n "(cached) " >&6
61310 else
61313 ac_ext=cpp
61314 ac_cpp='$CXXCPP $CPPFLAGS'
61315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61320 /* end confdefs.h. */
61321 #include <math.h>
61323 main ()
61325 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61327 return 0;
61329 _ACEOF
61330 if ac_fn_cxx_try_compile "$LINENO"; then :
61331 glibcxx_cv_func__float_trig_use=yes
61332 else
61333 glibcxx_cv_func__float_trig_use=no
61335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61336 ac_ext=c
61337 ac_cpp='$CPP $CPPFLAGS'
61338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61345 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61346 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61347 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61348 do :
61349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61351 eval as_val=\$$as_ac_var
61352 if test "x$as_val" = x""yes; then :
61353 cat >>confdefs.h <<_ACEOF
61354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61355 _ACEOF
61358 done
61367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61368 $as_echo_n "checking for float round functions... " >&6; }
61369 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61370 $as_echo_n "(cached) " >&6
61371 else
61374 ac_ext=cpp
61375 ac_cpp='$CXXCPP $CPPFLAGS'
61376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61381 /* end confdefs.h. */
61382 #include <math.h>
61384 main ()
61386 ceilf (0); floorf (0);
61388 return 0;
61390 _ACEOF
61391 if ac_fn_cxx_try_compile "$LINENO"; then :
61392 glibcxx_cv_func_float_round_use=yes
61393 else
61394 glibcxx_cv_func_float_round_use=no
61396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61397 ac_ext=c
61398 ac_cpp='$CPP $CPPFLAGS'
61399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61406 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61407 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61408 for ac_func in ceilf floorf
61409 do :
61410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61412 eval as_val=\$$as_ac_var
61413 if test "x$as_val" = x""yes; then :
61414 cat >>confdefs.h <<_ACEOF
61415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61416 _ACEOF
61419 done
61421 else
61422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61423 $as_echo_n "checking for _float round functions... " >&6; }
61424 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61439 main ()
61441 _ceilf (0); _floorf (0);
61443 return 0;
61445 _ACEOF
61446 if ac_fn_cxx_try_compile "$LINENO"; then :
61447 glibcxx_cv_func__float_round_use=yes
61448 else
61449 glibcxx_cv_func__float_round_use=no
61451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61452 ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61461 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61462 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61463 for ac_func in _ceilf _floorf
61464 do :
61465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61467 eval as_val=\$$as_ac_var
61468 if test "x$as_val" = x""yes; then :
61469 cat >>confdefs.h <<_ACEOF
61470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61471 _ACEOF
61474 done
61484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61485 $as_echo_n "checking for expf declaration... " >&6; }
61486 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61487 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61488 $as_echo_n "(cached) " >&6
61489 else
61492 ac_ext=cpp
61493 ac_cpp='$CXXCPP $CPPFLAGS'
61494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61499 /* end confdefs.h. */
61500 #include <math.h>
61501 #ifdef HAVE_IEEEFP_H
61502 #include <ieeefp.h>
61503 #endif
61506 main ()
61508 expf(0);
61510 return 0;
61512 _ACEOF
61513 if ac_fn_cxx_try_compile "$LINENO"; then :
61514 glibcxx_cv_func_expf_use=yes
61515 else
61516 glibcxx_cv_func_expf_use=no
61518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61519 ac_ext=c
61520 ac_cpp='$CPP $CPPFLAGS'
61521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61530 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61532 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61533 for ac_func in expf
61534 do :
61535 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61536 if test "x$ac_cv_func_expf" = x""yes; then :
61537 cat >>confdefs.h <<_ACEOF
61538 #define HAVE_EXPF 1
61539 _ACEOF
61542 done
61544 else
61546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61547 $as_echo_n "checking for _expf declaration... " >&6; }
61548 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61549 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61550 $as_echo_n "(cached) " >&6
61551 else
61554 ac_ext=cpp
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61561 /* end confdefs.h. */
61562 #include <math.h>
61563 #ifdef HAVE_IEEEFP_H
61564 #include <ieeefp.h>
61565 #endif
61568 main ()
61570 _expf(0);
61572 return 0;
61574 _ACEOF
61575 if ac_fn_cxx_try_compile "$LINENO"; then :
61576 glibcxx_cv_func__expf_use=yes
61577 else
61578 glibcxx_cv_func__expf_use=no
61580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61581 ac_ext=c
61582 ac_cpp='$CPP $CPPFLAGS'
61583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61592 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61594 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61595 for ac_func in _expf
61596 do :
61597 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61598 if test "x$ac_cv_func__expf" = x""yes; then :
61599 cat >>confdefs.h <<_ACEOF
61600 #define HAVE__EXPF 1
61601 _ACEOF
61604 done
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61614 $as_echo_n "checking for isnanf declaration... " >&6; }
61615 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61616 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61617 $as_echo_n "(cached) " >&6
61618 else
61621 ac_ext=cpp
61622 ac_cpp='$CXXCPP $CPPFLAGS'
61623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61628 /* end confdefs.h. */
61629 #include <math.h>
61630 #ifdef HAVE_IEEEFP_H
61631 #include <ieeefp.h>
61632 #endif
61635 main ()
61637 isnanf(0);
61639 return 0;
61641 _ACEOF
61642 if ac_fn_cxx_try_compile "$LINENO"; then :
61643 glibcxx_cv_func_isnanf_use=yes
61644 else
61645 glibcxx_cv_func_isnanf_use=no
61647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61648 ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61659 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61661 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61662 for ac_func in isnanf
61663 do :
61664 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61665 if test "x$ac_cv_func_isnanf" = x""yes; then :
61666 cat >>confdefs.h <<_ACEOF
61667 #define HAVE_ISNANF 1
61668 _ACEOF
61671 done
61673 else
61675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61676 $as_echo_n "checking for _isnanf declaration... " >&6; }
61677 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61678 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61679 $as_echo_n "(cached) " >&6
61680 else
61683 ac_ext=cpp
61684 ac_cpp='$CXXCPP $CPPFLAGS'
61685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61690 /* end confdefs.h. */
61691 #include <math.h>
61692 #ifdef HAVE_IEEEFP_H
61693 #include <ieeefp.h>
61694 #endif
61697 main ()
61699 _isnanf(0);
61701 return 0;
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func__isnanf_use=yes
61706 else
61707 glibcxx_cv_func__isnanf_use=no
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61721 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61723 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61724 for ac_func in _isnanf
61725 do :
61726 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61727 if test "x$ac_cv_func__isnanf" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE__ISNANF 1
61730 _ACEOF
61733 done
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61743 $as_echo_n "checking for isinff declaration... " >&6; }
61744 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61745 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61746 $as_echo_n "(cached) " >&6
61747 else
61750 ac_ext=cpp
61751 ac_cpp='$CXXCPP $CPPFLAGS'
61752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61757 /* end confdefs.h. */
61758 #include <math.h>
61759 #ifdef HAVE_IEEEFP_H
61760 #include <ieeefp.h>
61761 #endif
61764 main ()
61766 isinff(0);
61768 return 0;
61770 _ACEOF
61771 if ac_fn_cxx_try_compile "$LINENO"; then :
61772 glibcxx_cv_func_isinff_use=yes
61773 else
61774 glibcxx_cv_func_isinff_use=no
61776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61777 ac_ext=c
61778 ac_cpp='$CPP $CPPFLAGS'
61779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61788 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61790 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61791 for ac_func in isinff
61792 do :
61793 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61794 if test "x$ac_cv_func_isinff" = x""yes; then :
61795 cat >>confdefs.h <<_ACEOF
61796 #define HAVE_ISINFF 1
61797 _ACEOF
61800 done
61802 else
61804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61805 $as_echo_n "checking for _isinff declaration... " >&6; }
61806 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61807 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61808 $as_echo_n "(cached) " >&6
61809 else
61812 ac_ext=cpp
61813 ac_cpp='$CXXCPP $CPPFLAGS'
61814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61819 /* end confdefs.h. */
61820 #include <math.h>
61821 #ifdef HAVE_IEEEFP_H
61822 #include <ieeefp.h>
61823 #endif
61826 main ()
61828 _isinff(0);
61830 return 0;
61832 _ACEOF
61833 if ac_fn_cxx_try_compile "$LINENO"; then :
61834 glibcxx_cv_func__isinff_use=yes
61835 else
61836 glibcxx_cv_func__isinff_use=no
61838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61839 ac_ext=c
61840 ac_cpp='$CPP $CPPFLAGS'
61841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61850 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61852 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61853 for ac_func in _isinff
61854 do :
61855 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61856 if test "x$ac_cv_func__isinff" = x""yes; then :
61857 cat >>confdefs.h <<_ACEOF
61858 #define HAVE__ISINFF 1
61859 _ACEOF
61862 done
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61872 $as_echo_n "checking for atan2f declaration... " >&6; }
61873 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61874 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61875 $as_echo_n "(cached) " >&6
61876 else
61879 ac_ext=cpp
61880 ac_cpp='$CXXCPP $CPPFLAGS'
61881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61886 /* end confdefs.h. */
61887 #include <math.h>
61889 main ()
61891 atan2f(0, 0);
61893 return 0;
61895 _ACEOF
61896 if ac_fn_cxx_try_compile "$LINENO"; then :
61897 glibcxx_cv_func_atan2f_use=yes
61898 else
61899 glibcxx_cv_func_atan2f_use=no
61901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61902 ac_ext=c
61903 ac_cpp='$CPP $CPPFLAGS'
61904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61913 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61915 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61916 for ac_func in atan2f
61917 do :
61918 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61919 if test "x$ac_cv_func_atan2f" = x""yes; then :
61920 cat >>confdefs.h <<_ACEOF
61921 #define HAVE_ATAN2F 1
61922 _ACEOF
61925 done
61927 else
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61930 $as_echo_n "checking for _atan2f declaration... " >&6; }
61931 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61932 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61933 $as_echo_n "(cached) " >&6
61934 else
61937 ac_ext=cpp
61938 ac_cpp='$CXXCPP $CPPFLAGS'
61939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61944 /* end confdefs.h. */
61945 #include <math.h>
61947 main ()
61949 _atan2f(0, 0);
61951 return 0;
61953 _ACEOF
61954 if ac_fn_cxx_try_compile "$LINENO"; then :
61955 glibcxx_cv_func__atan2f_use=yes
61956 else
61957 glibcxx_cv_func__atan2f_use=no
61959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61960 ac_ext=c
61961 ac_cpp='$CPP $CPPFLAGS'
61962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61971 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61973 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61974 for ac_func in _atan2f
61975 do :
61976 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61977 if test "x$ac_cv_func__atan2f" = x""yes; then :
61978 cat >>confdefs.h <<_ACEOF
61979 #define HAVE__ATAN2F 1
61980 _ACEOF
61983 done
61992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61993 $as_echo_n "checking for fabsf declaration... " >&6; }
61994 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61995 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61996 $as_echo_n "(cached) " >&6
61997 else
62000 ac_ext=cpp
62001 ac_cpp='$CXXCPP $CPPFLAGS'
62002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62007 /* end confdefs.h. */
62008 #include <math.h>
62009 #ifdef HAVE_IEEEFP_H
62010 #include <ieeefp.h>
62011 #endif
62014 main ()
62016 fabsf(0);
62018 return 0;
62020 _ACEOF
62021 if ac_fn_cxx_try_compile "$LINENO"; then :
62022 glibcxx_cv_func_fabsf_use=yes
62023 else
62024 glibcxx_cv_func_fabsf_use=no
62026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62027 ac_ext=c
62028 ac_cpp='$CPP $CPPFLAGS'
62029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62038 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62040 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62041 for ac_func in fabsf
62042 do :
62043 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62044 if test "x$ac_cv_func_fabsf" = x""yes; then :
62045 cat >>confdefs.h <<_ACEOF
62046 #define HAVE_FABSF 1
62047 _ACEOF
62050 done
62052 else
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62055 $as_echo_n "checking for _fabsf declaration... " >&6; }
62056 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62057 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62058 $as_echo_n "(cached) " >&6
62059 else
62062 ac_ext=cpp
62063 ac_cpp='$CXXCPP $CPPFLAGS'
62064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62069 /* end confdefs.h. */
62070 #include <math.h>
62071 #ifdef HAVE_IEEEFP_H
62072 #include <ieeefp.h>
62073 #endif
62076 main ()
62078 _fabsf(0);
62080 return 0;
62082 _ACEOF
62083 if ac_fn_cxx_try_compile "$LINENO"; then :
62084 glibcxx_cv_func__fabsf_use=yes
62085 else
62086 glibcxx_cv_func__fabsf_use=no
62088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62089 ac_ext=c
62090 ac_cpp='$CPP $CPPFLAGS'
62091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62100 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62102 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62103 for ac_func in _fabsf
62104 do :
62105 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62106 if test "x$ac_cv_func__fabsf" = x""yes; then :
62107 cat >>confdefs.h <<_ACEOF
62108 #define HAVE__FABSF 1
62109 _ACEOF
62112 done
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62122 $as_echo_n "checking for fmodf declaration... " >&6; }
62123 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62124 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62125 $as_echo_n "(cached) " >&6
62126 else
62129 ac_ext=cpp
62130 ac_cpp='$CXXCPP $CPPFLAGS'
62131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62136 /* end confdefs.h. */
62137 #include <math.h>
62139 main ()
62141 fmodf(0, 0);
62143 return 0;
62145 _ACEOF
62146 if ac_fn_cxx_try_compile "$LINENO"; then :
62147 glibcxx_cv_func_fmodf_use=yes
62148 else
62149 glibcxx_cv_func_fmodf_use=no
62151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62152 ac_ext=c
62153 ac_cpp='$CPP $CPPFLAGS'
62154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62163 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62165 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62166 for ac_func in fmodf
62167 do :
62168 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62169 if test "x$ac_cv_func_fmodf" = x""yes; then :
62170 cat >>confdefs.h <<_ACEOF
62171 #define HAVE_FMODF 1
62172 _ACEOF
62175 done
62177 else
62179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62180 $as_echo_n "checking for _fmodf declaration... " >&6; }
62181 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62182 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62183 $as_echo_n "(cached) " >&6
62184 else
62187 ac_ext=cpp
62188 ac_cpp='$CXXCPP $CPPFLAGS'
62189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62194 /* end confdefs.h. */
62195 #include <math.h>
62197 main ()
62199 _fmodf(0, 0);
62201 return 0;
62203 _ACEOF
62204 if ac_fn_cxx_try_compile "$LINENO"; then :
62205 glibcxx_cv_func__fmodf_use=yes
62206 else
62207 glibcxx_cv_func__fmodf_use=no
62209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62210 ac_ext=c
62211 ac_cpp='$CPP $CPPFLAGS'
62212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62221 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62223 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62224 for ac_func in _fmodf
62225 do :
62226 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62227 if test "x$ac_cv_func__fmodf" = x""yes; then :
62228 cat >>confdefs.h <<_ACEOF
62229 #define HAVE__FMODF 1
62230 _ACEOF
62233 done
62242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62243 $as_echo_n "checking for frexpf declaration... " >&6; }
62244 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62245 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62246 $as_echo_n "(cached) " >&6
62247 else
62250 ac_ext=cpp
62251 ac_cpp='$CXXCPP $CPPFLAGS'
62252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62257 /* end confdefs.h. */
62258 #include <math.h>
62260 main ()
62262 frexpf(0, 0);
62264 return 0;
62266 _ACEOF
62267 if ac_fn_cxx_try_compile "$LINENO"; then :
62268 glibcxx_cv_func_frexpf_use=yes
62269 else
62270 glibcxx_cv_func_frexpf_use=no
62272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62273 ac_ext=c
62274 ac_cpp='$CPP $CPPFLAGS'
62275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62284 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62286 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62287 for ac_func in frexpf
62288 do :
62289 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62290 if test "x$ac_cv_func_frexpf" = x""yes; then :
62291 cat >>confdefs.h <<_ACEOF
62292 #define HAVE_FREXPF 1
62293 _ACEOF
62296 done
62298 else
62300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62301 $as_echo_n "checking for _frexpf declaration... " >&6; }
62302 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62303 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62304 $as_echo_n "(cached) " >&6
62305 else
62308 ac_ext=cpp
62309 ac_cpp='$CXXCPP $CPPFLAGS'
62310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62315 /* end confdefs.h. */
62316 #include <math.h>
62318 main ()
62320 _frexpf(0, 0);
62322 return 0;
62324 _ACEOF
62325 if ac_fn_cxx_try_compile "$LINENO"; then :
62326 glibcxx_cv_func__frexpf_use=yes
62327 else
62328 glibcxx_cv_func__frexpf_use=no
62330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62331 ac_ext=c
62332 ac_cpp='$CPP $CPPFLAGS'
62333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62342 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62344 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62345 for ac_func in _frexpf
62346 do :
62347 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62348 if test "x$ac_cv_func__frexpf" = x""yes; then :
62349 cat >>confdefs.h <<_ACEOF
62350 #define HAVE__FREXPF 1
62351 _ACEOF
62354 done
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62364 $as_echo_n "checking for hypotf declaration... " >&6; }
62365 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62366 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62367 $as_echo_n "(cached) " >&6
62368 else
62371 ac_ext=cpp
62372 ac_cpp='$CXXCPP $CPPFLAGS'
62373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62378 /* end confdefs.h. */
62379 #include <math.h>
62381 main ()
62383 hypotf(0, 0);
62385 return 0;
62387 _ACEOF
62388 if ac_fn_cxx_try_compile "$LINENO"; then :
62389 glibcxx_cv_func_hypotf_use=yes
62390 else
62391 glibcxx_cv_func_hypotf_use=no
62393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62394 ac_ext=c
62395 ac_cpp='$CPP $CPPFLAGS'
62396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62405 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62407 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62408 for ac_func in hypotf
62409 do :
62410 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62411 if test "x$ac_cv_func_hypotf" = x""yes; then :
62412 cat >>confdefs.h <<_ACEOF
62413 #define HAVE_HYPOTF 1
62414 _ACEOF
62417 done
62419 else
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62422 $as_echo_n "checking for _hypotf declaration... " >&6; }
62423 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62424 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62425 $as_echo_n "(cached) " >&6
62426 else
62429 ac_ext=cpp
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436 /* end confdefs.h. */
62437 #include <math.h>
62439 main ()
62441 _hypotf(0, 0);
62443 return 0;
62445 _ACEOF
62446 if ac_fn_cxx_try_compile "$LINENO"; then :
62447 glibcxx_cv_func__hypotf_use=yes
62448 else
62449 glibcxx_cv_func__hypotf_use=no
62451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62452 ac_ext=c
62453 ac_cpp='$CPP $CPPFLAGS'
62454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62463 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62465 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62466 for ac_func in _hypotf
62467 do :
62468 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62469 if test "x$ac_cv_func__hypotf" = x""yes; then :
62470 cat >>confdefs.h <<_ACEOF
62471 #define HAVE__HYPOTF 1
62472 _ACEOF
62475 done
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62485 $as_echo_n "checking for ldexpf declaration... " >&6; }
62486 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62487 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62488 $as_echo_n "(cached) " >&6
62489 else
62492 ac_ext=cpp
62493 ac_cpp='$CXXCPP $CPPFLAGS'
62494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499 /* end confdefs.h. */
62500 #include <math.h>
62502 main ()
62504 ldexpf(0, 0);
62506 return 0;
62508 _ACEOF
62509 if ac_fn_cxx_try_compile "$LINENO"; then :
62510 glibcxx_cv_func_ldexpf_use=yes
62511 else
62512 glibcxx_cv_func_ldexpf_use=no
62514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62515 ac_ext=c
62516 ac_cpp='$CPP $CPPFLAGS'
62517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62526 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62528 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62529 for ac_func in ldexpf
62530 do :
62531 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62532 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62533 cat >>confdefs.h <<_ACEOF
62534 #define HAVE_LDEXPF 1
62535 _ACEOF
62538 done
62540 else
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62543 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62544 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62545 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62546 $as_echo_n "(cached) " >&6
62547 else
62550 ac_ext=cpp
62551 ac_cpp='$CXXCPP $CPPFLAGS'
62552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62557 /* end confdefs.h. */
62558 #include <math.h>
62560 main ()
62562 _ldexpf(0, 0);
62564 return 0;
62566 _ACEOF
62567 if ac_fn_cxx_try_compile "$LINENO"; then :
62568 glibcxx_cv_func__ldexpf_use=yes
62569 else
62570 glibcxx_cv_func__ldexpf_use=no
62572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62584 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62586 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62587 for ac_func in _ldexpf
62588 do :
62589 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62590 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62591 cat >>confdefs.h <<_ACEOF
62592 #define HAVE__LDEXPF 1
62593 _ACEOF
62596 done
62605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62606 $as_echo_n "checking for logf declaration... " >&6; }
62607 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62608 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62609 $as_echo_n "(cached) " >&6
62610 else
62613 ac_ext=cpp
62614 ac_cpp='$CXXCPP $CPPFLAGS'
62615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62620 /* end confdefs.h. */
62621 #include <math.h>
62622 #ifdef HAVE_IEEEFP_H
62623 #include <ieeefp.h>
62624 #endif
62627 main ()
62629 logf(0);
62631 return 0;
62633 _ACEOF
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635 glibcxx_cv_func_logf_use=yes
62636 else
62637 glibcxx_cv_func_logf_use=no
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640 ac_ext=c
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62651 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62653 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62654 for ac_func in logf
62655 do :
62656 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62657 if test "x$ac_cv_func_logf" = x""yes; then :
62658 cat >>confdefs.h <<_ACEOF
62659 #define HAVE_LOGF 1
62660 _ACEOF
62663 done
62665 else
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62668 $as_echo_n "checking for _logf declaration... " >&6; }
62669 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62670 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62672 else
62675 ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62683 #include <math.h>
62684 #ifdef HAVE_IEEEFP_H
62685 #include <ieeefp.h>
62686 #endif
62689 main ()
62691 _logf(0);
62693 return 0;
62695 _ACEOF
62696 if ac_fn_cxx_try_compile "$LINENO"; then :
62697 glibcxx_cv_func__logf_use=yes
62698 else
62699 glibcxx_cv_func__logf_use=no
62701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62702 ac_ext=c
62703 ac_cpp='$CPP $CPPFLAGS'
62704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62713 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62715 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62716 for ac_func in _logf
62717 do :
62718 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62719 if test "x$ac_cv_func__logf" = x""yes; then :
62720 cat >>confdefs.h <<_ACEOF
62721 #define HAVE__LOGF 1
62722 _ACEOF
62725 done
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62735 $as_echo_n "checking for log10f declaration... " >&6; }
62736 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62737 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62738 $as_echo_n "(cached) " >&6
62739 else
62742 ac_ext=cpp
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62749 /* end confdefs.h. */
62750 #include <math.h>
62751 #ifdef HAVE_IEEEFP_H
62752 #include <ieeefp.h>
62753 #endif
62756 main ()
62758 log10f(0);
62760 return 0;
62762 _ACEOF
62763 if ac_fn_cxx_try_compile "$LINENO"; then :
62764 glibcxx_cv_func_log10f_use=yes
62765 else
62766 glibcxx_cv_func_log10f_use=no
62768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62769 ac_ext=c
62770 ac_cpp='$CPP $CPPFLAGS'
62771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62780 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62782 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62783 for ac_func in log10f
62784 do :
62785 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62786 if test "x$ac_cv_func_log10f" = x""yes; then :
62787 cat >>confdefs.h <<_ACEOF
62788 #define HAVE_LOG10F 1
62789 _ACEOF
62792 done
62794 else
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62797 $as_echo_n "checking for _log10f declaration... " >&6; }
62798 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62799 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62800 $as_echo_n "(cached) " >&6
62801 else
62804 ac_ext=cpp
62805 ac_cpp='$CXXCPP $CPPFLAGS'
62806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62811 /* end confdefs.h. */
62812 #include <math.h>
62813 #ifdef HAVE_IEEEFP_H
62814 #include <ieeefp.h>
62815 #endif
62818 main ()
62820 _log10f(0);
62822 return 0;
62824 _ACEOF
62825 if ac_fn_cxx_try_compile "$LINENO"; then :
62826 glibcxx_cv_func__log10f_use=yes
62827 else
62828 glibcxx_cv_func__log10f_use=no
62830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62831 ac_ext=c
62832 ac_cpp='$CPP $CPPFLAGS'
62833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62842 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62844 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62845 for ac_func in _log10f
62846 do :
62847 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62848 if test "x$ac_cv_func__log10f" = x""yes; then :
62849 cat >>confdefs.h <<_ACEOF
62850 #define HAVE__LOG10F 1
62851 _ACEOF
62854 done
62863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62864 $as_echo_n "checking for modff declaration... " >&6; }
62865 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62866 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62867 $as_echo_n "(cached) " >&6
62868 else
62871 ac_ext=cpp
62872 ac_cpp='$CXXCPP $CPPFLAGS'
62873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62878 /* end confdefs.h. */
62879 #include <math.h>
62881 main ()
62883 modff(0, 0);
62885 return 0;
62887 _ACEOF
62888 if ac_fn_cxx_try_compile "$LINENO"; then :
62889 glibcxx_cv_func_modff_use=yes
62890 else
62891 glibcxx_cv_func_modff_use=no
62893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62894 ac_ext=c
62895 ac_cpp='$CPP $CPPFLAGS'
62896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62905 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62907 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62908 for ac_func in modff
62909 do :
62910 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62911 if test "x$ac_cv_func_modff" = x""yes; then :
62912 cat >>confdefs.h <<_ACEOF
62913 #define HAVE_MODFF 1
62914 _ACEOF
62917 done
62919 else
62921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62922 $as_echo_n "checking for _modff declaration... " >&6; }
62923 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62924 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62925 $as_echo_n "(cached) " >&6
62926 else
62929 ac_ext=cpp
62930 ac_cpp='$CXXCPP $CPPFLAGS'
62931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62936 /* end confdefs.h. */
62937 #include <math.h>
62939 main ()
62941 _modff(0, 0);
62943 return 0;
62945 _ACEOF
62946 if ac_fn_cxx_try_compile "$LINENO"; then :
62947 glibcxx_cv_func__modff_use=yes
62948 else
62949 glibcxx_cv_func__modff_use=no
62951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62952 ac_ext=c
62953 ac_cpp='$CPP $CPPFLAGS'
62954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62963 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62965 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62966 for ac_func in _modff
62967 do :
62968 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62969 if test "x$ac_cv_func__modff" = x""yes; then :
62970 cat >>confdefs.h <<_ACEOF
62971 #define HAVE__MODFF 1
62972 _ACEOF
62975 done
62984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62985 $as_echo_n "checking for modf declaration... " >&6; }
62986 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62987 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62988 $as_echo_n "(cached) " >&6
62989 else
62992 ac_ext=cpp
62993 ac_cpp='$CXXCPP $CPPFLAGS'
62994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62999 /* end confdefs.h. */
63000 #include <math.h>
63002 main ()
63004 modf(0, 0);
63006 return 0;
63008 _ACEOF
63009 if ac_fn_cxx_try_compile "$LINENO"; then :
63010 glibcxx_cv_func_modf_use=yes
63011 else
63012 glibcxx_cv_func_modf_use=no
63014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63015 ac_ext=c
63016 ac_cpp='$CPP $CPPFLAGS'
63017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63026 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63028 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63029 for ac_func in modf
63030 do :
63031 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63032 if test "x$ac_cv_func_modf" = x""yes; then :
63033 cat >>confdefs.h <<_ACEOF
63034 #define HAVE_MODF 1
63035 _ACEOF
63038 done
63040 else
63042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63043 $as_echo_n "checking for _modf declaration... " >&6; }
63044 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63045 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63046 $as_echo_n "(cached) " >&6
63047 else
63050 ac_ext=cpp
63051 ac_cpp='$CXXCPP $CPPFLAGS'
63052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63057 /* end confdefs.h. */
63058 #include <math.h>
63060 main ()
63062 _modf(0, 0);
63064 return 0;
63066 _ACEOF
63067 if ac_fn_cxx_try_compile "$LINENO"; then :
63068 glibcxx_cv_func__modf_use=yes
63069 else
63070 glibcxx_cv_func__modf_use=no
63072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63073 ac_ext=c
63074 ac_cpp='$CPP $CPPFLAGS'
63075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63084 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63086 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63087 for ac_func in _modf
63088 do :
63089 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63090 if test "x$ac_cv_func__modf" = x""yes; then :
63091 cat >>confdefs.h <<_ACEOF
63092 #define HAVE__MODF 1
63093 _ACEOF
63096 done
63105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63106 $as_echo_n "checking for powf declaration... " >&6; }
63107 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63108 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63109 $as_echo_n "(cached) " >&6
63110 else
63113 ac_ext=cpp
63114 ac_cpp='$CXXCPP $CPPFLAGS'
63115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63120 /* end confdefs.h. */
63121 #include <math.h>
63123 main ()
63125 powf(0, 0);
63127 return 0;
63129 _ACEOF
63130 if ac_fn_cxx_try_compile "$LINENO"; then :
63131 glibcxx_cv_func_powf_use=yes
63132 else
63133 glibcxx_cv_func_powf_use=no
63135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63136 ac_ext=c
63137 ac_cpp='$CPP $CPPFLAGS'
63138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63147 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63149 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63150 for ac_func in powf
63151 do :
63152 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63153 if test "x$ac_cv_func_powf" = x""yes; then :
63154 cat >>confdefs.h <<_ACEOF
63155 #define HAVE_POWF 1
63156 _ACEOF
63159 done
63161 else
63163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63164 $as_echo_n "checking for _powf declaration... " >&6; }
63165 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63166 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63167 $as_echo_n "(cached) " >&6
63168 else
63171 ac_ext=cpp
63172 ac_cpp='$CXXCPP $CPPFLAGS'
63173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63178 /* end confdefs.h. */
63179 #include <math.h>
63181 main ()
63183 _powf(0, 0);
63185 return 0;
63187 _ACEOF
63188 if ac_fn_cxx_try_compile "$LINENO"; then :
63189 glibcxx_cv_func__powf_use=yes
63190 else
63191 glibcxx_cv_func__powf_use=no
63193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63194 ac_ext=c
63195 ac_cpp='$CPP $CPPFLAGS'
63196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63205 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63207 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63208 for ac_func in _powf
63209 do :
63210 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63211 if test "x$ac_cv_func__powf" = x""yes; then :
63212 cat >>confdefs.h <<_ACEOF
63213 #define HAVE__POWF 1
63214 _ACEOF
63217 done
63226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63227 $as_echo_n "checking for sqrtf declaration... " >&6; }
63228 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63229 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63230 $as_echo_n "(cached) " >&6
63231 else
63234 ac_ext=cpp
63235 ac_cpp='$CXXCPP $CPPFLAGS'
63236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63241 /* end confdefs.h. */
63242 #include <math.h>
63243 #ifdef HAVE_IEEEFP_H
63244 #include <ieeefp.h>
63245 #endif
63248 main ()
63250 sqrtf(0);
63252 return 0;
63254 _ACEOF
63255 if ac_fn_cxx_try_compile "$LINENO"; then :
63256 glibcxx_cv_func_sqrtf_use=yes
63257 else
63258 glibcxx_cv_func_sqrtf_use=no
63260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63261 ac_ext=c
63262 ac_cpp='$CPP $CPPFLAGS'
63263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63272 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63274 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63275 for ac_func in sqrtf
63276 do :
63277 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63278 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63279 cat >>confdefs.h <<_ACEOF
63280 #define HAVE_SQRTF 1
63281 _ACEOF
63284 done
63286 else
63288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63289 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63290 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63291 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63292 $as_echo_n "(cached) " >&6
63293 else
63296 ac_ext=cpp
63297 ac_cpp='$CXXCPP $CPPFLAGS'
63298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63303 /* end confdefs.h. */
63304 #include <math.h>
63305 #ifdef HAVE_IEEEFP_H
63306 #include <ieeefp.h>
63307 #endif
63310 main ()
63312 _sqrtf(0);
63314 return 0;
63316 _ACEOF
63317 if ac_fn_cxx_try_compile "$LINENO"; then :
63318 glibcxx_cv_func__sqrtf_use=yes
63319 else
63320 glibcxx_cv_func__sqrtf_use=no
63322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63323 ac_ext=c
63324 ac_cpp='$CPP $CPPFLAGS'
63325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63334 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63336 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63337 for ac_func in _sqrtf
63338 do :
63339 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63340 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63341 cat >>confdefs.h <<_ACEOF
63342 #define HAVE__SQRTF 1
63343 _ACEOF
63346 done
63355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63356 $as_echo_n "checking for sincosf declaration... " >&6; }
63357 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63358 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63359 $as_echo_n "(cached) " >&6
63360 else
63363 ac_ext=cpp
63364 ac_cpp='$CXXCPP $CPPFLAGS'
63365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63370 /* end confdefs.h. */
63371 #include <math.h>
63373 main ()
63375 sincosf(0, 0, 0);
63377 return 0;
63379 _ACEOF
63380 if ac_fn_cxx_try_compile "$LINENO"; then :
63381 glibcxx_cv_func_sincosf_use=yes
63382 else
63383 glibcxx_cv_func_sincosf_use=no
63385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63386 ac_ext=c
63387 ac_cpp='$CPP $CPPFLAGS'
63388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63397 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63399 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63400 for ac_func in sincosf
63401 do :
63402 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63403 if test "x$ac_cv_func_sincosf" = x""yes; then :
63404 cat >>confdefs.h <<_ACEOF
63405 #define HAVE_SINCOSF 1
63406 _ACEOF
63409 done
63411 else
63413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63414 $as_echo_n "checking for _sincosf declaration... " >&6; }
63415 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63416 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63417 $as_echo_n "(cached) " >&6
63418 else
63421 ac_ext=cpp
63422 ac_cpp='$CXXCPP $CPPFLAGS'
63423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63428 /* end confdefs.h. */
63429 #include <math.h>
63431 main ()
63433 _sincosf(0, 0, 0);
63435 return 0;
63437 _ACEOF
63438 if ac_fn_cxx_try_compile "$LINENO"; then :
63439 glibcxx_cv_func__sincosf_use=yes
63440 else
63441 glibcxx_cv_func__sincosf_use=no
63443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63444 ac_ext=c
63445 ac_cpp='$CPP $CPPFLAGS'
63446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63455 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63457 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63458 for ac_func in _sincosf
63459 do :
63460 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63461 if test "x$ac_cv_func__sincosf" = x""yes; then :
63462 cat >>confdefs.h <<_ACEOF
63463 #define HAVE__SINCOSF 1
63464 _ACEOF
63467 done
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63477 $as_echo_n "checking for finitef declaration... " >&6; }
63478 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63479 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63480 $as_echo_n "(cached) " >&6
63481 else
63484 ac_ext=cpp
63485 ac_cpp='$CXXCPP $CPPFLAGS'
63486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491 /* end confdefs.h. */
63492 #include <math.h>
63493 #ifdef HAVE_IEEEFP_H
63494 #include <ieeefp.h>
63495 #endif
63498 main ()
63500 finitef(0);
63502 return 0;
63504 _ACEOF
63505 if ac_fn_cxx_try_compile "$LINENO"; then :
63506 glibcxx_cv_func_finitef_use=yes
63507 else
63508 glibcxx_cv_func_finitef_use=no
63510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63511 ac_ext=c
63512 ac_cpp='$CPP $CPPFLAGS'
63513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63522 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63524 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63525 for ac_func in finitef
63526 do :
63527 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63528 if test "x$ac_cv_func_finitef" = x""yes; then :
63529 cat >>confdefs.h <<_ACEOF
63530 #define HAVE_FINITEF 1
63531 _ACEOF
63534 done
63536 else
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63539 $as_echo_n "checking for _finitef declaration... " >&6; }
63540 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63541 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63542 $as_echo_n "(cached) " >&6
63543 else
63546 ac_ext=cpp
63547 ac_cpp='$CXXCPP $CPPFLAGS'
63548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h. */
63554 #include <math.h>
63555 #ifdef HAVE_IEEEFP_H
63556 #include <ieeefp.h>
63557 #endif
63560 main ()
63562 _finitef(0);
63564 return 0;
63566 _ACEOF
63567 if ac_fn_cxx_try_compile "$LINENO"; then :
63568 glibcxx_cv_func__finitef_use=yes
63569 else
63570 glibcxx_cv_func__finitef_use=no
63572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63573 ac_ext=c
63574 ac_cpp='$CPP $CPPFLAGS'
63575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63584 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63586 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63587 for ac_func in _finitef
63588 do :
63589 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63590 if test "x$ac_cv_func__finitef" = x""yes; then :
63591 cat >>confdefs.h <<_ACEOF
63592 #define HAVE__FINITEF 1
63593 _ACEOF
63596 done
63605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63606 $as_echo_n "checking for long double trig functions... " >&6; }
63607 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63608 $as_echo_n "(cached) " >&6
63609 else
63612 ac_ext=cpp
63613 ac_cpp='$CXXCPP $CPPFLAGS'
63614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63619 /* end confdefs.h. */
63620 #include <math.h>
63622 main ()
63624 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63626 return 0;
63628 _ACEOF
63629 if ac_fn_cxx_try_compile "$LINENO"; then :
63630 glibcxx_cv_func_long_double_trig_use=yes
63631 else
63632 glibcxx_cv_func_long_double_trig_use=no
63634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63635 ac_ext=c
63636 ac_cpp='$CPP $CPPFLAGS'
63637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63644 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63645 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63646 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63647 do :
63648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63650 eval as_val=\$$as_ac_var
63651 if test "x$as_val" = x""yes; then :
63652 cat >>confdefs.h <<_ACEOF
63653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63654 _ACEOF
63657 done
63659 else
63660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63661 $as_echo_n "checking for _long double trig functions... " >&6; }
63662 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63663 $as_echo_n "(cached) " >&6
63664 else
63667 ac_ext=cpp
63668 ac_cpp='$CXXCPP $CPPFLAGS'
63669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63674 /* end confdefs.h. */
63675 #include <math.h>
63677 main ()
63679 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63681 return 0;
63683 _ACEOF
63684 if ac_fn_cxx_try_compile "$LINENO"; then :
63685 glibcxx_cv_func__long_double_trig_use=yes
63686 else
63687 glibcxx_cv_func__long_double_trig_use=no
63689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63690 ac_ext=c
63691 ac_cpp='$CPP $CPPFLAGS'
63692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63699 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63700 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63701 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63702 do :
63703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63705 eval as_val=\$$as_ac_var
63706 if test "x$as_val" = x""yes; then :
63707 cat >>confdefs.h <<_ACEOF
63708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63709 _ACEOF
63712 done
63721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63722 $as_echo_n "checking for long double round functions... " >&6; }
63723 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63724 $as_echo_n "(cached) " >&6
63725 else
63728 ac_ext=cpp
63729 ac_cpp='$CXXCPP $CPPFLAGS'
63730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63735 /* end confdefs.h. */
63736 #include <math.h>
63738 main ()
63740 ceill (0); floorl (0);
63742 return 0;
63744 _ACEOF
63745 if ac_fn_cxx_try_compile "$LINENO"; then :
63746 glibcxx_cv_func_long_double_round_use=yes
63747 else
63748 glibcxx_cv_func_long_double_round_use=no
63750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63751 ac_ext=c
63752 ac_cpp='$CPP $CPPFLAGS'
63753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63760 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63761 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63762 for ac_func in ceill floorl
63763 do :
63764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63766 eval as_val=\$$as_ac_var
63767 if test "x$as_val" = x""yes; then :
63768 cat >>confdefs.h <<_ACEOF
63769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63770 _ACEOF
63773 done
63775 else
63776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63777 $as_echo_n "checking for _long double round functions... " >&6; }
63778 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63779 $as_echo_n "(cached) " >&6
63780 else
63783 ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h. */
63791 #include <math.h>
63793 main ()
63795 _ceill (0); _floorl (0);
63797 return 0;
63799 _ACEOF
63800 if ac_fn_cxx_try_compile "$LINENO"; then :
63801 glibcxx_cv_func__long_double_round_use=yes
63802 else
63803 glibcxx_cv_func__long_double_round_use=no
63805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63806 ac_ext=c
63807 ac_cpp='$CPP $CPPFLAGS'
63808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63815 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63816 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63817 for ac_func in _ceill _floorl
63818 do :
63819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63821 eval as_val=\$$as_ac_var
63822 if test "x$as_val" = x""yes; then :
63823 cat >>confdefs.h <<_ACEOF
63824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63825 _ACEOF
63828 done
63838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63839 $as_echo_n "checking for isnanl declaration... " >&6; }
63840 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63841 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63842 $as_echo_n "(cached) " >&6
63843 else
63846 ac_ext=cpp
63847 ac_cpp='$CXXCPP $CPPFLAGS'
63848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63853 /* end confdefs.h. */
63854 #include <math.h>
63855 #ifdef HAVE_IEEEFP_H
63856 #include <ieeefp.h>
63857 #endif
63860 main ()
63862 isnanl(0);
63864 return 0;
63866 _ACEOF
63867 if ac_fn_cxx_try_compile "$LINENO"; then :
63868 glibcxx_cv_func_isnanl_use=yes
63869 else
63870 glibcxx_cv_func_isnanl_use=no
63872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63873 ac_ext=c
63874 ac_cpp='$CPP $CPPFLAGS'
63875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63884 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63886 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63887 for ac_func in isnanl
63888 do :
63889 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63890 if test "x$ac_cv_func_isnanl" = x""yes; then :
63891 cat >>confdefs.h <<_ACEOF
63892 #define HAVE_ISNANL 1
63893 _ACEOF
63896 done
63898 else
63900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63901 $as_echo_n "checking for _isnanl declaration... " >&6; }
63902 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63903 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63904 $as_echo_n "(cached) " >&6
63905 else
63908 ac_ext=cpp
63909 ac_cpp='$CXXCPP $CPPFLAGS'
63910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63915 /* end confdefs.h. */
63916 #include <math.h>
63917 #ifdef HAVE_IEEEFP_H
63918 #include <ieeefp.h>
63919 #endif
63922 main ()
63924 _isnanl(0);
63926 return 0;
63928 _ACEOF
63929 if ac_fn_cxx_try_compile "$LINENO"; then :
63930 glibcxx_cv_func__isnanl_use=yes
63931 else
63932 glibcxx_cv_func__isnanl_use=no
63934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63935 ac_ext=c
63936 ac_cpp='$CPP $CPPFLAGS'
63937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63946 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63948 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63949 for ac_func in _isnanl
63950 do :
63951 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63952 if test "x$ac_cv_func__isnanl" = x""yes; then :
63953 cat >>confdefs.h <<_ACEOF
63954 #define HAVE__ISNANL 1
63955 _ACEOF
63958 done
63967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63968 $as_echo_n "checking for isinfl declaration... " >&6; }
63969 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63970 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63971 $as_echo_n "(cached) " >&6
63972 else
63975 ac_ext=cpp
63976 ac_cpp='$CXXCPP $CPPFLAGS'
63977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63982 /* end confdefs.h. */
63983 #include <math.h>
63984 #ifdef HAVE_IEEEFP_H
63985 #include <ieeefp.h>
63986 #endif
63989 main ()
63991 isinfl(0);
63993 return 0;
63995 _ACEOF
63996 if ac_fn_cxx_try_compile "$LINENO"; then :
63997 glibcxx_cv_func_isinfl_use=yes
63998 else
63999 glibcxx_cv_func_isinfl_use=no
64001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64002 ac_ext=c
64003 ac_cpp='$CPP $CPPFLAGS'
64004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64013 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64015 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64016 for ac_func in isinfl
64017 do :
64018 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64019 if test "x$ac_cv_func_isinfl" = x""yes; then :
64020 cat >>confdefs.h <<_ACEOF
64021 #define HAVE_ISINFL 1
64022 _ACEOF
64025 done
64027 else
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64030 $as_echo_n "checking for _isinfl declaration... " >&6; }
64031 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64032 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64033 $as_echo_n "(cached) " >&6
64034 else
64037 ac_ext=cpp
64038 ac_cpp='$CXXCPP $CPPFLAGS'
64039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64044 /* end confdefs.h. */
64045 #include <math.h>
64046 #ifdef HAVE_IEEEFP_H
64047 #include <ieeefp.h>
64048 #endif
64051 main ()
64053 _isinfl(0);
64055 return 0;
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059 glibcxx_cv_func__isinfl_use=yes
64060 else
64061 glibcxx_cv_func__isinfl_use=no
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064 ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64075 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64077 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64078 for ac_func in _isinfl
64079 do :
64080 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64081 if test "x$ac_cv_func__isinfl" = x""yes; then :
64082 cat >>confdefs.h <<_ACEOF
64083 #define HAVE__ISINFL 1
64084 _ACEOF
64087 done
64096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64097 $as_echo_n "checking for atan2l declaration... " >&6; }
64098 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64099 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64100 $as_echo_n "(cached) " >&6
64101 else
64104 ac_ext=cpp
64105 ac_cpp='$CXXCPP $CPPFLAGS'
64106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64111 /* end confdefs.h. */
64112 #include <math.h>
64114 main ()
64116 atan2l(0, 0);
64118 return 0;
64120 _ACEOF
64121 if ac_fn_cxx_try_compile "$LINENO"; then :
64122 glibcxx_cv_func_atan2l_use=yes
64123 else
64124 glibcxx_cv_func_atan2l_use=no
64126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64127 ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64138 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64140 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64141 for ac_func in atan2l
64142 do :
64143 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64144 if test "x$ac_cv_func_atan2l" = x""yes; then :
64145 cat >>confdefs.h <<_ACEOF
64146 #define HAVE_ATAN2L 1
64147 _ACEOF
64150 done
64152 else
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64155 $as_echo_n "checking for _atan2l declaration... " >&6; }
64156 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64157 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64158 $as_echo_n "(cached) " >&6
64159 else
64162 ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h. */
64170 #include <math.h>
64172 main ()
64174 _atan2l(0, 0);
64176 return 0;
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180 glibcxx_cv_func__atan2l_use=yes
64181 else
64182 glibcxx_cv_func__atan2l_use=no
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64196 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64198 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64199 for ac_func in _atan2l
64200 do :
64201 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64202 if test "x$ac_cv_func__atan2l" = x""yes; then :
64203 cat >>confdefs.h <<_ACEOF
64204 #define HAVE__ATAN2L 1
64205 _ACEOF
64208 done
64217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64218 $as_echo_n "checking for expl declaration... " >&6; }
64219 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64220 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64221 $as_echo_n "(cached) " >&6
64222 else
64225 ac_ext=cpp
64226 ac_cpp='$CXXCPP $CPPFLAGS'
64227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64232 /* end confdefs.h. */
64233 #include <math.h>
64234 #ifdef HAVE_IEEEFP_H
64235 #include <ieeefp.h>
64236 #endif
64239 main ()
64241 expl(0);
64243 return 0;
64245 _ACEOF
64246 if ac_fn_cxx_try_compile "$LINENO"; then :
64247 glibcxx_cv_func_expl_use=yes
64248 else
64249 glibcxx_cv_func_expl_use=no
64251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64252 ac_ext=c
64253 ac_cpp='$CPP $CPPFLAGS'
64254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64263 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64265 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64266 for ac_func in expl
64267 do :
64268 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64269 if test "x$ac_cv_func_expl" = x""yes; then :
64270 cat >>confdefs.h <<_ACEOF
64271 #define HAVE_EXPL 1
64272 _ACEOF
64275 done
64277 else
64279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64280 $as_echo_n "checking for _expl declaration... " >&6; }
64281 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64282 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64283 $as_echo_n "(cached) " >&6
64284 else
64287 ac_ext=cpp
64288 ac_cpp='$CXXCPP $CPPFLAGS'
64289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64294 /* end confdefs.h. */
64295 #include <math.h>
64296 #ifdef HAVE_IEEEFP_H
64297 #include <ieeefp.h>
64298 #endif
64301 main ()
64303 _expl(0);
64305 return 0;
64307 _ACEOF
64308 if ac_fn_cxx_try_compile "$LINENO"; then :
64309 glibcxx_cv_func__expl_use=yes
64310 else
64311 glibcxx_cv_func__expl_use=no
64313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64314 ac_ext=c
64315 ac_cpp='$CPP $CPPFLAGS'
64316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64325 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64327 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64328 for ac_func in _expl
64329 do :
64330 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64331 if test "x$ac_cv_func__expl" = x""yes; then :
64332 cat >>confdefs.h <<_ACEOF
64333 #define HAVE__EXPL 1
64334 _ACEOF
64337 done
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64347 $as_echo_n "checking for fabsl declaration... " >&6; }
64348 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64349 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64350 $as_echo_n "(cached) " >&6
64351 else
64354 ac_ext=cpp
64355 ac_cpp='$CXXCPP $CPPFLAGS'
64356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64361 /* end confdefs.h. */
64362 #include <math.h>
64363 #ifdef HAVE_IEEEFP_H
64364 #include <ieeefp.h>
64365 #endif
64368 main ()
64370 fabsl(0);
64372 return 0;
64374 _ACEOF
64375 if ac_fn_cxx_try_compile "$LINENO"; then :
64376 glibcxx_cv_func_fabsl_use=yes
64377 else
64378 glibcxx_cv_func_fabsl_use=no
64380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64381 ac_ext=c
64382 ac_cpp='$CPP $CPPFLAGS'
64383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64392 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64394 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64395 for ac_func in fabsl
64396 do :
64397 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64398 if test "x$ac_cv_func_fabsl" = x""yes; then :
64399 cat >>confdefs.h <<_ACEOF
64400 #define HAVE_FABSL 1
64401 _ACEOF
64404 done
64406 else
64408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64409 $as_echo_n "checking for _fabsl declaration... " >&6; }
64410 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64411 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64412 $as_echo_n "(cached) " >&6
64413 else
64416 ac_ext=cpp
64417 ac_cpp='$CXXCPP $CPPFLAGS'
64418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64423 /* end confdefs.h. */
64424 #include <math.h>
64425 #ifdef HAVE_IEEEFP_H
64426 #include <ieeefp.h>
64427 #endif
64430 main ()
64432 _fabsl(0);
64434 return 0;
64436 _ACEOF
64437 if ac_fn_cxx_try_compile "$LINENO"; then :
64438 glibcxx_cv_func__fabsl_use=yes
64439 else
64440 glibcxx_cv_func__fabsl_use=no
64442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64443 ac_ext=c
64444 ac_cpp='$CPP $CPPFLAGS'
64445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64454 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64456 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64457 for ac_func in _fabsl
64458 do :
64459 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64460 if test "x$ac_cv_func__fabsl" = x""yes; then :
64461 cat >>confdefs.h <<_ACEOF
64462 #define HAVE__FABSL 1
64463 _ACEOF
64466 done
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64476 $as_echo_n "checking for fmodl declaration... " >&6; }
64477 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64478 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64479 $as_echo_n "(cached) " >&6
64480 else
64483 ac_ext=cpp
64484 ac_cpp='$CXXCPP $CPPFLAGS'
64485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64490 /* end confdefs.h. */
64491 #include <math.h>
64493 main ()
64495 fmodl(0, 0);
64497 return 0;
64499 _ACEOF
64500 if ac_fn_cxx_try_compile "$LINENO"; then :
64501 glibcxx_cv_func_fmodl_use=yes
64502 else
64503 glibcxx_cv_func_fmodl_use=no
64505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64506 ac_ext=c
64507 ac_cpp='$CPP $CPPFLAGS'
64508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64517 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64519 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64520 for ac_func in fmodl
64521 do :
64522 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64523 if test "x$ac_cv_func_fmodl" = x""yes; then :
64524 cat >>confdefs.h <<_ACEOF
64525 #define HAVE_FMODL 1
64526 _ACEOF
64529 done
64531 else
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64534 $as_echo_n "checking for _fmodl declaration... " >&6; }
64535 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64536 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64537 $as_echo_n "(cached) " >&6
64538 else
64541 ac_ext=cpp
64542 ac_cpp='$CXXCPP $CPPFLAGS'
64543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64548 /* end confdefs.h. */
64549 #include <math.h>
64551 main ()
64553 _fmodl(0, 0);
64555 return 0;
64557 _ACEOF
64558 if ac_fn_cxx_try_compile "$LINENO"; then :
64559 glibcxx_cv_func__fmodl_use=yes
64560 else
64561 glibcxx_cv_func__fmodl_use=no
64563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64564 ac_ext=c
64565 ac_cpp='$CPP $CPPFLAGS'
64566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64575 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64577 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64578 for ac_func in _fmodl
64579 do :
64580 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64581 if test "x$ac_cv_func__fmodl" = x""yes; then :
64582 cat >>confdefs.h <<_ACEOF
64583 #define HAVE__FMODL 1
64584 _ACEOF
64587 done
64596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64597 $as_echo_n "checking for frexpl declaration... " >&6; }
64598 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64599 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64600 $as_echo_n "(cached) " >&6
64601 else
64604 ac_ext=cpp
64605 ac_cpp='$CXXCPP $CPPFLAGS'
64606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64611 /* end confdefs.h. */
64612 #include <math.h>
64614 main ()
64616 frexpl(0, 0);
64618 return 0;
64620 _ACEOF
64621 if ac_fn_cxx_try_compile "$LINENO"; then :
64622 glibcxx_cv_func_frexpl_use=yes
64623 else
64624 glibcxx_cv_func_frexpl_use=no
64626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64627 ac_ext=c
64628 ac_cpp='$CPP $CPPFLAGS'
64629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64638 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64640 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64641 for ac_func in frexpl
64642 do :
64643 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64644 if test "x$ac_cv_func_frexpl" = x""yes; then :
64645 cat >>confdefs.h <<_ACEOF
64646 #define HAVE_FREXPL 1
64647 _ACEOF
64650 done
64652 else
64654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64655 $as_echo_n "checking for _frexpl declaration... " >&6; }
64656 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64657 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64658 $as_echo_n "(cached) " >&6
64659 else
64662 ac_ext=cpp
64663 ac_cpp='$CXXCPP $CPPFLAGS'
64664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64669 /* end confdefs.h. */
64670 #include <math.h>
64672 main ()
64674 _frexpl(0, 0);
64676 return 0;
64678 _ACEOF
64679 if ac_fn_cxx_try_compile "$LINENO"; then :
64680 glibcxx_cv_func__frexpl_use=yes
64681 else
64682 glibcxx_cv_func__frexpl_use=no
64684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64685 ac_ext=c
64686 ac_cpp='$CPP $CPPFLAGS'
64687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64696 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64698 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64699 for ac_func in _frexpl
64700 do :
64701 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64702 if test "x$ac_cv_func__frexpl" = x""yes; then :
64703 cat >>confdefs.h <<_ACEOF
64704 #define HAVE__FREXPL 1
64705 _ACEOF
64708 done
64717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64718 $as_echo_n "checking for hypotl declaration... " >&6; }
64719 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64720 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64721 $as_echo_n "(cached) " >&6
64722 else
64725 ac_ext=cpp
64726 ac_cpp='$CXXCPP $CPPFLAGS'
64727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64732 /* end confdefs.h. */
64733 #include <math.h>
64735 main ()
64737 hypotl(0, 0);
64739 return 0;
64741 _ACEOF
64742 if ac_fn_cxx_try_compile "$LINENO"; then :
64743 glibcxx_cv_func_hypotl_use=yes
64744 else
64745 glibcxx_cv_func_hypotl_use=no
64747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64748 ac_ext=c
64749 ac_cpp='$CPP $CPPFLAGS'
64750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64759 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64761 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64762 for ac_func in hypotl
64763 do :
64764 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64765 if test "x$ac_cv_func_hypotl" = x""yes; then :
64766 cat >>confdefs.h <<_ACEOF
64767 #define HAVE_HYPOTL 1
64768 _ACEOF
64771 done
64773 else
64775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64776 $as_echo_n "checking for _hypotl declaration... " >&6; }
64777 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64778 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64779 $as_echo_n "(cached) " >&6
64780 else
64783 ac_ext=cpp
64784 ac_cpp='$CXXCPP $CPPFLAGS'
64785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64790 /* end confdefs.h. */
64791 #include <math.h>
64793 main ()
64795 _hypotl(0, 0);
64797 return 0;
64799 _ACEOF
64800 if ac_fn_cxx_try_compile "$LINENO"; then :
64801 glibcxx_cv_func__hypotl_use=yes
64802 else
64803 glibcxx_cv_func__hypotl_use=no
64805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64806 ac_ext=c
64807 ac_cpp='$CPP $CPPFLAGS'
64808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64817 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64819 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64820 for ac_func in _hypotl
64821 do :
64822 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64823 if test "x$ac_cv_func__hypotl" = x""yes; then :
64824 cat >>confdefs.h <<_ACEOF
64825 #define HAVE__HYPOTL 1
64826 _ACEOF
64829 done
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64839 $as_echo_n "checking for ldexpl declaration... " >&6; }
64840 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64841 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64842 $as_echo_n "(cached) " >&6
64843 else
64846 ac_ext=cpp
64847 ac_cpp='$CXXCPP $CPPFLAGS'
64848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64853 /* end confdefs.h. */
64854 #include <math.h>
64856 main ()
64858 ldexpl(0, 0);
64860 return 0;
64862 _ACEOF
64863 if ac_fn_cxx_try_compile "$LINENO"; then :
64864 glibcxx_cv_func_ldexpl_use=yes
64865 else
64866 glibcxx_cv_func_ldexpl_use=no
64868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64869 ac_ext=c
64870 ac_cpp='$CPP $CPPFLAGS'
64871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64880 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64882 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64883 for ac_func in ldexpl
64884 do :
64885 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64886 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64887 cat >>confdefs.h <<_ACEOF
64888 #define HAVE_LDEXPL 1
64889 _ACEOF
64892 done
64894 else
64896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64897 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64898 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64899 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64900 $as_echo_n "(cached) " >&6
64901 else
64904 ac_ext=cpp
64905 ac_cpp='$CXXCPP $CPPFLAGS'
64906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64911 /* end confdefs.h. */
64912 #include <math.h>
64914 main ()
64916 _ldexpl(0, 0);
64918 return 0;
64920 _ACEOF
64921 if ac_fn_cxx_try_compile "$LINENO"; then :
64922 glibcxx_cv_func__ldexpl_use=yes
64923 else
64924 glibcxx_cv_func__ldexpl_use=no
64926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64927 ac_ext=c
64928 ac_cpp='$CPP $CPPFLAGS'
64929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64938 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64940 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64941 for ac_func in _ldexpl
64942 do :
64943 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64944 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64945 cat >>confdefs.h <<_ACEOF
64946 #define HAVE__LDEXPL 1
64947 _ACEOF
64950 done
64959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64960 $as_echo_n "checking for logl declaration... " >&6; }
64961 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64962 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64963 $as_echo_n "(cached) " >&6
64964 else
64967 ac_ext=cpp
64968 ac_cpp='$CXXCPP $CPPFLAGS'
64969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64974 /* end confdefs.h. */
64975 #include <math.h>
64976 #ifdef HAVE_IEEEFP_H
64977 #include <ieeefp.h>
64978 #endif
64981 main ()
64983 logl(0);
64985 return 0;
64987 _ACEOF
64988 if ac_fn_cxx_try_compile "$LINENO"; then :
64989 glibcxx_cv_func_logl_use=yes
64990 else
64991 glibcxx_cv_func_logl_use=no
64993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64994 ac_ext=c
64995 ac_cpp='$CPP $CPPFLAGS'
64996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65005 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65007 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65008 for ac_func in logl
65009 do :
65010 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65011 if test "x$ac_cv_func_logl" = x""yes; then :
65012 cat >>confdefs.h <<_ACEOF
65013 #define HAVE_LOGL 1
65014 _ACEOF
65017 done
65019 else
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65022 $as_echo_n "checking for _logl declaration... " >&6; }
65023 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65024 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65025 $as_echo_n "(cached) " >&6
65026 else
65029 ac_ext=cpp
65030 ac_cpp='$CXXCPP $CPPFLAGS'
65031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65036 /* end confdefs.h. */
65037 #include <math.h>
65038 #ifdef HAVE_IEEEFP_H
65039 #include <ieeefp.h>
65040 #endif
65043 main ()
65045 _logl(0);
65047 return 0;
65049 _ACEOF
65050 if ac_fn_cxx_try_compile "$LINENO"; then :
65051 glibcxx_cv_func__logl_use=yes
65052 else
65053 glibcxx_cv_func__logl_use=no
65055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65056 ac_ext=c
65057 ac_cpp='$CPP $CPPFLAGS'
65058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65067 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65069 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65070 for ac_func in _logl
65071 do :
65072 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65073 if test "x$ac_cv_func__logl" = x""yes; then :
65074 cat >>confdefs.h <<_ACEOF
65075 #define HAVE__LOGL 1
65076 _ACEOF
65079 done
65088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65089 $as_echo_n "checking for log10l declaration... " >&6; }
65090 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65091 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65092 $as_echo_n "(cached) " >&6
65093 else
65096 ac_ext=cpp
65097 ac_cpp='$CXXCPP $CPPFLAGS'
65098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65103 /* end confdefs.h. */
65104 #include <math.h>
65105 #ifdef HAVE_IEEEFP_H
65106 #include <ieeefp.h>
65107 #endif
65110 main ()
65112 log10l(0);
65114 return 0;
65116 _ACEOF
65117 if ac_fn_cxx_try_compile "$LINENO"; then :
65118 glibcxx_cv_func_log10l_use=yes
65119 else
65120 glibcxx_cv_func_log10l_use=no
65122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65123 ac_ext=c
65124 ac_cpp='$CPP $CPPFLAGS'
65125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65134 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65136 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65137 for ac_func in log10l
65138 do :
65139 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65140 if test "x$ac_cv_func_log10l" = x""yes; then :
65141 cat >>confdefs.h <<_ACEOF
65142 #define HAVE_LOG10L 1
65143 _ACEOF
65146 done
65148 else
65150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65151 $as_echo_n "checking for _log10l declaration... " >&6; }
65152 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65153 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65154 $as_echo_n "(cached) " >&6
65155 else
65158 ac_ext=cpp
65159 ac_cpp='$CXXCPP $CPPFLAGS'
65160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65165 /* end confdefs.h. */
65166 #include <math.h>
65167 #ifdef HAVE_IEEEFP_H
65168 #include <ieeefp.h>
65169 #endif
65172 main ()
65174 _log10l(0);
65176 return 0;
65178 _ACEOF
65179 if ac_fn_cxx_try_compile "$LINENO"; then :
65180 glibcxx_cv_func__log10l_use=yes
65181 else
65182 glibcxx_cv_func__log10l_use=no
65184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65185 ac_ext=c
65186 ac_cpp='$CPP $CPPFLAGS'
65187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65196 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65198 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65199 for ac_func in _log10l
65200 do :
65201 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65202 if test "x$ac_cv_func__log10l" = x""yes; then :
65203 cat >>confdefs.h <<_ACEOF
65204 #define HAVE__LOG10L 1
65205 _ACEOF
65208 done
65217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65218 $as_echo_n "checking for modfl declaration... " >&6; }
65219 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65220 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65221 $as_echo_n "(cached) " >&6
65222 else
65225 ac_ext=cpp
65226 ac_cpp='$CXXCPP $CPPFLAGS'
65227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65232 /* end confdefs.h. */
65233 #include <math.h>
65235 main ()
65237 modfl(0, 0);
65239 return 0;
65241 _ACEOF
65242 if ac_fn_cxx_try_compile "$LINENO"; then :
65243 glibcxx_cv_func_modfl_use=yes
65244 else
65245 glibcxx_cv_func_modfl_use=no
65247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65248 ac_ext=c
65249 ac_cpp='$CPP $CPPFLAGS'
65250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65259 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65261 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65262 for ac_func in modfl
65263 do :
65264 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65265 if test "x$ac_cv_func_modfl" = x""yes; then :
65266 cat >>confdefs.h <<_ACEOF
65267 #define HAVE_MODFL 1
65268 _ACEOF
65271 done
65273 else
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65276 $as_echo_n "checking for _modfl declaration... " >&6; }
65277 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65278 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65279 $as_echo_n "(cached) " >&6
65280 else
65283 ac_ext=cpp
65284 ac_cpp='$CXXCPP $CPPFLAGS'
65285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65290 /* end confdefs.h. */
65291 #include <math.h>
65293 main ()
65295 _modfl(0, 0);
65297 return 0;
65299 _ACEOF
65300 if ac_fn_cxx_try_compile "$LINENO"; then :
65301 glibcxx_cv_func__modfl_use=yes
65302 else
65303 glibcxx_cv_func__modfl_use=no
65305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65306 ac_ext=c
65307 ac_cpp='$CPP $CPPFLAGS'
65308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65317 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65319 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65320 for ac_func in _modfl
65321 do :
65322 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65323 if test "x$ac_cv_func__modfl" = x""yes; then :
65324 cat >>confdefs.h <<_ACEOF
65325 #define HAVE__MODFL 1
65326 _ACEOF
65329 done
65338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65339 $as_echo_n "checking for powl declaration... " >&6; }
65340 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65341 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65342 $as_echo_n "(cached) " >&6
65343 else
65346 ac_ext=cpp
65347 ac_cpp='$CXXCPP $CPPFLAGS'
65348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65353 /* end confdefs.h. */
65354 #include <math.h>
65356 main ()
65358 powl(0, 0);
65360 return 0;
65362 _ACEOF
65363 if ac_fn_cxx_try_compile "$LINENO"; then :
65364 glibcxx_cv_func_powl_use=yes
65365 else
65366 glibcxx_cv_func_powl_use=no
65368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65369 ac_ext=c
65370 ac_cpp='$CPP $CPPFLAGS'
65371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65380 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65382 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65383 for ac_func in powl
65384 do :
65385 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65386 if test "x$ac_cv_func_powl" = x""yes; then :
65387 cat >>confdefs.h <<_ACEOF
65388 #define HAVE_POWL 1
65389 _ACEOF
65392 done
65394 else
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65397 $as_echo_n "checking for _powl declaration... " >&6; }
65398 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65399 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65400 $as_echo_n "(cached) " >&6
65401 else
65404 ac_ext=cpp
65405 ac_cpp='$CXXCPP $CPPFLAGS'
65406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65411 /* end confdefs.h. */
65412 #include <math.h>
65414 main ()
65416 _powl(0, 0);
65418 return 0;
65420 _ACEOF
65421 if ac_fn_cxx_try_compile "$LINENO"; then :
65422 glibcxx_cv_func__powl_use=yes
65423 else
65424 glibcxx_cv_func__powl_use=no
65426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65427 ac_ext=c
65428 ac_cpp='$CPP $CPPFLAGS'
65429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65438 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65440 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65441 for ac_func in _powl
65442 do :
65443 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65444 if test "x$ac_cv_func__powl" = x""yes; then :
65445 cat >>confdefs.h <<_ACEOF
65446 #define HAVE__POWL 1
65447 _ACEOF
65450 done
65459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65460 $as_echo_n "checking for sqrtl declaration... " >&6; }
65461 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65462 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65463 $as_echo_n "(cached) " >&6
65464 else
65467 ac_ext=cpp
65468 ac_cpp='$CXXCPP $CPPFLAGS'
65469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65474 /* end confdefs.h. */
65475 #include <math.h>
65476 #ifdef HAVE_IEEEFP_H
65477 #include <ieeefp.h>
65478 #endif
65481 main ()
65483 sqrtl(0);
65485 return 0;
65487 _ACEOF
65488 if ac_fn_cxx_try_compile "$LINENO"; then :
65489 glibcxx_cv_func_sqrtl_use=yes
65490 else
65491 glibcxx_cv_func_sqrtl_use=no
65493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65494 ac_ext=c
65495 ac_cpp='$CPP $CPPFLAGS'
65496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65505 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65507 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65508 for ac_func in sqrtl
65509 do :
65510 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65511 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65512 cat >>confdefs.h <<_ACEOF
65513 #define HAVE_SQRTL 1
65514 _ACEOF
65517 done
65519 else
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65522 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65523 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65524 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65525 $as_echo_n "(cached) " >&6
65526 else
65529 ac_ext=cpp
65530 ac_cpp='$CXXCPP $CPPFLAGS'
65531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65536 /* end confdefs.h. */
65537 #include <math.h>
65538 #ifdef HAVE_IEEEFP_H
65539 #include <ieeefp.h>
65540 #endif
65543 main ()
65545 _sqrtl(0);
65547 return 0;
65549 _ACEOF
65550 if ac_fn_cxx_try_compile "$LINENO"; then :
65551 glibcxx_cv_func__sqrtl_use=yes
65552 else
65553 glibcxx_cv_func__sqrtl_use=no
65555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65556 ac_ext=c
65557 ac_cpp='$CPP $CPPFLAGS'
65558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65567 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65569 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65570 for ac_func in _sqrtl
65571 do :
65572 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65573 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65574 cat >>confdefs.h <<_ACEOF
65575 #define HAVE__SQRTL 1
65576 _ACEOF
65579 done
65588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65589 $as_echo_n "checking for sincosl declaration... " >&6; }
65590 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65591 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65592 $as_echo_n "(cached) " >&6
65593 else
65596 ac_ext=cpp
65597 ac_cpp='$CXXCPP $CPPFLAGS'
65598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65603 /* end confdefs.h. */
65604 #include <math.h>
65606 main ()
65608 sincosl(0, 0, 0);
65610 return 0;
65612 _ACEOF
65613 if ac_fn_cxx_try_compile "$LINENO"; then :
65614 glibcxx_cv_func_sincosl_use=yes
65615 else
65616 glibcxx_cv_func_sincosl_use=no
65618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65619 ac_ext=c
65620 ac_cpp='$CPP $CPPFLAGS'
65621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65630 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65632 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65633 for ac_func in sincosl
65634 do :
65635 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65636 if test "x$ac_cv_func_sincosl" = x""yes; then :
65637 cat >>confdefs.h <<_ACEOF
65638 #define HAVE_SINCOSL 1
65639 _ACEOF
65642 done
65644 else
65646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65647 $as_echo_n "checking for _sincosl declaration... " >&6; }
65648 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65649 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65650 $as_echo_n "(cached) " >&6
65651 else
65654 ac_ext=cpp
65655 ac_cpp='$CXXCPP $CPPFLAGS'
65656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65661 /* end confdefs.h. */
65662 #include <math.h>
65664 main ()
65666 _sincosl(0, 0, 0);
65668 return 0;
65670 _ACEOF
65671 if ac_fn_cxx_try_compile "$LINENO"; then :
65672 glibcxx_cv_func__sincosl_use=yes
65673 else
65674 glibcxx_cv_func__sincosl_use=no
65676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65677 ac_ext=c
65678 ac_cpp='$CPP $CPPFLAGS'
65679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65688 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65690 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65691 for ac_func in _sincosl
65692 do :
65693 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65694 if test "x$ac_cv_func__sincosl" = x""yes; then :
65695 cat >>confdefs.h <<_ACEOF
65696 #define HAVE__SINCOSL 1
65697 _ACEOF
65700 done
65709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65710 $as_echo_n "checking for finitel declaration... " >&6; }
65711 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65712 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65713 $as_echo_n "(cached) " >&6
65714 else
65717 ac_ext=cpp
65718 ac_cpp='$CXXCPP $CPPFLAGS'
65719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65724 /* end confdefs.h. */
65725 #include <math.h>
65726 #ifdef HAVE_IEEEFP_H
65727 #include <ieeefp.h>
65728 #endif
65731 main ()
65733 finitel(0);
65735 return 0;
65737 _ACEOF
65738 if ac_fn_cxx_try_compile "$LINENO"; then :
65739 glibcxx_cv_func_finitel_use=yes
65740 else
65741 glibcxx_cv_func_finitel_use=no
65743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65744 ac_ext=c
65745 ac_cpp='$CPP $CPPFLAGS'
65746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65755 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65757 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65758 for ac_func in finitel
65759 do :
65760 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65761 if test "x$ac_cv_func_finitel" = x""yes; then :
65762 cat >>confdefs.h <<_ACEOF
65763 #define HAVE_FINITEL 1
65764 _ACEOF
65767 done
65769 else
65771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65772 $as_echo_n "checking for _finitel declaration... " >&6; }
65773 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65774 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65775 $as_echo_n "(cached) " >&6
65776 else
65779 ac_ext=cpp
65780 ac_cpp='$CXXCPP $CPPFLAGS'
65781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65786 /* end confdefs.h. */
65787 #include <math.h>
65788 #ifdef HAVE_IEEEFP_H
65789 #include <ieeefp.h>
65790 #endif
65793 main ()
65795 _finitel(0);
65797 return 0;
65799 _ACEOF
65800 if ac_fn_cxx_try_compile "$LINENO"; then :
65801 glibcxx_cv_func__finitel_use=yes
65802 else
65803 glibcxx_cv_func__finitel_use=no
65805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65806 ac_ext=c
65807 ac_cpp='$CPP $CPPFLAGS'
65808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65817 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65819 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65820 for ac_func in _finitel
65821 do :
65822 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65823 if test "x$ac_cv_func__finitel" = x""yes; then :
65824 cat >>confdefs.h <<_ACEOF
65825 #define HAVE__FINITEL 1
65826 _ACEOF
65829 done
65837 LIBS="$ac_save_LIBS"
65838 CXXFLAGS="$ac_save_CXXFLAGS"
65841 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65842 ac_save_CXXFLAGS="$CXXFLAGS"
65843 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65847 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65848 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65849 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65850 $as_echo_n "(cached) " >&6
65851 else
65854 ac_ext=cpp
65855 ac_cpp='$CXXCPP $CPPFLAGS'
65856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65861 /* end confdefs.h. */
65862 #include <stdlib.h>
65864 main ()
65866 at_quick_exit(0);
65868 return 0;
65870 _ACEOF
65871 if ac_fn_cxx_try_compile "$LINENO"; then :
65872 glibcxx_cv_func_at_quick_exit_use=yes
65873 else
65874 glibcxx_cv_func_at_quick_exit_use=no
65876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65877 ac_ext=c
65878 ac_cpp='$CPP $CPPFLAGS'
65879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65888 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65889 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65890 for ac_func in at_quick_exit
65891 do :
65892 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65893 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65894 cat >>confdefs.h <<_ACEOF
65895 #define HAVE_AT_QUICK_EXIT 1
65896 _ACEOF
65899 done
65904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65905 $as_echo_n "checking for quick_exit declaration... " >&6; }
65906 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65907 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65908 $as_echo_n "(cached) " >&6
65909 else
65912 ac_ext=cpp
65913 ac_cpp='$CXXCPP $CPPFLAGS'
65914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65919 /* end confdefs.h. */
65920 #include <stdlib.h>
65922 main ()
65924 quick_exit(0);
65926 return 0;
65928 _ACEOF
65929 if ac_fn_cxx_try_compile "$LINENO"; then :
65930 glibcxx_cv_func_quick_exit_use=yes
65931 else
65932 glibcxx_cv_func_quick_exit_use=no
65934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65935 ac_ext=c
65936 ac_cpp='$CPP $CPPFLAGS'
65937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65946 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65947 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65948 for ac_func in quick_exit
65949 do :
65950 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65951 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65952 cat >>confdefs.h <<_ACEOF
65953 #define HAVE_QUICK_EXIT 1
65954 _ACEOF
65957 done
65962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65963 $as_echo_n "checking for strtold declaration... " >&6; }
65964 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65965 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65966 $as_echo_n "(cached) " >&6
65967 else
65970 ac_ext=cpp
65971 ac_cpp='$CXXCPP $CPPFLAGS'
65972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65977 /* end confdefs.h. */
65978 #include <stdlib.h>
65980 main ()
65982 strtold(0, 0);
65984 return 0;
65986 _ACEOF
65987 if ac_fn_cxx_try_compile "$LINENO"; then :
65988 glibcxx_cv_func_strtold_use=yes
65989 else
65990 glibcxx_cv_func_strtold_use=no
65992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65993 ac_ext=c
65994 ac_cpp='$CPP $CPPFLAGS'
65995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66004 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66005 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66006 for ac_func in strtold
66007 do :
66008 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66009 if test "x$ac_cv_func_strtold" = x""yes; then :
66010 cat >>confdefs.h <<_ACEOF
66011 #define HAVE_STRTOLD 1
66012 _ACEOF
66015 done
66022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66023 $as_echo_n "checking for strtof declaration... " >&6; }
66024 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66025 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66026 $as_echo_n "(cached) " >&6
66027 else
66030 ac_ext=cpp
66031 ac_cpp='$CXXCPP $CPPFLAGS'
66032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66037 /* end confdefs.h. */
66038 #include <stdlib.h>
66040 main ()
66042 strtof(0, 0);
66044 return 0;
66046 _ACEOF
66047 if ac_fn_cxx_try_compile "$LINENO"; then :
66048 glibcxx_cv_func_strtof_use=yes
66049 else
66050 glibcxx_cv_func_strtof_use=no
66052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66053 ac_ext=c
66054 ac_cpp='$CPP $CPPFLAGS'
66055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66064 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66065 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66066 for ac_func in strtof
66067 do :
66068 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66069 if test "x$ac_cv_func_strtof" = x""yes; then :
66070 cat >>confdefs.h <<_ACEOF
66071 #define HAVE_STRTOF 1
66072 _ACEOF
66075 done
66082 CXXFLAGS="$ac_save_CXXFLAGS"
66085 *-netbsd*)
66086 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66089 # If we're not using GNU ld, then there's no point in even trying these
66090 # tests. Check for that first. We should have already tested for gld
66091 # by now (in libtool), but require it now just to be safe...
66092 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66093 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66097 # The name set by libtool depends on the version of libtool. Shame on us
66098 # for depending on an impl detail, but c'est la vie. Older versions used
66099 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66100 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66101 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66102 # set (hence we're using an older libtool), then set it.
66103 if test x${with_gnu_ld+set} != xset; then
66104 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66105 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66106 with_gnu_ld=no
66107 else
66108 with_gnu_ld=$ac_cv_prog_gnu_ld
66112 # Start by getting the version number. I think the libtool test already
66113 # does some of this, but throws away the result.
66114 glibcxx_ld_is_gold=no
66115 if test x"$with_gnu_ld" = x"yes"; then
66116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66117 $as_echo_n "checking for ld version... " >&6; }
66119 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66120 glibcxx_ld_is_gold=yes
66122 ldver=`$LD --version 2>/dev/null |
66123 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'`
66125 glibcxx_gnu_ld_version=`echo $ldver | \
66126 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66128 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66131 # Set --gc-sections.
66132 glibcxx_have_gc_sections=no
66133 if test "$glibcxx_ld_is_gold" = "yes"; then
66134 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66135 glibcxx_have_gc_sections=yes
66137 else
66138 glibcxx_gcsections_min_ld=21602
66139 if test x"$with_gnu_ld" = x"yes" &&
66140 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66141 glibcxx_have_gc_sections=yes
66144 if test "$glibcxx_have_gc_sections" = "yes"; then
66145 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66146 # NB: This flag only works reliably after 2.16.1. Configure tests
66147 # for this are difficult, so hard wire a value that should work.
66149 ac_test_CFLAGS="${CFLAGS+set}"
66150 ac_save_CFLAGS="$CFLAGS"
66151 CFLAGS='-Wl,--gc-sections'
66153 # Check for -Wl,--gc-sections
66154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66155 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66156 if test x$gcc_no_link = xyes; then
66157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66160 /* end confdefs.h. */
66161 int one(void) { return 1; }
66162 int two(void) { return 2; }
66165 main ()
66167 two();
66169 return 0;
66171 _ACEOF
66172 if ac_fn_c_try_link "$LINENO"; then :
66173 ac_gcsections=yes
66174 else
66175 ac_gcsections=no
66177 rm -f core conftest.err conftest.$ac_objext \
66178 conftest$ac_exeext conftest.$ac_ext
66179 if test "$ac_gcsections" = "yes"; then
66180 rm -f conftest.c
66181 touch conftest.c
66182 if $CC -c conftest.c; then
66183 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66184 grep "Warning: gc-sections option ignored" > /dev/null; then
66185 ac_gcsections=no
66188 rm -f conftest.c conftest.o conftest
66190 if test "$ac_gcsections" = "yes"; then
66191 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66194 $as_echo "$ac_gcsections" >&6; }
66196 if test "$ac_test_CFLAGS" = set; then
66197 CFLAGS="$ac_save_CFLAGS"
66198 else
66199 # this is the suspicious part
66200 CFLAGS=''
66204 # Set -z,relro.
66205 # Note this is only for shared objects.
66206 ac_ld_relro=no
66207 if test x"$with_gnu_ld" = x"yes"; then
66208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66209 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66210 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66211 if test -n "$cxx_z_relo"; then
66212 OPT_LDFLAGS="-Wl,-z,relro"
66213 ac_ld_relro=yes
66215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66216 $as_echo "$ac_ld_relro" >&6; }
66219 # Set linker optimization flags.
66220 if test x"$with_gnu_ld" = x"yes"; then
66221 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66227 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66229 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66231 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66233 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66235 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66237 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66239 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66241 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66243 if test x"long_double_math_on_this_cpu" = x"yes"; then
66244 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66246 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66248 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66252 *-qnx6.1* | *-qnx6.2*)
66253 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66256 # If we're not using GNU ld, then there's no point in even trying these
66257 # tests. Check for that first. We should have already tested for gld
66258 # by now (in libtool), but require it now just to be safe...
66259 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66260 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66264 # The name set by libtool depends on the version of libtool. Shame on us
66265 # for depending on an impl detail, but c'est la vie. Older versions used
66266 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66267 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66268 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66269 # set (hence we're using an older libtool), then set it.
66270 if test x${with_gnu_ld+set} != xset; then
66271 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66272 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66273 with_gnu_ld=no
66274 else
66275 with_gnu_ld=$ac_cv_prog_gnu_ld
66279 # Start by getting the version number. I think the libtool test already
66280 # does some of this, but throws away the result.
66281 glibcxx_ld_is_gold=no
66282 if test x"$with_gnu_ld" = x"yes"; then
66283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66284 $as_echo_n "checking for ld version... " >&6; }
66286 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66287 glibcxx_ld_is_gold=yes
66289 ldver=`$LD --version 2>/dev/null |
66290 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'`
66292 glibcxx_gnu_ld_version=`echo $ldver | \
66293 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66295 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66298 # Set --gc-sections.
66299 glibcxx_have_gc_sections=no
66300 if test "$glibcxx_ld_is_gold" = "yes"; then
66301 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66302 glibcxx_have_gc_sections=yes
66304 else
66305 glibcxx_gcsections_min_ld=21602
66306 if test x"$with_gnu_ld" = x"yes" &&
66307 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66308 glibcxx_have_gc_sections=yes
66311 if test "$glibcxx_have_gc_sections" = "yes"; then
66312 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66313 # NB: This flag only works reliably after 2.16.1. Configure tests
66314 # for this are difficult, so hard wire a value that should work.
66316 ac_test_CFLAGS="${CFLAGS+set}"
66317 ac_save_CFLAGS="$CFLAGS"
66318 CFLAGS='-Wl,--gc-sections'
66320 # Check for -Wl,--gc-sections
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66322 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66323 if test x$gcc_no_link = xyes; then
66324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66327 /* end confdefs.h. */
66328 int one(void) { return 1; }
66329 int two(void) { return 2; }
66332 main ()
66334 two();
66336 return 0;
66338 _ACEOF
66339 if ac_fn_c_try_link "$LINENO"; then :
66340 ac_gcsections=yes
66341 else
66342 ac_gcsections=no
66344 rm -f core conftest.err conftest.$ac_objext \
66345 conftest$ac_exeext conftest.$ac_ext
66346 if test "$ac_gcsections" = "yes"; then
66347 rm -f conftest.c
66348 touch conftest.c
66349 if $CC -c conftest.c; then
66350 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66351 grep "Warning: gc-sections option ignored" > /dev/null; then
66352 ac_gcsections=no
66355 rm -f conftest.c conftest.o conftest
66357 if test "$ac_gcsections" = "yes"; then
66358 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66361 $as_echo "$ac_gcsections" >&6; }
66363 if test "$ac_test_CFLAGS" = set; then
66364 CFLAGS="$ac_save_CFLAGS"
66365 else
66366 # this is the suspicious part
66367 CFLAGS=''
66371 # Set -z,relro.
66372 # Note this is only for shared objects.
66373 ac_ld_relro=no
66374 if test x"$with_gnu_ld" = x"yes"; then
66375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66376 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66377 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66378 if test -n "$cxx_z_relo"; then
66379 OPT_LDFLAGS="-Wl,-z,relro"
66380 ac_ld_relro=yes
66382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66383 $as_echo "$ac_ld_relro" >&6; }
66386 # Set linker optimization flags.
66387 if test x"$with_gnu_ld" = x"yes"; then
66388 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66394 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66396 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66398 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66400 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66402 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66404 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66406 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66408 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66410 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66412 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66414 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66416 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66419 *-rtems*)
66421 # All these tests are for C++; save the language and the compiler flags.
66422 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66423 # found in GLIBCXX_CONFIGURE.
66425 ac_ext=cpp
66426 ac_cpp='$CXXCPP $CPPFLAGS'
66427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66432 ac_save_CXXFLAGS="$CXXFLAGS"
66434 # Check for maintainer-mode bits.
66435 if test x"$USE_MAINTAINER_MODE" = xno; then
66436 WERROR=''
66437 else
66438 WERROR='-Werror'
66441 # Check for -ffunction-sections -fdata-sections
66442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66443 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66444 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66446 /* end confdefs.h. */
66447 int foo; void bar() { };
66449 main ()
66453 return 0;
66455 _ACEOF
66456 if ac_fn_cxx_try_compile "$LINENO"; then :
66457 ac_fdsections=yes
66458 else
66459 ac_fdsections=no
66461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66462 if test "$ac_test_CXXFLAGS" = set; then
66463 CXXFLAGS="$ac_save_CXXFLAGS"
66464 else
66465 # this is the suspicious part
66466 CXXFLAGS=''
66468 if test x"$ac_fdsections" = x"yes"; then
66469 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66472 $as_echo "$ac_fdsections" >&6; }
66474 ac_ext=c
66475 ac_cpp='$CPP $CPPFLAGS'
66476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66484 # If we're not using GNU ld, then there's no point in even trying these
66485 # tests. Check for that first. We should have already tested for gld
66486 # by now (in libtool), but require it now just to be safe...
66487 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66488 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66492 # The name set by libtool depends on the version of libtool. Shame on us
66493 # for depending on an impl detail, but c'est la vie. Older versions used
66494 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66495 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66496 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66497 # set (hence we're using an older libtool), then set it.
66498 if test x${with_gnu_ld+set} != xset; then
66499 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66500 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66501 with_gnu_ld=no
66502 else
66503 with_gnu_ld=$ac_cv_prog_gnu_ld
66507 # Start by getting the version number. I think the libtool test already
66508 # does some of this, but throws away the result.
66509 glibcxx_ld_is_gold=no
66510 if test x"$with_gnu_ld" = x"yes"; then
66511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66512 $as_echo_n "checking for ld version... " >&6; }
66514 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66515 glibcxx_ld_is_gold=yes
66517 ldver=`$LD --version 2>/dev/null |
66518 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'`
66520 glibcxx_gnu_ld_version=`echo $ldver | \
66521 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66523 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66526 # Set --gc-sections.
66527 glibcxx_have_gc_sections=no
66528 if test "$glibcxx_ld_is_gold" = "yes"; then
66529 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66530 glibcxx_have_gc_sections=yes
66532 else
66533 glibcxx_gcsections_min_ld=21602
66534 if test x"$with_gnu_ld" = x"yes" &&
66535 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66536 glibcxx_have_gc_sections=yes
66539 if test "$glibcxx_have_gc_sections" = "yes"; then
66540 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66541 # NB: This flag only works reliably after 2.16.1. Configure tests
66542 # for this are difficult, so hard wire a value that should work.
66544 ac_test_CFLAGS="${CFLAGS+set}"
66545 ac_save_CFLAGS="$CFLAGS"
66546 CFLAGS='-Wl,--gc-sections'
66548 # Check for -Wl,--gc-sections
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66550 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66551 if test x$gcc_no_link = xyes; then
66552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66555 /* end confdefs.h. */
66556 int one(void) { return 1; }
66557 int two(void) { return 2; }
66560 main ()
66562 two();
66564 return 0;
66566 _ACEOF
66567 if ac_fn_c_try_link "$LINENO"; then :
66568 ac_gcsections=yes
66569 else
66570 ac_gcsections=no
66572 rm -f core conftest.err conftest.$ac_objext \
66573 conftest$ac_exeext conftest.$ac_ext
66574 if test "$ac_gcsections" = "yes"; then
66575 rm -f conftest.c
66576 touch conftest.c
66577 if $CC -c conftest.c; then
66578 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66579 grep "Warning: gc-sections option ignored" > /dev/null; then
66580 ac_gcsections=no
66583 rm -f conftest.c conftest.o conftest
66585 if test "$ac_gcsections" = "yes"; then
66586 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66589 $as_echo "$ac_gcsections" >&6; }
66591 if test "$ac_test_CFLAGS" = set; then
66592 CFLAGS="$ac_save_CFLAGS"
66593 else
66594 # this is the suspicious part
66595 CFLAGS=''
66599 # Set -z,relro.
66600 # Note this is only for shared objects.
66601 ac_ld_relro=no
66602 if test x"$with_gnu_ld" = x"yes"; then
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66604 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66605 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66606 if test -n "$cxx_z_relo"; then
66607 OPT_LDFLAGS="-Wl,-z,relro"
66608 ac_ld_relro=yes
66610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66611 $as_echo "$ac_ld_relro" >&6; }
66614 # Set linker optimization flags.
66615 if test x"$with_gnu_ld" = x"yes"; then
66616 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66624 ac_save_CXXFLAGS="$CXXFLAGS"
66625 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66628 $as_echo_n "checking for sin in -lm... " >&6; }
66629 if test "${ac_cv_lib_m_sin+set}" = set; then :
66630 $as_echo_n "(cached) " >&6
66631 else
66632 ac_check_lib_save_LIBS=$LIBS
66633 LIBS="-lm $LIBS"
66634 if test x$gcc_no_link = xyes; then
66635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66638 /* end confdefs.h. */
66640 /* Override any GCC internal prototype to avoid an error.
66641 Use char because int might match the return type of a GCC
66642 builtin and then its argument prototype would still apply. */
66643 #ifdef __cplusplus
66644 extern "C"
66645 #endif
66646 char sin ();
66648 main ()
66650 return sin ();
66652 return 0;
66654 _ACEOF
66655 if ac_fn_c_try_link "$LINENO"; then :
66656 ac_cv_lib_m_sin=yes
66657 else
66658 ac_cv_lib_m_sin=no
66660 rm -f core conftest.err conftest.$ac_objext \
66661 conftest$ac_exeext conftest.$ac_ext
66662 LIBS=$ac_check_lib_save_LIBS
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66665 $as_echo "$ac_cv_lib_m_sin" >&6; }
66666 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66667 libm="-lm"
66670 ac_save_LIBS="$LIBS"
66671 LIBS="$LIBS $libm"
66675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66676 $as_echo_n "checking for isinf declaration... " >&6; }
66677 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66678 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66679 $as_echo_n "(cached) " >&6
66680 else
66683 ac_ext=cpp
66684 ac_cpp='$CXXCPP $CPPFLAGS'
66685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66690 /* end confdefs.h. */
66691 #include <math.h>
66692 #ifdef HAVE_IEEEFP_H
66693 #include <ieeefp.h>
66694 #endif
66697 main ()
66699 isinf(0);
66701 return 0;
66703 _ACEOF
66704 if ac_fn_cxx_try_compile "$LINENO"; then :
66705 glibcxx_cv_func_isinf_use=yes
66706 else
66707 glibcxx_cv_func_isinf_use=no
66709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66710 ac_ext=c
66711 ac_cpp='$CPP $CPPFLAGS'
66712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66721 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66723 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66724 for ac_func in isinf
66725 do :
66726 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66727 if test "x$ac_cv_func_isinf" = x""yes; then :
66728 cat >>confdefs.h <<_ACEOF
66729 #define HAVE_ISINF 1
66730 _ACEOF
66733 done
66735 else
66737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66738 $as_echo_n "checking for _isinf declaration... " >&6; }
66739 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66740 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66741 $as_echo_n "(cached) " >&6
66742 else
66745 ac_ext=cpp
66746 ac_cpp='$CXXCPP $CPPFLAGS'
66747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66752 /* end confdefs.h. */
66753 #include <math.h>
66754 #ifdef HAVE_IEEEFP_H
66755 #include <ieeefp.h>
66756 #endif
66759 main ()
66761 _isinf(0);
66763 return 0;
66765 _ACEOF
66766 if ac_fn_cxx_try_compile "$LINENO"; then :
66767 glibcxx_cv_func__isinf_use=yes
66768 else
66769 glibcxx_cv_func__isinf_use=no
66771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66772 ac_ext=c
66773 ac_cpp='$CPP $CPPFLAGS'
66774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66783 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66785 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66786 for ac_func in _isinf
66787 do :
66788 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66789 if test "x$ac_cv_func__isinf" = x""yes; then :
66790 cat >>confdefs.h <<_ACEOF
66791 #define HAVE__ISINF 1
66792 _ACEOF
66795 done
66804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66805 $as_echo_n "checking for isnan declaration... " >&6; }
66806 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66807 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66808 $as_echo_n "(cached) " >&6
66809 else
66812 ac_ext=cpp
66813 ac_cpp='$CXXCPP $CPPFLAGS'
66814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66819 /* end confdefs.h. */
66820 #include <math.h>
66821 #ifdef HAVE_IEEEFP_H
66822 #include <ieeefp.h>
66823 #endif
66826 main ()
66828 isnan(0);
66830 return 0;
66832 _ACEOF
66833 if ac_fn_cxx_try_compile "$LINENO"; then :
66834 glibcxx_cv_func_isnan_use=yes
66835 else
66836 glibcxx_cv_func_isnan_use=no
66838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66839 ac_ext=c
66840 ac_cpp='$CPP $CPPFLAGS'
66841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66850 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66852 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66853 for ac_func in isnan
66854 do :
66855 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66856 if test "x$ac_cv_func_isnan" = x""yes; then :
66857 cat >>confdefs.h <<_ACEOF
66858 #define HAVE_ISNAN 1
66859 _ACEOF
66862 done
66864 else
66866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66867 $as_echo_n "checking for _isnan declaration... " >&6; }
66868 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66869 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66870 $as_echo_n "(cached) " >&6
66871 else
66874 ac_ext=cpp
66875 ac_cpp='$CXXCPP $CPPFLAGS'
66876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66881 /* end confdefs.h. */
66882 #include <math.h>
66883 #ifdef HAVE_IEEEFP_H
66884 #include <ieeefp.h>
66885 #endif
66888 main ()
66890 _isnan(0);
66892 return 0;
66894 _ACEOF
66895 if ac_fn_cxx_try_compile "$LINENO"; then :
66896 glibcxx_cv_func__isnan_use=yes
66897 else
66898 glibcxx_cv_func__isnan_use=no
66900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66901 ac_ext=c
66902 ac_cpp='$CPP $CPPFLAGS'
66903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66912 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66914 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66915 for ac_func in _isnan
66916 do :
66917 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66918 if test "x$ac_cv_func__isnan" = x""yes; then :
66919 cat >>confdefs.h <<_ACEOF
66920 #define HAVE__ISNAN 1
66921 _ACEOF
66924 done
66933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66934 $as_echo_n "checking for finite declaration... " >&6; }
66935 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66936 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66937 $as_echo_n "(cached) " >&6
66938 else
66941 ac_ext=cpp
66942 ac_cpp='$CXXCPP $CPPFLAGS'
66943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66948 /* end confdefs.h. */
66949 #include <math.h>
66950 #ifdef HAVE_IEEEFP_H
66951 #include <ieeefp.h>
66952 #endif
66955 main ()
66957 finite(0);
66959 return 0;
66961 _ACEOF
66962 if ac_fn_cxx_try_compile "$LINENO"; then :
66963 glibcxx_cv_func_finite_use=yes
66964 else
66965 glibcxx_cv_func_finite_use=no
66967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66968 ac_ext=c
66969 ac_cpp='$CPP $CPPFLAGS'
66970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66979 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66981 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66982 for ac_func in finite
66983 do :
66984 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66985 if test "x$ac_cv_func_finite" = x""yes; then :
66986 cat >>confdefs.h <<_ACEOF
66987 #define HAVE_FINITE 1
66988 _ACEOF
66991 done
66993 else
66995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66996 $as_echo_n "checking for _finite declaration... " >&6; }
66997 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66998 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66999 $as_echo_n "(cached) " >&6
67000 else
67003 ac_ext=cpp
67004 ac_cpp='$CXXCPP $CPPFLAGS'
67005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67010 /* end confdefs.h. */
67011 #include <math.h>
67012 #ifdef HAVE_IEEEFP_H
67013 #include <ieeefp.h>
67014 #endif
67017 main ()
67019 _finite(0);
67021 return 0;
67023 _ACEOF
67024 if ac_fn_cxx_try_compile "$LINENO"; then :
67025 glibcxx_cv_func__finite_use=yes
67026 else
67027 glibcxx_cv_func__finite_use=no
67029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67030 ac_ext=c
67031 ac_cpp='$CPP $CPPFLAGS'
67032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67041 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67043 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67044 for ac_func in _finite
67045 do :
67046 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67047 if test "x$ac_cv_func__finite" = x""yes; then :
67048 cat >>confdefs.h <<_ACEOF
67049 #define HAVE__FINITE 1
67050 _ACEOF
67053 done
67062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67063 $as_echo_n "checking for sincos declaration... " >&6; }
67064 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67065 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67066 $as_echo_n "(cached) " >&6
67067 else
67070 ac_ext=cpp
67071 ac_cpp='$CXXCPP $CPPFLAGS'
67072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67077 /* end confdefs.h. */
67078 #include <math.h>
67080 main ()
67082 sincos(0, 0, 0);
67084 return 0;
67086 _ACEOF
67087 if ac_fn_cxx_try_compile "$LINENO"; then :
67088 glibcxx_cv_func_sincos_use=yes
67089 else
67090 glibcxx_cv_func_sincos_use=no
67092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67093 ac_ext=c
67094 ac_cpp='$CPP $CPPFLAGS'
67095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67104 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67106 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67107 for ac_func in sincos
67108 do :
67109 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67110 if test "x$ac_cv_func_sincos" = x""yes; then :
67111 cat >>confdefs.h <<_ACEOF
67112 #define HAVE_SINCOS 1
67113 _ACEOF
67116 done
67118 else
67120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67121 $as_echo_n "checking for _sincos declaration... " >&6; }
67122 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67123 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67124 $as_echo_n "(cached) " >&6
67125 else
67128 ac_ext=cpp
67129 ac_cpp='$CXXCPP $CPPFLAGS'
67130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67135 /* end confdefs.h. */
67136 #include <math.h>
67138 main ()
67140 _sincos(0, 0, 0);
67142 return 0;
67144 _ACEOF
67145 if ac_fn_cxx_try_compile "$LINENO"; then :
67146 glibcxx_cv_func__sincos_use=yes
67147 else
67148 glibcxx_cv_func__sincos_use=no
67150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67151 ac_ext=c
67152 ac_cpp='$CPP $CPPFLAGS'
67153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67162 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67164 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67165 for ac_func in _sincos
67166 do :
67167 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67168 if test "x$ac_cv_func__sincos" = x""yes; then :
67169 cat >>confdefs.h <<_ACEOF
67170 #define HAVE__SINCOS 1
67171 _ACEOF
67174 done
67183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67184 $as_echo_n "checking for fpclass declaration... " >&6; }
67185 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67186 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67187 $as_echo_n "(cached) " >&6
67188 else
67191 ac_ext=cpp
67192 ac_cpp='$CXXCPP $CPPFLAGS'
67193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67198 /* end confdefs.h. */
67199 #include <math.h>
67200 #ifdef HAVE_IEEEFP_H
67201 #include <ieeefp.h>
67202 #endif
67205 main ()
67207 fpclass(0);
67209 return 0;
67211 _ACEOF
67212 if ac_fn_cxx_try_compile "$LINENO"; then :
67213 glibcxx_cv_func_fpclass_use=yes
67214 else
67215 glibcxx_cv_func_fpclass_use=no
67217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67218 ac_ext=c
67219 ac_cpp='$CPP $CPPFLAGS'
67220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67229 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67231 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67232 for ac_func in fpclass
67233 do :
67234 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67235 if test "x$ac_cv_func_fpclass" = x""yes; then :
67236 cat >>confdefs.h <<_ACEOF
67237 #define HAVE_FPCLASS 1
67238 _ACEOF
67241 done
67243 else
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67246 $as_echo_n "checking for _fpclass declaration... " >&6; }
67247 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67248 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67249 $as_echo_n "(cached) " >&6
67250 else
67253 ac_ext=cpp
67254 ac_cpp='$CXXCPP $CPPFLAGS'
67255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67260 /* end confdefs.h. */
67261 #include <math.h>
67262 #ifdef HAVE_IEEEFP_H
67263 #include <ieeefp.h>
67264 #endif
67267 main ()
67269 _fpclass(0);
67271 return 0;
67273 _ACEOF
67274 if ac_fn_cxx_try_compile "$LINENO"; then :
67275 glibcxx_cv_func__fpclass_use=yes
67276 else
67277 glibcxx_cv_func__fpclass_use=no
67279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67280 ac_ext=c
67281 ac_cpp='$CPP $CPPFLAGS'
67282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67291 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67293 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67294 for ac_func in _fpclass
67295 do :
67296 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67297 if test "x$ac_cv_func__fpclass" = x""yes; then :
67298 cat >>confdefs.h <<_ACEOF
67299 #define HAVE__FPCLASS 1
67300 _ACEOF
67303 done
67312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67313 $as_echo_n "checking for qfpclass declaration... " >&6; }
67314 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67315 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67316 $as_echo_n "(cached) " >&6
67317 else
67320 ac_ext=cpp
67321 ac_cpp='$CXXCPP $CPPFLAGS'
67322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67327 /* end confdefs.h. */
67328 #include <math.h>
67329 #ifdef HAVE_IEEEFP_H
67330 #include <ieeefp.h>
67331 #endif
67334 main ()
67336 qfpclass(0);
67338 return 0;
67340 _ACEOF
67341 if ac_fn_cxx_try_compile "$LINENO"; then :
67342 glibcxx_cv_func_qfpclass_use=yes
67343 else
67344 glibcxx_cv_func_qfpclass_use=no
67346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67347 ac_ext=c
67348 ac_cpp='$CPP $CPPFLAGS'
67349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67358 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67360 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67361 for ac_func in qfpclass
67362 do :
67363 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67364 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67365 cat >>confdefs.h <<_ACEOF
67366 #define HAVE_QFPCLASS 1
67367 _ACEOF
67370 done
67372 else
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67375 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67376 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67377 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67378 $as_echo_n "(cached) " >&6
67379 else
67382 ac_ext=cpp
67383 ac_cpp='$CXXCPP $CPPFLAGS'
67384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67389 /* end confdefs.h. */
67390 #include <math.h>
67391 #ifdef HAVE_IEEEFP_H
67392 #include <ieeefp.h>
67393 #endif
67396 main ()
67398 _qfpclass(0);
67400 return 0;
67402 _ACEOF
67403 if ac_fn_cxx_try_compile "$LINENO"; then :
67404 glibcxx_cv_func__qfpclass_use=yes
67405 else
67406 glibcxx_cv_func__qfpclass_use=no
67408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67409 ac_ext=c
67410 ac_cpp='$CPP $CPPFLAGS'
67411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67420 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67422 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67423 for ac_func in _qfpclass
67424 do :
67425 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67426 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67427 cat >>confdefs.h <<_ACEOF
67428 #define HAVE__QFPCLASS 1
67429 _ACEOF
67432 done
67441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67442 $as_echo_n "checking for hypot declaration... " >&6; }
67443 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67444 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67445 $as_echo_n "(cached) " >&6
67446 else
67449 ac_ext=cpp
67450 ac_cpp='$CXXCPP $CPPFLAGS'
67451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67456 /* end confdefs.h. */
67457 #include <math.h>
67459 main ()
67461 hypot(0, 0);
67463 return 0;
67465 _ACEOF
67466 if ac_fn_cxx_try_compile "$LINENO"; then :
67467 glibcxx_cv_func_hypot_use=yes
67468 else
67469 glibcxx_cv_func_hypot_use=no
67471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67472 ac_ext=c
67473 ac_cpp='$CPP $CPPFLAGS'
67474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67483 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67485 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67486 for ac_func in hypot
67487 do :
67488 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67489 if test "x$ac_cv_func_hypot" = x""yes; then :
67490 cat >>confdefs.h <<_ACEOF
67491 #define HAVE_HYPOT 1
67492 _ACEOF
67495 done
67497 else
67499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67500 $as_echo_n "checking for _hypot declaration... " >&6; }
67501 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67502 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67503 $as_echo_n "(cached) " >&6
67504 else
67507 ac_ext=cpp
67508 ac_cpp='$CXXCPP $CPPFLAGS'
67509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67514 /* end confdefs.h. */
67515 #include <math.h>
67517 main ()
67519 _hypot(0, 0);
67521 return 0;
67523 _ACEOF
67524 if ac_fn_cxx_try_compile "$LINENO"; then :
67525 glibcxx_cv_func__hypot_use=yes
67526 else
67527 glibcxx_cv_func__hypot_use=no
67529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67530 ac_ext=c
67531 ac_cpp='$CPP $CPPFLAGS'
67532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67541 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67543 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67544 for ac_func in _hypot
67545 do :
67546 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67547 if test "x$ac_cv_func__hypot" = x""yes; then :
67548 cat >>confdefs.h <<_ACEOF
67549 #define HAVE__HYPOT 1
67550 _ACEOF
67553 done
67562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67563 $as_echo_n "checking for float trig functions... " >&6; }
67564 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67565 $as_echo_n "(cached) " >&6
67566 else
67569 ac_ext=cpp
67570 ac_cpp='$CXXCPP $CPPFLAGS'
67571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67576 /* end confdefs.h. */
67577 #include <math.h>
67579 main ()
67581 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67583 return 0;
67585 _ACEOF
67586 if ac_fn_cxx_try_compile "$LINENO"; then :
67587 glibcxx_cv_func_float_trig_use=yes
67588 else
67589 glibcxx_cv_func_float_trig_use=no
67591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67592 ac_ext=c
67593 ac_cpp='$CPP $CPPFLAGS'
67594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67601 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67602 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67603 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67604 do :
67605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67607 eval as_val=\$$as_ac_var
67608 if test "x$as_val" = x""yes; then :
67609 cat >>confdefs.h <<_ACEOF
67610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67611 _ACEOF
67614 done
67616 else
67617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67618 $as_echo_n "checking for _float trig functions... " >&6; }
67619 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67620 $as_echo_n "(cached) " >&6
67621 else
67624 ac_ext=cpp
67625 ac_cpp='$CXXCPP $CPPFLAGS'
67626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67631 /* end confdefs.h. */
67632 #include <math.h>
67634 main ()
67636 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67638 return 0;
67640 _ACEOF
67641 if ac_fn_cxx_try_compile "$LINENO"; then :
67642 glibcxx_cv_func__float_trig_use=yes
67643 else
67644 glibcxx_cv_func__float_trig_use=no
67646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67647 ac_ext=c
67648 ac_cpp='$CPP $CPPFLAGS'
67649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67656 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67657 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67658 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67659 do :
67660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67662 eval as_val=\$$as_ac_var
67663 if test "x$as_val" = x""yes; then :
67664 cat >>confdefs.h <<_ACEOF
67665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67666 _ACEOF
67669 done
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67679 $as_echo_n "checking for float round functions... " >&6; }
67680 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67681 $as_echo_n "(cached) " >&6
67682 else
67685 ac_ext=cpp
67686 ac_cpp='$CXXCPP $CPPFLAGS'
67687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67692 /* end confdefs.h. */
67693 #include <math.h>
67695 main ()
67697 ceilf (0); floorf (0);
67699 return 0;
67701 _ACEOF
67702 if ac_fn_cxx_try_compile "$LINENO"; then :
67703 glibcxx_cv_func_float_round_use=yes
67704 else
67705 glibcxx_cv_func_float_round_use=no
67707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67708 ac_ext=c
67709 ac_cpp='$CPP $CPPFLAGS'
67710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67717 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67718 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67719 for ac_func in ceilf floorf
67720 do :
67721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67723 eval as_val=\$$as_ac_var
67724 if test "x$as_val" = x""yes; then :
67725 cat >>confdefs.h <<_ACEOF
67726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67727 _ACEOF
67730 done
67732 else
67733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67734 $as_echo_n "checking for _float round functions... " >&6; }
67735 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67736 $as_echo_n "(cached) " >&6
67737 else
67740 ac_ext=cpp
67741 ac_cpp='$CXXCPP $CPPFLAGS'
67742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67747 /* end confdefs.h. */
67748 #include <math.h>
67750 main ()
67752 _ceilf (0); _floorf (0);
67754 return 0;
67756 _ACEOF
67757 if ac_fn_cxx_try_compile "$LINENO"; then :
67758 glibcxx_cv_func__float_round_use=yes
67759 else
67760 glibcxx_cv_func__float_round_use=no
67762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67763 ac_ext=c
67764 ac_cpp='$CPP $CPPFLAGS'
67765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67772 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67773 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67774 for ac_func in _ceilf _floorf
67775 do :
67776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67778 eval as_val=\$$as_ac_var
67779 if test "x$as_val" = x""yes; then :
67780 cat >>confdefs.h <<_ACEOF
67781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67782 _ACEOF
67785 done
67795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67796 $as_echo_n "checking for expf declaration... " >&6; }
67797 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67798 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67799 $as_echo_n "(cached) " >&6
67800 else
67803 ac_ext=cpp
67804 ac_cpp='$CXXCPP $CPPFLAGS'
67805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67810 /* end confdefs.h. */
67811 #include <math.h>
67812 #ifdef HAVE_IEEEFP_H
67813 #include <ieeefp.h>
67814 #endif
67817 main ()
67819 expf(0);
67821 return 0;
67823 _ACEOF
67824 if ac_fn_cxx_try_compile "$LINENO"; then :
67825 glibcxx_cv_func_expf_use=yes
67826 else
67827 glibcxx_cv_func_expf_use=no
67829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67830 ac_ext=c
67831 ac_cpp='$CPP $CPPFLAGS'
67832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67841 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67843 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67844 for ac_func in expf
67845 do :
67846 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67847 if test "x$ac_cv_func_expf" = x""yes; then :
67848 cat >>confdefs.h <<_ACEOF
67849 #define HAVE_EXPF 1
67850 _ACEOF
67853 done
67855 else
67857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67858 $as_echo_n "checking for _expf declaration... " >&6; }
67859 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67860 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67861 $as_echo_n "(cached) " >&6
67862 else
67865 ac_ext=cpp
67866 ac_cpp='$CXXCPP $CPPFLAGS'
67867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67872 /* end confdefs.h. */
67873 #include <math.h>
67874 #ifdef HAVE_IEEEFP_H
67875 #include <ieeefp.h>
67876 #endif
67879 main ()
67881 _expf(0);
67883 return 0;
67885 _ACEOF
67886 if ac_fn_cxx_try_compile "$LINENO"; then :
67887 glibcxx_cv_func__expf_use=yes
67888 else
67889 glibcxx_cv_func__expf_use=no
67891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67892 ac_ext=c
67893 ac_cpp='$CPP $CPPFLAGS'
67894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67903 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67905 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67906 for ac_func in _expf
67907 do :
67908 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67909 if test "x$ac_cv_func__expf" = x""yes; then :
67910 cat >>confdefs.h <<_ACEOF
67911 #define HAVE__EXPF 1
67912 _ACEOF
67915 done
67924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67925 $as_echo_n "checking for isnanf declaration... " >&6; }
67926 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67927 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67928 $as_echo_n "(cached) " >&6
67929 else
67932 ac_ext=cpp
67933 ac_cpp='$CXXCPP $CPPFLAGS'
67934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67939 /* end confdefs.h. */
67940 #include <math.h>
67941 #ifdef HAVE_IEEEFP_H
67942 #include <ieeefp.h>
67943 #endif
67946 main ()
67948 isnanf(0);
67950 return 0;
67952 _ACEOF
67953 if ac_fn_cxx_try_compile "$LINENO"; then :
67954 glibcxx_cv_func_isnanf_use=yes
67955 else
67956 glibcxx_cv_func_isnanf_use=no
67958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67959 ac_ext=c
67960 ac_cpp='$CPP $CPPFLAGS'
67961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67970 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67972 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67973 for ac_func in isnanf
67974 do :
67975 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67976 if test "x$ac_cv_func_isnanf" = x""yes; then :
67977 cat >>confdefs.h <<_ACEOF
67978 #define HAVE_ISNANF 1
67979 _ACEOF
67982 done
67984 else
67986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67987 $as_echo_n "checking for _isnanf declaration... " >&6; }
67988 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67989 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67990 $as_echo_n "(cached) " >&6
67991 else
67994 ac_ext=cpp
67995 ac_cpp='$CXXCPP $CPPFLAGS'
67996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68001 /* end confdefs.h. */
68002 #include <math.h>
68003 #ifdef HAVE_IEEEFP_H
68004 #include <ieeefp.h>
68005 #endif
68008 main ()
68010 _isnanf(0);
68012 return 0;
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func__isnanf_use=yes
68017 else
68018 glibcxx_cv_func__isnanf_use=no
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68032 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68034 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68035 for ac_func in _isnanf
68036 do :
68037 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68038 if test "x$ac_cv_func__isnanf" = x""yes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE__ISNANF 1
68041 _ACEOF
68044 done
68053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68054 $as_echo_n "checking for isinff declaration... " >&6; }
68055 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68056 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68057 $as_echo_n "(cached) " >&6
68058 else
68061 ac_ext=cpp
68062 ac_cpp='$CXXCPP $CPPFLAGS'
68063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68068 /* end confdefs.h. */
68069 #include <math.h>
68070 #ifdef HAVE_IEEEFP_H
68071 #include <ieeefp.h>
68072 #endif
68075 main ()
68077 isinff(0);
68079 return 0;
68081 _ACEOF
68082 if ac_fn_cxx_try_compile "$LINENO"; then :
68083 glibcxx_cv_func_isinff_use=yes
68084 else
68085 glibcxx_cv_func_isinff_use=no
68087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68088 ac_ext=c
68089 ac_cpp='$CPP $CPPFLAGS'
68090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68099 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68101 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68102 for ac_func in isinff
68103 do :
68104 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68105 if test "x$ac_cv_func_isinff" = x""yes; then :
68106 cat >>confdefs.h <<_ACEOF
68107 #define HAVE_ISINFF 1
68108 _ACEOF
68111 done
68113 else
68115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68116 $as_echo_n "checking for _isinff declaration... " >&6; }
68117 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68118 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68119 $as_echo_n "(cached) " >&6
68120 else
68123 ac_ext=cpp
68124 ac_cpp='$CXXCPP $CPPFLAGS'
68125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68130 /* end confdefs.h. */
68131 #include <math.h>
68132 #ifdef HAVE_IEEEFP_H
68133 #include <ieeefp.h>
68134 #endif
68137 main ()
68139 _isinff(0);
68141 return 0;
68143 _ACEOF
68144 if ac_fn_cxx_try_compile "$LINENO"; then :
68145 glibcxx_cv_func__isinff_use=yes
68146 else
68147 glibcxx_cv_func__isinff_use=no
68149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68150 ac_ext=c
68151 ac_cpp='$CPP $CPPFLAGS'
68152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68161 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68163 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68164 for ac_func in _isinff
68165 do :
68166 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68167 if test "x$ac_cv_func__isinff" = x""yes; then :
68168 cat >>confdefs.h <<_ACEOF
68169 #define HAVE__ISINFF 1
68170 _ACEOF
68173 done
68182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68183 $as_echo_n "checking for atan2f declaration... " >&6; }
68184 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68185 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68186 $as_echo_n "(cached) " >&6
68187 else
68190 ac_ext=cpp
68191 ac_cpp='$CXXCPP $CPPFLAGS'
68192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68197 /* end confdefs.h. */
68198 #include <math.h>
68200 main ()
68202 atan2f(0, 0);
68204 return 0;
68206 _ACEOF
68207 if ac_fn_cxx_try_compile "$LINENO"; then :
68208 glibcxx_cv_func_atan2f_use=yes
68209 else
68210 glibcxx_cv_func_atan2f_use=no
68212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68213 ac_ext=c
68214 ac_cpp='$CPP $CPPFLAGS'
68215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68224 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68226 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68227 for ac_func in atan2f
68228 do :
68229 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68230 if test "x$ac_cv_func_atan2f" = x""yes; then :
68231 cat >>confdefs.h <<_ACEOF
68232 #define HAVE_ATAN2F 1
68233 _ACEOF
68236 done
68238 else
68240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68241 $as_echo_n "checking for _atan2f declaration... " >&6; }
68242 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68243 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68244 $as_echo_n "(cached) " >&6
68245 else
68248 ac_ext=cpp
68249 ac_cpp='$CXXCPP $CPPFLAGS'
68250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68255 /* end confdefs.h. */
68256 #include <math.h>
68258 main ()
68260 _atan2f(0, 0);
68262 return 0;
68264 _ACEOF
68265 if ac_fn_cxx_try_compile "$LINENO"; then :
68266 glibcxx_cv_func__atan2f_use=yes
68267 else
68268 glibcxx_cv_func__atan2f_use=no
68270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68271 ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68282 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68284 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68285 for ac_func in _atan2f
68286 do :
68287 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68288 if test "x$ac_cv_func__atan2f" = x""yes; then :
68289 cat >>confdefs.h <<_ACEOF
68290 #define HAVE__ATAN2F 1
68291 _ACEOF
68294 done
68303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68304 $as_echo_n "checking for fabsf declaration... " >&6; }
68305 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68306 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68307 $as_echo_n "(cached) " >&6
68308 else
68311 ac_ext=cpp
68312 ac_cpp='$CXXCPP $CPPFLAGS'
68313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68318 /* end confdefs.h. */
68319 #include <math.h>
68320 #ifdef HAVE_IEEEFP_H
68321 #include <ieeefp.h>
68322 #endif
68325 main ()
68327 fabsf(0);
68329 return 0;
68331 _ACEOF
68332 if ac_fn_cxx_try_compile "$LINENO"; then :
68333 glibcxx_cv_func_fabsf_use=yes
68334 else
68335 glibcxx_cv_func_fabsf_use=no
68337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68338 ac_ext=c
68339 ac_cpp='$CPP $CPPFLAGS'
68340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68349 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68351 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68352 for ac_func in fabsf
68353 do :
68354 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68355 if test "x$ac_cv_func_fabsf" = x""yes; then :
68356 cat >>confdefs.h <<_ACEOF
68357 #define HAVE_FABSF 1
68358 _ACEOF
68361 done
68363 else
68365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68366 $as_echo_n "checking for _fabsf declaration... " >&6; }
68367 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68368 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68369 $as_echo_n "(cached) " >&6
68370 else
68373 ac_ext=cpp
68374 ac_cpp='$CXXCPP $CPPFLAGS'
68375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68380 /* end confdefs.h. */
68381 #include <math.h>
68382 #ifdef HAVE_IEEEFP_H
68383 #include <ieeefp.h>
68384 #endif
68387 main ()
68389 _fabsf(0);
68391 return 0;
68393 _ACEOF
68394 if ac_fn_cxx_try_compile "$LINENO"; then :
68395 glibcxx_cv_func__fabsf_use=yes
68396 else
68397 glibcxx_cv_func__fabsf_use=no
68399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68400 ac_ext=c
68401 ac_cpp='$CPP $CPPFLAGS'
68402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68411 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68413 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68414 for ac_func in _fabsf
68415 do :
68416 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68417 if test "x$ac_cv_func__fabsf" = x""yes; then :
68418 cat >>confdefs.h <<_ACEOF
68419 #define HAVE__FABSF 1
68420 _ACEOF
68423 done
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68433 $as_echo_n "checking for fmodf declaration... " >&6; }
68434 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68435 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68436 $as_echo_n "(cached) " >&6
68437 else
68440 ac_ext=cpp
68441 ac_cpp='$CXXCPP $CPPFLAGS'
68442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68447 /* end confdefs.h. */
68448 #include <math.h>
68450 main ()
68452 fmodf(0, 0);
68454 return 0;
68456 _ACEOF
68457 if ac_fn_cxx_try_compile "$LINENO"; then :
68458 glibcxx_cv_func_fmodf_use=yes
68459 else
68460 glibcxx_cv_func_fmodf_use=no
68462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68463 ac_ext=c
68464 ac_cpp='$CPP $CPPFLAGS'
68465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68474 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68476 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68477 for ac_func in fmodf
68478 do :
68479 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68480 if test "x$ac_cv_func_fmodf" = x""yes; then :
68481 cat >>confdefs.h <<_ACEOF
68482 #define HAVE_FMODF 1
68483 _ACEOF
68486 done
68488 else
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68491 $as_echo_n "checking for _fmodf declaration... " >&6; }
68492 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68493 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68494 $as_echo_n "(cached) " >&6
68495 else
68498 ac_ext=cpp
68499 ac_cpp='$CXXCPP $CPPFLAGS'
68500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68505 /* end confdefs.h. */
68506 #include <math.h>
68508 main ()
68510 _fmodf(0, 0);
68512 return 0;
68514 _ACEOF
68515 if ac_fn_cxx_try_compile "$LINENO"; then :
68516 glibcxx_cv_func__fmodf_use=yes
68517 else
68518 glibcxx_cv_func__fmodf_use=no
68520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68521 ac_ext=c
68522 ac_cpp='$CPP $CPPFLAGS'
68523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68532 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68534 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68535 for ac_func in _fmodf
68536 do :
68537 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68538 if test "x$ac_cv_func__fmodf" = x""yes; then :
68539 cat >>confdefs.h <<_ACEOF
68540 #define HAVE__FMODF 1
68541 _ACEOF
68544 done
68553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68554 $as_echo_n "checking for frexpf declaration... " >&6; }
68555 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68556 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68557 $as_echo_n "(cached) " >&6
68558 else
68561 ac_ext=cpp
68562 ac_cpp='$CXXCPP $CPPFLAGS'
68563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68568 /* end confdefs.h. */
68569 #include <math.h>
68571 main ()
68573 frexpf(0, 0);
68575 return 0;
68577 _ACEOF
68578 if ac_fn_cxx_try_compile "$LINENO"; then :
68579 glibcxx_cv_func_frexpf_use=yes
68580 else
68581 glibcxx_cv_func_frexpf_use=no
68583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68595 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68597 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68598 for ac_func in frexpf
68599 do :
68600 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68601 if test "x$ac_cv_func_frexpf" = x""yes; then :
68602 cat >>confdefs.h <<_ACEOF
68603 #define HAVE_FREXPF 1
68604 _ACEOF
68607 done
68609 else
68611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68612 $as_echo_n "checking for _frexpf declaration... " >&6; }
68613 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68614 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68615 $as_echo_n "(cached) " >&6
68616 else
68619 ac_ext=cpp
68620 ac_cpp='$CXXCPP $CPPFLAGS'
68621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68626 /* end confdefs.h. */
68627 #include <math.h>
68629 main ()
68631 _frexpf(0, 0);
68633 return 0;
68635 _ACEOF
68636 if ac_fn_cxx_try_compile "$LINENO"; then :
68637 glibcxx_cv_func__frexpf_use=yes
68638 else
68639 glibcxx_cv_func__frexpf_use=no
68641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68642 ac_ext=c
68643 ac_cpp='$CPP $CPPFLAGS'
68644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68653 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68655 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68656 for ac_func in _frexpf
68657 do :
68658 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68659 if test "x$ac_cv_func__frexpf" = x""yes; then :
68660 cat >>confdefs.h <<_ACEOF
68661 #define HAVE__FREXPF 1
68662 _ACEOF
68665 done
68674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68675 $as_echo_n "checking for hypotf declaration... " >&6; }
68676 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68677 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68678 $as_echo_n "(cached) " >&6
68679 else
68682 ac_ext=cpp
68683 ac_cpp='$CXXCPP $CPPFLAGS'
68684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68689 /* end confdefs.h. */
68690 #include <math.h>
68692 main ()
68694 hypotf(0, 0);
68696 return 0;
68698 _ACEOF
68699 if ac_fn_cxx_try_compile "$LINENO"; then :
68700 glibcxx_cv_func_hypotf_use=yes
68701 else
68702 glibcxx_cv_func_hypotf_use=no
68704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68705 ac_ext=c
68706 ac_cpp='$CPP $CPPFLAGS'
68707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68716 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68718 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68719 for ac_func in hypotf
68720 do :
68721 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68722 if test "x$ac_cv_func_hypotf" = x""yes; then :
68723 cat >>confdefs.h <<_ACEOF
68724 #define HAVE_HYPOTF 1
68725 _ACEOF
68728 done
68730 else
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68733 $as_echo_n "checking for _hypotf declaration... " >&6; }
68734 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68735 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68736 $as_echo_n "(cached) " >&6
68737 else
68740 ac_ext=cpp
68741 ac_cpp='$CXXCPP $CPPFLAGS'
68742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68747 /* end confdefs.h. */
68748 #include <math.h>
68750 main ()
68752 _hypotf(0, 0);
68754 return 0;
68756 _ACEOF
68757 if ac_fn_cxx_try_compile "$LINENO"; then :
68758 glibcxx_cv_func__hypotf_use=yes
68759 else
68760 glibcxx_cv_func__hypotf_use=no
68762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68763 ac_ext=c
68764 ac_cpp='$CPP $CPPFLAGS'
68765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68774 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68776 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68777 for ac_func in _hypotf
68778 do :
68779 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68780 if test "x$ac_cv_func__hypotf" = x""yes; then :
68781 cat >>confdefs.h <<_ACEOF
68782 #define HAVE__HYPOTF 1
68783 _ACEOF
68786 done
68795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68796 $as_echo_n "checking for ldexpf declaration... " >&6; }
68797 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68798 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68799 $as_echo_n "(cached) " >&6
68800 else
68803 ac_ext=cpp
68804 ac_cpp='$CXXCPP $CPPFLAGS'
68805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68810 /* end confdefs.h. */
68811 #include <math.h>
68813 main ()
68815 ldexpf(0, 0);
68817 return 0;
68819 _ACEOF
68820 if ac_fn_cxx_try_compile "$LINENO"; then :
68821 glibcxx_cv_func_ldexpf_use=yes
68822 else
68823 glibcxx_cv_func_ldexpf_use=no
68825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68826 ac_ext=c
68827 ac_cpp='$CPP $CPPFLAGS'
68828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68837 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68839 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68840 for ac_func in ldexpf
68841 do :
68842 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68843 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68844 cat >>confdefs.h <<_ACEOF
68845 #define HAVE_LDEXPF 1
68846 _ACEOF
68849 done
68851 else
68853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68854 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68855 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68856 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68857 $as_echo_n "(cached) " >&6
68858 else
68861 ac_ext=cpp
68862 ac_cpp='$CXXCPP $CPPFLAGS'
68863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68868 /* end confdefs.h. */
68869 #include <math.h>
68871 main ()
68873 _ldexpf(0, 0);
68875 return 0;
68877 _ACEOF
68878 if ac_fn_cxx_try_compile "$LINENO"; then :
68879 glibcxx_cv_func__ldexpf_use=yes
68880 else
68881 glibcxx_cv_func__ldexpf_use=no
68883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68884 ac_ext=c
68885 ac_cpp='$CPP $CPPFLAGS'
68886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68895 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68897 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68898 for ac_func in _ldexpf
68899 do :
68900 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68901 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68902 cat >>confdefs.h <<_ACEOF
68903 #define HAVE__LDEXPF 1
68904 _ACEOF
68907 done
68916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68917 $as_echo_n "checking for logf declaration... " >&6; }
68918 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68919 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68920 $as_echo_n "(cached) " >&6
68921 else
68924 ac_ext=cpp
68925 ac_cpp='$CXXCPP $CPPFLAGS'
68926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68931 /* end confdefs.h. */
68932 #include <math.h>
68933 #ifdef HAVE_IEEEFP_H
68934 #include <ieeefp.h>
68935 #endif
68938 main ()
68940 logf(0);
68942 return 0;
68944 _ACEOF
68945 if ac_fn_cxx_try_compile "$LINENO"; then :
68946 glibcxx_cv_func_logf_use=yes
68947 else
68948 glibcxx_cv_func_logf_use=no
68950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68951 ac_ext=c
68952 ac_cpp='$CPP $CPPFLAGS'
68953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68962 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68964 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68965 for ac_func in logf
68966 do :
68967 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68968 if test "x$ac_cv_func_logf" = x""yes; then :
68969 cat >>confdefs.h <<_ACEOF
68970 #define HAVE_LOGF 1
68971 _ACEOF
68974 done
68976 else
68978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68979 $as_echo_n "checking for _logf declaration... " >&6; }
68980 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68981 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68982 $as_echo_n "(cached) " >&6
68983 else
68986 ac_ext=cpp
68987 ac_cpp='$CXXCPP $CPPFLAGS'
68988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68993 /* end confdefs.h. */
68994 #include <math.h>
68995 #ifdef HAVE_IEEEFP_H
68996 #include <ieeefp.h>
68997 #endif
69000 main ()
69002 _logf(0);
69004 return 0;
69006 _ACEOF
69007 if ac_fn_cxx_try_compile "$LINENO"; then :
69008 glibcxx_cv_func__logf_use=yes
69009 else
69010 glibcxx_cv_func__logf_use=no
69012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69024 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69026 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69027 for ac_func in _logf
69028 do :
69029 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69030 if test "x$ac_cv_func__logf" = x""yes; then :
69031 cat >>confdefs.h <<_ACEOF
69032 #define HAVE__LOGF 1
69033 _ACEOF
69036 done
69045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69046 $as_echo_n "checking for log10f declaration... " >&6; }
69047 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69048 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69049 $as_echo_n "(cached) " >&6
69050 else
69053 ac_ext=cpp
69054 ac_cpp='$CXXCPP $CPPFLAGS'
69055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69060 /* end confdefs.h. */
69061 #include <math.h>
69062 #ifdef HAVE_IEEEFP_H
69063 #include <ieeefp.h>
69064 #endif
69067 main ()
69069 log10f(0);
69071 return 0;
69073 _ACEOF
69074 if ac_fn_cxx_try_compile "$LINENO"; then :
69075 glibcxx_cv_func_log10f_use=yes
69076 else
69077 glibcxx_cv_func_log10f_use=no
69079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69080 ac_ext=c
69081 ac_cpp='$CPP $CPPFLAGS'
69082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69091 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69093 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69094 for ac_func in log10f
69095 do :
69096 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69097 if test "x$ac_cv_func_log10f" = x""yes; then :
69098 cat >>confdefs.h <<_ACEOF
69099 #define HAVE_LOG10F 1
69100 _ACEOF
69103 done
69105 else
69107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69108 $as_echo_n "checking for _log10f declaration... " >&6; }
69109 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69110 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69111 $as_echo_n "(cached) " >&6
69112 else
69115 ac_ext=cpp
69116 ac_cpp='$CXXCPP $CPPFLAGS'
69117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69122 /* end confdefs.h. */
69123 #include <math.h>
69124 #ifdef HAVE_IEEEFP_H
69125 #include <ieeefp.h>
69126 #endif
69129 main ()
69131 _log10f(0);
69133 return 0;
69135 _ACEOF
69136 if ac_fn_cxx_try_compile "$LINENO"; then :
69137 glibcxx_cv_func__log10f_use=yes
69138 else
69139 glibcxx_cv_func__log10f_use=no
69141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69142 ac_ext=c
69143 ac_cpp='$CPP $CPPFLAGS'
69144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69153 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69155 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69156 for ac_func in _log10f
69157 do :
69158 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69159 if test "x$ac_cv_func__log10f" = x""yes; then :
69160 cat >>confdefs.h <<_ACEOF
69161 #define HAVE__LOG10F 1
69162 _ACEOF
69165 done
69174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69175 $as_echo_n "checking for modff declaration... " >&6; }
69176 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69177 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69178 $as_echo_n "(cached) " >&6
69179 else
69182 ac_ext=cpp
69183 ac_cpp='$CXXCPP $CPPFLAGS'
69184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69189 /* end confdefs.h. */
69190 #include <math.h>
69192 main ()
69194 modff(0, 0);
69196 return 0;
69198 _ACEOF
69199 if ac_fn_cxx_try_compile "$LINENO"; then :
69200 glibcxx_cv_func_modff_use=yes
69201 else
69202 glibcxx_cv_func_modff_use=no
69204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69205 ac_ext=c
69206 ac_cpp='$CPP $CPPFLAGS'
69207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69216 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69218 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69219 for ac_func in modff
69220 do :
69221 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69222 if test "x$ac_cv_func_modff" = x""yes; then :
69223 cat >>confdefs.h <<_ACEOF
69224 #define HAVE_MODFF 1
69225 _ACEOF
69228 done
69230 else
69232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69233 $as_echo_n "checking for _modff declaration... " >&6; }
69234 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69235 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69236 $as_echo_n "(cached) " >&6
69237 else
69240 ac_ext=cpp
69241 ac_cpp='$CXXCPP $CPPFLAGS'
69242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69247 /* end confdefs.h. */
69248 #include <math.h>
69250 main ()
69252 _modff(0, 0);
69254 return 0;
69256 _ACEOF
69257 if ac_fn_cxx_try_compile "$LINENO"; then :
69258 glibcxx_cv_func__modff_use=yes
69259 else
69260 glibcxx_cv_func__modff_use=no
69262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69263 ac_ext=c
69264 ac_cpp='$CPP $CPPFLAGS'
69265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69274 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69276 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69277 for ac_func in _modff
69278 do :
69279 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69280 if test "x$ac_cv_func__modff" = x""yes; then :
69281 cat >>confdefs.h <<_ACEOF
69282 #define HAVE__MODFF 1
69283 _ACEOF
69286 done
69295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69296 $as_echo_n "checking for modf declaration... " >&6; }
69297 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69298 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69299 $as_echo_n "(cached) " >&6
69300 else
69303 ac_ext=cpp
69304 ac_cpp='$CXXCPP $CPPFLAGS'
69305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69310 /* end confdefs.h. */
69311 #include <math.h>
69313 main ()
69315 modf(0, 0);
69317 return 0;
69319 _ACEOF
69320 if ac_fn_cxx_try_compile "$LINENO"; then :
69321 glibcxx_cv_func_modf_use=yes
69322 else
69323 glibcxx_cv_func_modf_use=no
69325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69326 ac_ext=c
69327 ac_cpp='$CPP $CPPFLAGS'
69328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69337 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69339 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69340 for ac_func in modf
69341 do :
69342 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69343 if test "x$ac_cv_func_modf" = x""yes; then :
69344 cat >>confdefs.h <<_ACEOF
69345 #define HAVE_MODF 1
69346 _ACEOF
69349 done
69351 else
69353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69354 $as_echo_n "checking for _modf declaration... " >&6; }
69355 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69356 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69357 $as_echo_n "(cached) " >&6
69358 else
69361 ac_ext=cpp
69362 ac_cpp='$CXXCPP $CPPFLAGS'
69363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69368 /* end confdefs.h. */
69369 #include <math.h>
69371 main ()
69373 _modf(0, 0);
69375 return 0;
69377 _ACEOF
69378 if ac_fn_cxx_try_compile "$LINENO"; then :
69379 glibcxx_cv_func__modf_use=yes
69380 else
69381 glibcxx_cv_func__modf_use=no
69383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69384 ac_ext=c
69385 ac_cpp='$CPP $CPPFLAGS'
69386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69395 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69397 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69398 for ac_func in _modf
69399 do :
69400 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69401 if test "x$ac_cv_func__modf" = x""yes; then :
69402 cat >>confdefs.h <<_ACEOF
69403 #define HAVE__MODF 1
69404 _ACEOF
69407 done
69416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69417 $as_echo_n "checking for powf declaration... " >&6; }
69418 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69419 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69420 $as_echo_n "(cached) " >&6
69421 else
69424 ac_ext=cpp
69425 ac_cpp='$CXXCPP $CPPFLAGS'
69426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69431 /* end confdefs.h. */
69432 #include <math.h>
69434 main ()
69436 powf(0, 0);
69438 return 0;
69440 _ACEOF
69441 if ac_fn_cxx_try_compile "$LINENO"; then :
69442 glibcxx_cv_func_powf_use=yes
69443 else
69444 glibcxx_cv_func_powf_use=no
69446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69447 ac_ext=c
69448 ac_cpp='$CPP $CPPFLAGS'
69449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69458 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69460 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69461 for ac_func in powf
69462 do :
69463 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69464 if test "x$ac_cv_func_powf" = x""yes; then :
69465 cat >>confdefs.h <<_ACEOF
69466 #define HAVE_POWF 1
69467 _ACEOF
69470 done
69472 else
69474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69475 $as_echo_n "checking for _powf declaration... " >&6; }
69476 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69477 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69478 $as_echo_n "(cached) " >&6
69479 else
69482 ac_ext=cpp
69483 ac_cpp='$CXXCPP $CPPFLAGS'
69484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69489 /* end confdefs.h. */
69490 #include <math.h>
69492 main ()
69494 _powf(0, 0);
69496 return 0;
69498 _ACEOF
69499 if ac_fn_cxx_try_compile "$LINENO"; then :
69500 glibcxx_cv_func__powf_use=yes
69501 else
69502 glibcxx_cv_func__powf_use=no
69504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69505 ac_ext=c
69506 ac_cpp='$CPP $CPPFLAGS'
69507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69516 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69518 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69519 for ac_func in _powf
69520 do :
69521 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69522 if test "x$ac_cv_func__powf" = x""yes; then :
69523 cat >>confdefs.h <<_ACEOF
69524 #define HAVE__POWF 1
69525 _ACEOF
69528 done
69537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69538 $as_echo_n "checking for sqrtf declaration... " >&6; }
69539 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69540 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69541 $as_echo_n "(cached) " >&6
69542 else
69545 ac_ext=cpp
69546 ac_cpp='$CXXCPP $CPPFLAGS'
69547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69552 /* end confdefs.h. */
69553 #include <math.h>
69554 #ifdef HAVE_IEEEFP_H
69555 #include <ieeefp.h>
69556 #endif
69559 main ()
69561 sqrtf(0);
69563 return 0;
69565 _ACEOF
69566 if ac_fn_cxx_try_compile "$LINENO"; then :
69567 glibcxx_cv_func_sqrtf_use=yes
69568 else
69569 glibcxx_cv_func_sqrtf_use=no
69571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69572 ac_ext=c
69573 ac_cpp='$CPP $CPPFLAGS'
69574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69583 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69585 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69586 for ac_func in sqrtf
69587 do :
69588 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69589 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69590 cat >>confdefs.h <<_ACEOF
69591 #define HAVE_SQRTF 1
69592 _ACEOF
69595 done
69597 else
69599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69600 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69601 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69602 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69603 $as_echo_n "(cached) " >&6
69604 else
69607 ac_ext=cpp
69608 ac_cpp='$CXXCPP $CPPFLAGS'
69609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69614 /* end confdefs.h. */
69615 #include <math.h>
69616 #ifdef HAVE_IEEEFP_H
69617 #include <ieeefp.h>
69618 #endif
69621 main ()
69623 _sqrtf(0);
69625 return 0;
69627 _ACEOF
69628 if ac_fn_cxx_try_compile "$LINENO"; then :
69629 glibcxx_cv_func__sqrtf_use=yes
69630 else
69631 glibcxx_cv_func__sqrtf_use=no
69633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69634 ac_ext=c
69635 ac_cpp='$CPP $CPPFLAGS'
69636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69645 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69647 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69648 for ac_func in _sqrtf
69649 do :
69650 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69651 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69652 cat >>confdefs.h <<_ACEOF
69653 #define HAVE__SQRTF 1
69654 _ACEOF
69657 done
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69667 $as_echo_n "checking for sincosf declaration... " >&6; }
69668 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69669 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69670 $as_echo_n "(cached) " >&6
69671 else
69674 ac_ext=cpp
69675 ac_cpp='$CXXCPP $CPPFLAGS'
69676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69681 /* end confdefs.h. */
69682 #include <math.h>
69684 main ()
69686 sincosf(0, 0, 0);
69688 return 0;
69690 _ACEOF
69691 if ac_fn_cxx_try_compile "$LINENO"; then :
69692 glibcxx_cv_func_sincosf_use=yes
69693 else
69694 glibcxx_cv_func_sincosf_use=no
69696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69697 ac_ext=c
69698 ac_cpp='$CPP $CPPFLAGS'
69699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69708 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69710 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69711 for ac_func in sincosf
69712 do :
69713 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69714 if test "x$ac_cv_func_sincosf" = x""yes; then :
69715 cat >>confdefs.h <<_ACEOF
69716 #define HAVE_SINCOSF 1
69717 _ACEOF
69720 done
69722 else
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69725 $as_echo_n "checking for _sincosf declaration... " >&6; }
69726 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69727 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69728 $as_echo_n "(cached) " >&6
69729 else
69732 ac_ext=cpp
69733 ac_cpp='$CXXCPP $CPPFLAGS'
69734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69739 /* end confdefs.h. */
69740 #include <math.h>
69742 main ()
69744 _sincosf(0, 0, 0);
69746 return 0;
69748 _ACEOF
69749 if ac_fn_cxx_try_compile "$LINENO"; then :
69750 glibcxx_cv_func__sincosf_use=yes
69751 else
69752 glibcxx_cv_func__sincosf_use=no
69754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69755 ac_ext=c
69756 ac_cpp='$CPP $CPPFLAGS'
69757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69766 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69768 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69769 for ac_func in _sincosf
69770 do :
69771 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69772 if test "x$ac_cv_func__sincosf" = x""yes; then :
69773 cat >>confdefs.h <<_ACEOF
69774 #define HAVE__SINCOSF 1
69775 _ACEOF
69778 done
69787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69788 $as_echo_n "checking for finitef declaration... " >&6; }
69789 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69790 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69791 $as_echo_n "(cached) " >&6
69792 else
69795 ac_ext=cpp
69796 ac_cpp='$CXXCPP $CPPFLAGS'
69797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69802 /* end confdefs.h. */
69803 #include <math.h>
69804 #ifdef HAVE_IEEEFP_H
69805 #include <ieeefp.h>
69806 #endif
69809 main ()
69811 finitef(0);
69813 return 0;
69815 _ACEOF
69816 if ac_fn_cxx_try_compile "$LINENO"; then :
69817 glibcxx_cv_func_finitef_use=yes
69818 else
69819 glibcxx_cv_func_finitef_use=no
69821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69822 ac_ext=c
69823 ac_cpp='$CPP $CPPFLAGS'
69824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69833 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69835 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69836 for ac_func in finitef
69837 do :
69838 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69839 if test "x$ac_cv_func_finitef" = x""yes; then :
69840 cat >>confdefs.h <<_ACEOF
69841 #define HAVE_FINITEF 1
69842 _ACEOF
69845 done
69847 else
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69850 $as_echo_n "checking for _finitef declaration... " >&6; }
69851 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69852 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69853 $as_echo_n "(cached) " >&6
69854 else
69857 ac_ext=cpp
69858 ac_cpp='$CXXCPP $CPPFLAGS'
69859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69864 /* end confdefs.h. */
69865 #include <math.h>
69866 #ifdef HAVE_IEEEFP_H
69867 #include <ieeefp.h>
69868 #endif
69871 main ()
69873 _finitef(0);
69875 return 0;
69877 _ACEOF
69878 if ac_fn_cxx_try_compile "$LINENO"; then :
69879 glibcxx_cv_func__finitef_use=yes
69880 else
69881 glibcxx_cv_func__finitef_use=no
69883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69884 ac_ext=c
69885 ac_cpp='$CPP $CPPFLAGS'
69886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69895 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69897 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69898 for ac_func in _finitef
69899 do :
69900 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69901 if test "x$ac_cv_func__finitef" = x""yes; then :
69902 cat >>confdefs.h <<_ACEOF
69903 #define HAVE__FINITEF 1
69904 _ACEOF
69907 done
69916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69917 $as_echo_n "checking for long double trig functions... " >&6; }
69918 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69919 $as_echo_n "(cached) " >&6
69920 else
69923 ac_ext=cpp
69924 ac_cpp='$CXXCPP $CPPFLAGS'
69925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69930 /* end confdefs.h. */
69931 #include <math.h>
69933 main ()
69935 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69937 return 0;
69939 _ACEOF
69940 if ac_fn_cxx_try_compile "$LINENO"; then :
69941 glibcxx_cv_func_long_double_trig_use=yes
69942 else
69943 glibcxx_cv_func_long_double_trig_use=no
69945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69946 ac_ext=c
69947 ac_cpp='$CPP $CPPFLAGS'
69948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69955 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69956 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69957 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69958 do :
69959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69961 eval as_val=\$$as_ac_var
69962 if test "x$as_val" = x""yes; then :
69963 cat >>confdefs.h <<_ACEOF
69964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69965 _ACEOF
69968 done
69970 else
69971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69972 $as_echo_n "checking for _long double trig functions... " >&6; }
69973 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69974 $as_echo_n "(cached) " >&6
69975 else
69978 ac_ext=cpp
69979 ac_cpp='$CXXCPP $CPPFLAGS'
69980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69985 /* end confdefs.h. */
69986 #include <math.h>
69988 main ()
69990 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69992 return 0;
69994 _ACEOF
69995 if ac_fn_cxx_try_compile "$LINENO"; then :
69996 glibcxx_cv_func__long_double_trig_use=yes
69997 else
69998 glibcxx_cv_func__long_double_trig_use=no
70000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70001 ac_ext=c
70002 ac_cpp='$CPP $CPPFLAGS'
70003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70010 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70011 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70012 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70013 do :
70014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70016 eval as_val=\$$as_ac_var
70017 if test "x$as_val" = x""yes; then :
70018 cat >>confdefs.h <<_ACEOF
70019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70020 _ACEOF
70023 done
70032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70033 $as_echo_n "checking for long double round functions... " >&6; }
70034 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70035 $as_echo_n "(cached) " >&6
70036 else
70039 ac_ext=cpp
70040 ac_cpp='$CXXCPP $CPPFLAGS'
70041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70046 /* end confdefs.h. */
70047 #include <math.h>
70049 main ()
70051 ceill (0); floorl (0);
70053 return 0;
70055 _ACEOF
70056 if ac_fn_cxx_try_compile "$LINENO"; then :
70057 glibcxx_cv_func_long_double_round_use=yes
70058 else
70059 glibcxx_cv_func_long_double_round_use=no
70061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70062 ac_ext=c
70063 ac_cpp='$CPP $CPPFLAGS'
70064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70071 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70072 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70073 for ac_func in ceill floorl
70074 do :
70075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70077 eval as_val=\$$as_ac_var
70078 if test "x$as_val" = x""yes; then :
70079 cat >>confdefs.h <<_ACEOF
70080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70081 _ACEOF
70084 done
70086 else
70087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70088 $as_echo_n "checking for _long double round functions... " >&6; }
70089 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70090 $as_echo_n "(cached) " >&6
70091 else
70094 ac_ext=cpp
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h. */
70102 #include <math.h>
70104 main ()
70106 _ceill (0); _floorl (0);
70108 return 0;
70110 _ACEOF
70111 if ac_fn_cxx_try_compile "$LINENO"; then :
70112 glibcxx_cv_func__long_double_round_use=yes
70113 else
70114 glibcxx_cv_func__long_double_round_use=no
70116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70117 ac_ext=c
70118 ac_cpp='$CPP $CPPFLAGS'
70119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70126 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70127 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70128 for ac_func in _ceill _floorl
70129 do :
70130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70132 eval as_val=\$$as_ac_var
70133 if test "x$as_val" = x""yes; then :
70134 cat >>confdefs.h <<_ACEOF
70135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70136 _ACEOF
70139 done
70149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70150 $as_echo_n "checking for isnanl declaration... " >&6; }
70151 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70152 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70153 $as_echo_n "(cached) " >&6
70154 else
70157 ac_ext=cpp
70158 ac_cpp='$CXXCPP $CPPFLAGS'
70159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70164 /* end confdefs.h. */
70165 #include <math.h>
70166 #ifdef HAVE_IEEEFP_H
70167 #include <ieeefp.h>
70168 #endif
70171 main ()
70173 isnanl(0);
70175 return 0;
70177 _ACEOF
70178 if ac_fn_cxx_try_compile "$LINENO"; then :
70179 glibcxx_cv_func_isnanl_use=yes
70180 else
70181 glibcxx_cv_func_isnanl_use=no
70183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70184 ac_ext=c
70185 ac_cpp='$CPP $CPPFLAGS'
70186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70195 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70197 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70198 for ac_func in isnanl
70199 do :
70200 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70201 if test "x$ac_cv_func_isnanl" = x""yes; then :
70202 cat >>confdefs.h <<_ACEOF
70203 #define HAVE_ISNANL 1
70204 _ACEOF
70207 done
70209 else
70211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70212 $as_echo_n "checking for _isnanl declaration... " >&6; }
70213 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70214 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70215 $as_echo_n "(cached) " >&6
70216 else
70219 ac_ext=cpp
70220 ac_cpp='$CXXCPP $CPPFLAGS'
70221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70226 /* end confdefs.h. */
70227 #include <math.h>
70228 #ifdef HAVE_IEEEFP_H
70229 #include <ieeefp.h>
70230 #endif
70233 main ()
70235 _isnanl(0);
70237 return 0;
70239 _ACEOF
70240 if ac_fn_cxx_try_compile "$LINENO"; then :
70241 glibcxx_cv_func__isnanl_use=yes
70242 else
70243 glibcxx_cv_func__isnanl_use=no
70245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70246 ac_ext=c
70247 ac_cpp='$CPP $CPPFLAGS'
70248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70257 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70259 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70260 for ac_func in _isnanl
70261 do :
70262 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70263 if test "x$ac_cv_func__isnanl" = x""yes; then :
70264 cat >>confdefs.h <<_ACEOF
70265 #define HAVE__ISNANL 1
70266 _ACEOF
70269 done
70278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70279 $as_echo_n "checking for isinfl declaration... " >&6; }
70280 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70281 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70282 $as_echo_n "(cached) " >&6
70283 else
70286 ac_ext=cpp
70287 ac_cpp='$CXXCPP $CPPFLAGS'
70288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70293 /* end confdefs.h. */
70294 #include <math.h>
70295 #ifdef HAVE_IEEEFP_H
70296 #include <ieeefp.h>
70297 #endif
70300 main ()
70302 isinfl(0);
70304 return 0;
70306 _ACEOF
70307 if ac_fn_cxx_try_compile "$LINENO"; then :
70308 glibcxx_cv_func_isinfl_use=yes
70309 else
70310 glibcxx_cv_func_isinfl_use=no
70312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70313 ac_ext=c
70314 ac_cpp='$CPP $CPPFLAGS'
70315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70324 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70326 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70327 for ac_func in isinfl
70328 do :
70329 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70330 if test "x$ac_cv_func_isinfl" = x""yes; then :
70331 cat >>confdefs.h <<_ACEOF
70332 #define HAVE_ISINFL 1
70333 _ACEOF
70336 done
70338 else
70340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70341 $as_echo_n "checking for _isinfl declaration... " >&6; }
70342 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70343 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70344 $as_echo_n "(cached) " >&6
70345 else
70348 ac_ext=cpp
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70355 /* end confdefs.h. */
70356 #include <math.h>
70357 #ifdef HAVE_IEEEFP_H
70358 #include <ieeefp.h>
70359 #endif
70362 main ()
70364 _isinfl(0);
70366 return 0;
70368 _ACEOF
70369 if ac_fn_cxx_try_compile "$LINENO"; then :
70370 glibcxx_cv_func__isinfl_use=yes
70371 else
70372 glibcxx_cv_func__isinfl_use=no
70374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70386 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70388 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70389 for ac_func in _isinfl
70390 do :
70391 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70392 if test "x$ac_cv_func__isinfl" = x""yes; then :
70393 cat >>confdefs.h <<_ACEOF
70394 #define HAVE__ISINFL 1
70395 _ACEOF
70398 done
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70408 $as_echo_n "checking for atan2l declaration... " >&6; }
70409 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70410 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70425 main ()
70427 atan2l(0, 0);
70429 return 0;
70431 _ACEOF
70432 if ac_fn_cxx_try_compile "$LINENO"; then :
70433 glibcxx_cv_func_atan2l_use=yes
70434 else
70435 glibcxx_cv_func_atan2l_use=no
70437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70438 ac_ext=c
70439 ac_cpp='$CPP $CPPFLAGS'
70440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70449 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70451 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70452 for ac_func in atan2l
70453 do :
70454 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70455 if test "x$ac_cv_func_atan2l" = x""yes; then :
70456 cat >>confdefs.h <<_ACEOF
70457 #define HAVE_ATAN2L 1
70458 _ACEOF
70461 done
70463 else
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70466 $as_echo_n "checking for _atan2l declaration... " >&6; }
70467 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70468 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70469 $as_echo_n "(cached) " >&6
70470 else
70473 ac_ext=cpp
70474 ac_cpp='$CXXCPP $CPPFLAGS'
70475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70480 /* end confdefs.h. */
70481 #include <math.h>
70483 main ()
70485 _atan2l(0, 0);
70487 return 0;
70489 _ACEOF
70490 if ac_fn_cxx_try_compile "$LINENO"; then :
70491 glibcxx_cv_func__atan2l_use=yes
70492 else
70493 glibcxx_cv_func__atan2l_use=no
70495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70496 ac_ext=c
70497 ac_cpp='$CPP $CPPFLAGS'
70498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70507 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70509 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70510 for ac_func in _atan2l
70511 do :
70512 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70513 if test "x$ac_cv_func__atan2l" = x""yes; then :
70514 cat >>confdefs.h <<_ACEOF
70515 #define HAVE__ATAN2L 1
70516 _ACEOF
70519 done
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70529 $as_echo_n "checking for expl declaration... " >&6; }
70530 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70531 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70532 $as_echo_n "(cached) " >&6
70533 else
70536 ac_ext=cpp
70537 ac_cpp='$CXXCPP $CPPFLAGS'
70538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70543 /* end confdefs.h. */
70544 #include <math.h>
70545 #ifdef HAVE_IEEEFP_H
70546 #include <ieeefp.h>
70547 #endif
70550 main ()
70552 expl(0);
70554 return 0;
70556 _ACEOF
70557 if ac_fn_cxx_try_compile "$LINENO"; then :
70558 glibcxx_cv_func_expl_use=yes
70559 else
70560 glibcxx_cv_func_expl_use=no
70562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70563 ac_ext=c
70564 ac_cpp='$CPP $CPPFLAGS'
70565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70574 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70576 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70577 for ac_func in expl
70578 do :
70579 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70580 if test "x$ac_cv_func_expl" = x""yes; then :
70581 cat >>confdefs.h <<_ACEOF
70582 #define HAVE_EXPL 1
70583 _ACEOF
70586 done
70588 else
70590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70591 $as_echo_n "checking for _expl declaration... " >&6; }
70592 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70593 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70594 $as_echo_n "(cached) " >&6
70595 else
70598 ac_ext=cpp
70599 ac_cpp='$CXXCPP $CPPFLAGS'
70600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70605 /* end confdefs.h. */
70606 #include <math.h>
70607 #ifdef HAVE_IEEEFP_H
70608 #include <ieeefp.h>
70609 #endif
70612 main ()
70614 _expl(0);
70616 return 0;
70618 _ACEOF
70619 if ac_fn_cxx_try_compile "$LINENO"; then :
70620 glibcxx_cv_func__expl_use=yes
70621 else
70622 glibcxx_cv_func__expl_use=no
70624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70625 ac_ext=c
70626 ac_cpp='$CPP $CPPFLAGS'
70627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70636 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70638 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70639 for ac_func in _expl
70640 do :
70641 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70642 if test "x$ac_cv_func__expl" = x""yes; then :
70643 cat >>confdefs.h <<_ACEOF
70644 #define HAVE__EXPL 1
70645 _ACEOF
70648 done
70657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70658 $as_echo_n "checking for fabsl declaration... " >&6; }
70659 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70660 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70661 $as_echo_n "(cached) " >&6
70662 else
70665 ac_ext=cpp
70666 ac_cpp='$CXXCPP $CPPFLAGS'
70667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70672 /* end confdefs.h. */
70673 #include <math.h>
70674 #ifdef HAVE_IEEEFP_H
70675 #include <ieeefp.h>
70676 #endif
70679 main ()
70681 fabsl(0);
70683 return 0;
70685 _ACEOF
70686 if ac_fn_cxx_try_compile "$LINENO"; then :
70687 glibcxx_cv_func_fabsl_use=yes
70688 else
70689 glibcxx_cv_func_fabsl_use=no
70691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70692 ac_ext=c
70693 ac_cpp='$CPP $CPPFLAGS'
70694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70703 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70705 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70706 for ac_func in fabsl
70707 do :
70708 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70709 if test "x$ac_cv_func_fabsl" = x""yes; then :
70710 cat >>confdefs.h <<_ACEOF
70711 #define HAVE_FABSL 1
70712 _ACEOF
70715 done
70717 else
70719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70720 $as_echo_n "checking for _fabsl declaration... " >&6; }
70721 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70722 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70723 $as_echo_n "(cached) " >&6
70724 else
70727 ac_ext=cpp
70728 ac_cpp='$CXXCPP $CPPFLAGS'
70729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70734 /* end confdefs.h. */
70735 #include <math.h>
70736 #ifdef HAVE_IEEEFP_H
70737 #include <ieeefp.h>
70738 #endif
70741 main ()
70743 _fabsl(0);
70745 return 0;
70747 _ACEOF
70748 if ac_fn_cxx_try_compile "$LINENO"; then :
70749 glibcxx_cv_func__fabsl_use=yes
70750 else
70751 glibcxx_cv_func__fabsl_use=no
70753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70754 ac_ext=c
70755 ac_cpp='$CPP $CPPFLAGS'
70756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70765 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70767 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70768 for ac_func in _fabsl
70769 do :
70770 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70771 if test "x$ac_cv_func__fabsl" = x""yes; then :
70772 cat >>confdefs.h <<_ACEOF
70773 #define HAVE__FABSL 1
70774 _ACEOF
70777 done
70786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70787 $as_echo_n "checking for fmodl declaration... " >&6; }
70788 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70789 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70790 $as_echo_n "(cached) " >&6
70791 else
70794 ac_ext=cpp
70795 ac_cpp='$CXXCPP $CPPFLAGS'
70796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70801 /* end confdefs.h. */
70802 #include <math.h>
70804 main ()
70806 fmodl(0, 0);
70808 return 0;
70810 _ACEOF
70811 if ac_fn_cxx_try_compile "$LINENO"; then :
70812 glibcxx_cv_func_fmodl_use=yes
70813 else
70814 glibcxx_cv_func_fmodl_use=no
70816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70817 ac_ext=c
70818 ac_cpp='$CPP $CPPFLAGS'
70819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70828 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70830 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70831 for ac_func in fmodl
70832 do :
70833 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70834 if test "x$ac_cv_func_fmodl" = x""yes; then :
70835 cat >>confdefs.h <<_ACEOF
70836 #define HAVE_FMODL 1
70837 _ACEOF
70840 done
70842 else
70844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70845 $as_echo_n "checking for _fmodl declaration... " >&6; }
70846 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70847 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70848 $as_echo_n "(cached) " >&6
70849 else
70852 ac_ext=cpp
70853 ac_cpp='$CXXCPP $CPPFLAGS'
70854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70859 /* end confdefs.h. */
70860 #include <math.h>
70862 main ()
70864 _fmodl(0, 0);
70866 return 0;
70868 _ACEOF
70869 if ac_fn_cxx_try_compile "$LINENO"; then :
70870 glibcxx_cv_func__fmodl_use=yes
70871 else
70872 glibcxx_cv_func__fmodl_use=no
70874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70875 ac_ext=c
70876 ac_cpp='$CPP $CPPFLAGS'
70877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70886 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70888 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70889 for ac_func in _fmodl
70890 do :
70891 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70892 if test "x$ac_cv_func__fmodl" = x""yes; then :
70893 cat >>confdefs.h <<_ACEOF
70894 #define HAVE__FMODL 1
70895 _ACEOF
70898 done
70907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70908 $as_echo_n "checking for frexpl declaration... " >&6; }
70909 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70910 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70911 $as_echo_n "(cached) " >&6
70912 else
70915 ac_ext=cpp
70916 ac_cpp='$CXXCPP $CPPFLAGS'
70917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70922 /* end confdefs.h. */
70923 #include <math.h>
70925 main ()
70927 frexpl(0, 0);
70929 return 0;
70931 _ACEOF
70932 if ac_fn_cxx_try_compile "$LINENO"; then :
70933 glibcxx_cv_func_frexpl_use=yes
70934 else
70935 glibcxx_cv_func_frexpl_use=no
70937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70938 ac_ext=c
70939 ac_cpp='$CPP $CPPFLAGS'
70940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70949 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70951 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70952 for ac_func in frexpl
70953 do :
70954 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70955 if test "x$ac_cv_func_frexpl" = x""yes; then :
70956 cat >>confdefs.h <<_ACEOF
70957 #define HAVE_FREXPL 1
70958 _ACEOF
70961 done
70963 else
70965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70966 $as_echo_n "checking for _frexpl declaration... " >&6; }
70967 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70968 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70969 $as_echo_n "(cached) " >&6
70970 else
70973 ac_ext=cpp
70974 ac_cpp='$CXXCPP $CPPFLAGS'
70975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70980 /* end confdefs.h. */
70981 #include <math.h>
70983 main ()
70985 _frexpl(0, 0);
70987 return 0;
70989 _ACEOF
70990 if ac_fn_cxx_try_compile "$LINENO"; then :
70991 glibcxx_cv_func__frexpl_use=yes
70992 else
70993 glibcxx_cv_func__frexpl_use=no
70995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70996 ac_ext=c
70997 ac_cpp='$CPP $CPPFLAGS'
70998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71007 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71009 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71010 for ac_func in _frexpl
71011 do :
71012 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71013 if test "x$ac_cv_func__frexpl" = x""yes; then :
71014 cat >>confdefs.h <<_ACEOF
71015 #define HAVE__FREXPL 1
71016 _ACEOF
71019 done
71028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71029 $as_echo_n "checking for hypotl declaration... " >&6; }
71030 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71031 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71032 $as_echo_n "(cached) " >&6
71033 else
71036 ac_ext=cpp
71037 ac_cpp='$CXXCPP $CPPFLAGS'
71038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71043 /* end confdefs.h. */
71044 #include <math.h>
71046 main ()
71048 hypotl(0, 0);
71050 return 0;
71052 _ACEOF
71053 if ac_fn_cxx_try_compile "$LINENO"; then :
71054 glibcxx_cv_func_hypotl_use=yes
71055 else
71056 glibcxx_cv_func_hypotl_use=no
71058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71059 ac_ext=c
71060 ac_cpp='$CPP $CPPFLAGS'
71061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71070 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71072 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71073 for ac_func in hypotl
71074 do :
71075 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71076 if test "x$ac_cv_func_hypotl" = x""yes; then :
71077 cat >>confdefs.h <<_ACEOF
71078 #define HAVE_HYPOTL 1
71079 _ACEOF
71082 done
71084 else
71086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71087 $as_echo_n "checking for _hypotl declaration... " >&6; }
71088 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71089 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71090 $as_echo_n "(cached) " >&6
71091 else
71094 ac_ext=cpp
71095 ac_cpp='$CXXCPP $CPPFLAGS'
71096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71101 /* end confdefs.h. */
71102 #include <math.h>
71104 main ()
71106 _hypotl(0, 0);
71108 return 0;
71110 _ACEOF
71111 if ac_fn_cxx_try_compile "$LINENO"; then :
71112 glibcxx_cv_func__hypotl_use=yes
71113 else
71114 glibcxx_cv_func__hypotl_use=no
71116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71117 ac_ext=c
71118 ac_cpp='$CPP $CPPFLAGS'
71119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71128 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71130 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71131 for ac_func in _hypotl
71132 do :
71133 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71134 if test "x$ac_cv_func__hypotl" = x""yes; then :
71135 cat >>confdefs.h <<_ACEOF
71136 #define HAVE__HYPOTL 1
71137 _ACEOF
71140 done
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71150 $as_echo_n "checking for ldexpl declaration... " >&6; }
71151 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71152 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71153 $as_echo_n "(cached) " >&6
71154 else
71157 ac_ext=cpp
71158 ac_cpp='$CXXCPP $CPPFLAGS'
71159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71164 /* end confdefs.h. */
71165 #include <math.h>
71167 main ()
71169 ldexpl(0, 0);
71171 return 0;
71173 _ACEOF
71174 if ac_fn_cxx_try_compile "$LINENO"; then :
71175 glibcxx_cv_func_ldexpl_use=yes
71176 else
71177 glibcxx_cv_func_ldexpl_use=no
71179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71180 ac_ext=c
71181 ac_cpp='$CPP $CPPFLAGS'
71182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71191 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71193 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71194 for ac_func in ldexpl
71195 do :
71196 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71197 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71198 cat >>confdefs.h <<_ACEOF
71199 #define HAVE_LDEXPL 1
71200 _ACEOF
71203 done
71205 else
71207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71208 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71209 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71210 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71211 $as_echo_n "(cached) " >&6
71212 else
71215 ac_ext=cpp
71216 ac_cpp='$CXXCPP $CPPFLAGS'
71217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71222 /* end confdefs.h. */
71223 #include <math.h>
71225 main ()
71227 _ldexpl(0, 0);
71229 return 0;
71231 _ACEOF
71232 if ac_fn_cxx_try_compile "$LINENO"; then :
71233 glibcxx_cv_func__ldexpl_use=yes
71234 else
71235 glibcxx_cv_func__ldexpl_use=no
71237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71238 ac_ext=c
71239 ac_cpp='$CPP $CPPFLAGS'
71240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71249 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71251 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71252 for ac_func in _ldexpl
71253 do :
71254 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71255 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71256 cat >>confdefs.h <<_ACEOF
71257 #define HAVE__LDEXPL 1
71258 _ACEOF
71261 done
71270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71271 $as_echo_n "checking for logl declaration... " >&6; }
71272 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71273 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71274 $as_echo_n "(cached) " >&6
71275 else
71278 ac_ext=cpp
71279 ac_cpp='$CXXCPP $CPPFLAGS'
71280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71285 /* end confdefs.h. */
71286 #include <math.h>
71287 #ifdef HAVE_IEEEFP_H
71288 #include <ieeefp.h>
71289 #endif
71292 main ()
71294 logl(0);
71296 return 0;
71298 _ACEOF
71299 if ac_fn_cxx_try_compile "$LINENO"; then :
71300 glibcxx_cv_func_logl_use=yes
71301 else
71302 glibcxx_cv_func_logl_use=no
71304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71305 ac_ext=c
71306 ac_cpp='$CPP $CPPFLAGS'
71307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71316 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71318 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71319 for ac_func in logl
71320 do :
71321 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71322 if test "x$ac_cv_func_logl" = x""yes; then :
71323 cat >>confdefs.h <<_ACEOF
71324 #define HAVE_LOGL 1
71325 _ACEOF
71328 done
71330 else
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71333 $as_echo_n "checking for _logl declaration... " >&6; }
71334 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71335 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71336 $as_echo_n "(cached) " >&6
71337 else
71340 ac_ext=cpp
71341 ac_cpp='$CXXCPP $CPPFLAGS'
71342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71347 /* end confdefs.h. */
71348 #include <math.h>
71349 #ifdef HAVE_IEEEFP_H
71350 #include <ieeefp.h>
71351 #endif
71354 main ()
71356 _logl(0);
71358 return 0;
71360 _ACEOF
71361 if ac_fn_cxx_try_compile "$LINENO"; then :
71362 glibcxx_cv_func__logl_use=yes
71363 else
71364 glibcxx_cv_func__logl_use=no
71366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71367 ac_ext=c
71368 ac_cpp='$CPP $CPPFLAGS'
71369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71378 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71380 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71381 for ac_func in _logl
71382 do :
71383 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71384 if test "x$ac_cv_func__logl" = x""yes; then :
71385 cat >>confdefs.h <<_ACEOF
71386 #define HAVE__LOGL 1
71387 _ACEOF
71390 done
71399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71400 $as_echo_n "checking for log10l declaration... " >&6; }
71401 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71402 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71403 $as_echo_n "(cached) " >&6
71404 else
71407 ac_ext=cpp
71408 ac_cpp='$CXXCPP $CPPFLAGS'
71409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71414 /* end confdefs.h. */
71415 #include <math.h>
71416 #ifdef HAVE_IEEEFP_H
71417 #include <ieeefp.h>
71418 #endif
71421 main ()
71423 log10l(0);
71425 return 0;
71427 _ACEOF
71428 if ac_fn_cxx_try_compile "$LINENO"; then :
71429 glibcxx_cv_func_log10l_use=yes
71430 else
71431 glibcxx_cv_func_log10l_use=no
71433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71434 ac_ext=c
71435 ac_cpp='$CPP $CPPFLAGS'
71436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71445 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71447 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71448 for ac_func in log10l
71449 do :
71450 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71451 if test "x$ac_cv_func_log10l" = x""yes; then :
71452 cat >>confdefs.h <<_ACEOF
71453 #define HAVE_LOG10L 1
71454 _ACEOF
71457 done
71459 else
71461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71462 $as_echo_n "checking for _log10l declaration... " >&6; }
71463 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71464 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71465 $as_echo_n "(cached) " >&6
71466 else
71469 ac_ext=cpp
71470 ac_cpp='$CXXCPP $CPPFLAGS'
71471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71476 /* end confdefs.h. */
71477 #include <math.h>
71478 #ifdef HAVE_IEEEFP_H
71479 #include <ieeefp.h>
71480 #endif
71483 main ()
71485 _log10l(0);
71487 return 0;
71489 _ACEOF
71490 if ac_fn_cxx_try_compile "$LINENO"; then :
71491 glibcxx_cv_func__log10l_use=yes
71492 else
71493 glibcxx_cv_func__log10l_use=no
71495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71496 ac_ext=c
71497 ac_cpp='$CPP $CPPFLAGS'
71498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71507 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71509 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71510 for ac_func in _log10l
71511 do :
71512 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71513 if test "x$ac_cv_func__log10l" = x""yes; then :
71514 cat >>confdefs.h <<_ACEOF
71515 #define HAVE__LOG10L 1
71516 _ACEOF
71519 done
71528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71529 $as_echo_n "checking for modfl declaration... " >&6; }
71530 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71531 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71532 $as_echo_n "(cached) " >&6
71533 else
71536 ac_ext=cpp
71537 ac_cpp='$CXXCPP $CPPFLAGS'
71538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71543 /* end confdefs.h. */
71544 #include <math.h>
71546 main ()
71548 modfl(0, 0);
71550 return 0;
71552 _ACEOF
71553 if ac_fn_cxx_try_compile "$LINENO"; then :
71554 glibcxx_cv_func_modfl_use=yes
71555 else
71556 glibcxx_cv_func_modfl_use=no
71558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71559 ac_ext=c
71560 ac_cpp='$CPP $CPPFLAGS'
71561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71570 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71572 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71573 for ac_func in modfl
71574 do :
71575 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71576 if test "x$ac_cv_func_modfl" = x""yes; then :
71577 cat >>confdefs.h <<_ACEOF
71578 #define HAVE_MODFL 1
71579 _ACEOF
71582 done
71584 else
71586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71587 $as_echo_n "checking for _modfl declaration... " >&6; }
71588 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71589 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71590 $as_echo_n "(cached) " >&6
71591 else
71594 ac_ext=cpp
71595 ac_cpp='$CXXCPP $CPPFLAGS'
71596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71601 /* end confdefs.h. */
71602 #include <math.h>
71604 main ()
71606 _modfl(0, 0);
71608 return 0;
71610 _ACEOF
71611 if ac_fn_cxx_try_compile "$LINENO"; then :
71612 glibcxx_cv_func__modfl_use=yes
71613 else
71614 glibcxx_cv_func__modfl_use=no
71616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71617 ac_ext=c
71618 ac_cpp='$CPP $CPPFLAGS'
71619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71628 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71630 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71631 for ac_func in _modfl
71632 do :
71633 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71634 if test "x$ac_cv_func__modfl" = x""yes; then :
71635 cat >>confdefs.h <<_ACEOF
71636 #define HAVE__MODFL 1
71637 _ACEOF
71640 done
71649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71650 $as_echo_n "checking for powl declaration... " >&6; }
71651 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71652 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71653 $as_echo_n "(cached) " >&6
71654 else
71657 ac_ext=cpp
71658 ac_cpp='$CXXCPP $CPPFLAGS'
71659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71664 /* end confdefs.h. */
71665 #include <math.h>
71667 main ()
71669 powl(0, 0);
71671 return 0;
71673 _ACEOF
71674 if ac_fn_cxx_try_compile "$LINENO"; then :
71675 glibcxx_cv_func_powl_use=yes
71676 else
71677 glibcxx_cv_func_powl_use=no
71679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71680 ac_ext=c
71681 ac_cpp='$CPP $CPPFLAGS'
71682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71691 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71693 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71694 for ac_func in powl
71695 do :
71696 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71697 if test "x$ac_cv_func_powl" = x""yes; then :
71698 cat >>confdefs.h <<_ACEOF
71699 #define HAVE_POWL 1
71700 _ACEOF
71703 done
71705 else
71707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71708 $as_echo_n "checking for _powl declaration... " >&6; }
71709 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71710 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71711 $as_echo_n "(cached) " >&6
71712 else
71715 ac_ext=cpp
71716 ac_cpp='$CXXCPP $CPPFLAGS'
71717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71722 /* end confdefs.h. */
71723 #include <math.h>
71725 main ()
71727 _powl(0, 0);
71729 return 0;
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func__powl_use=yes
71734 else
71735 glibcxx_cv_func__powl_use=no
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71749 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71751 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71752 for ac_func in _powl
71753 do :
71754 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71755 if test "x$ac_cv_func__powl" = x""yes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE__POWL 1
71758 _ACEOF
71761 done
71770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71771 $as_echo_n "checking for sqrtl declaration... " >&6; }
71772 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71773 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71774 $as_echo_n "(cached) " >&6
71775 else
71778 ac_ext=cpp
71779 ac_cpp='$CXXCPP $CPPFLAGS'
71780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71785 /* end confdefs.h. */
71786 #include <math.h>
71787 #ifdef HAVE_IEEEFP_H
71788 #include <ieeefp.h>
71789 #endif
71792 main ()
71794 sqrtl(0);
71796 return 0;
71798 _ACEOF
71799 if ac_fn_cxx_try_compile "$LINENO"; then :
71800 glibcxx_cv_func_sqrtl_use=yes
71801 else
71802 glibcxx_cv_func_sqrtl_use=no
71804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71805 ac_ext=c
71806 ac_cpp='$CPP $CPPFLAGS'
71807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71816 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71818 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71819 for ac_func in sqrtl
71820 do :
71821 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71822 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71823 cat >>confdefs.h <<_ACEOF
71824 #define HAVE_SQRTL 1
71825 _ACEOF
71828 done
71830 else
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71833 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71834 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71835 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71836 $as_echo_n "(cached) " >&6
71837 else
71840 ac_ext=cpp
71841 ac_cpp='$CXXCPP $CPPFLAGS'
71842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71847 /* end confdefs.h. */
71848 #include <math.h>
71849 #ifdef HAVE_IEEEFP_H
71850 #include <ieeefp.h>
71851 #endif
71854 main ()
71856 _sqrtl(0);
71858 return 0;
71860 _ACEOF
71861 if ac_fn_cxx_try_compile "$LINENO"; then :
71862 glibcxx_cv_func__sqrtl_use=yes
71863 else
71864 glibcxx_cv_func__sqrtl_use=no
71866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71867 ac_ext=c
71868 ac_cpp='$CPP $CPPFLAGS'
71869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71878 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71880 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71881 for ac_func in _sqrtl
71882 do :
71883 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71884 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71885 cat >>confdefs.h <<_ACEOF
71886 #define HAVE__SQRTL 1
71887 _ACEOF
71890 done
71899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71900 $as_echo_n "checking for sincosl declaration... " >&6; }
71901 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71902 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71903 $as_echo_n "(cached) " >&6
71904 else
71907 ac_ext=cpp
71908 ac_cpp='$CXXCPP $CPPFLAGS'
71909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71914 /* end confdefs.h. */
71915 #include <math.h>
71917 main ()
71919 sincosl(0, 0, 0);
71921 return 0;
71923 _ACEOF
71924 if ac_fn_cxx_try_compile "$LINENO"; then :
71925 glibcxx_cv_func_sincosl_use=yes
71926 else
71927 glibcxx_cv_func_sincosl_use=no
71929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71930 ac_ext=c
71931 ac_cpp='$CPP $CPPFLAGS'
71932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71941 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71943 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71944 for ac_func in sincosl
71945 do :
71946 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71947 if test "x$ac_cv_func_sincosl" = x""yes; then :
71948 cat >>confdefs.h <<_ACEOF
71949 #define HAVE_SINCOSL 1
71950 _ACEOF
71953 done
71955 else
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71958 $as_echo_n "checking for _sincosl declaration... " >&6; }
71959 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71960 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71961 $as_echo_n "(cached) " >&6
71962 else
71965 ac_ext=cpp
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71972 /* end confdefs.h. */
71973 #include <math.h>
71975 main ()
71977 _sincosl(0, 0, 0);
71979 return 0;
71981 _ACEOF
71982 if ac_fn_cxx_try_compile "$LINENO"; then :
71983 glibcxx_cv_func__sincosl_use=yes
71984 else
71985 glibcxx_cv_func__sincosl_use=no
71987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71988 ac_ext=c
71989 ac_cpp='$CPP $CPPFLAGS'
71990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71999 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72001 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72002 for ac_func in _sincosl
72003 do :
72004 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72005 if test "x$ac_cv_func__sincosl" = x""yes; then :
72006 cat >>confdefs.h <<_ACEOF
72007 #define HAVE__SINCOSL 1
72008 _ACEOF
72011 done
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72021 $as_echo_n "checking for finitel declaration... " >&6; }
72022 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72023 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72024 $as_echo_n "(cached) " >&6
72025 else
72028 ac_ext=cpp
72029 ac_cpp='$CXXCPP $CPPFLAGS'
72030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72035 /* end confdefs.h. */
72036 #include <math.h>
72037 #ifdef HAVE_IEEEFP_H
72038 #include <ieeefp.h>
72039 #endif
72042 main ()
72044 finitel(0);
72046 return 0;
72048 _ACEOF
72049 if ac_fn_cxx_try_compile "$LINENO"; then :
72050 glibcxx_cv_func_finitel_use=yes
72051 else
72052 glibcxx_cv_func_finitel_use=no
72054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72055 ac_ext=c
72056 ac_cpp='$CPP $CPPFLAGS'
72057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72066 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72068 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72069 for ac_func in finitel
72070 do :
72071 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72072 if test "x$ac_cv_func_finitel" = x""yes; then :
72073 cat >>confdefs.h <<_ACEOF
72074 #define HAVE_FINITEL 1
72075 _ACEOF
72078 done
72080 else
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72083 $as_echo_n "checking for _finitel declaration... " >&6; }
72084 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72085 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72086 $as_echo_n "(cached) " >&6
72087 else
72090 ac_ext=cpp
72091 ac_cpp='$CXXCPP $CPPFLAGS'
72092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72097 /* end confdefs.h. */
72098 #include <math.h>
72099 #ifdef HAVE_IEEEFP_H
72100 #include <ieeefp.h>
72101 #endif
72104 main ()
72106 _finitel(0);
72108 return 0;
72110 _ACEOF
72111 if ac_fn_cxx_try_compile "$LINENO"; then :
72112 glibcxx_cv_func__finitel_use=yes
72113 else
72114 glibcxx_cv_func__finitel_use=no
72116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72117 ac_ext=c
72118 ac_cpp='$CPP $CPPFLAGS'
72119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72128 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72130 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72131 for ac_func in _finitel
72132 do :
72133 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72134 if test "x$ac_cv_func__finitel" = x""yes; then :
72135 cat >>confdefs.h <<_ACEOF
72136 #define HAVE__FINITEL 1
72137 _ACEOF
72140 done
72148 LIBS="$ac_save_LIBS"
72149 CXXFLAGS="$ac_save_CXXFLAGS"
72152 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72153 ac_save_CXXFLAGS="$CXXFLAGS"
72154 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72158 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72159 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72160 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72161 $as_echo_n "(cached) " >&6
72162 else
72165 ac_ext=cpp
72166 ac_cpp='$CXXCPP $CPPFLAGS'
72167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72172 /* end confdefs.h. */
72173 #include <stdlib.h>
72175 main ()
72177 at_quick_exit(0);
72179 return 0;
72181 _ACEOF
72182 if ac_fn_cxx_try_compile "$LINENO"; then :
72183 glibcxx_cv_func_at_quick_exit_use=yes
72184 else
72185 glibcxx_cv_func_at_quick_exit_use=no
72187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72188 ac_ext=c
72189 ac_cpp='$CPP $CPPFLAGS'
72190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72199 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72200 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72201 for ac_func in at_quick_exit
72202 do :
72203 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72204 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72205 cat >>confdefs.h <<_ACEOF
72206 #define HAVE_AT_QUICK_EXIT 1
72207 _ACEOF
72210 done
72215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72216 $as_echo_n "checking for quick_exit declaration... " >&6; }
72217 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72218 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72219 $as_echo_n "(cached) " >&6
72220 else
72223 ac_ext=cpp
72224 ac_cpp='$CXXCPP $CPPFLAGS'
72225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72230 /* end confdefs.h. */
72231 #include <stdlib.h>
72233 main ()
72235 quick_exit(0);
72237 return 0;
72239 _ACEOF
72240 if ac_fn_cxx_try_compile "$LINENO"; then :
72241 glibcxx_cv_func_quick_exit_use=yes
72242 else
72243 glibcxx_cv_func_quick_exit_use=no
72245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72246 ac_ext=c
72247 ac_cpp='$CPP $CPPFLAGS'
72248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72257 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72258 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72259 for ac_func in quick_exit
72260 do :
72261 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72262 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72263 cat >>confdefs.h <<_ACEOF
72264 #define HAVE_QUICK_EXIT 1
72265 _ACEOF
72268 done
72273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72274 $as_echo_n "checking for strtold declaration... " >&6; }
72275 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72276 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72277 $as_echo_n "(cached) " >&6
72278 else
72281 ac_ext=cpp
72282 ac_cpp='$CXXCPP $CPPFLAGS'
72283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72288 /* end confdefs.h. */
72289 #include <stdlib.h>
72291 main ()
72293 strtold(0, 0);
72295 return 0;
72297 _ACEOF
72298 if ac_fn_cxx_try_compile "$LINENO"; then :
72299 glibcxx_cv_func_strtold_use=yes
72300 else
72301 glibcxx_cv_func_strtold_use=no
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72304 ac_ext=c
72305 ac_cpp='$CPP $CPPFLAGS'
72306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72315 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72316 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72317 for ac_func in strtold
72318 do :
72319 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72320 if test "x$ac_cv_func_strtold" = x""yes; then :
72321 cat >>confdefs.h <<_ACEOF
72322 #define HAVE_STRTOLD 1
72323 _ACEOF
72326 done
72333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72334 $as_echo_n "checking for strtof declaration... " >&6; }
72335 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72336 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72337 $as_echo_n "(cached) " >&6
72338 else
72341 ac_ext=cpp
72342 ac_cpp='$CXXCPP $CPPFLAGS'
72343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72348 /* end confdefs.h. */
72349 #include <stdlib.h>
72351 main ()
72353 strtof(0, 0);
72355 return 0;
72357 _ACEOF
72358 if ac_fn_cxx_try_compile "$LINENO"; then :
72359 glibcxx_cv_func_strtof_use=yes
72360 else
72361 glibcxx_cv_func_strtof_use=no
72363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72364 ac_ext=c
72365 ac_cpp='$CPP $CPPFLAGS'
72366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72375 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72376 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72377 for ac_func in strtof
72378 do :
72379 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72380 if test "x$ac_cv_func_strtof" = x""yes; then :
72381 cat >>confdefs.h <<_ACEOF
72382 #define HAVE_STRTOF 1
72383 _ACEOF
72386 done
72393 CXXFLAGS="$ac_save_CXXFLAGS"
72396 *-tpf)
72397 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72398 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72400 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72402 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72404 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72406 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72408 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72410 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72412 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72414 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72416 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72418 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72420 if test x"long_double_math_on_this_cpu" = x"yes"; then
72421 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72423 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72425 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72427 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72431 *-*vms*)
72432 # Check for available headers.
72433 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72435 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72436 ac_save_CXXFLAGS="$CXXFLAGS"
72437 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72440 $as_echo_n "checking for sin in -lm... " >&6; }
72441 if test "${ac_cv_lib_m_sin+set}" = set; then :
72442 $as_echo_n "(cached) " >&6
72443 else
72444 ac_check_lib_save_LIBS=$LIBS
72445 LIBS="-lm $LIBS"
72446 if test x$gcc_no_link = xyes; then
72447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72450 /* end confdefs.h. */
72452 /* Override any GCC internal prototype to avoid an error.
72453 Use char because int might match the return type of a GCC
72454 builtin and then its argument prototype would still apply. */
72455 #ifdef __cplusplus
72456 extern "C"
72457 #endif
72458 char sin ();
72460 main ()
72462 return sin ();
72464 return 0;
72466 _ACEOF
72467 if ac_fn_c_try_link "$LINENO"; then :
72468 ac_cv_lib_m_sin=yes
72469 else
72470 ac_cv_lib_m_sin=no
72472 rm -f core conftest.err conftest.$ac_objext \
72473 conftest$ac_exeext conftest.$ac_ext
72474 LIBS=$ac_check_lib_save_LIBS
72476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72477 $as_echo "$ac_cv_lib_m_sin" >&6; }
72478 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72479 libm="-lm"
72482 ac_save_LIBS="$LIBS"
72483 LIBS="$LIBS $libm"
72487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72488 $as_echo_n "checking for isinf declaration... " >&6; }
72489 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72490 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72491 $as_echo_n "(cached) " >&6
72492 else
72495 ac_ext=cpp
72496 ac_cpp='$CXXCPP $CPPFLAGS'
72497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72502 /* end confdefs.h. */
72503 #include <math.h>
72504 #ifdef HAVE_IEEEFP_H
72505 #include <ieeefp.h>
72506 #endif
72509 main ()
72511 isinf(0);
72513 return 0;
72515 _ACEOF
72516 if ac_fn_cxx_try_compile "$LINENO"; then :
72517 glibcxx_cv_func_isinf_use=yes
72518 else
72519 glibcxx_cv_func_isinf_use=no
72521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72522 ac_ext=c
72523 ac_cpp='$CPP $CPPFLAGS'
72524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72533 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72535 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72536 for ac_func in isinf
72537 do :
72538 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72539 if test "x$ac_cv_func_isinf" = x""yes; then :
72540 cat >>confdefs.h <<_ACEOF
72541 #define HAVE_ISINF 1
72542 _ACEOF
72545 done
72547 else
72549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72550 $as_echo_n "checking for _isinf declaration... " >&6; }
72551 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72552 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72553 $as_echo_n "(cached) " >&6
72554 else
72557 ac_ext=cpp
72558 ac_cpp='$CXXCPP $CPPFLAGS'
72559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72564 /* end confdefs.h. */
72565 #include <math.h>
72566 #ifdef HAVE_IEEEFP_H
72567 #include <ieeefp.h>
72568 #endif
72571 main ()
72573 _isinf(0);
72575 return 0;
72577 _ACEOF
72578 if ac_fn_cxx_try_compile "$LINENO"; then :
72579 glibcxx_cv_func__isinf_use=yes
72580 else
72581 glibcxx_cv_func__isinf_use=no
72583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72584 ac_ext=c
72585 ac_cpp='$CPP $CPPFLAGS'
72586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72595 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72597 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72598 for ac_func in _isinf
72599 do :
72600 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72601 if test "x$ac_cv_func__isinf" = x""yes; then :
72602 cat >>confdefs.h <<_ACEOF
72603 #define HAVE__ISINF 1
72604 _ACEOF
72607 done
72616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72617 $as_echo_n "checking for isnan declaration... " >&6; }
72618 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72619 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72620 $as_echo_n "(cached) " >&6
72621 else
72624 ac_ext=cpp
72625 ac_cpp='$CXXCPP $CPPFLAGS'
72626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72631 /* end confdefs.h. */
72632 #include <math.h>
72633 #ifdef HAVE_IEEEFP_H
72634 #include <ieeefp.h>
72635 #endif
72638 main ()
72640 isnan(0);
72642 return 0;
72644 _ACEOF
72645 if ac_fn_cxx_try_compile "$LINENO"; then :
72646 glibcxx_cv_func_isnan_use=yes
72647 else
72648 glibcxx_cv_func_isnan_use=no
72650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72651 ac_ext=c
72652 ac_cpp='$CPP $CPPFLAGS'
72653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72662 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72664 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72665 for ac_func in isnan
72666 do :
72667 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72668 if test "x$ac_cv_func_isnan" = x""yes; then :
72669 cat >>confdefs.h <<_ACEOF
72670 #define HAVE_ISNAN 1
72671 _ACEOF
72674 done
72676 else
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72679 $as_echo_n "checking for _isnan declaration... " >&6; }
72680 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72681 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72682 $as_echo_n "(cached) " >&6
72683 else
72686 ac_ext=cpp
72687 ac_cpp='$CXXCPP $CPPFLAGS'
72688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72693 /* end confdefs.h. */
72694 #include <math.h>
72695 #ifdef HAVE_IEEEFP_H
72696 #include <ieeefp.h>
72697 #endif
72700 main ()
72702 _isnan(0);
72704 return 0;
72706 _ACEOF
72707 if ac_fn_cxx_try_compile "$LINENO"; then :
72708 glibcxx_cv_func__isnan_use=yes
72709 else
72710 glibcxx_cv_func__isnan_use=no
72712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72713 ac_ext=c
72714 ac_cpp='$CPP $CPPFLAGS'
72715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72724 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72726 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72727 for ac_func in _isnan
72728 do :
72729 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72730 if test "x$ac_cv_func__isnan" = x""yes; then :
72731 cat >>confdefs.h <<_ACEOF
72732 #define HAVE__ISNAN 1
72733 _ACEOF
72736 done
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72746 $as_echo_n "checking for finite declaration... " >&6; }
72747 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72748 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72749 $as_echo_n "(cached) " >&6
72750 else
72753 ac_ext=cpp
72754 ac_cpp='$CXXCPP $CPPFLAGS'
72755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72760 /* end confdefs.h. */
72761 #include <math.h>
72762 #ifdef HAVE_IEEEFP_H
72763 #include <ieeefp.h>
72764 #endif
72767 main ()
72769 finite(0);
72771 return 0;
72773 _ACEOF
72774 if ac_fn_cxx_try_compile "$LINENO"; then :
72775 glibcxx_cv_func_finite_use=yes
72776 else
72777 glibcxx_cv_func_finite_use=no
72779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72780 ac_ext=c
72781 ac_cpp='$CPP $CPPFLAGS'
72782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72791 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72793 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72794 for ac_func in finite
72795 do :
72796 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72797 if test "x$ac_cv_func_finite" = x""yes; then :
72798 cat >>confdefs.h <<_ACEOF
72799 #define HAVE_FINITE 1
72800 _ACEOF
72803 done
72805 else
72807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72808 $as_echo_n "checking for _finite declaration... " >&6; }
72809 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72810 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72811 $as_echo_n "(cached) " >&6
72812 else
72815 ac_ext=cpp
72816 ac_cpp='$CXXCPP $CPPFLAGS'
72817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72822 /* end confdefs.h. */
72823 #include <math.h>
72824 #ifdef HAVE_IEEEFP_H
72825 #include <ieeefp.h>
72826 #endif
72829 main ()
72831 _finite(0);
72833 return 0;
72835 _ACEOF
72836 if ac_fn_cxx_try_compile "$LINENO"; then :
72837 glibcxx_cv_func__finite_use=yes
72838 else
72839 glibcxx_cv_func__finite_use=no
72841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72842 ac_ext=c
72843 ac_cpp='$CPP $CPPFLAGS'
72844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72853 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72855 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72856 for ac_func in _finite
72857 do :
72858 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72859 if test "x$ac_cv_func__finite" = x""yes; then :
72860 cat >>confdefs.h <<_ACEOF
72861 #define HAVE__FINITE 1
72862 _ACEOF
72865 done
72874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72875 $as_echo_n "checking for sincos declaration... " >&6; }
72876 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72877 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72878 $as_echo_n "(cached) " >&6
72879 else
72882 ac_ext=cpp
72883 ac_cpp='$CXXCPP $CPPFLAGS'
72884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72889 /* end confdefs.h. */
72890 #include <math.h>
72892 main ()
72894 sincos(0, 0, 0);
72896 return 0;
72898 _ACEOF
72899 if ac_fn_cxx_try_compile "$LINENO"; then :
72900 glibcxx_cv_func_sincos_use=yes
72901 else
72902 glibcxx_cv_func_sincos_use=no
72904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72905 ac_ext=c
72906 ac_cpp='$CPP $CPPFLAGS'
72907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72916 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72918 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72919 for ac_func in sincos
72920 do :
72921 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72922 if test "x$ac_cv_func_sincos" = x""yes; then :
72923 cat >>confdefs.h <<_ACEOF
72924 #define HAVE_SINCOS 1
72925 _ACEOF
72928 done
72930 else
72932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72933 $as_echo_n "checking for _sincos declaration... " >&6; }
72934 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72935 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72936 $as_echo_n "(cached) " >&6
72937 else
72940 ac_ext=cpp
72941 ac_cpp='$CXXCPP $CPPFLAGS'
72942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72947 /* end confdefs.h. */
72948 #include <math.h>
72950 main ()
72952 _sincos(0, 0, 0);
72954 return 0;
72956 _ACEOF
72957 if ac_fn_cxx_try_compile "$LINENO"; then :
72958 glibcxx_cv_func__sincos_use=yes
72959 else
72960 glibcxx_cv_func__sincos_use=no
72962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72963 ac_ext=c
72964 ac_cpp='$CPP $CPPFLAGS'
72965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72974 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72976 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72977 for ac_func in _sincos
72978 do :
72979 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72980 if test "x$ac_cv_func__sincos" = x""yes; then :
72981 cat >>confdefs.h <<_ACEOF
72982 #define HAVE__SINCOS 1
72983 _ACEOF
72986 done
72995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72996 $as_echo_n "checking for fpclass declaration... " >&6; }
72997 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72998 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72999 $as_echo_n "(cached) " >&6
73000 else
73003 ac_ext=cpp
73004 ac_cpp='$CXXCPP $CPPFLAGS'
73005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73010 /* end confdefs.h. */
73011 #include <math.h>
73012 #ifdef HAVE_IEEEFP_H
73013 #include <ieeefp.h>
73014 #endif
73017 main ()
73019 fpclass(0);
73021 return 0;
73023 _ACEOF
73024 if ac_fn_cxx_try_compile "$LINENO"; then :
73025 glibcxx_cv_func_fpclass_use=yes
73026 else
73027 glibcxx_cv_func_fpclass_use=no
73029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73030 ac_ext=c
73031 ac_cpp='$CPP $CPPFLAGS'
73032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73041 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73043 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73044 for ac_func in fpclass
73045 do :
73046 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73047 if test "x$ac_cv_func_fpclass" = x""yes; then :
73048 cat >>confdefs.h <<_ACEOF
73049 #define HAVE_FPCLASS 1
73050 _ACEOF
73053 done
73055 else
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73058 $as_echo_n "checking for _fpclass declaration... " >&6; }
73059 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73060 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73061 $as_echo_n "(cached) " >&6
73062 else
73065 ac_ext=cpp
73066 ac_cpp='$CXXCPP $CPPFLAGS'
73067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73072 /* end confdefs.h. */
73073 #include <math.h>
73074 #ifdef HAVE_IEEEFP_H
73075 #include <ieeefp.h>
73076 #endif
73079 main ()
73081 _fpclass(0);
73083 return 0;
73085 _ACEOF
73086 if ac_fn_cxx_try_compile "$LINENO"; then :
73087 glibcxx_cv_func__fpclass_use=yes
73088 else
73089 glibcxx_cv_func__fpclass_use=no
73091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73092 ac_ext=c
73093 ac_cpp='$CPP $CPPFLAGS'
73094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73103 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73105 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73106 for ac_func in _fpclass
73107 do :
73108 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73109 if test "x$ac_cv_func__fpclass" = x""yes; then :
73110 cat >>confdefs.h <<_ACEOF
73111 #define HAVE__FPCLASS 1
73112 _ACEOF
73115 done
73124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73125 $as_echo_n "checking for qfpclass declaration... " >&6; }
73126 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73127 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73128 $as_echo_n "(cached) " >&6
73129 else
73132 ac_ext=cpp
73133 ac_cpp='$CXXCPP $CPPFLAGS'
73134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73139 /* end confdefs.h. */
73140 #include <math.h>
73141 #ifdef HAVE_IEEEFP_H
73142 #include <ieeefp.h>
73143 #endif
73146 main ()
73148 qfpclass(0);
73150 return 0;
73152 _ACEOF
73153 if ac_fn_cxx_try_compile "$LINENO"; then :
73154 glibcxx_cv_func_qfpclass_use=yes
73155 else
73156 glibcxx_cv_func_qfpclass_use=no
73158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73159 ac_ext=c
73160 ac_cpp='$CPP $CPPFLAGS'
73161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73170 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73172 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73173 for ac_func in qfpclass
73174 do :
73175 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73176 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73177 cat >>confdefs.h <<_ACEOF
73178 #define HAVE_QFPCLASS 1
73179 _ACEOF
73182 done
73184 else
73186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73187 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73188 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73189 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73190 $as_echo_n "(cached) " >&6
73191 else
73194 ac_ext=cpp
73195 ac_cpp='$CXXCPP $CPPFLAGS'
73196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73201 /* end confdefs.h. */
73202 #include <math.h>
73203 #ifdef HAVE_IEEEFP_H
73204 #include <ieeefp.h>
73205 #endif
73208 main ()
73210 _qfpclass(0);
73212 return 0;
73214 _ACEOF
73215 if ac_fn_cxx_try_compile "$LINENO"; then :
73216 glibcxx_cv_func__qfpclass_use=yes
73217 else
73218 glibcxx_cv_func__qfpclass_use=no
73220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73221 ac_ext=c
73222 ac_cpp='$CPP $CPPFLAGS'
73223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73232 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73234 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73235 for ac_func in _qfpclass
73236 do :
73237 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73238 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73239 cat >>confdefs.h <<_ACEOF
73240 #define HAVE__QFPCLASS 1
73241 _ACEOF
73244 done
73253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73254 $as_echo_n "checking for hypot declaration... " >&6; }
73255 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73256 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73257 $as_echo_n "(cached) " >&6
73258 else
73261 ac_ext=cpp
73262 ac_cpp='$CXXCPP $CPPFLAGS'
73263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73268 /* end confdefs.h. */
73269 #include <math.h>
73271 main ()
73273 hypot(0, 0);
73275 return 0;
73277 _ACEOF
73278 if ac_fn_cxx_try_compile "$LINENO"; then :
73279 glibcxx_cv_func_hypot_use=yes
73280 else
73281 glibcxx_cv_func_hypot_use=no
73283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73284 ac_ext=c
73285 ac_cpp='$CPP $CPPFLAGS'
73286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73295 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73297 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73298 for ac_func in hypot
73299 do :
73300 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73301 if test "x$ac_cv_func_hypot" = x""yes; then :
73302 cat >>confdefs.h <<_ACEOF
73303 #define HAVE_HYPOT 1
73304 _ACEOF
73307 done
73309 else
73311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73312 $as_echo_n "checking for _hypot declaration... " >&6; }
73313 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73314 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73315 $as_echo_n "(cached) " >&6
73316 else
73319 ac_ext=cpp
73320 ac_cpp='$CXXCPP $CPPFLAGS'
73321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73326 /* end confdefs.h. */
73327 #include <math.h>
73329 main ()
73331 _hypot(0, 0);
73333 return 0;
73335 _ACEOF
73336 if ac_fn_cxx_try_compile "$LINENO"; then :
73337 glibcxx_cv_func__hypot_use=yes
73338 else
73339 glibcxx_cv_func__hypot_use=no
73341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73342 ac_ext=c
73343 ac_cpp='$CPP $CPPFLAGS'
73344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73353 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73355 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73356 for ac_func in _hypot
73357 do :
73358 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73359 if test "x$ac_cv_func__hypot" = x""yes; then :
73360 cat >>confdefs.h <<_ACEOF
73361 #define HAVE__HYPOT 1
73362 _ACEOF
73365 done
73374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73375 $as_echo_n "checking for float trig functions... " >&6; }
73376 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73377 $as_echo_n "(cached) " >&6
73378 else
73381 ac_ext=cpp
73382 ac_cpp='$CXXCPP $CPPFLAGS'
73383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73388 /* end confdefs.h. */
73389 #include <math.h>
73391 main ()
73393 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73395 return 0;
73397 _ACEOF
73398 if ac_fn_cxx_try_compile "$LINENO"; then :
73399 glibcxx_cv_func_float_trig_use=yes
73400 else
73401 glibcxx_cv_func_float_trig_use=no
73403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73404 ac_ext=c
73405 ac_cpp='$CPP $CPPFLAGS'
73406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73413 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73414 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73415 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73416 do :
73417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73419 eval as_val=\$$as_ac_var
73420 if test "x$as_val" = x""yes; then :
73421 cat >>confdefs.h <<_ACEOF
73422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73423 _ACEOF
73426 done
73428 else
73429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73430 $as_echo_n "checking for _float trig functions... " >&6; }
73431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73432 $as_echo_n "(cached) " >&6
73433 else
73436 ac_ext=cpp
73437 ac_cpp='$CXXCPP $CPPFLAGS'
73438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73443 /* end confdefs.h. */
73444 #include <math.h>
73446 main ()
73448 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73450 return 0;
73452 _ACEOF
73453 if ac_fn_cxx_try_compile "$LINENO"; then :
73454 glibcxx_cv_func__float_trig_use=yes
73455 else
73456 glibcxx_cv_func__float_trig_use=no
73458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73459 ac_ext=c
73460 ac_cpp='$CPP $CPPFLAGS'
73461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73468 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73469 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73470 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73471 do :
73472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73474 eval as_val=\$$as_ac_var
73475 if test "x$as_val" = x""yes; then :
73476 cat >>confdefs.h <<_ACEOF
73477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73478 _ACEOF
73481 done
73490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73491 $as_echo_n "checking for float round functions... " >&6; }
73492 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73493 $as_echo_n "(cached) " >&6
73494 else
73497 ac_ext=cpp
73498 ac_cpp='$CXXCPP $CPPFLAGS'
73499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73504 /* end confdefs.h. */
73505 #include <math.h>
73507 main ()
73509 ceilf (0); floorf (0);
73511 return 0;
73513 _ACEOF
73514 if ac_fn_cxx_try_compile "$LINENO"; then :
73515 glibcxx_cv_func_float_round_use=yes
73516 else
73517 glibcxx_cv_func_float_round_use=no
73519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73520 ac_ext=c
73521 ac_cpp='$CPP $CPPFLAGS'
73522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73529 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73531 for ac_func in ceilf floorf
73532 do :
73533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73535 eval as_val=\$$as_ac_var
73536 if test "x$as_val" = x""yes; then :
73537 cat >>confdefs.h <<_ACEOF
73538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73539 _ACEOF
73542 done
73544 else
73545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73546 $as_echo_n "checking for _float round functions... " >&6; }
73547 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73548 $as_echo_n "(cached) " >&6
73549 else
73552 ac_ext=cpp
73553 ac_cpp='$CXXCPP $CPPFLAGS'
73554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73559 /* end confdefs.h. */
73560 #include <math.h>
73562 main ()
73564 _ceilf (0); _floorf (0);
73566 return 0;
73568 _ACEOF
73569 if ac_fn_cxx_try_compile "$LINENO"; then :
73570 glibcxx_cv_func__float_round_use=yes
73571 else
73572 glibcxx_cv_func__float_round_use=no
73574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73575 ac_ext=c
73576 ac_cpp='$CPP $CPPFLAGS'
73577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73584 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73585 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73586 for ac_func in _ceilf _floorf
73587 do :
73588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73590 eval as_val=\$$as_ac_var
73591 if test "x$as_val" = x""yes; then :
73592 cat >>confdefs.h <<_ACEOF
73593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73594 _ACEOF
73597 done
73607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73608 $as_echo_n "checking for expf declaration... " >&6; }
73609 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73610 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73611 $as_echo_n "(cached) " >&6
73612 else
73615 ac_ext=cpp
73616 ac_cpp='$CXXCPP $CPPFLAGS'
73617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73622 /* end confdefs.h. */
73623 #include <math.h>
73624 #ifdef HAVE_IEEEFP_H
73625 #include <ieeefp.h>
73626 #endif
73629 main ()
73631 expf(0);
73633 return 0;
73635 _ACEOF
73636 if ac_fn_cxx_try_compile "$LINENO"; then :
73637 glibcxx_cv_func_expf_use=yes
73638 else
73639 glibcxx_cv_func_expf_use=no
73641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73642 ac_ext=c
73643 ac_cpp='$CPP $CPPFLAGS'
73644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73653 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73655 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73656 for ac_func in expf
73657 do :
73658 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73659 if test "x$ac_cv_func_expf" = x""yes; then :
73660 cat >>confdefs.h <<_ACEOF
73661 #define HAVE_EXPF 1
73662 _ACEOF
73665 done
73667 else
73669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73670 $as_echo_n "checking for _expf declaration... " >&6; }
73671 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73672 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73673 $as_echo_n "(cached) " >&6
73674 else
73677 ac_ext=cpp
73678 ac_cpp='$CXXCPP $CPPFLAGS'
73679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73684 /* end confdefs.h. */
73685 #include <math.h>
73686 #ifdef HAVE_IEEEFP_H
73687 #include <ieeefp.h>
73688 #endif
73691 main ()
73693 _expf(0);
73695 return 0;
73697 _ACEOF
73698 if ac_fn_cxx_try_compile "$LINENO"; then :
73699 glibcxx_cv_func__expf_use=yes
73700 else
73701 glibcxx_cv_func__expf_use=no
73703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73704 ac_ext=c
73705 ac_cpp='$CPP $CPPFLAGS'
73706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73715 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73717 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73718 for ac_func in _expf
73719 do :
73720 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73721 if test "x$ac_cv_func__expf" = x""yes; then :
73722 cat >>confdefs.h <<_ACEOF
73723 #define HAVE__EXPF 1
73724 _ACEOF
73727 done
73736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73737 $as_echo_n "checking for isnanf declaration... " >&6; }
73738 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73739 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73740 $as_echo_n "(cached) " >&6
73741 else
73744 ac_ext=cpp
73745 ac_cpp='$CXXCPP $CPPFLAGS'
73746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73751 /* end confdefs.h. */
73752 #include <math.h>
73753 #ifdef HAVE_IEEEFP_H
73754 #include <ieeefp.h>
73755 #endif
73758 main ()
73760 isnanf(0);
73762 return 0;
73764 _ACEOF
73765 if ac_fn_cxx_try_compile "$LINENO"; then :
73766 glibcxx_cv_func_isnanf_use=yes
73767 else
73768 glibcxx_cv_func_isnanf_use=no
73770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73771 ac_ext=c
73772 ac_cpp='$CPP $CPPFLAGS'
73773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73782 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73784 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73785 for ac_func in isnanf
73786 do :
73787 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73788 if test "x$ac_cv_func_isnanf" = x""yes; then :
73789 cat >>confdefs.h <<_ACEOF
73790 #define HAVE_ISNANF 1
73791 _ACEOF
73794 done
73796 else
73798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73799 $as_echo_n "checking for _isnanf declaration... " >&6; }
73800 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73801 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73802 $as_echo_n "(cached) " >&6
73803 else
73806 ac_ext=cpp
73807 ac_cpp='$CXXCPP $CPPFLAGS'
73808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73813 /* end confdefs.h. */
73814 #include <math.h>
73815 #ifdef HAVE_IEEEFP_H
73816 #include <ieeefp.h>
73817 #endif
73820 main ()
73822 _isnanf(0);
73824 return 0;
73826 _ACEOF
73827 if ac_fn_cxx_try_compile "$LINENO"; then :
73828 glibcxx_cv_func__isnanf_use=yes
73829 else
73830 glibcxx_cv_func__isnanf_use=no
73832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73833 ac_ext=c
73834 ac_cpp='$CPP $CPPFLAGS'
73835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73844 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73846 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73847 for ac_func in _isnanf
73848 do :
73849 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73850 if test "x$ac_cv_func__isnanf" = x""yes; then :
73851 cat >>confdefs.h <<_ACEOF
73852 #define HAVE__ISNANF 1
73853 _ACEOF
73856 done
73865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73866 $as_echo_n "checking for isinff declaration... " >&6; }
73867 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73868 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73869 $as_echo_n "(cached) " >&6
73870 else
73873 ac_ext=cpp
73874 ac_cpp='$CXXCPP $CPPFLAGS'
73875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73880 /* end confdefs.h. */
73881 #include <math.h>
73882 #ifdef HAVE_IEEEFP_H
73883 #include <ieeefp.h>
73884 #endif
73887 main ()
73889 isinff(0);
73891 return 0;
73893 _ACEOF
73894 if ac_fn_cxx_try_compile "$LINENO"; then :
73895 glibcxx_cv_func_isinff_use=yes
73896 else
73897 glibcxx_cv_func_isinff_use=no
73899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73900 ac_ext=c
73901 ac_cpp='$CPP $CPPFLAGS'
73902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73911 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73913 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73914 for ac_func in isinff
73915 do :
73916 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73917 if test "x$ac_cv_func_isinff" = x""yes; then :
73918 cat >>confdefs.h <<_ACEOF
73919 #define HAVE_ISINFF 1
73920 _ACEOF
73923 done
73925 else
73927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73928 $as_echo_n "checking for _isinff declaration... " >&6; }
73929 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73930 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73931 $as_echo_n "(cached) " >&6
73932 else
73935 ac_ext=cpp
73936 ac_cpp='$CXXCPP $CPPFLAGS'
73937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73942 /* end confdefs.h. */
73943 #include <math.h>
73944 #ifdef HAVE_IEEEFP_H
73945 #include <ieeefp.h>
73946 #endif
73949 main ()
73951 _isinff(0);
73953 return 0;
73955 _ACEOF
73956 if ac_fn_cxx_try_compile "$LINENO"; then :
73957 glibcxx_cv_func__isinff_use=yes
73958 else
73959 glibcxx_cv_func__isinff_use=no
73961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73962 ac_ext=c
73963 ac_cpp='$CPP $CPPFLAGS'
73964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73973 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73975 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73976 for ac_func in _isinff
73977 do :
73978 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73979 if test "x$ac_cv_func__isinff" = x""yes; then :
73980 cat >>confdefs.h <<_ACEOF
73981 #define HAVE__ISINFF 1
73982 _ACEOF
73985 done
73994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73995 $as_echo_n "checking for atan2f declaration... " >&6; }
73996 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73997 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73998 $as_echo_n "(cached) " >&6
73999 else
74002 ac_ext=cpp
74003 ac_cpp='$CXXCPP $CPPFLAGS'
74004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74009 /* end confdefs.h. */
74010 #include <math.h>
74012 main ()
74014 atan2f(0, 0);
74016 return 0;
74018 _ACEOF
74019 if ac_fn_cxx_try_compile "$LINENO"; then :
74020 glibcxx_cv_func_atan2f_use=yes
74021 else
74022 glibcxx_cv_func_atan2f_use=no
74024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74025 ac_ext=c
74026 ac_cpp='$CPP $CPPFLAGS'
74027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74036 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74038 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74039 for ac_func in atan2f
74040 do :
74041 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74042 if test "x$ac_cv_func_atan2f" = x""yes; then :
74043 cat >>confdefs.h <<_ACEOF
74044 #define HAVE_ATAN2F 1
74045 _ACEOF
74048 done
74050 else
74052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74053 $as_echo_n "checking for _atan2f declaration... " >&6; }
74054 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74055 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74056 $as_echo_n "(cached) " >&6
74057 else
74060 ac_ext=cpp
74061 ac_cpp='$CXXCPP $CPPFLAGS'
74062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74067 /* end confdefs.h. */
74068 #include <math.h>
74070 main ()
74072 _atan2f(0, 0);
74074 return 0;
74076 _ACEOF
74077 if ac_fn_cxx_try_compile "$LINENO"; then :
74078 glibcxx_cv_func__atan2f_use=yes
74079 else
74080 glibcxx_cv_func__atan2f_use=no
74082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74083 ac_ext=c
74084 ac_cpp='$CPP $CPPFLAGS'
74085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74094 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74096 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74097 for ac_func in _atan2f
74098 do :
74099 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74100 if test "x$ac_cv_func__atan2f" = x""yes; then :
74101 cat >>confdefs.h <<_ACEOF
74102 #define HAVE__ATAN2F 1
74103 _ACEOF
74106 done
74115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74116 $as_echo_n "checking for fabsf declaration... " >&6; }
74117 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74118 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74119 $as_echo_n "(cached) " >&6
74120 else
74123 ac_ext=cpp
74124 ac_cpp='$CXXCPP $CPPFLAGS'
74125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74130 /* end confdefs.h. */
74131 #include <math.h>
74132 #ifdef HAVE_IEEEFP_H
74133 #include <ieeefp.h>
74134 #endif
74137 main ()
74139 fabsf(0);
74141 return 0;
74143 _ACEOF
74144 if ac_fn_cxx_try_compile "$LINENO"; then :
74145 glibcxx_cv_func_fabsf_use=yes
74146 else
74147 glibcxx_cv_func_fabsf_use=no
74149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74150 ac_ext=c
74151 ac_cpp='$CPP $CPPFLAGS'
74152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74161 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74163 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74164 for ac_func in fabsf
74165 do :
74166 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74167 if test "x$ac_cv_func_fabsf" = x""yes; then :
74168 cat >>confdefs.h <<_ACEOF
74169 #define HAVE_FABSF 1
74170 _ACEOF
74173 done
74175 else
74177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74178 $as_echo_n "checking for _fabsf declaration... " >&6; }
74179 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74180 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74181 $as_echo_n "(cached) " >&6
74182 else
74185 ac_ext=cpp
74186 ac_cpp='$CXXCPP $CPPFLAGS'
74187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74192 /* end confdefs.h. */
74193 #include <math.h>
74194 #ifdef HAVE_IEEEFP_H
74195 #include <ieeefp.h>
74196 #endif
74199 main ()
74201 _fabsf(0);
74203 return 0;
74205 _ACEOF
74206 if ac_fn_cxx_try_compile "$LINENO"; then :
74207 glibcxx_cv_func__fabsf_use=yes
74208 else
74209 glibcxx_cv_func__fabsf_use=no
74211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74212 ac_ext=c
74213 ac_cpp='$CPP $CPPFLAGS'
74214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74223 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74225 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74226 for ac_func in _fabsf
74227 do :
74228 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74229 if test "x$ac_cv_func__fabsf" = x""yes; then :
74230 cat >>confdefs.h <<_ACEOF
74231 #define HAVE__FABSF 1
74232 _ACEOF
74235 done
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74245 $as_echo_n "checking for fmodf declaration... " >&6; }
74246 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74247 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74248 $as_echo_n "(cached) " >&6
74249 else
74252 ac_ext=cpp
74253 ac_cpp='$CXXCPP $CPPFLAGS'
74254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74259 /* end confdefs.h. */
74260 #include <math.h>
74262 main ()
74264 fmodf(0, 0);
74266 return 0;
74268 _ACEOF
74269 if ac_fn_cxx_try_compile "$LINENO"; then :
74270 glibcxx_cv_func_fmodf_use=yes
74271 else
74272 glibcxx_cv_func_fmodf_use=no
74274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74275 ac_ext=c
74276 ac_cpp='$CPP $CPPFLAGS'
74277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74286 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74288 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74289 for ac_func in fmodf
74290 do :
74291 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74292 if test "x$ac_cv_func_fmodf" = x""yes; then :
74293 cat >>confdefs.h <<_ACEOF
74294 #define HAVE_FMODF 1
74295 _ACEOF
74298 done
74300 else
74302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74303 $as_echo_n "checking for _fmodf declaration... " >&6; }
74304 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74305 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74306 $as_echo_n "(cached) " >&6
74307 else
74310 ac_ext=cpp
74311 ac_cpp='$CXXCPP $CPPFLAGS'
74312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74317 /* end confdefs.h. */
74318 #include <math.h>
74320 main ()
74322 _fmodf(0, 0);
74324 return 0;
74326 _ACEOF
74327 if ac_fn_cxx_try_compile "$LINENO"; then :
74328 glibcxx_cv_func__fmodf_use=yes
74329 else
74330 glibcxx_cv_func__fmodf_use=no
74332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74333 ac_ext=c
74334 ac_cpp='$CPP $CPPFLAGS'
74335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74344 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74346 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74347 for ac_func in _fmodf
74348 do :
74349 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74350 if test "x$ac_cv_func__fmodf" = x""yes; then :
74351 cat >>confdefs.h <<_ACEOF
74352 #define HAVE__FMODF 1
74353 _ACEOF
74356 done
74365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74366 $as_echo_n "checking for frexpf declaration... " >&6; }
74367 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74368 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74369 $as_echo_n "(cached) " >&6
74370 else
74373 ac_ext=cpp
74374 ac_cpp='$CXXCPP $CPPFLAGS'
74375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74380 /* end confdefs.h. */
74381 #include <math.h>
74383 main ()
74385 frexpf(0, 0);
74387 return 0;
74389 _ACEOF
74390 if ac_fn_cxx_try_compile "$LINENO"; then :
74391 glibcxx_cv_func_frexpf_use=yes
74392 else
74393 glibcxx_cv_func_frexpf_use=no
74395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74396 ac_ext=c
74397 ac_cpp='$CPP $CPPFLAGS'
74398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74407 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74409 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74410 for ac_func in frexpf
74411 do :
74412 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74413 if test "x$ac_cv_func_frexpf" = x""yes; then :
74414 cat >>confdefs.h <<_ACEOF
74415 #define HAVE_FREXPF 1
74416 _ACEOF
74419 done
74421 else
74423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74424 $as_echo_n "checking for _frexpf declaration... " >&6; }
74425 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74426 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74427 $as_echo_n "(cached) " >&6
74428 else
74431 ac_ext=cpp
74432 ac_cpp='$CXXCPP $CPPFLAGS'
74433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74438 /* end confdefs.h. */
74439 #include <math.h>
74441 main ()
74443 _frexpf(0, 0);
74445 return 0;
74447 _ACEOF
74448 if ac_fn_cxx_try_compile "$LINENO"; then :
74449 glibcxx_cv_func__frexpf_use=yes
74450 else
74451 glibcxx_cv_func__frexpf_use=no
74453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74454 ac_ext=c
74455 ac_cpp='$CPP $CPPFLAGS'
74456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74465 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74467 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74468 for ac_func in _frexpf
74469 do :
74470 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74471 if test "x$ac_cv_func__frexpf" = x""yes; then :
74472 cat >>confdefs.h <<_ACEOF
74473 #define HAVE__FREXPF 1
74474 _ACEOF
74477 done
74486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74487 $as_echo_n "checking for hypotf declaration... " >&6; }
74488 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74489 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74490 $as_echo_n "(cached) " >&6
74491 else
74494 ac_ext=cpp
74495 ac_cpp='$CXXCPP $CPPFLAGS'
74496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74501 /* end confdefs.h. */
74502 #include <math.h>
74504 main ()
74506 hypotf(0, 0);
74508 return 0;
74510 _ACEOF
74511 if ac_fn_cxx_try_compile "$LINENO"; then :
74512 glibcxx_cv_func_hypotf_use=yes
74513 else
74514 glibcxx_cv_func_hypotf_use=no
74516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74517 ac_ext=c
74518 ac_cpp='$CPP $CPPFLAGS'
74519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74528 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74530 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74531 for ac_func in hypotf
74532 do :
74533 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74534 if test "x$ac_cv_func_hypotf" = x""yes; then :
74535 cat >>confdefs.h <<_ACEOF
74536 #define HAVE_HYPOTF 1
74537 _ACEOF
74540 done
74542 else
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74545 $as_echo_n "checking for _hypotf declaration... " >&6; }
74546 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74547 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74548 $as_echo_n "(cached) " >&6
74549 else
74552 ac_ext=cpp
74553 ac_cpp='$CXXCPP $CPPFLAGS'
74554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74559 /* end confdefs.h. */
74560 #include <math.h>
74562 main ()
74564 _hypotf(0, 0);
74566 return 0;
74568 _ACEOF
74569 if ac_fn_cxx_try_compile "$LINENO"; then :
74570 glibcxx_cv_func__hypotf_use=yes
74571 else
74572 glibcxx_cv_func__hypotf_use=no
74574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74575 ac_ext=c
74576 ac_cpp='$CPP $CPPFLAGS'
74577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74586 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74588 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74589 for ac_func in _hypotf
74590 do :
74591 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74592 if test "x$ac_cv_func__hypotf" = x""yes; then :
74593 cat >>confdefs.h <<_ACEOF
74594 #define HAVE__HYPOTF 1
74595 _ACEOF
74598 done
74607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74608 $as_echo_n "checking for ldexpf declaration... " >&6; }
74609 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74610 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74611 $as_echo_n "(cached) " >&6
74612 else
74615 ac_ext=cpp
74616 ac_cpp='$CXXCPP $CPPFLAGS'
74617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74622 /* end confdefs.h. */
74623 #include <math.h>
74625 main ()
74627 ldexpf(0, 0);
74629 return 0;
74631 _ACEOF
74632 if ac_fn_cxx_try_compile "$LINENO"; then :
74633 glibcxx_cv_func_ldexpf_use=yes
74634 else
74635 glibcxx_cv_func_ldexpf_use=no
74637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74638 ac_ext=c
74639 ac_cpp='$CPP $CPPFLAGS'
74640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74649 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74651 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74652 for ac_func in ldexpf
74653 do :
74654 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74655 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74656 cat >>confdefs.h <<_ACEOF
74657 #define HAVE_LDEXPF 1
74658 _ACEOF
74661 done
74663 else
74665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74666 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74667 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74668 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74669 $as_echo_n "(cached) " >&6
74670 else
74673 ac_ext=cpp
74674 ac_cpp='$CXXCPP $CPPFLAGS'
74675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74680 /* end confdefs.h. */
74681 #include <math.h>
74683 main ()
74685 _ldexpf(0, 0);
74687 return 0;
74689 _ACEOF
74690 if ac_fn_cxx_try_compile "$LINENO"; then :
74691 glibcxx_cv_func__ldexpf_use=yes
74692 else
74693 glibcxx_cv_func__ldexpf_use=no
74695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74696 ac_ext=c
74697 ac_cpp='$CPP $CPPFLAGS'
74698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74707 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74709 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74710 for ac_func in _ldexpf
74711 do :
74712 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74713 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74714 cat >>confdefs.h <<_ACEOF
74715 #define HAVE__LDEXPF 1
74716 _ACEOF
74719 done
74728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74729 $as_echo_n "checking for logf declaration... " >&6; }
74730 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74731 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74732 $as_echo_n "(cached) " >&6
74733 else
74736 ac_ext=cpp
74737 ac_cpp='$CXXCPP $CPPFLAGS'
74738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74743 /* end confdefs.h. */
74744 #include <math.h>
74745 #ifdef HAVE_IEEEFP_H
74746 #include <ieeefp.h>
74747 #endif
74750 main ()
74752 logf(0);
74754 return 0;
74756 _ACEOF
74757 if ac_fn_cxx_try_compile "$LINENO"; then :
74758 glibcxx_cv_func_logf_use=yes
74759 else
74760 glibcxx_cv_func_logf_use=no
74762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74763 ac_ext=c
74764 ac_cpp='$CPP $CPPFLAGS'
74765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74774 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74776 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74777 for ac_func in logf
74778 do :
74779 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74780 if test "x$ac_cv_func_logf" = x""yes; then :
74781 cat >>confdefs.h <<_ACEOF
74782 #define HAVE_LOGF 1
74783 _ACEOF
74786 done
74788 else
74790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74791 $as_echo_n "checking for _logf declaration... " >&6; }
74792 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74793 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74794 $as_echo_n "(cached) " >&6
74795 else
74798 ac_ext=cpp
74799 ac_cpp='$CXXCPP $CPPFLAGS'
74800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74805 /* end confdefs.h. */
74806 #include <math.h>
74807 #ifdef HAVE_IEEEFP_H
74808 #include <ieeefp.h>
74809 #endif
74812 main ()
74814 _logf(0);
74816 return 0;
74818 _ACEOF
74819 if ac_fn_cxx_try_compile "$LINENO"; then :
74820 glibcxx_cv_func__logf_use=yes
74821 else
74822 glibcxx_cv_func__logf_use=no
74824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74825 ac_ext=c
74826 ac_cpp='$CPP $CPPFLAGS'
74827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74836 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74838 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74839 for ac_func in _logf
74840 do :
74841 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74842 if test "x$ac_cv_func__logf" = x""yes; then :
74843 cat >>confdefs.h <<_ACEOF
74844 #define HAVE__LOGF 1
74845 _ACEOF
74848 done
74857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74858 $as_echo_n "checking for log10f declaration... " >&6; }
74859 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74860 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74861 $as_echo_n "(cached) " >&6
74862 else
74865 ac_ext=cpp
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74872 /* end confdefs.h. */
74873 #include <math.h>
74874 #ifdef HAVE_IEEEFP_H
74875 #include <ieeefp.h>
74876 #endif
74879 main ()
74881 log10f(0);
74883 return 0;
74885 _ACEOF
74886 if ac_fn_cxx_try_compile "$LINENO"; then :
74887 glibcxx_cv_func_log10f_use=yes
74888 else
74889 glibcxx_cv_func_log10f_use=no
74891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74892 ac_ext=c
74893 ac_cpp='$CPP $CPPFLAGS'
74894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74903 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74905 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74906 for ac_func in log10f
74907 do :
74908 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74909 if test "x$ac_cv_func_log10f" = x""yes; then :
74910 cat >>confdefs.h <<_ACEOF
74911 #define HAVE_LOG10F 1
74912 _ACEOF
74915 done
74917 else
74919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74920 $as_echo_n "checking for _log10f declaration... " >&6; }
74921 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74922 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74923 $as_echo_n "(cached) " >&6
74924 else
74927 ac_ext=cpp
74928 ac_cpp='$CXXCPP $CPPFLAGS'
74929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74934 /* end confdefs.h. */
74935 #include <math.h>
74936 #ifdef HAVE_IEEEFP_H
74937 #include <ieeefp.h>
74938 #endif
74941 main ()
74943 _log10f(0);
74945 return 0;
74947 _ACEOF
74948 if ac_fn_cxx_try_compile "$LINENO"; then :
74949 glibcxx_cv_func__log10f_use=yes
74950 else
74951 glibcxx_cv_func__log10f_use=no
74953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74954 ac_ext=c
74955 ac_cpp='$CPP $CPPFLAGS'
74956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74965 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74967 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74968 for ac_func in _log10f
74969 do :
74970 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74971 if test "x$ac_cv_func__log10f" = x""yes; then :
74972 cat >>confdefs.h <<_ACEOF
74973 #define HAVE__LOG10F 1
74974 _ACEOF
74977 done
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74987 $as_echo_n "checking for modff declaration... " >&6; }
74988 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74989 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74990 $as_echo_n "(cached) " >&6
74991 else
74994 ac_ext=cpp
74995 ac_cpp='$CXXCPP $CPPFLAGS'
74996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75001 /* end confdefs.h. */
75002 #include <math.h>
75004 main ()
75006 modff(0, 0);
75008 return 0;
75010 _ACEOF
75011 if ac_fn_cxx_try_compile "$LINENO"; then :
75012 glibcxx_cv_func_modff_use=yes
75013 else
75014 glibcxx_cv_func_modff_use=no
75016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75017 ac_ext=c
75018 ac_cpp='$CPP $CPPFLAGS'
75019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75028 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75030 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75031 for ac_func in modff
75032 do :
75033 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75034 if test "x$ac_cv_func_modff" = x""yes; then :
75035 cat >>confdefs.h <<_ACEOF
75036 #define HAVE_MODFF 1
75037 _ACEOF
75040 done
75042 else
75044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75045 $as_echo_n "checking for _modff declaration... " >&6; }
75046 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75047 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75048 $as_echo_n "(cached) " >&6
75049 else
75052 ac_ext=cpp
75053 ac_cpp='$CXXCPP $CPPFLAGS'
75054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75059 /* end confdefs.h. */
75060 #include <math.h>
75062 main ()
75064 _modff(0, 0);
75066 return 0;
75068 _ACEOF
75069 if ac_fn_cxx_try_compile "$LINENO"; then :
75070 glibcxx_cv_func__modff_use=yes
75071 else
75072 glibcxx_cv_func__modff_use=no
75074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75075 ac_ext=c
75076 ac_cpp='$CPP $CPPFLAGS'
75077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75086 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75088 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75089 for ac_func in _modff
75090 do :
75091 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75092 if test "x$ac_cv_func__modff" = x""yes; then :
75093 cat >>confdefs.h <<_ACEOF
75094 #define HAVE__MODFF 1
75095 _ACEOF
75098 done
75107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75108 $as_echo_n "checking for modf declaration... " >&6; }
75109 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75110 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75111 $as_echo_n "(cached) " >&6
75112 else
75115 ac_ext=cpp
75116 ac_cpp='$CXXCPP $CPPFLAGS'
75117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75122 /* end confdefs.h. */
75123 #include <math.h>
75125 main ()
75127 modf(0, 0);
75129 return 0;
75131 _ACEOF
75132 if ac_fn_cxx_try_compile "$LINENO"; then :
75133 glibcxx_cv_func_modf_use=yes
75134 else
75135 glibcxx_cv_func_modf_use=no
75137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75138 ac_ext=c
75139 ac_cpp='$CPP $CPPFLAGS'
75140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75149 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75151 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75152 for ac_func in modf
75153 do :
75154 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75155 if test "x$ac_cv_func_modf" = x""yes; then :
75156 cat >>confdefs.h <<_ACEOF
75157 #define HAVE_MODF 1
75158 _ACEOF
75161 done
75163 else
75165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75166 $as_echo_n "checking for _modf declaration... " >&6; }
75167 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75168 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75169 $as_echo_n "(cached) " >&6
75170 else
75173 ac_ext=cpp
75174 ac_cpp='$CXXCPP $CPPFLAGS'
75175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75180 /* end confdefs.h. */
75181 #include <math.h>
75183 main ()
75185 _modf(0, 0);
75187 return 0;
75189 _ACEOF
75190 if ac_fn_cxx_try_compile "$LINENO"; then :
75191 glibcxx_cv_func__modf_use=yes
75192 else
75193 glibcxx_cv_func__modf_use=no
75195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75196 ac_ext=c
75197 ac_cpp='$CPP $CPPFLAGS'
75198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75207 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75209 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75210 for ac_func in _modf
75211 do :
75212 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75213 if test "x$ac_cv_func__modf" = x""yes; then :
75214 cat >>confdefs.h <<_ACEOF
75215 #define HAVE__MODF 1
75216 _ACEOF
75219 done
75228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75229 $as_echo_n "checking for powf declaration... " >&6; }
75230 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75231 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75232 $as_echo_n "(cached) " >&6
75233 else
75236 ac_ext=cpp
75237 ac_cpp='$CXXCPP $CPPFLAGS'
75238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75243 /* end confdefs.h. */
75244 #include <math.h>
75246 main ()
75248 powf(0, 0);
75250 return 0;
75252 _ACEOF
75253 if ac_fn_cxx_try_compile "$LINENO"; then :
75254 glibcxx_cv_func_powf_use=yes
75255 else
75256 glibcxx_cv_func_powf_use=no
75258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75259 ac_ext=c
75260 ac_cpp='$CPP $CPPFLAGS'
75261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75270 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75272 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75273 for ac_func in powf
75274 do :
75275 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75276 if test "x$ac_cv_func_powf" = x""yes; then :
75277 cat >>confdefs.h <<_ACEOF
75278 #define HAVE_POWF 1
75279 _ACEOF
75282 done
75284 else
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75287 $as_echo_n "checking for _powf declaration... " >&6; }
75288 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75289 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75290 $as_echo_n "(cached) " >&6
75291 else
75294 ac_ext=cpp
75295 ac_cpp='$CXXCPP $CPPFLAGS'
75296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75301 /* end confdefs.h. */
75302 #include <math.h>
75304 main ()
75306 _powf(0, 0);
75308 return 0;
75310 _ACEOF
75311 if ac_fn_cxx_try_compile "$LINENO"; then :
75312 glibcxx_cv_func__powf_use=yes
75313 else
75314 glibcxx_cv_func__powf_use=no
75316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75317 ac_ext=c
75318 ac_cpp='$CPP $CPPFLAGS'
75319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75328 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75330 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75331 for ac_func in _powf
75332 do :
75333 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75334 if test "x$ac_cv_func__powf" = x""yes; then :
75335 cat >>confdefs.h <<_ACEOF
75336 #define HAVE__POWF 1
75337 _ACEOF
75340 done
75349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75350 $as_echo_n "checking for sqrtf declaration... " >&6; }
75351 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75352 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75353 $as_echo_n "(cached) " >&6
75354 else
75357 ac_ext=cpp
75358 ac_cpp='$CXXCPP $CPPFLAGS'
75359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75364 /* end confdefs.h. */
75365 #include <math.h>
75366 #ifdef HAVE_IEEEFP_H
75367 #include <ieeefp.h>
75368 #endif
75371 main ()
75373 sqrtf(0);
75375 return 0;
75377 _ACEOF
75378 if ac_fn_cxx_try_compile "$LINENO"; then :
75379 glibcxx_cv_func_sqrtf_use=yes
75380 else
75381 glibcxx_cv_func_sqrtf_use=no
75383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75384 ac_ext=c
75385 ac_cpp='$CPP $CPPFLAGS'
75386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75395 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75397 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75398 for ac_func in sqrtf
75399 do :
75400 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75401 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75402 cat >>confdefs.h <<_ACEOF
75403 #define HAVE_SQRTF 1
75404 _ACEOF
75407 done
75409 else
75411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75412 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75413 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75414 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75415 $as_echo_n "(cached) " >&6
75416 else
75419 ac_ext=cpp
75420 ac_cpp='$CXXCPP $CPPFLAGS'
75421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75426 /* end confdefs.h. */
75427 #include <math.h>
75428 #ifdef HAVE_IEEEFP_H
75429 #include <ieeefp.h>
75430 #endif
75433 main ()
75435 _sqrtf(0);
75437 return 0;
75439 _ACEOF
75440 if ac_fn_cxx_try_compile "$LINENO"; then :
75441 glibcxx_cv_func__sqrtf_use=yes
75442 else
75443 glibcxx_cv_func__sqrtf_use=no
75445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75446 ac_ext=c
75447 ac_cpp='$CPP $CPPFLAGS'
75448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75457 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75459 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75460 for ac_func in _sqrtf
75461 do :
75462 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75463 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75464 cat >>confdefs.h <<_ACEOF
75465 #define HAVE__SQRTF 1
75466 _ACEOF
75469 done
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75479 $as_echo_n "checking for sincosf declaration... " >&6; }
75480 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75481 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75482 $as_echo_n "(cached) " >&6
75483 else
75486 ac_ext=cpp
75487 ac_cpp='$CXXCPP $CPPFLAGS'
75488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75493 /* end confdefs.h. */
75494 #include <math.h>
75496 main ()
75498 sincosf(0, 0, 0);
75500 return 0;
75502 _ACEOF
75503 if ac_fn_cxx_try_compile "$LINENO"; then :
75504 glibcxx_cv_func_sincosf_use=yes
75505 else
75506 glibcxx_cv_func_sincosf_use=no
75508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75509 ac_ext=c
75510 ac_cpp='$CPP $CPPFLAGS'
75511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75520 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75522 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75523 for ac_func in sincosf
75524 do :
75525 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75526 if test "x$ac_cv_func_sincosf" = x""yes; then :
75527 cat >>confdefs.h <<_ACEOF
75528 #define HAVE_SINCOSF 1
75529 _ACEOF
75532 done
75534 else
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75537 $as_echo_n "checking for _sincosf declaration... " >&6; }
75538 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75539 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75540 $as_echo_n "(cached) " >&6
75541 else
75544 ac_ext=cpp
75545 ac_cpp='$CXXCPP $CPPFLAGS'
75546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75551 /* end confdefs.h. */
75552 #include <math.h>
75554 main ()
75556 _sincosf(0, 0, 0);
75558 return 0;
75560 _ACEOF
75561 if ac_fn_cxx_try_compile "$LINENO"; then :
75562 glibcxx_cv_func__sincosf_use=yes
75563 else
75564 glibcxx_cv_func__sincosf_use=no
75566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75567 ac_ext=c
75568 ac_cpp='$CPP $CPPFLAGS'
75569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75578 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75580 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75581 for ac_func in _sincosf
75582 do :
75583 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75584 if test "x$ac_cv_func__sincosf" = x""yes; then :
75585 cat >>confdefs.h <<_ACEOF
75586 #define HAVE__SINCOSF 1
75587 _ACEOF
75590 done
75599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75600 $as_echo_n "checking for finitef declaration... " >&6; }
75601 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75602 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75603 $as_echo_n "(cached) " >&6
75604 else
75607 ac_ext=cpp
75608 ac_cpp='$CXXCPP $CPPFLAGS'
75609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75614 /* end confdefs.h. */
75615 #include <math.h>
75616 #ifdef HAVE_IEEEFP_H
75617 #include <ieeefp.h>
75618 #endif
75621 main ()
75623 finitef(0);
75625 return 0;
75627 _ACEOF
75628 if ac_fn_cxx_try_compile "$LINENO"; then :
75629 glibcxx_cv_func_finitef_use=yes
75630 else
75631 glibcxx_cv_func_finitef_use=no
75633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75634 ac_ext=c
75635 ac_cpp='$CPP $CPPFLAGS'
75636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75645 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75647 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75648 for ac_func in finitef
75649 do :
75650 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75651 if test "x$ac_cv_func_finitef" = x""yes; then :
75652 cat >>confdefs.h <<_ACEOF
75653 #define HAVE_FINITEF 1
75654 _ACEOF
75657 done
75659 else
75661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75662 $as_echo_n "checking for _finitef declaration... " >&6; }
75663 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75664 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75665 $as_echo_n "(cached) " >&6
75666 else
75669 ac_ext=cpp
75670 ac_cpp='$CXXCPP $CPPFLAGS'
75671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75676 /* end confdefs.h. */
75677 #include <math.h>
75678 #ifdef HAVE_IEEEFP_H
75679 #include <ieeefp.h>
75680 #endif
75683 main ()
75685 _finitef(0);
75687 return 0;
75689 _ACEOF
75690 if ac_fn_cxx_try_compile "$LINENO"; then :
75691 glibcxx_cv_func__finitef_use=yes
75692 else
75693 glibcxx_cv_func__finitef_use=no
75695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75696 ac_ext=c
75697 ac_cpp='$CPP $CPPFLAGS'
75698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75707 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75709 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75710 for ac_func in _finitef
75711 do :
75712 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75713 if test "x$ac_cv_func__finitef" = x""yes; then :
75714 cat >>confdefs.h <<_ACEOF
75715 #define HAVE__FINITEF 1
75716 _ACEOF
75719 done
75728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75729 $as_echo_n "checking for long double trig functions... " >&6; }
75730 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75731 $as_echo_n "(cached) " >&6
75732 else
75735 ac_ext=cpp
75736 ac_cpp='$CXXCPP $CPPFLAGS'
75737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75742 /* end confdefs.h. */
75743 #include <math.h>
75745 main ()
75747 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75749 return 0;
75751 _ACEOF
75752 if ac_fn_cxx_try_compile "$LINENO"; then :
75753 glibcxx_cv_func_long_double_trig_use=yes
75754 else
75755 glibcxx_cv_func_long_double_trig_use=no
75757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75758 ac_ext=c
75759 ac_cpp='$CPP $CPPFLAGS'
75760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75767 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75768 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75769 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75770 do :
75771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75773 eval as_val=\$$as_ac_var
75774 if test "x$as_val" = x""yes; then :
75775 cat >>confdefs.h <<_ACEOF
75776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75777 _ACEOF
75780 done
75782 else
75783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75784 $as_echo_n "checking for _long double trig functions... " >&6; }
75785 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75786 $as_echo_n "(cached) " >&6
75787 else
75790 ac_ext=cpp
75791 ac_cpp='$CXXCPP $CPPFLAGS'
75792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75797 /* end confdefs.h. */
75798 #include <math.h>
75800 main ()
75802 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75804 return 0;
75806 _ACEOF
75807 if ac_fn_cxx_try_compile "$LINENO"; then :
75808 glibcxx_cv_func__long_double_trig_use=yes
75809 else
75810 glibcxx_cv_func__long_double_trig_use=no
75812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75813 ac_ext=c
75814 ac_cpp='$CPP $CPPFLAGS'
75815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75822 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75823 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75824 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75825 do :
75826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75828 eval as_val=\$$as_ac_var
75829 if test "x$as_val" = x""yes; then :
75830 cat >>confdefs.h <<_ACEOF
75831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75832 _ACEOF
75835 done
75844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75845 $as_echo_n "checking for long double round functions... " >&6; }
75846 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75847 $as_echo_n "(cached) " >&6
75848 else
75851 ac_ext=cpp
75852 ac_cpp='$CXXCPP $CPPFLAGS'
75853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75858 /* end confdefs.h. */
75859 #include <math.h>
75861 main ()
75863 ceill (0); floorl (0);
75865 return 0;
75867 _ACEOF
75868 if ac_fn_cxx_try_compile "$LINENO"; then :
75869 glibcxx_cv_func_long_double_round_use=yes
75870 else
75871 glibcxx_cv_func_long_double_round_use=no
75873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75874 ac_ext=c
75875 ac_cpp='$CPP $CPPFLAGS'
75876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75883 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75884 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75885 for ac_func in ceill floorl
75886 do :
75887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75889 eval as_val=\$$as_ac_var
75890 if test "x$as_val" = x""yes; then :
75891 cat >>confdefs.h <<_ACEOF
75892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75893 _ACEOF
75896 done
75898 else
75899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75900 $as_echo_n "checking for _long double round functions... " >&6; }
75901 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75902 $as_echo_n "(cached) " >&6
75903 else
75906 ac_ext=cpp
75907 ac_cpp='$CXXCPP $CPPFLAGS'
75908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75913 /* end confdefs.h. */
75914 #include <math.h>
75916 main ()
75918 _ceill (0); _floorl (0);
75920 return 0;
75922 _ACEOF
75923 if ac_fn_cxx_try_compile "$LINENO"; then :
75924 glibcxx_cv_func__long_double_round_use=yes
75925 else
75926 glibcxx_cv_func__long_double_round_use=no
75928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75929 ac_ext=c
75930 ac_cpp='$CPP $CPPFLAGS'
75931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75938 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75939 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75940 for ac_func in _ceill _floorl
75941 do :
75942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75944 eval as_val=\$$as_ac_var
75945 if test "x$as_val" = x""yes; then :
75946 cat >>confdefs.h <<_ACEOF
75947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75948 _ACEOF
75951 done
75961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75962 $as_echo_n "checking for isnanl declaration... " >&6; }
75963 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75964 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75965 $as_echo_n "(cached) " >&6
75966 else
75969 ac_ext=cpp
75970 ac_cpp='$CXXCPP $CPPFLAGS'
75971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75976 /* end confdefs.h. */
75977 #include <math.h>
75978 #ifdef HAVE_IEEEFP_H
75979 #include <ieeefp.h>
75980 #endif
75983 main ()
75985 isnanl(0);
75987 return 0;
75989 _ACEOF
75990 if ac_fn_cxx_try_compile "$LINENO"; then :
75991 glibcxx_cv_func_isnanl_use=yes
75992 else
75993 glibcxx_cv_func_isnanl_use=no
75995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75996 ac_ext=c
75997 ac_cpp='$CPP $CPPFLAGS'
75998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76007 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76009 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76010 for ac_func in isnanl
76011 do :
76012 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76013 if test "x$ac_cv_func_isnanl" = x""yes; then :
76014 cat >>confdefs.h <<_ACEOF
76015 #define HAVE_ISNANL 1
76016 _ACEOF
76019 done
76021 else
76023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76024 $as_echo_n "checking for _isnanl declaration... " >&6; }
76025 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76026 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76027 $as_echo_n "(cached) " >&6
76028 else
76031 ac_ext=cpp
76032 ac_cpp='$CXXCPP $CPPFLAGS'
76033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76038 /* end confdefs.h. */
76039 #include <math.h>
76040 #ifdef HAVE_IEEEFP_H
76041 #include <ieeefp.h>
76042 #endif
76045 main ()
76047 _isnanl(0);
76049 return 0;
76051 _ACEOF
76052 if ac_fn_cxx_try_compile "$LINENO"; then :
76053 glibcxx_cv_func__isnanl_use=yes
76054 else
76055 glibcxx_cv_func__isnanl_use=no
76057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76058 ac_ext=c
76059 ac_cpp='$CPP $CPPFLAGS'
76060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76069 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76071 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76072 for ac_func in _isnanl
76073 do :
76074 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76075 if test "x$ac_cv_func__isnanl" = x""yes; then :
76076 cat >>confdefs.h <<_ACEOF
76077 #define HAVE__ISNANL 1
76078 _ACEOF
76081 done
76090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76091 $as_echo_n "checking for isinfl declaration... " >&6; }
76092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76093 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76094 $as_echo_n "(cached) " >&6
76095 else
76098 ac_ext=cpp
76099 ac_cpp='$CXXCPP $CPPFLAGS'
76100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76105 /* end confdefs.h. */
76106 #include <math.h>
76107 #ifdef HAVE_IEEEFP_H
76108 #include <ieeefp.h>
76109 #endif
76112 main ()
76114 isinfl(0);
76116 return 0;
76118 _ACEOF
76119 if ac_fn_cxx_try_compile "$LINENO"; then :
76120 glibcxx_cv_func_isinfl_use=yes
76121 else
76122 glibcxx_cv_func_isinfl_use=no
76124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76125 ac_ext=c
76126 ac_cpp='$CPP $CPPFLAGS'
76127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76136 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76138 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76139 for ac_func in isinfl
76140 do :
76141 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76142 if test "x$ac_cv_func_isinfl" = x""yes; then :
76143 cat >>confdefs.h <<_ACEOF
76144 #define HAVE_ISINFL 1
76145 _ACEOF
76148 done
76150 else
76152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76153 $as_echo_n "checking for _isinfl declaration... " >&6; }
76154 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76155 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76156 $as_echo_n "(cached) " >&6
76157 else
76160 ac_ext=cpp
76161 ac_cpp='$CXXCPP $CPPFLAGS'
76162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76167 /* end confdefs.h. */
76168 #include <math.h>
76169 #ifdef HAVE_IEEEFP_H
76170 #include <ieeefp.h>
76171 #endif
76174 main ()
76176 _isinfl(0);
76178 return 0;
76180 _ACEOF
76181 if ac_fn_cxx_try_compile "$LINENO"; then :
76182 glibcxx_cv_func__isinfl_use=yes
76183 else
76184 glibcxx_cv_func__isinfl_use=no
76186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76187 ac_ext=c
76188 ac_cpp='$CPP $CPPFLAGS'
76189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76198 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76200 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76201 for ac_func in _isinfl
76202 do :
76203 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76204 if test "x$ac_cv_func__isinfl" = x""yes; then :
76205 cat >>confdefs.h <<_ACEOF
76206 #define HAVE__ISINFL 1
76207 _ACEOF
76210 done
76219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76220 $as_echo_n "checking for atan2l declaration... " >&6; }
76221 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76222 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76223 $as_echo_n "(cached) " >&6
76224 else
76227 ac_ext=cpp
76228 ac_cpp='$CXXCPP $CPPFLAGS'
76229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76234 /* end confdefs.h. */
76235 #include <math.h>
76237 main ()
76239 atan2l(0, 0);
76241 return 0;
76243 _ACEOF
76244 if ac_fn_cxx_try_compile "$LINENO"; then :
76245 glibcxx_cv_func_atan2l_use=yes
76246 else
76247 glibcxx_cv_func_atan2l_use=no
76249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76250 ac_ext=c
76251 ac_cpp='$CPP $CPPFLAGS'
76252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76261 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76263 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76264 for ac_func in atan2l
76265 do :
76266 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76267 if test "x$ac_cv_func_atan2l" = x""yes; then :
76268 cat >>confdefs.h <<_ACEOF
76269 #define HAVE_ATAN2L 1
76270 _ACEOF
76273 done
76275 else
76277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76278 $as_echo_n "checking for _atan2l declaration... " >&6; }
76279 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76280 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76281 $as_echo_n "(cached) " >&6
76282 else
76285 ac_ext=cpp
76286 ac_cpp='$CXXCPP $CPPFLAGS'
76287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76292 /* end confdefs.h. */
76293 #include <math.h>
76295 main ()
76297 _atan2l(0, 0);
76299 return 0;
76301 _ACEOF
76302 if ac_fn_cxx_try_compile "$LINENO"; then :
76303 glibcxx_cv_func__atan2l_use=yes
76304 else
76305 glibcxx_cv_func__atan2l_use=no
76307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76308 ac_ext=c
76309 ac_cpp='$CPP $CPPFLAGS'
76310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76319 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76321 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76322 for ac_func in _atan2l
76323 do :
76324 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76325 if test "x$ac_cv_func__atan2l" = x""yes; then :
76326 cat >>confdefs.h <<_ACEOF
76327 #define HAVE__ATAN2L 1
76328 _ACEOF
76331 done
76340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76341 $as_echo_n "checking for expl declaration... " >&6; }
76342 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76343 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76344 $as_echo_n "(cached) " >&6
76345 else
76348 ac_ext=cpp
76349 ac_cpp='$CXXCPP $CPPFLAGS'
76350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76355 /* end confdefs.h. */
76356 #include <math.h>
76357 #ifdef HAVE_IEEEFP_H
76358 #include <ieeefp.h>
76359 #endif
76362 main ()
76364 expl(0);
76366 return 0;
76368 _ACEOF
76369 if ac_fn_cxx_try_compile "$LINENO"; then :
76370 glibcxx_cv_func_expl_use=yes
76371 else
76372 glibcxx_cv_func_expl_use=no
76374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76375 ac_ext=c
76376 ac_cpp='$CPP $CPPFLAGS'
76377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76386 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76388 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76389 for ac_func in expl
76390 do :
76391 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76392 if test "x$ac_cv_func_expl" = x""yes; then :
76393 cat >>confdefs.h <<_ACEOF
76394 #define HAVE_EXPL 1
76395 _ACEOF
76398 done
76400 else
76402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76403 $as_echo_n "checking for _expl declaration... " >&6; }
76404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76405 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76406 $as_echo_n "(cached) " >&6
76407 else
76410 ac_ext=cpp
76411 ac_cpp='$CXXCPP $CPPFLAGS'
76412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76417 /* end confdefs.h. */
76418 #include <math.h>
76419 #ifdef HAVE_IEEEFP_H
76420 #include <ieeefp.h>
76421 #endif
76424 main ()
76426 _expl(0);
76428 return 0;
76430 _ACEOF
76431 if ac_fn_cxx_try_compile "$LINENO"; then :
76432 glibcxx_cv_func__expl_use=yes
76433 else
76434 glibcxx_cv_func__expl_use=no
76436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76437 ac_ext=c
76438 ac_cpp='$CPP $CPPFLAGS'
76439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76448 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76451 for ac_func in _expl
76452 do :
76453 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76454 if test "x$ac_cv_func__expl" = x""yes; then :
76455 cat >>confdefs.h <<_ACEOF
76456 #define HAVE__EXPL 1
76457 _ACEOF
76460 done
76469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76470 $as_echo_n "checking for fabsl declaration... " >&6; }
76471 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76472 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76473 $as_echo_n "(cached) " >&6
76474 else
76477 ac_ext=cpp
76478 ac_cpp='$CXXCPP $CPPFLAGS'
76479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76484 /* end confdefs.h. */
76485 #include <math.h>
76486 #ifdef HAVE_IEEEFP_H
76487 #include <ieeefp.h>
76488 #endif
76491 main ()
76493 fabsl(0);
76495 return 0;
76497 _ACEOF
76498 if ac_fn_cxx_try_compile "$LINENO"; then :
76499 glibcxx_cv_func_fabsl_use=yes
76500 else
76501 glibcxx_cv_func_fabsl_use=no
76503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76504 ac_ext=c
76505 ac_cpp='$CPP $CPPFLAGS'
76506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76515 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76517 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76518 for ac_func in fabsl
76519 do :
76520 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76521 if test "x$ac_cv_func_fabsl" = x""yes; then :
76522 cat >>confdefs.h <<_ACEOF
76523 #define HAVE_FABSL 1
76524 _ACEOF
76527 done
76529 else
76531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76532 $as_echo_n "checking for _fabsl declaration... " >&6; }
76533 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76534 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76535 $as_echo_n "(cached) " >&6
76536 else
76539 ac_ext=cpp
76540 ac_cpp='$CXXCPP $CPPFLAGS'
76541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76546 /* end confdefs.h. */
76547 #include <math.h>
76548 #ifdef HAVE_IEEEFP_H
76549 #include <ieeefp.h>
76550 #endif
76553 main ()
76555 _fabsl(0);
76557 return 0;
76559 _ACEOF
76560 if ac_fn_cxx_try_compile "$LINENO"; then :
76561 glibcxx_cv_func__fabsl_use=yes
76562 else
76563 glibcxx_cv_func__fabsl_use=no
76565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76566 ac_ext=c
76567 ac_cpp='$CPP $CPPFLAGS'
76568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76577 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76579 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76580 for ac_func in _fabsl
76581 do :
76582 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76583 if test "x$ac_cv_func__fabsl" = x""yes; then :
76584 cat >>confdefs.h <<_ACEOF
76585 #define HAVE__FABSL 1
76586 _ACEOF
76589 done
76598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76599 $as_echo_n "checking for fmodl declaration... " >&6; }
76600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76601 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76602 $as_echo_n "(cached) " >&6
76603 else
76606 ac_ext=cpp
76607 ac_cpp='$CXXCPP $CPPFLAGS'
76608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76613 /* end confdefs.h. */
76614 #include <math.h>
76616 main ()
76618 fmodl(0, 0);
76620 return 0;
76622 _ACEOF
76623 if ac_fn_cxx_try_compile "$LINENO"; then :
76624 glibcxx_cv_func_fmodl_use=yes
76625 else
76626 glibcxx_cv_func_fmodl_use=no
76628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76629 ac_ext=c
76630 ac_cpp='$CPP $CPPFLAGS'
76631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76640 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76642 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76643 for ac_func in fmodl
76644 do :
76645 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76646 if test "x$ac_cv_func_fmodl" = x""yes; then :
76647 cat >>confdefs.h <<_ACEOF
76648 #define HAVE_FMODL 1
76649 _ACEOF
76652 done
76654 else
76656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76657 $as_echo_n "checking for _fmodl declaration... " >&6; }
76658 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76659 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76660 $as_echo_n "(cached) " >&6
76661 else
76664 ac_ext=cpp
76665 ac_cpp='$CXXCPP $CPPFLAGS'
76666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76671 /* end confdefs.h. */
76672 #include <math.h>
76674 main ()
76676 _fmodl(0, 0);
76678 return 0;
76680 _ACEOF
76681 if ac_fn_cxx_try_compile "$LINENO"; then :
76682 glibcxx_cv_func__fmodl_use=yes
76683 else
76684 glibcxx_cv_func__fmodl_use=no
76686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76687 ac_ext=c
76688 ac_cpp='$CPP $CPPFLAGS'
76689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76698 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76700 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76701 for ac_func in _fmodl
76702 do :
76703 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76704 if test "x$ac_cv_func__fmodl" = x""yes; then :
76705 cat >>confdefs.h <<_ACEOF
76706 #define HAVE__FMODL 1
76707 _ACEOF
76710 done
76719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76720 $as_echo_n "checking for frexpl declaration... " >&6; }
76721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76722 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76723 $as_echo_n "(cached) " >&6
76724 else
76727 ac_ext=cpp
76728 ac_cpp='$CXXCPP $CPPFLAGS'
76729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76734 /* end confdefs.h. */
76735 #include <math.h>
76737 main ()
76739 frexpl(0, 0);
76741 return 0;
76743 _ACEOF
76744 if ac_fn_cxx_try_compile "$LINENO"; then :
76745 glibcxx_cv_func_frexpl_use=yes
76746 else
76747 glibcxx_cv_func_frexpl_use=no
76749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76750 ac_ext=c
76751 ac_cpp='$CPP $CPPFLAGS'
76752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76761 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76764 for ac_func in frexpl
76765 do :
76766 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76767 if test "x$ac_cv_func_frexpl" = x""yes; then :
76768 cat >>confdefs.h <<_ACEOF
76769 #define HAVE_FREXPL 1
76770 _ACEOF
76773 done
76775 else
76777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76778 $as_echo_n "checking for _frexpl declaration... " >&6; }
76779 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76780 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76781 $as_echo_n "(cached) " >&6
76782 else
76785 ac_ext=cpp
76786 ac_cpp='$CXXCPP $CPPFLAGS'
76787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76792 /* end confdefs.h. */
76793 #include <math.h>
76795 main ()
76797 _frexpl(0, 0);
76799 return 0;
76801 _ACEOF
76802 if ac_fn_cxx_try_compile "$LINENO"; then :
76803 glibcxx_cv_func__frexpl_use=yes
76804 else
76805 glibcxx_cv_func__frexpl_use=no
76807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76808 ac_ext=c
76809 ac_cpp='$CPP $CPPFLAGS'
76810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76819 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76821 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76822 for ac_func in _frexpl
76823 do :
76824 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76825 if test "x$ac_cv_func__frexpl" = x""yes; then :
76826 cat >>confdefs.h <<_ACEOF
76827 #define HAVE__FREXPL 1
76828 _ACEOF
76831 done
76840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76841 $as_echo_n "checking for hypotl declaration... " >&6; }
76842 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76843 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76844 $as_echo_n "(cached) " >&6
76845 else
76848 ac_ext=cpp
76849 ac_cpp='$CXXCPP $CPPFLAGS'
76850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76855 /* end confdefs.h. */
76856 #include <math.h>
76858 main ()
76860 hypotl(0, 0);
76862 return 0;
76864 _ACEOF
76865 if ac_fn_cxx_try_compile "$LINENO"; then :
76866 glibcxx_cv_func_hypotl_use=yes
76867 else
76868 glibcxx_cv_func_hypotl_use=no
76870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76871 ac_ext=c
76872 ac_cpp='$CPP $CPPFLAGS'
76873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76882 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76884 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76885 for ac_func in hypotl
76886 do :
76887 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76888 if test "x$ac_cv_func_hypotl" = x""yes; then :
76889 cat >>confdefs.h <<_ACEOF
76890 #define HAVE_HYPOTL 1
76891 _ACEOF
76894 done
76896 else
76898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76899 $as_echo_n "checking for _hypotl declaration... " >&6; }
76900 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76901 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76902 $as_echo_n "(cached) " >&6
76903 else
76906 ac_ext=cpp
76907 ac_cpp='$CXXCPP $CPPFLAGS'
76908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76913 /* end confdefs.h. */
76914 #include <math.h>
76916 main ()
76918 _hypotl(0, 0);
76920 return 0;
76922 _ACEOF
76923 if ac_fn_cxx_try_compile "$LINENO"; then :
76924 glibcxx_cv_func__hypotl_use=yes
76925 else
76926 glibcxx_cv_func__hypotl_use=no
76928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76929 ac_ext=c
76930 ac_cpp='$CPP $CPPFLAGS'
76931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76940 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76942 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76943 for ac_func in _hypotl
76944 do :
76945 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76946 if test "x$ac_cv_func__hypotl" = x""yes; then :
76947 cat >>confdefs.h <<_ACEOF
76948 #define HAVE__HYPOTL 1
76949 _ACEOF
76952 done
76961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76962 $as_echo_n "checking for ldexpl declaration... " >&6; }
76963 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76964 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76965 $as_echo_n "(cached) " >&6
76966 else
76969 ac_ext=cpp
76970 ac_cpp='$CXXCPP $CPPFLAGS'
76971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76976 /* end confdefs.h. */
76977 #include <math.h>
76979 main ()
76981 ldexpl(0, 0);
76983 return 0;
76985 _ACEOF
76986 if ac_fn_cxx_try_compile "$LINENO"; then :
76987 glibcxx_cv_func_ldexpl_use=yes
76988 else
76989 glibcxx_cv_func_ldexpl_use=no
76991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76992 ac_ext=c
76993 ac_cpp='$CPP $CPPFLAGS'
76994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77003 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77006 for ac_func in ldexpl
77007 do :
77008 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77009 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77010 cat >>confdefs.h <<_ACEOF
77011 #define HAVE_LDEXPL 1
77012 _ACEOF
77015 done
77017 else
77019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77020 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77021 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77022 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77023 $as_echo_n "(cached) " >&6
77024 else
77027 ac_ext=cpp
77028 ac_cpp='$CXXCPP $CPPFLAGS'
77029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77034 /* end confdefs.h. */
77035 #include <math.h>
77037 main ()
77039 _ldexpl(0, 0);
77041 return 0;
77043 _ACEOF
77044 if ac_fn_cxx_try_compile "$LINENO"; then :
77045 glibcxx_cv_func__ldexpl_use=yes
77046 else
77047 glibcxx_cv_func__ldexpl_use=no
77049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77050 ac_ext=c
77051 ac_cpp='$CPP $CPPFLAGS'
77052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77061 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77063 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77064 for ac_func in _ldexpl
77065 do :
77066 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77067 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77068 cat >>confdefs.h <<_ACEOF
77069 #define HAVE__LDEXPL 1
77070 _ACEOF
77073 done
77082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77083 $as_echo_n "checking for logl declaration... " >&6; }
77084 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77085 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77086 $as_echo_n "(cached) " >&6
77087 else
77090 ac_ext=cpp
77091 ac_cpp='$CXXCPP $CPPFLAGS'
77092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77097 /* end confdefs.h. */
77098 #include <math.h>
77099 #ifdef HAVE_IEEEFP_H
77100 #include <ieeefp.h>
77101 #endif
77104 main ()
77106 logl(0);
77108 return 0;
77110 _ACEOF
77111 if ac_fn_cxx_try_compile "$LINENO"; then :
77112 glibcxx_cv_func_logl_use=yes
77113 else
77114 glibcxx_cv_func_logl_use=no
77116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77117 ac_ext=c
77118 ac_cpp='$CPP $CPPFLAGS'
77119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77128 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77130 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77131 for ac_func in logl
77132 do :
77133 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77134 if test "x$ac_cv_func_logl" = x""yes; then :
77135 cat >>confdefs.h <<_ACEOF
77136 #define HAVE_LOGL 1
77137 _ACEOF
77140 done
77142 else
77144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77145 $as_echo_n "checking for _logl declaration... " >&6; }
77146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77147 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77148 $as_echo_n "(cached) " >&6
77149 else
77152 ac_ext=cpp
77153 ac_cpp='$CXXCPP $CPPFLAGS'
77154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77159 /* end confdefs.h. */
77160 #include <math.h>
77161 #ifdef HAVE_IEEEFP_H
77162 #include <ieeefp.h>
77163 #endif
77166 main ()
77168 _logl(0);
77170 return 0;
77172 _ACEOF
77173 if ac_fn_cxx_try_compile "$LINENO"; then :
77174 glibcxx_cv_func__logl_use=yes
77175 else
77176 glibcxx_cv_func__logl_use=no
77178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77179 ac_ext=c
77180 ac_cpp='$CPP $CPPFLAGS'
77181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77190 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77192 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77193 for ac_func in _logl
77194 do :
77195 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77196 if test "x$ac_cv_func__logl" = x""yes; then :
77197 cat >>confdefs.h <<_ACEOF
77198 #define HAVE__LOGL 1
77199 _ACEOF
77202 done
77211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77212 $as_echo_n "checking for log10l declaration... " >&6; }
77213 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77214 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77215 $as_echo_n "(cached) " >&6
77216 else
77219 ac_ext=cpp
77220 ac_cpp='$CXXCPP $CPPFLAGS'
77221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77226 /* end confdefs.h. */
77227 #include <math.h>
77228 #ifdef HAVE_IEEEFP_H
77229 #include <ieeefp.h>
77230 #endif
77233 main ()
77235 log10l(0);
77237 return 0;
77239 _ACEOF
77240 if ac_fn_cxx_try_compile "$LINENO"; then :
77241 glibcxx_cv_func_log10l_use=yes
77242 else
77243 glibcxx_cv_func_log10l_use=no
77245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77246 ac_ext=c
77247 ac_cpp='$CPP $CPPFLAGS'
77248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77257 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77259 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77260 for ac_func in log10l
77261 do :
77262 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77263 if test "x$ac_cv_func_log10l" = x""yes; then :
77264 cat >>confdefs.h <<_ACEOF
77265 #define HAVE_LOG10L 1
77266 _ACEOF
77269 done
77271 else
77273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77274 $as_echo_n "checking for _log10l declaration... " >&6; }
77275 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77276 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77277 $as_echo_n "(cached) " >&6
77278 else
77281 ac_ext=cpp
77282 ac_cpp='$CXXCPP $CPPFLAGS'
77283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77288 /* end confdefs.h. */
77289 #include <math.h>
77290 #ifdef HAVE_IEEEFP_H
77291 #include <ieeefp.h>
77292 #endif
77295 main ()
77297 _log10l(0);
77299 return 0;
77301 _ACEOF
77302 if ac_fn_cxx_try_compile "$LINENO"; then :
77303 glibcxx_cv_func__log10l_use=yes
77304 else
77305 glibcxx_cv_func__log10l_use=no
77307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77308 ac_ext=c
77309 ac_cpp='$CPP $CPPFLAGS'
77310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77319 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77321 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77322 for ac_func in _log10l
77323 do :
77324 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77325 if test "x$ac_cv_func__log10l" = x""yes; then :
77326 cat >>confdefs.h <<_ACEOF
77327 #define HAVE__LOG10L 1
77328 _ACEOF
77331 done
77340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77341 $as_echo_n "checking for modfl declaration... " >&6; }
77342 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77343 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77344 $as_echo_n "(cached) " >&6
77345 else
77348 ac_ext=cpp
77349 ac_cpp='$CXXCPP $CPPFLAGS'
77350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77355 /* end confdefs.h. */
77356 #include <math.h>
77358 main ()
77360 modfl(0, 0);
77362 return 0;
77364 _ACEOF
77365 if ac_fn_cxx_try_compile "$LINENO"; then :
77366 glibcxx_cv_func_modfl_use=yes
77367 else
77368 glibcxx_cv_func_modfl_use=no
77370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77371 ac_ext=c
77372 ac_cpp='$CPP $CPPFLAGS'
77373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77382 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77384 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77385 for ac_func in modfl
77386 do :
77387 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77388 if test "x$ac_cv_func_modfl" = x""yes; then :
77389 cat >>confdefs.h <<_ACEOF
77390 #define HAVE_MODFL 1
77391 _ACEOF
77394 done
77396 else
77398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77399 $as_echo_n "checking for _modfl declaration... " >&6; }
77400 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77401 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77402 $as_echo_n "(cached) " >&6
77403 else
77406 ac_ext=cpp
77407 ac_cpp='$CXXCPP $CPPFLAGS'
77408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77413 /* end confdefs.h. */
77414 #include <math.h>
77416 main ()
77418 _modfl(0, 0);
77420 return 0;
77422 _ACEOF
77423 if ac_fn_cxx_try_compile "$LINENO"; then :
77424 glibcxx_cv_func__modfl_use=yes
77425 else
77426 glibcxx_cv_func__modfl_use=no
77428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77429 ac_ext=c
77430 ac_cpp='$CPP $CPPFLAGS'
77431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77440 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77442 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77443 for ac_func in _modfl
77444 do :
77445 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77446 if test "x$ac_cv_func__modfl" = x""yes; then :
77447 cat >>confdefs.h <<_ACEOF
77448 #define HAVE__MODFL 1
77449 _ACEOF
77452 done
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77462 $as_echo_n "checking for powl declaration... " >&6; }
77463 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77464 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77465 $as_echo_n "(cached) " >&6
77466 else
77469 ac_ext=cpp
77470 ac_cpp='$CXXCPP $CPPFLAGS'
77471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77476 /* end confdefs.h. */
77477 #include <math.h>
77479 main ()
77481 powl(0, 0);
77483 return 0;
77485 _ACEOF
77486 if ac_fn_cxx_try_compile "$LINENO"; then :
77487 glibcxx_cv_func_powl_use=yes
77488 else
77489 glibcxx_cv_func_powl_use=no
77491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77492 ac_ext=c
77493 ac_cpp='$CPP $CPPFLAGS'
77494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77503 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77505 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77506 for ac_func in powl
77507 do :
77508 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77509 if test "x$ac_cv_func_powl" = x""yes; then :
77510 cat >>confdefs.h <<_ACEOF
77511 #define HAVE_POWL 1
77512 _ACEOF
77515 done
77517 else
77519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77520 $as_echo_n "checking for _powl declaration... " >&6; }
77521 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77522 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77523 $as_echo_n "(cached) " >&6
77524 else
77527 ac_ext=cpp
77528 ac_cpp='$CXXCPP $CPPFLAGS'
77529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77534 /* end confdefs.h. */
77535 #include <math.h>
77537 main ()
77539 _powl(0, 0);
77541 return 0;
77543 _ACEOF
77544 if ac_fn_cxx_try_compile "$LINENO"; then :
77545 glibcxx_cv_func__powl_use=yes
77546 else
77547 glibcxx_cv_func__powl_use=no
77549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77550 ac_ext=c
77551 ac_cpp='$CPP $CPPFLAGS'
77552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77561 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77563 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77564 for ac_func in _powl
77565 do :
77566 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77567 if test "x$ac_cv_func__powl" = x""yes; then :
77568 cat >>confdefs.h <<_ACEOF
77569 #define HAVE__POWL 1
77570 _ACEOF
77573 done
77582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77583 $as_echo_n "checking for sqrtl declaration... " >&6; }
77584 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77585 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77586 $as_echo_n "(cached) " >&6
77587 else
77590 ac_ext=cpp
77591 ac_cpp='$CXXCPP $CPPFLAGS'
77592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77597 /* end confdefs.h. */
77598 #include <math.h>
77599 #ifdef HAVE_IEEEFP_H
77600 #include <ieeefp.h>
77601 #endif
77604 main ()
77606 sqrtl(0);
77608 return 0;
77610 _ACEOF
77611 if ac_fn_cxx_try_compile "$LINENO"; then :
77612 glibcxx_cv_func_sqrtl_use=yes
77613 else
77614 glibcxx_cv_func_sqrtl_use=no
77616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77617 ac_ext=c
77618 ac_cpp='$CPP $CPPFLAGS'
77619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77628 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77630 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77631 for ac_func in sqrtl
77632 do :
77633 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77634 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77635 cat >>confdefs.h <<_ACEOF
77636 #define HAVE_SQRTL 1
77637 _ACEOF
77640 done
77642 else
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77645 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77647 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77648 $as_echo_n "(cached) " >&6
77649 else
77652 ac_ext=cpp
77653 ac_cpp='$CXXCPP $CPPFLAGS'
77654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77659 /* end confdefs.h. */
77660 #include <math.h>
77661 #ifdef HAVE_IEEEFP_H
77662 #include <ieeefp.h>
77663 #endif
77666 main ()
77668 _sqrtl(0);
77670 return 0;
77672 _ACEOF
77673 if ac_fn_cxx_try_compile "$LINENO"; then :
77674 glibcxx_cv_func__sqrtl_use=yes
77675 else
77676 glibcxx_cv_func__sqrtl_use=no
77678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77679 ac_ext=c
77680 ac_cpp='$CPP $CPPFLAGS'
77681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77690 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77692 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77693 for ac_func in _sqrtl
77694 do :
77695 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77696 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77697 cat >>confdefs.h <<_ACEOF
77698 #define HAVE__SQRTL 1
77699 _ACEOF
77702 done
77711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77712 $as_echo_n "checking for sincosl declaration... " >&6; }
77713 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77714 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77715 $as_echo_n "(cached) " >&6
77716 else
77719 ac_ext=cpp
77720 ac_cpp='$CXXCPP $CPPFLAGS'
77721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77726 /* end confdefs.h. */
77727 #include <math.h>
77729 main ()
77731 sincosl(0, 0, 0);
77733 return 0;
77735 _ACEOF
77736 if ac_fn_cxx_try_compile "$LINENO"; then :
77737 glibcxx_cv_func_sincosl_use=yes
77738 else
77739 glibcxx_cv_func_sincosl_use=no
77741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77742 ac_ext=c
77743 ac_cpp='$CPP $CPPFLAGS'
77744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77753 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77755 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77756 for ac_func in sincosl
77757 do :
77758 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77759 if test "x$ac_cv_func_sincosl" = x""yes; then :
77760 cat >>confdefs.h <<_ACEOF
77761 #define HAVE_SINCOSL 1
77762 _ACEOF
77765 done
77767 else
77769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77770 $as_echo_n "checking for _sincosl declaration... " >&6; }
77771 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77772 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77773 $as_echo_n "(cached) " >&6
77774 else
77777 ac_ext=cpp
77778 ac_cpp='$CXXCPP $CPPFLAGS'
77779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77784 /* end confdefs.h. */
77785 #include <math.h>
77787 main ()
77789 _sincosl(0, 0, 0);
77791 return 0;
77793 _ACEOF
77794 if ac_fn_cxx_try_compile "$LINENO"; then :
77795 glibcxx_cv_func__sincosl_use=yes
77796 else
77797 glibcxx_cv_func__sincosl_use=no
77799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77800 ac_ext=c
77801 ac_cpp='$CPP $CPPFLAGS'
77802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77811 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77814 for ac_func in _sincosl
77815 do :
77816 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77817 if test "x$ac_cv_func__sincosl" = x""yes; then :
77818 cat >>confdefs.h <<_ACEOF
77819 #define HAVE__SINCOSL 1
77820 _ACEOF
77823 done
77832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77833 $as_echo_n "checking for finitel declaration... " >&6; }
77834 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77835 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77836 $as_echo_n "(cached) " >&6
77837 else
77840 ac_ext=cpp
77841 ac_cpp='$CXXCPP $CPPFLAGS'
77842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77847 /* end confdefs.h. */
77848 #include <math.h>
77849 #ifdef HAVE_IEEEFP_H
77850 #include <ieeefp.h>
77851 #endif
77854 main ()
77856 finitel(0);
77858 return 0;
77860 _ACEOF
77861 if ac_fn_cxx_try_compile "$LINENO"; then :
77862 glibcxx_cv_func_finitel_use=yes
77863 else
77864 glibcxx_cv_func_finitel_use=no
77866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77867 ac_ext=c
77868 ac_cpp='$CPP $CPPFLAGS'
77869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77878 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77880 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77881 for ac_func in finitel
77882 do :
77883 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77884 if test "x$ac_cv_func_finitel" = x""yes; then :
77885 cat >>confdefs.h <<_ACEOF
77886 #define HAVE_FINITEL 1
77887 _ACEOF
77890 done
77892 else
77894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77895 $as_echo_n "checking for _finitel declaration... " >&6; }
77896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77897 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77898 $as_echo_n "(cached) " >&6
77899 else
77902 ac_ext=cpp
77903 ac_cpp='$CXXCPP $CPPFLAGS'
77904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77909 /* end confdefs.h. */
77910 #include <math.h>
77911 #ifdef HAVE_IEEEFP_H
77912 #include <ieeefp.h>
77913 #endif
77916 main ()
77918 _finitel(0);
77920 return 0;
77922 _ACEOF
77923 if ac_fn_cxx_try_compile "$LINENO"; then :
77924 glibcxx_cv_func__finitel_use=yes
77925 else
77926 glibcxx_cv_func__finitel_use=no
77928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77929 ac_ext=c
77930 ac_cpp='$CPP $CPPFLAGS'
77931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77940 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77942 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77943 for ac_func in _finitel
77944 do :
77945 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77946 if test "x$ac_cv_func__finitel" = x""yes; then :
77947 cat >>confdefs.h <<_ACEOF
77948 #define HAVE__FINITEL 1
77949 _ACEOF
77952 done
77960 LIBS="$ac_save_LIBS"
77961 CXXFLAGS="$ac_save_CXXFLAGS"
77964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77965 ac_save_CXXFLAGS="$CXXFLAGS"
77966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77970 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77971 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77972 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77973 $as_echo_n "(cached) " >&6
77974 else
77977 ac_ext=cpp
77978 ac_cpp='$CXXCPP $CPPFLAGS'
77979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77984 /* end confdefs.h. */
77985 #include <stdlib.h>
77987 main ()
77989 at_quick_exit(0);
77991 return 0;
77993 _ACEOF
77994 if ac_fn_cxx_try_compile "$LINENO"; then :
77995 glibcxx_cv_func_at_quick_exit_use=yes
77996 else
77997 glibcxx_cv_func_at_quick_exit_use=no
77999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78000 ac_ext=c
78001 ac_cpp='$CPP $CPPFLAGS'
78002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78011 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78012 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78013 for ac_func in at_quick_exit
78014 do :
78015 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78016 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78017 cat >>confdefs.h <<_ACEOF
78018 #define HAVE_AT_QUICK_EXIT 1
78019 _ACEOF
78022 done
78027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78028 $as_echo_n "checking for quick_exit declaration... " >&6; }
78029 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78030 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78031 $as_echo_n "(cached) " >&6
78032 else
78035 ac_ext=cpp
78036 ac_cpp='$CXXCPP $CPPFLAGS'
78037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78042 /* end confdefs.h. */
78043 #include <stdlib.h>
78045 main ()
78047 quick_exit(0);
78049 return 0;
78051 _ACEOF
78052 if ac_fn_cxx_try_compile "$LINENO"; then :
78053 glibcxx_cv_func_quick_exit_use=yes
78054 else
78055 glibcxx_cv_func_quick_exit_use=no
78057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78058 ac_ext=c
78059 ac_cpp='$CPP $CPPFLAGS'
78060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78069 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78070 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78071 for ac_func in quick_exit
78072 do :
78073 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78074 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78075 cat >>confdefs.h <<_ACEOF
78076 #define HAVE_QUICK_EXIT 1
78077 _ACEOF
78080 done
78085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78086 $as_echo_n "checking for strtold declaration... " >&6; }
78087 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78088 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78089 $as_echo_n "(cached) " >&6
78090 else
78093 ac_ext=cpp
78094 ac_cpp='$CXXCPP $CPPFLAGS'
78095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78100 /* end confdefs.h. */
78101 #include <stdlib.h>
78103 main ()
78105 strtold(0, 0);
78107 return 0;
78109 _ACEOF
78110 if ac_fn_cxx_try_compile "$LINENO"; then :
78111 glibcxx_cv_func_strtold_use=yes
78112 else
78113 glibcxx_cv_func_strtold_use=no
78115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78116 ac_ext=c
78117 ac_cpp='$CPP $CPPFLAGS'
78118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78127 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78128 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78129 for ac_func in strtold
78130 do :
78131 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78132 if test "x$ac_cv_func_strtold" = x""yes; then :
78133 cat >>confdefs.h <<_ACEOF
78134 #define HAVE_STRTOLD 1
78135 _ACEOF
78138 done
78145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78146 $as_echo_n "checking for strtof declaration... " >&6; }
78147 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78148 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78149 $as_echo_n "(cached) " >&6
78150 else
78153 ac_ext=cpp
78154 ac_cpp='$CXXCPP $CPPFLAGS'
78155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78160 /* end confdefs.h. */
78161 #include <stdlib.h>
78163 main ()
78165 strtof(0, 0);
78167 return 0;
78169 _ACEOF
78170 if ac_fn_cxx_try_compile "$LINENO"; then :
78171 glibcxx_cv_func_strtof_use=yes
78172 else
78173 glibcxx_cv_func_strtof_use=no
78175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78176 ac_ext=c
78177 ac_cpp='$CPP $CPPFLAGS'
78178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78187 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78188 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78189 for ac_func in strtof
78190 do :
78191 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78192 if test "x$ac_cv_func_strtof" = x""yes; then :
78193 cat >>confdefs.h <<_ACEOF
78194 #define HAVE_STRTOF 1
78195 _ACEOF
78198 done
78205 CXXFLAGS="$ac_save_CXXFLAGS"
78208 *-vxworks)
78209 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78211 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78213 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78215 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78217 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78219 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78221 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78223 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78225 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78227 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78229 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78231 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78233 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78235 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78237 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78239 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78241 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78243 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78245 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78247 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78251 as_fn_error "No support for this host/target combination." "$LINENO" 5
78253 esac
78257 # At some point, we should differentiate between architectures
78258 # like x86, which have long double versions, and alpha/powerpc/etc.,
78259 # which don't. For the time being, punt.
78260 if test x"long_double_math_on_this_cpu" = x"yes"; then
78261 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78263 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78265 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78267 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78269 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78271 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78273 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78275 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78277 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78279 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78281 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78283 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78285 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78287 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78289 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78291 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78293 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78295 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78297 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78299 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78301 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78303 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78305 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78310 # Check for _Unwind_GetIPInfo.
78313 # Check whether --with-system-libunwind was given.
78314 if test "${with_system_libunwind+set}" = set; then :
78315 withval=$with_system_libunwind;
78318 # If system-libunwind was not specifically set, pick a default setting.
78319 if test x$with_system_libunwind = x; then
78320 case ${target} in
78321 ia64-*-hpux*) with_system_libunwind=yes ;;
78322 *) with_system_libunwind=no ;;
78323 esac
78325 # Based on system-libunwind and target, do we have ipinfo?
78326 if test x$with_system_libunwind = xyes; then
78327 case ${target} in
78328 ia64-*-*) have_unwind_getipinfo=no ;;
78329 *) have_unwind_getipinfo=yes ;;
78330 esac
78331 else
78332 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78334 case ${target} in
78335 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78336 *) have_unwind_getipinfo=yes ;;
78337 esac
78341 if test x$have_unwind_getipinfo = xyes; then
78343 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78348 # Check whether --enable-linux-futex was given.
78349 if test "${enable_linux_futex+set}" = set; then :
78350 enableval=$enable_linux_futex;
78351 case "$enableval" in
78352 yes|no|default) ;;
78353 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78354 esac
78356 else
78357 enable_linux_futex=default
78361 case "$target" in
78362 *-linux*)
78363 case "$enable_linux_futex" in
78364 default)
78365 # If headers don't have gettid/futex syscalls definition, then
78366 # default to no, otherwise there will be compile time failures.
78367 # Otherwise, default to yes. If we don't detect we are
78368 # compiled/linked against NPTL and not cross-compiling, check
78369 # if programs are run by default against NPTL and if not, issue
78370 # a warning.
78371 enable_linux_futex=no
78372 if test x$gcc_no_link = xyes; then
78373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78376 /* end confdefs.h. */
78377 #include <sys/syscall.h>
78378 int lk;
78380 main ()
78382 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78384 return 0;
78386 _ACEOF
78387 if ac_fn_c_try_link "$LINENO"; then :
78388 save_LIBS="$LIBS"
78389 LIBS="-lpthread $LIBS"
78390 if test x$gcc_no_link = xyes; then
78391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78395 #ifndef _GNU_SOURCE
78396 #define _GNU_SOURCE 1
78397 #endif
78398 #include <pthread.h>
78399 pthread_t th; void *status;
78401 main ()
78403 pthread_tryjoin_np (th, &status);
78405 return 0;
78407 _ACEOF
78408 if ac_fn_c_try_link "$LINENO"; then :
78409 enable_linux_futex=yes
78410 else
78411 if test x$cross_compiling = xno; then
78412 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78413 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78415 If so, please configure with --disable-linux-futex" >&5
78416 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78417 If so, please configure with --disable-linux-futex" >&2;}
78420 enable_linux_futex=yes
78422 rm -f core conftest.err conftest.$ac_objext \
78423 conftest$ac_exeext conftest.$ac_ext
78424 LIBS="$save_LIBS"
78426 rm -f core conftest.err conftest.$ac_objext \
78427 conftest$ac_exeext conftest.$ac_ext
78429 yes)
78430 if test x$gcc_no_link = xyes; then
78431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78434 /* end confdefs.h. */
78435 #include <sys/syscall.h>
78436 int lk;
78438 main ()
78440 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78442 return 0;
78444 _ACEOF
78445 if ac_fn_c_try_link "$LINENO"; then :
78447 else
78448 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78450 rm -f core conftest.err conftest.$ac_objext \
78451 conftest$ac_exeext conftest.$ac_ext
78453 esac
78456 enable_linux_futex=no
78458 esac
78459 if test x$enable_linux_futex = xyes; then
78461 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78468 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78470 acx_cv_header_stdint=stddef.h
78471 acx_cv_header_stdint_kind="(already complete)"
78472 for i in stdint.h $inttype_headers; do
78473 unset ac_cv_type_uintptr_t
78474 unset ac_cv_type_uintmax_t
78475 unset ac_cv_type_int_least32_t
78476 unset ac_cv_type_int_fast32_t
78477 unset ac_cv_type_uint64_t
78478 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78479 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78480 #include <$i>
78482 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78483 acx_cv_header_stdint=$i
78484 else
78485 continue
78488 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78489 #include <$i>
78491 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78493 else
78494 acx_cv_header_stdint_kind="(mostly complete)"
78497 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78498 #include <$i>
78500 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78502 else
78503 acx_cv_header_stdint_kind="(mostly complete)"
78506 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78507 #include <$i>
78509 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78511 else
78512 acx_cv_header_stdint_kind="(mostly complete)"
78515 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78516 #include <$i>
78518 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78520 else
78521 acx_cv_header_stdint_kind="(lacks uint64_t)"
78524 break
78525 done
78526 if test "$acx_cv_header_stdint" = stddef.h; then
78527 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78528 for i in stdint.h $inttype_headers; do
78529 unset ac_cv_type_uintptr_t
78530 unset ac_cv_type_uint32_t
78531 unset ac_cv_type_uint64_t
78532 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78533 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78534 #include <$i>
78536 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78537 acx_cv_header_stdint=$i
78538 else
78539 continue
78542 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78543 #include <$i>
78545 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78549 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78550 #include <$i>
78552 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78556 break
78557 done
78559 if test "$acx_cv_header_stdint" = stddef.h; then
78560 acx_cv_header_stdint_kind="(u_intXX_t style)"
78561 for i in sys/types.h $inttype_headers; do
78562 unset ac_cv_type_u_int32_t
78563 unset ac_cv_type_u_int64_t
78564 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78565 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78566 #include <$i>
78568 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78569 acx_cv_header_stdint=$i
78570 else
78571 continue
78574 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78575 #include <$i>
78577 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78581 break
78582 done
78584 if test "$acx_cv_header_stdint" = stddef.h; then
78585 acx_cv_header_stdint_kind="(using manual detection)"
78588 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78589 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78590 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78591 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78592 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78594 # ----------------- Summarize what we found so far
78596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78597 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78599 case `$as_basename -- include/gstdint.h ||
78600 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78601 Xinclude/gstdint.h : 'X\(//\)$' \| \
78602 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78603 $as_echo X/include/gstdint.h |
78604 sed '/^.*\/\([^/][^/]*\)\/*$/{
78605 s//\1/
78608 /^X\/\(\/\/\)$/{
78609 s//\1/
78612 /^X\/\(\/\).*/{
78613 s//\1/
78616 s/.*/./; q'` in
78617 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78618 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78619 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78620 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78621 *) ;;
78622 esac
78624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78625 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78627 # ----------------- done included file, check C basic types --------
78629 # Lacking an uintptr_t? Test size of void *
78630 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78631 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78634 # This bug is HP SR number 8606223364.
78635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78636 $as_echo_n "checking size of void *... " >&6; }
78637 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78638 $as_echo_n "(cached) " >&6
78639 else
78640 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78642 else
78643 if test "$ac_cv_type_void_p" = yes; then
78644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78646 { as_fn_set_status 77
78647 as_fn_error "cannot compute sizeof (void *)
78648 See \`config.log' for more details." "$LINENO" 5; }; }
78649 else
78650 ac_cv_sizeof_void_p=0
78655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78656 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78660 cat >>confdefs.h <<_ACEOF
78661 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78662 _ACEOF
78665 esac
78667 # Lacking an uint64_t? Test size of long
78668 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78669 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78670 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78671 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78672 # This bug is HP SR number 8606223364.
78673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78674 $as_echo_n "checking size of long... " >&6; }
78675 if test "${ac_cv_sizeof_long+set}" = set; then :
78676 $as_echo_n "(cached) " >&6
78677 else
78678 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78680 else
78681 if test "$ac_cv_type_long" = yes; then
78682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78684 { as_fn_set_status 77
78685 as_fn_error "cannot compute sizeof (long)
78686 See \`config.log' for more details." "$LINENO" 5; }; }
78687 else
78688 ac_cv_sizeof_long=0
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78694 $as_echo "$ac_cv_sizeof_long" >&6; }
78698 cat >>confdefs.h <<_ACEOF
78699 #define SIZEOF_LONG $ac_cv_sizeof_long
78700 _ACEOF
78703 esac
78705 if test $acx_cv_header_stdint = stddef.h; then
78706 # Lacking a good header? Test size of everything and deduce all types.
78707 # The cast to long int works around a bug in the HP C Compiler
78708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78710 # This bug is HP SR number 8606223364.
78711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78712 $as_echo_n "checking size of int... " >&6; }
78713 if test "${ac_cv_sizeof_int+set}" = set; then :
78714 $as_echo_n "(cached) " >&6
78715 else
78716 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78718 else
78719 if test "$ac_cv_type_int" = yes; then
78720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78722 { as_fn_set_status 77
78723 as_fn_error "cannot compute sizeof (int)
78724 See \`config.log' for more details." "$LINENO" 5; }; }
78725 else
78726 ac_cv_sizeof_int=0
78731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78732 $as_echo "$ac_cv_sizeof_int" >&6; }
78736 cat >>confdefs.h <<_ACEOF
78737 #define SIZEOF_INT $ac_cv_sizeof_int
78738 _ACEOF
78741 # The cast to long int works around a bug in the HP C Compiler
78742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78744 # This bug is HP SR number 8606223364.
78745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78746 $as_echo_n "checking size of short... " >&6; }
78747 if test "${ac_cv_sizeof_short+set}" = set; then :
78748 $as_echo_n "(cached) " >&6
78749 else
78750 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78752 else
78753 if test "$ac_cv_type_short" = yes; then
78754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78756 { as_fn_set_status 77
78757 as_fn_error "cannot compute sizeof (short)
78758 See \`config.log' for more details." "$LINENO" 5; }; }
78759 else
78760 ac_cv_sizeof_short=0
78765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78766 $as_echo "$ac_cv_sizeof_short" >&6; }
78770 cat >>confdefs.h <<_ACEOF
78771 #define SIZEOF_SHORT $ac_cv_sizeof_short
78772 _ACEOF
78775 # The cast to long int works around a bug in the HP C Compiler
78776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78778 # This bug is HP SR number 8606223364.
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78780 $as_echo_n "checking size of char... " >&6; }
78781 if test "${ac_cv_sizeof_char+set}" = set; then :
78782 $as_echo_n "(cached) " >&6
78783 else
78784 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78786 else
78787 if test "$ac_cv_type_char" = yes; then
78788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78790 { as_fn_set_status 77
78791 as_fn_error "cannot compute sizeof (char)
78792 See \`config.log' for more details." "$LINENO" 5; }; }
78793 else
78794 ac_cv_sizeof_char=0
78799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78800 $as_echo "$ac_cv_sizeof_char" >&6; }
78804 cat >>confdefs.h <<_ACEOF
78805 #define SIZEOF_CHAR $ac_cv_sizeof_char
78806 _ACEOF
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78811 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78812 case "$ac_cv_sizeof_char" in
78813 1) acx_cv_type_int8_t=char ;;
78814 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78815 esac
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78817 $as_echo "$acx_cv_type_int8_t" >&6; }
78819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78820 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78821 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78822 2:*) acx_cv_type_int16_t=int ;;
78823 *:2) acx_cv_type_int16_t=short ;;
78824 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78825 esac
78826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78827 $as_echo "$acx_cv_type_int16_t" >&6; }
78829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78830 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78831 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78832 4:*) acx_cv_type_int32_t=int ;;
78833 *:4) acx_cv_type_int32_t=long ;;
78834 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78835 esac
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78837 $as_echo "$acx_cv_type_int32_t" >&6; }
78840 # These tests are here to make the output prettier
78842 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78843 case "$ac_cv_sizeof_long" in
78844 8) acx_cv_type_int64_t=long ;;
78845 esac
78846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78847 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78849 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78852 # Now we can use the above types
78854 if test "$ac_cv_type_uintptr_t" != yes; then
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78856 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78857 case $ac_cv_sizeof_void_p in
78858 2) acx_cv_type_intptr_t=int16_t ;;
78859 4) acx_cv_type_intptr_t=int32_t ;;
78860 8) acx_cv_type_intptr_t=int64_t ;;
78861 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78862 esac
78863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78864 $as_echo "$acx_cv_type_intptr_t" >&6; }
78867 # ----------------- done all checks, emit header -------------
78868 ac_config_commands="$ac_config_commands include/gstdint.h"
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78875 $as_echo_n "checking for GNU c++filt... " >&6; }
78876 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78877 $as_echo_n "(cached) " >&6
78878 else
78879 if test -z "$CXXFILT"; then
78880 ac_path_CXXFILT_found=false
78881 # Loop through the user's path and test for each of PROGNAME-LIST
78882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78883 for as_dir in $PATH
78885 IFS=$as_save_IFS
78886 test -z "$as_dir" && as_dir=.
78887 for ac_prog in c++filt gc++filt; do
78888 for ac_exec_ext in '' $ac_executable_extensions; do
78889 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78890 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78891 # Check for GNU $ac_path_CXXFILT
78892 case `"$ac_path_CXXFILT" --version 2>&1` in
78893 *GNU*)
78894 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78895 esac
78897 $ac_path_CXXFILT_found && break 3
78898 done
78899 done
78900 done
78901 IFS=$as_save_IFS
78902 if test -z "$ac_cv_path_CXXFILT"; then
78905 else
78906 ac_cv_path_CXXFILT=$CXXFILT
78910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78911 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78912 CXXFILT=$ac_cv_path_CXXFILT
78916 # Check whether --enable-symvers was given.
78917 if test "${enable_symvers+set}" = set; then :
78918 enableval=$enable_symvers;
78919 case "$enableval" in
78920 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78921 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78922 esac
78924 else
78925 enable_symvers=yes
78930 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78931 # don't know enough about $LD to do tricks...
78933 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78934 # with extern "C++" in version scripts.
78937 # Turn a 'yes' into a suitable default.
78938 if test x$enable_symvers = xyes ; then
78939 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78940 enable_symvers=no
78941 else
78942 if test $with_gnu_ld = yes ; then
78943 case ${target_os} in
78944 hpux*)
78945 enable_symvers=no ;;
78947 enable_symvers=gnu ;;
78948 esac
78949 else
78950 case ${target_os} in
78951 darwin*)
78952 enable_symvers=darwin ;;
78953 # Sun symbol versioning exists since Solaris 2.5.
78954 solaris2.[5-9]* | solaris2.1[0-9]*)
78955 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78956 # version scripts, so disable symbol versioning if none can be
78957 # found.
78958 if test -z "$ac_cv_path_CXXFILT"; then
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78960 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78962 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78964 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78965 enable_symvers=no
78966 else
78967 enable_symvers=sun
78971 enable_symvers=no ;;
78972 esac
78977 # Check to see if 'darwin' or 'darwin-export' can win.
78978 if test x$enable_symvers = xdarwin-export ; then
78979 enable_symvers=darwin
78982 # Check if 'sun' was requested on non-Solaris 2 platforms.
78983 if test x$enable_symvers = xsun ; then
78984 case ${target_os} in
78985 solaris2*)
78986 # All fine.
78989 # Unlikely to work.
78990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78991 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78993 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78995 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78996 enable_symvers=no
78998 esac
79001 # Check to see if 'gnu' can win.
79002 if test $enable_symvers = gnu ||
79003 test $enable_symvers = gnu-versioned-namespace ||
79004 test $enable_symvers = sun; then
79005 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79007 $as_echo_n "checking for shared libgcc... " >&6; }
79008 ac_save_CFLAGS="$CFLAGS"
79009 CFLAGS=' -lgcc_s'
79010 if test x$gcc_no_link = xyes; then
79011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79014 /* end confdefs.h. */
79017 main ()
79019 return 0;
79021 return 0;
79023 _ACEOF
79024 if ac_fn_c_try_link "$LINENO"; then :
79025 glibcxx_shared_libgcc=yes
79026 else
79027 glibcxx_shared_libgcc=no
79029 rm -f core conftest.err conftest.$ac_objext \
79030 conftest$ac_exeext conftest.$ac_ext
79031 CFLAGS="$ac_save_CFLAGS"
79032 if test $glibcxx_shared_libgcc = no; then
79033 cat > conftest.c <<EOF
79034 int main (void) { return 0; }
79036 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79037 -shared -shared-libgcc -o conftest.so \
79038 conftest.c -v 2>&1 >/dev/null \
79039 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79040 rm -f conftest.c conftest.so
79041 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79042 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79043 if test x$gcc_no_link = xyes; then
79044 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79047 /* end confdefs.h. */
79050 main ()
79052 return 0;
79054 return 0;
79056 _ACEOF
79057 if ac_fn_c_try_link "$LINENO"; then :
79058 glibcxx_shared_libgcc=yes
79060 rm -f core conftest.err conftest.$ac_objext \
79061 conftest$ac_exeext conftest.$ac_ext
79062 CFLAGS="$ac_save_CFLAGS"
79065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79066 $as_echo "$glibcxx_shared_libgcc" >&6; }
79068 # For GNU ld, we need at least this version. The format is described in
79069 # GLIBCXX_CHECK_LINKER_FEATURES above.
79070 glibcxx_min_gnu_ld_version=21400
79072 # If no shared libgcc, can't win.
79073 if test $glibcxx_shared_libgcc != yes; then
79074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79075 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79077 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79079 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79080 enable_symvers=no
79081 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79082 : All interesting versions of Sun ld support sun style symbol versioning.
79083 elif test $with_gnu_ld != yes ; then
79084 # just fail for now
79085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79086 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79088 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79090 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79091 enable_symvers=no
79092 elif test $glibcxx_ld_is_gold = yes ; then
79093 : All versions of gold support symbol versioning.
79094 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79095 # The right tools, the right setup, but too old. Fallbacks?
79096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79097 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79099 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79101 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79103 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79105 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79106 enable_symvers=no
79110 # For libtool versioning info, format is CURRENT:REVISION:AGE
79111 libtool_VERSION=6:25:0
79113 # Everything parsed; figure out what files and settings to use.
79114 case $enable_symvers in
79116 SYMVER_FILE=config/abi/pre/none.ver
79118 gnu)
79119 SYMVER_FILE=config/abi/pre/gnu.ver
79121 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79124 gnu-versioned-namespace)
79125 libtool_VERSION=8:0:0
79126 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79128 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79131 darwin)
79132 SYMVER_FILE=config/abi/pre/gnu.ver
79134 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79137 sun)
79138 SYMVER_FILE=config/abi/pre/gnu.ver
79140 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79143 esac
79145 if test x$enable_symvers != xno ; then
79147 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79152 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79153 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79154 $as_echo_n "(cached) " >&6
79155 else
79157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79158 /* end confdefs.h. */
79159 void foo (void); __asm (".symver foo, bar@SYMVER");
79161 main ()
79165 return 0;
79167 _ACEOF
79168 if ac_fn_c_try_compile "$LINENO"; then :
79169 glibcxx_cv_have_as_symver_directive=yes
79170 else
79171 glibcxx_cv_have_as_symver_directive=no
79173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79176 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79177 if test $glibcxx_cv_have_as_symver_directive = yes; then
79179 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79190 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79191 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79193 if test $enable_symvers != no ; then
79194 case ${target_os} in
79195 # The Solaris 2 runtime linker doesn't support the GNU extension of
79196 # binding the same symbol to different versions
79197 solaris2*)
79199 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79202 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79205 esac
79208 # Now, set up compatibility support, if any.
79209 # In addition, need this to deal with std::size_t mangling in
79210 # src/compatibility.cc. In a perfect world, could use
79211 # typeid(std::size_t).name()[0] to do direct substitution.
79212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79213 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79214 ac_save_CFLAGS="$CFLAGS"
79215 CFLAGS="-Werror"
79216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79217 /* end confdefs.h. */
79220 main ()
79222 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79224 return 0;
79226 _ACEOF
79227 if ac_fn_c_try_compile "$LINENO"; then :
79228 glibcxx_size_t_is_i=yes
79229 else
79230 glibcxx_size_t_is_i=no
79232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79233 CFLAGS=$ac_save_CFLAGS
79234 if test "$glibcxx_size_t_is_i" = yes; then
79236 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79240 $as_echo "$glibcxx_size_t_is_i" >&6; }
79242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79243 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79244 ac_save_CFLAGS="$CFLAGS"
79245 CFLAGS="-Werror"
79246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79247 /* end confdefs.h. */
79250 main ()
79252 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79254 return 0;
79256 _ACEOF
79257 if ac_fn_c_try_compile "$LINENO"; then :
79258 glibcxx_ptrdiff_t_is_i=yes
79259 else
79260 glibcxx_ptrdiff_t_is_i=no
79262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79263 CFLAGS=$ac_save_CFLAGS
79264 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79266 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79270 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79275 # Check whether --enable-libstdcxx-visibility was given.
79276 if test "${enable_libstdcxx_visibility+set}" = set; then :
79277 enableval=$enable_libstdcxx_visibility;
79278 case "$enableval" in
79279 yes|no) ;;
79280 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79281 esac
79283 else
79284 enable_libstdcxx_visibility=yes
79289 if test x$enable_libstdcxx_visibility = xyes ; then
79290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79291 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79292 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79293 $as_echo_n "(cached) " >&6
79294 else
79296 save_CFLAGS="$CFLAGS"
79297 CFLAGS="$CFLAGS -Werror"
79298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79299 /* end confdefs.h. */
79300 void __attribute__((visibility("hidden"))) foo(void) { }
79302 main ()
79306 return 0;
79308 _ACEOF
79309 if ac_fn_c_try_compile "$LINENO"; then :
79310 glibcxx_cv_have_attribute_visibility=yes
79311 else
79312 glibcxx_cv_have_attribute_visibility=no
79314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79315 CFLAGS="$save_CFLAGS"
79317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79318 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79319 if test $glibcxx_cv_have_attribute_visibility = no; then
79320 enable_libstdcxx_visibility=no
79325 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79326 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79330 # Check whether --enable-libstdcxx-dual-abi was given.
79331 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79332 enableval=$enable_libstdcxx_dual_abi;
79333 case "$enableval" in
79334 yes|no) ;;
79335 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79336 esac
79338 else
79339 enable_libstdcxx_dual_abi=yes
79343 if test x$enable_symvers = xgnu-versioned-namespace; then
79344 # gnu-versioned-namespace is incompatible with the dual ABI.
79345 enable_libstdcxx_dual_abi="no"
79347 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79348 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79349 $as_echo "$as_me: dual ABI is disabled" >&6;}
79350 default_libstdcxx_abi="gcc4-compatible"
79355 if test x$enable_libstdcxx_dual_abi = xyes; then
79356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79357 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79359 # Check whether --with-default-libstdcxx-abi was given.
79360 if test "${with_default_libstdcxx_abi+set}" = set; then :
79361 withval=$with_default_libstdcxx_abi; case "$withval" in
79362 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79363 new|cxx11) default_libstdcxx_abi="new" ;;
79364 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79365 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79366 esac
79368 else
79369 default_libstdcxx_abi="new"
79372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79373 $as_echo "${default_libstdcxx_abi}" >&6; }
79375 if test $default_libstdcxx_abi = "new"; then
79376 glibcxx_cxx11_abi=1
79377 glibcxx_cxx98_abi=0
79378 else
79379 glibcxx_cxx11_abi=0
79380 glibcxx_cxx98_abi=1
79386 ac_ldbl_compat=no
79387 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79388 case "$target" in
79389 powerpc*-*-linux* | \
79390 sparc*-*-linux* | \
79391 s390*-*-linux* | \
79392 alpha*-*-linux*)
79393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79394 /* end confdefs.h. */
79397 main ()
79400 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79401 #error no need for long double compatibility
79402 #endif
79405 return 0;
79407 _ACEOF
79408 if ac_fn_c_try_compile "$LINENO"; then :
79409 ac_ldbl_compat=yes
79410 else
79411 ac_ldbl_compat=no
79413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79414 if test "$ac_ldbl_compat" = yes; then
79416 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79418 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79419 case "$target" in
79420 powerpc*-*-linux*)
79421 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79422 esac
79424 esac
79428 # Check if assembler supports disabling hardware capability support.
79430 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79432 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79433 # with a different meaning.
79434 case ${target_os} in
79435 solaris2*)
79436 ac_save_CFLAGS="$CFLAGS"
79437 CFLAGS="$CFLAGS -Wa,-nH"
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79440 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79442 /* end confdefs.h. */
79445 main ()
79447 return 0;
79449 return 0;
79451 _ACEOF
79452 if ac_fn_c_try_compile "$LINENO"; then :
79453 ac_hwcap_flags=yes
79454 else
79455 ac_hwcap_flags=no
79457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79458 if test "$ac_hwcap_flags" = "yes"; then
79459 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79462 $as_echo "$ac_hwcap_flags" >&6; }
79464 CFLAGS="$ac_save_CFLAGS"
79466 esac
79471 # Check if assembler supports rdrand opcode.
79473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79474 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79475 if test "${ac_cv_x86_rdrand+set}" = set; then :
79476 $as_echo_n "(cached) " >&6
79477 else
79479 ac_cv_x86_rdrand=no
79480 case "$target" in
79481 i?86-*-* | \
79482 x86_64-*-*)
79483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79484 /* end confdefs.h. */
79487 main ()
79489 asm("rdrand %eax");
79491 return 0;
79493 _ACEOF
79494 if ac_fn_c_try_compile "$LINENO"; then :
79495 ac_cv_x86_rdrand=yes
79496 else
79497 ac_cv_x86_rdrand=no
79499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79500 esac
79504 if test $ac_cv_x86_rdrand = yes; then
79506 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79510 $as_echo "$ac_cv_x86_rdrand" >&6; }
79513 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79515 # Do checks for resource limit functions.
79517 setrlimit_have_headers=yes
79518 for ac_header in unistd.h sys/time.h sys/resource.h
79519 do :
79520 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79521 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79522 eval as_val=\$$as_ac_Header
79523 if test "x$as_val" = x""yes; then :
79524 cat >>confdefs.h <<_ACEOF
79525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79526 _ACEOF
79528 else
79529 setrlimit_have_headers=no
79532 done
79534 # If don't have the headers, then we can't run the tests now, and we
79535 # won't be seeing any of these during testsuite compilation.
79536 if test $setrlimit_have_headers = yes; then
79537 # Can't do these in a loop, else the resulting syntax is wrong.
79539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79540 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79542 /* end confdefs.h. */
79543 #include <unistd.h>
79544 #include <sys/time.h>
79545 #include <sys/resource.h>
79548 main ()
79550 int f = RLIMIT_DATA ;
79552 return 0;
79554 _ACEOF
79555 if ac_fn_c_try_compile "$LINENO"; then :
79556 glibcxx_mresult=1
79557 else
79558 glibcxx_mresult=0
79560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79562 cat >>confdefs.h <<_ACEOF
79563 #define HAVE_LIMIT_DATA $glibcxx_mresult
79564 _ACEOF
79566 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79568 $as_echo "$res" >&6; }
79571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79572 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79574 /* end confdefs.h. */
79575 #include <unistd.h>
79576 #include <sys/time.h>
79577 #include <sys/resource.h>
79580 main ()
79582 int f = RLIMIT_RSS ;
79584 return 0;
79586 _ACEOF
79587 if ac_fn_c_try_compile "$LINENO"; then :
79588 glibcxx_mresult=1
79589 else
79590 glibcxx_mresult=0
79592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79594 cat >>confdefs.h <<_ACEOF
79595 #define HAVE_LIMIT_RSS $glibcxx_mresult
79596 _ACEOF
79598 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79600 $as_echo "$res" >&6; }
79603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79604 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79606 /* end confdefs.h. */
79607 #include <unistd.h>
79608 #include <sys/time.h>
79609 #include <sys/resource.h>
79612 main ()
79614 int f = RLIMIT_VMEM ;
79616 return 0;
79618 _ACEOF
79619 if ac_fn_c_try_compile "$LINENO"; then :
79620 glibcxx_mresult=1
79621 else
79622 glibcxx_mresult=0
79624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79626 cat >>confdefs.h <<_ACEOF
79627 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79628 _ACEOF
79630 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79632 $as_echo "$res" >&6; }
79635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79636 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79638 /* end confdefs.h. */
79639 #include <unistd.h>
79640 #include <sys/time.h>
79641 #include <sys/resource.h>
79644 main ()
79646 int f = RLIMIT_AS ;
79648 return 0;
79650 _ACEOF
79651 if ac_fn_c_try_compile "$LINENO"; then :
79652 glibcxx_mresult=1
79653 else
79654 glibcxx_mresult=0
79656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79658 cat >>confdefs.h <<_ACEOF
79659 #define HAVE_LIMIT_AS $glibcxx_mresult
79660 _ACEOF
79662 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79664 $as_echo "$res" >&6; }
79667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79668 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79670 /* end confdefs.h. */
79671 #include <unistd.h>
79672 #include <sys/time.h>
79673 #include <sys/resource.h>
79676 main ()
79678 int f = RLIMIT_FSIZE ;
79680 return 0;
79682 _ACEOF
79683 if ac_fn_c_try_compile "$LINENO"; then :
79684 glibcxx_mresult=1
79685 else
79686 glibcxx_mresult=0
79688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79690 cat >>confdefs.h <<_ACEOF
79691 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79692 _ACEOF
79694 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79696 $as_echo "$res" >&6; }
79699 # Check for rlimit, setrlimit.
79700 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79701 $as_echo_n "(cached) " >&6
79702 else
79704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79705 /* end confdefs.h. */
79706 #include <unistd.h>
79707 #include <sys/time.h>
79708 #include <sys/resource.h>
79711 main ()
79713 struct rlimit r;
79714 setrlimit(0, &r);
79716 return 0;
79718 _ACEOF
79719 if ac_fn_c_try_compile "$LINENO"; then :
79720 glibcxx_cv_setrlimit=yes
79721 else
79722 glibcxx_cv_setrlimit=no
79724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79731 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79732 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79733 ac_res_limits=yes
79735 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79737 else
79738 ac_res_limits=no
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79741 $as_echo "$ac_res_limits" >&6; }
79744 if $GLIBCXX_IS_NATIVE ; then
79745 # Look for setenv, so that extended locale tests can be performed.
79747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79748 $as_echo_n "checking for setenv declaration... " >&6; }
79749 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79750 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79751 $as_echo_n "(cached) " >&6
79752 else
79755 ac_ext=cpp
79756 ac_cpp='$CXXCPP $CPPFLAGS'
79757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79762 /* end confdefs.h. */
79763 #include <stdlib.h>
79765 main ()
79767 setenv(0, 0, 0);
79769 return 0;
79771 _ACEOF
79772 if ac_fn_cxx_try_compile "$LINENO"; then :
79773 glibcxx_cv_func_setenv_use=yes
79774 else
79775 glibcxx_cv_func_setenv_use=no
79777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79778 ac_ext=c
79779 ac_cpp='$CPP $CPPFLAGS'
79780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79789 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79790 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79791 for ac_func in setenv
79792 do :
79793 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79794 if test "x$ac_cv_func_setenv" = x""yes; then :
79795 cat >>confdefs.h <<_ACEOF
79796 #define HAVE_SETENV 1
79797 _ACEOF
79800 done
79806 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79807 test $enable_symvers != no; then
79808 case "$host" in
79809 *-*-cygwin*)
79810 enable_abi_check=no ;;
79812 enable_abi_check=yes ;;
79813 esac
79814 else
79815 # Only build this as native, since automake does not understand
79816 # CXX_FOR_BUILD.
79817 enable_abi_check=no
79820 # Export file names for ABI checking.
79821 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79823 baseline_subdir_switch="$abi_baseline_subdir_switch"
79827 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79829 # Check whether --enable-libstdcxx-threads was given.
79830 if test "${enable_libstdcxx_threads+set}" = set; then :
79831 enableval=$enable_libstdcxx_threads;
79832 case "$enableval" in
79833 yes|no) ;;
79834 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79835 esac
79837 else
79838 enable_libstdcxx_threads=auto
79843 if test x$enable_libstdcxx_threads = xauto ||
79844 test x$enable_libstdcxx_threads = xyes; then
79847 ac_ext=cpp
79848 ac_cpp='$CXXCPP $CPPFLAGS'
79849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79854 ac_save_CXXFLAGS="$CXXFLAGS"
79855 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79856 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79858 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79859 case $target_thread_file in
79860 posix)
79861 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79862 esac
79864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79865 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79868 /* end confdefs.h. */
79869 #include <unistd.h>
79871 main ()
79874 // In case of POSIX threads check _POSIX_TIMEOUTS.
79875 #if (defined(_PTHREADS) \
79876 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79877 #error
79878 #endif
79881 return 0;
79883 _ACEOF
79884 if ac_fn_cxx_try_compile "$LINENO"; then :
79885 ac_gthread_use_mutex_timedlock=1
79886 else
79887 ac_gthread_use_mutex_timedlock=0
79889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79892 cat >>confdefs.h <<_ACEOF
79893 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79894 _ACEOF
79897 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79898 else res_mutex_timedlock=no ; fi
79899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79900 $as_echo "$res_mutex_timedlock" >&6; }
79902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79903 $as_echo_n "checking for gthreads library... " >&6; }
79905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79906 /* end confdefs.h. */
79907 #include "gthr.h"
79909 main ()
79912 #ifndef __GTHREADS_CXX0X
79913 #error
79914 #endif
79917 return 0;
79919 _ACEOF
79920 if ac_fn_cxx_try_compile "$LINENO"; then :
79921 ac_has_gthreads=yes
79922 else
79923 ac_has_gthreads=no
79925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79926 else
79927 ac_has_gthreads=no
79930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79931 $as_echo "$ac_has_gthreads" >&6; }
79933 if test x"$ac_has_gthreads" = x"yes"; then
79935 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79938 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79939 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79941 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79943 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79949 CXXFLAGS="$ac_save_CXXFLAGS"
79950 ac_ext=c
79951 ac_cpp='$CPP $CPPFLAGS'
79952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79958 # For Filesystem TS.
79959 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79960 do :
79961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79962 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79963 eval as_val=\$$as_ac_Header
79964 if test "x$as_val" = x""yes; then :
79965 cat >>confdefs.h <<_ACEOF
79966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79967 _ACEOF
79971 done
79974 # Check whether --enable-libstdcxx-filesystem-ts was given.
79975 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79976 enableval=$enable_libstdcxx_filesystem_ts;
79977 case "$enableval" in
79978 yes|no|auto) ;;
79979 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79980 esac
79982 else
79983 enable_libstdcxx_filesystem_ts=auto
79988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79989 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79990 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79991 enable_libstdcxx_filesystem_ts=no
79993 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79994 case "${target_os}" in
79995 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79996 enable_libstdcxx_filesystem_ts=yes
79998 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79999 enable_libstdcxx_filesystem_ts=yes
80001 rtems*)
80002 enable_libstdcxx_filesystem_ts=yes
80004 solaris*)
80005 enable_libstdcxx_filesystem_ts=yes
80008 enable_libstdcxx_filesystem_ts=no
80010 esac
80012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80013 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80017 ac_ext=cpp
80018 ac_cpp='$CXXCPP $CPPFLAGS'
80019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80023 ac_save_CXXFLAGS="$CXXFLAGS"
80024 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80026 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80027 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80028 $as_echo_n "(cached) " >&6
80029 else
80030 if test x$gcc_no_link = xyes; then
80031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80032 /* end confdefs.h. */
80033 #include <dirent.h>
80035 main ()
80038 struct dirent d;
80039 if (sizeof d.d_type) return 0;
80042 return 0;
80044 _ACEOF
80045 if ac_fn_cxx_try_compile "$LINENO"; then :
80046 glibcxx_cv_dirent_d_type=yes
80047 else
80048 glibcxx_cv_dirent_d_type=no
80050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80051 else
80052 if test x$gcc_no_link = xyes; then
80053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80056 /* end confdefs.h. */
80057 #include <dirent.h>
80059 main ()
80062 struct dirent d;
80063 if (sizeof d.d_type) return 0;
80066 return 0;
80068 _ACEOF
80069 if ac_fn_cxx_try_link "$LINENO"; then :
80070 glibcxx_cv_dirent_d_type=yes
80071 else
80072 glibcxx_cv_dirent_d_type=no
80074 rm -f core conftest.err conftest.$ac_objext \
80075 conftest$ac_exeext conftest.$ac_ext
80080 if test $glibcxx_cv_dirent_d_type = yes; then
80082 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80086 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80088 $as_echo_n "checking for realpath... " >&6; }
80089 if test "${glibcxx_cv_realpath+set}" = set; then :
80090 $as_echo_n "(cached) " >&6
80091 else
80092 if test x$gcc_no_link = xyes; then
80093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80094 /* end confdefs.h. */
80096 #include <limits.h>
80097 #include <stdlib.h>
80098 #include <unistd.h>
80101 main ()
80104 #if _XOPEN_VERSION < 500
80105 #error
80106 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80107 char *tmp = realpath((const char*)NULL, (char*)NULL);
80108 #else
80109 #error
80110 #endif
80113 return 0;
80115 _ACEOF
80116 if ac_fn_cxx_try_compile "$LINENO"; then :
80117 glibcxx_cv_realpath=yes
80118 else
80119 glibcxx_cv_realpath=no
80121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80122 else
80123 if test x$gcc_no_link = xyes; then
80124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80127 /* end confdefs.h. */
80129 #include <limits.h>
80130 #include <stdlib.h>
80131 #include <unistd.h>
80134 main ()
80137 #if _XOPEN_VERSION < 500
80138 #error
80139 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80140 char *tmp = realpath((const char*)NULL, (char*)NULL);
80141 #else
80142 #error
80143 #endif
80146 return 0;
80148 _ACEOF
80149 if ac_fn_cxx_try_link "$LINENO"; then :
80150 glibcxx_cv_realpath=yes
80151 else
80152 glibcxx_cv_realpath=no
80154 rm -f core conftest.err conftest.$ac_objext \
80155 conftest$ac_exeext conftest.$ac_ext
80160 if test $glibcxx_cv_realpath = yes; then
80162 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80166 $as_echo "$glibcxx_cv_realpath" >&6; }
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80168 $as_echo_n "checking for utimensat... " >&6; }
80169 if test "${glibcxx_cv_utimensat+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. */
80176 #include <fcntl.h>
80177 #include <sys/stat.h>
80180 main ()
80183 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80184 int i = utimensat(AT_FDCWD, "path", ts, 0);
80187 return 0;
80189 _ACEOF
80190 if ac_fn_cxx_try_compile "$LINENO"; then :
80191 glibcxx_cv_utimensat=yes
80192 else
80193 glibcxx_cv_utimensat=no
80195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80196 else
80197 if test x$gcc_no_link = xyes; then
80198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80201 /* end confdefs.h. */
80203 #include <fcntl.h>
80204 #include <sys/stat.h>
80207 main ()
80210 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80211 int i = utimensat(AT_FDCWD, "path", ts, 0);
80214 return 0;
80216 _ACEOF
80217 if ac_fn_cxx_try_link "$LINENO"; then :
80218 glibcxx_cv_utimensat=yes
80219 else
80220 glibcxx_cv_utimensat=no
80222 rm -f core conftest.err conftest.$ac_objext \
80223 conftest$ac_exeext conftest.$ac_ext
80228 if test $glibcxx_cv_utimensat = yes; then
80230 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80234 $as_echo "$glibcxx_cv_utimensat" >&6; }
80235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80236 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80237 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80238 $as_echo_n "(cached) " >&6
80239 else
80240 if test x$gcc_no_link = xyes; then
80241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80242 /* end confdefs.h. */
80243 #include <sys/stat.h>
80245 main ()
80248 struct stat st;
80249 return st.st_mtim.tv_nsec;
80252 return 0;
80254 _ACEOF
80255 if ac_fn_cxx_try_compile "$LINENO"; then :
80256 glibcxx_cv_st_mtim=yes
80257 else
80258 glibcxx_cv_st_mtim=no
80260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80261 else
80262 if test x$gcc_no_link = xyes; then
80263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80266 /* end confdefs.h. */
80267 #include <sys/stat.h>
80269 main ()
80272 struct stat st;
80273 return st.st_mtim.tv_nsec;
80276 return 0;
80278 _ACEOF
80279 if ac_fn_cxx_try_link "$LINENO"; then :
80280 glibcxx_cv_st_mtim=yes
80281 else
80282 glibcxx_cv_st_mtim=no
80284 rm -f core conftest.err conftest.$ac_objext \
80285 conftest$ac_exeext conftest.$ac_ext
80290 if test $glibcxx_cv_st_mtim = yes; then
80292 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80296 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80298 $as_echo_n "checking for fchmod... " >&6; }
80299 if test "${glibcxx_cv_fchmod+set}" = set; then :
80300 $as_echo_n "(cached) " >&6
80301 else
80302 if test x$gcc_no_link = xyes; then
80303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80304 /* end confdefs.h. */
80305 #include <sys/stat.h>
80307 main ()
80309 fchmod(1, S_IWUSR);
80311 return 0;
80313 _ACEOF
80314 if ac_fn_cxx_try_compile "$LINENO"; then :
80315 glibcxx_cv_fchmod=yes
80316 else
80317 glibcxx_cv_fchmod=no
80319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80320 else
80321 if test x$gcc_no_link = xyes; then
80322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80325 /* end confdefs.h. */
80326 #include <sys/stat.h>
80328 main ()
80330 fchmod(1, S_IWUSR);
80332 return 0;
80334 _ACEOF
80335 if ac_fn_cxx_try_link "$LINENO"; then :
80336 glibcxx_cv_fchmod=yes
80337 else
80338 glibcxx_cv_fchmod=no
80340 rm -f core conftest.err conftest.$ac_objext \
80341 conftest$ac_exeext conftest.$ac_ext
80346 if test $glibcxx_cv_fchmod = yes; then
80348 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80352 $as_echo "$glibcxx_cv_fchmod" >&6; }
80353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80354 $as_echo_n "checking for fchmodat... " >&6; }
80355 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80356 $as_echo_n "(cached) " >&6
80357 else
80358 if test x$gcc_no_link = xyes; then
80359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80360 /* end confdefs.h. */
80362 #include <fcntl.h>
80363 #include <sys/stat.h>
80366 main ()
80368 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80370 return 0;
80372 _ACEOF
80373 if ac_fn_cxx_try_compile "$LINENO"; then :
80374 glibcxx_cv_fchmodat=yes
80375 else
80376 glibcxx_cv_fchmodat=no
80378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80379 else
80380 if test x$gcc_no_link = xyes; then
80381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80384 /* end confdefs.h. */
80386 #include <fcntl.h>
80387 #include <sys/stat.h>
80390 main ()
80392 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80394 return 0;
80396 _ACEOF
80397 if ac_fn_cxx_try_link "$LINENO"; then :
80398 glibcxx_cv_fchmodat=yes
80399 else
80400 glibcxx_cv_fchmodat=no
80402 rm -f core conftest.err conftest.$ac_objext \
80403 conftest$ac_exeext conftest.$ac_ext
80408 if test $glibcxx_cv_fchmodat = yes; then
80410 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80414 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80416 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80417 if test "${glibcxx_cv_sendfile+set}" = set; then :
80418 $as_echo_n "(cached) " >&6
80419 else
80420 case "${target_os}" in
80421 gnu* | linux* | solaris*)
80422 if test x$gcc_no_link = xyes; then
80423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80424 /* end confdefs.h. */
80425 #include <sys/sendfile.h>
80427 main ()
80429 sendfile(1, 2, (off_t*)0, sizeof 1);
80431 return 0;
80433 _ACEOF
80434 if ac_fn_cxx_try_compile "$LINENO"; then :
80435 glibcxx_cv_sendfile=yes
80436 else
80437 glibcxx_cv_sendfile=no
80439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80440 else
80441 if test x$gcc_no_link = xyes; then
80442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80445 /* end confdefs.h. */
80446 #include <sys/sendfile.h>
80448 main ()
80450 sendfile(1, 2, (off_t*)0, sizeof 1);
80452 return 0;
80454 _ACEOF
80455 if ac_fn_cxx_try_link "$LINENO"; then :
80456 glibcxx_cv_sendfile=yes
80457 else
80458 glibcxx_cv_sendfile=no
80460 rm -f core conftest.err conftest.$ac_objext \
80461 conftest$ac_exeext conftest.$ac_ext
80465 glibcxx_cv_sendfile=no
80467 esac
80471 if test $glibcxx_cv_sendfile = yes; then
80473 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80477 $as_echo "$glibcxx_cv_sendfile" >&6; }
80478 CXXFLAGS="$ac_save_CXXFLAGS"
80479 ac_ext=c
80480 ac_cpp='$CPP $CPPFLAGS'
80481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80487 # For Transactional Memory TS
80489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80490 $as_echo_n "checking how size_t is mangled... " >&6; }
80491 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80492 $as_echo_n "(cached) " >&6
80493 else
80495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80496 /* end confdefs.h. */
80499 main ()
80501 extern __SIZE_TYPE__ x; extern unsigned long x;
80503 return 0;
80505 _ACEOF
80506 if ac_fn_c_try_compile "$LINENO"; then :
80507 glibcxx_cv_size_t_mangling=m
80508 else
80510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80511 /* end confdefs.h. */
80514 main ()
80516 extern __SIZE_TYPE__ x; extern unsigned int x;
80518 return 0;
80520 _ACEOF
80521 if ac_fn_c_try_compile "$LINENO"; then :
80522 glibcxx_cv_size_t_mangling=j
80523 else
80525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80526 /* end confdefs.h. */
80529 main ()
80531 extern __SIZE_TYPE__ x; extern unsigned long long x;
80533 return 0;
80535 _ACEOF
80536 if ac_fn_c_try_compile "$LINENO"; then :
80537 glibcxx_cv_size_t_mangling=y
80538 else
80540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80541 /* end confdefs.h. */
80544 main ()
80546 extern __SIZE_TYPE__ x; extern unsigned short x;
80548 return 0;
80550 _ACEOF
80551 if ac_fn_c_try_compile "$LINENO"; then :
80552 glibcxx_cv_size_t_mangling=t
80553 else
80555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80556 /* end confdefs.h. */
80559 main ()
80561 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80563 return 0;
80565 _ACEOF
80566 if ac_fn_c_try_compile "$LINENO"; then :
80567 glibcxx_cv_size_t_mangling=u6uint20
80568 else
80569 glibcxx_cv_size_t_mangling=x
80571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80587 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80588 if test $glibcxx_cv_size_t_mangling = x; then
80589 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80592 cat >>confdefs.h <<_ACEOF
80593 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80594 _ACEOF
80598 # Check which release added std::exception_ptr for the target
80600 if test $enable_symvers != no; then
80601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80602 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80603 case ${target} in
80604 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80605 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80606 ac_exception_ptr_since_gcc46=yes
80609 # If the value of this macro changes then we will need to hardcode
80610 # yes/no here for additional targets based on the original value.
80611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80612 /* end confdefs.h. */
80615 main ()
80618 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80619 # error atomic int not always lock free
80620 #endif
80623 return 0;
80625 _ACEOF
80626 if ac_fn_c_try_compile "$LINENO"; then :
80627 ac_exception_ptr_since_gcc46=yes
80628 else
80629 ac_exception_ptr_since_gcc46=no
80631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80633 esac
80634 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80636 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80639 $as_echo "4.6.0" >&6; }
80640 else
80641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80642 $as_echo "7.1.0" >&6; }
80647 # Define documentation rules conditionally.
80649 # See if makeinfo has been installed and is modern enough
80650 # that we can use it.
80652 # Extract the first word of "makeinfo", so it can be a program name with args.
80653 set dummy makeinfo; ac_word=$2
80654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80655 $as_echo_n "checking for $ac_word... " >&6; }
80656 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80657 $as_echo_n "(cached) " >&6
80658 else
80659 if test -n "$MAKEINFO"; then
80660 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80661 else
80662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80663 for as_dir in $PATH
80665 IFS=$as_save_IFS
80666 test -z "$as_dir" && as_dir=.
80667 for ac_exec_ext in '' $ac_executable_extensions; do
80668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80669 ac_cv_prog_MAKEINFO="makeinfo"
80670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80671 break 2
80673 done
80674 done
80675 IFS=$as_save_IFS
80679 MAKEINFO=$ac_cv_prog_MAKEINFO
80680 if test -n "$MAKEINFO"; then
80681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80682 $as_echo "$MAKEINFO" >&6; }
80683 else
80684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80685 $as_echo "no" >&6; }
80689 if test -n "$MAKEINFO"; then
80690 # Found it, now check the version.
80691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80692 $as_echo_n "checking for modern makeinfo... " >&6; }
80693 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80694 $as_echo_n "(cached) " >&6
80695 else
80696 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80697 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80699 case $ac_prog_version in
80700 '') gcc_cv_prog_makeinfo_modern=no;;
80701 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80702 *) gcc_cv_prog_makeinfo_modern=no;;
80703 esac
80706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80707 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80708 else
80709 gcc_cv_prog_makeinfo_modern=no
80711 if test $gcc_cv_prog_makeinfo_modern = no; then
80712 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80715 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80716 BUILD_INFO_TRUE=
80717 BUILD_INFO_FALSE='#'
80718 else
80719 BUILD_INFO_TRUE='#'
80720 BUILD_INFO_FALSE=
80724 # Check for doxygen
80725 # Extract the first word of "doxygen", so it can be a program name with args.
80726 set dummy doxygen; ac_word=$2
80727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80728 $as_echo_n "checking for $ac_word... " >&6; }
80729 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80730 $as_echo_n "(cached) " >&6
80731 else
80732 if test -n "$DOXYGEN"; then
80733 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80734 else
80735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80736 for as_dir in $PATH
80738 IFS=$as_save_IFS
80739 test -z "$as_dir" && as_dir=.
80740 for ac_exec_ext in '' $ac_executable_extensions; do
80741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80742 ac_cv_prog_DOXYGEN="yes"
80743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80744 break 2
80746 done
80747 done
80748 IFS=$as_save_IFS
80750 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80753 DOXYGEN=$ac_cv_prog_DOXYGEN
80754 if test -n "$DOXYGEN"; then
80755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80756 $as_echo "$DOXYGEN" >&6; }
80757 else
80758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80759 $as_echo "no" >&6; }
80763 # Extract the first word of "dot", so it can be a program name with args.
80764 set dummy dot; ac_word=$2
80765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80766 $as_echo_n "checking for $ac_word... " >&6; }
80767 if test "${ac_cv_prog_DOT+set}" = set; then :
80768 $as_echo_n "(cached) " >&6
80769 else
80770 if test -n "$DOT"; then
80771 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80772 else
80773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80774 for as_dir in $PATH
80776 IFS=$as_save_IFS
80777 test -z "$as_dir" && as_dir=.
80778 for ac_exec_ext in '' $ac_executable_extensions; do
80779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80780 ac_cv_prog_DOT="yes"
80781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80782 break 2
80784 done
80785 done
80786 IFS=$as_save_IFS
80788 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80791 DOT=$ac_cv_prog_DOT
80792 if test -n "$DOT"; then
80793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80794 $as_echo "$DOT" >&6; }
80795 else
80796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80797 $as_echo "no" >&6; }
80802 # Check for docbook
80803 # Extract the first word of "xsltproc", so it can be a program name with args.
80804 set dummy xsltproc; ac_word=$2
80805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80806 $as_echo_n "checking for $ac_word... " >&6; }
80807 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80808 $as_echo_n "(cached) " >&6
80809 else
80810 if test -n "$XSLTPROC"; then
80811 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80812 else
80813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80814 for as_dir in $PATH
80816 IFS=$as_save_IFS
80817 test -z "$as_dir" && as_dir=.
80818 for ac_exec_ext in '' $ac_executable_extensions; do
80819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80820 ac_cv_prog_XSLTPROC="yes"
80821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80822 break 2
80824 done
80825 done
80826 IFS=$as_save_IFS
80828 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80831 XSLTPROC=$ac_cv_prog_XSLTPROC
80832 if test -n "$XSLTPROC"; then
80833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80834 $as_echo "$XSLTPROC" >&6; }
80835 else
80836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80837 $as_echo "no" >&6; }
80841 # Extract the first word of "xmllint", so it can be a program name with args.
80842 set dummy xmllint; ac_word=$2
80843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80844 $as_echo_n "checking for $ac_word... " >&6; }
80845 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80846 $as_echo_n "(cached) " >&6
80847 else
80848 if test -n "$XMLLINT"; then
80849 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80850 else
80851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80852 for as_dir in $PATH
80854 IFS=$as_save_IFS
80855 test -z "$as_dir" && as_dir=.
80856 for ac_exec_ext in '' $ac_executable_extensions; do
80857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80858 ac_cv_prog_XMLLINT="yes"
80859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80860 break 2
80862 done
80863 done
80864 IFS=$as_save_IFS
80866 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80869 XMLLINT=$ac_cv_prog_XMLLINT
80870 if test -n "$XMLLINT"; then
80871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80872 $as_echo "$XMLLINT" >&6; }
80873 else
80874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80875 $as_echo "no" >&6; }
80881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80882 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80883 glibcxx_stylesheets=no
80884 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
80885 glibcxx_stylesheets=yes
80887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80888 $as_echo "$glibcxx_stylesheets" >&6; }
80890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80891 $as_echo_n "checking for local stylesheet directory... " >&6; }
80892 glibcxx_local_stylesheets=no
80893 if test x"$glibcxx_stylesheets" = x"yes"; then
80894 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80895 glibcxx_local_stylesheets=yes
80896 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80898 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80899 glibcxx_local_stylesheets=yes
80900 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80902 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80903 glibcxx_local_stylesheets=yes
80904 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80908 $as_echo "$glibcxx_local_stylesheets" >&6; }
80910 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80913 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80914 else
80915 glibcxx_stylesheets=no
80918 # Check for epub3 dependencies.
80919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80920 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80921 glibcxx_epub_stylesheets=no
80922 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80923 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80924 glibcxx_epub_stylesheets=yes
80927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80928 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80929 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80930 BUILD_EPUB_TRUE=
80931 BUILD_EPUB_FALSE='#'
80932 else
80933 BUILD_EPUB_TRUE='#'
80934 BUILD_EPUB_FALSE=
80940 # Check for xml/html dependencies.
80941 if test $ac_cv_prog_DOXYGEN = "yes" &&
80942 test $ac_cv_prog_DOT = "yes" &&
80943 test $ac_cv_prog_XSLTPROC = "yes" &&
80944 test $ac_cv_prog_XMLLINT = "yes" &&
80945 test $glibcxx_stylesheets = "yes"; then
80946 BUILD_XML_TRUE=
80947 BUILD_XML_FALSE='#'
80948 else
80949 BUILD_XML_TRUE='#'
80950 BUILD_XML_FALSE=
80954 if test $ac_cv_prog_DOXYGEN = "yes" &&
80955 test $ac_cv_prog_DOT = "yes" &&
80956 test $ac_cv_prog_XSLTPROC = "yes" &&
80957 test $ac_cv_prog_XMLLINT = "yes" &&
80958 test $glibcxx_stylesheets = "yes"; then
80959 BUILD_HTML_TRUE=
80960 BUILD_HTML_FALSE='#'
80961 else
80962 BUILD_HTML_TRUE='#'
80963 BUILD_HTML_FALSE=
80967 # Check for man dependencies.
80968 if test $ac_cv_prog_DOXYGEN = "yes" &&
80969 test $ac_cv_prog_DOT = "yes"; then
80970 BUILD_MAN_TRUE=
80971 BUILD_MAN_FALSE='#'
80972 else
80973 BUILD_MAN_TRUE='#'
80974 BUILD_MAN_FALSE=
80978 # Check for pdf dependencies.
80979 # Extract the first word of "dblatex", so it can be a program name with args.
80980 set dummy dblatex; ac_word=$2
80981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80982 $as_echo_n "checking for $ac_word... " >&6; }
80983 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80984 $as_echo_n "(cached) " >&6
80985 else
80986 if test -n "$DBLATEX"; then
80987 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80988 else
80989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80990 for as_dir in $PATH
80992 IFS=$as_save_IFS
80993 test -z "$as_dir" && as_dir=.
80994 for ac_exec_ext in '' $ac_executable_extensions; do
80995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80996 ac_cv_prog_DBLATEX="yes"
80997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80998 break 2
81000 done
81001 done
81002 IFS=$as_save_IFS
81004 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81007 DBLATEX=$ac_cv_prog_DBLATEX
81008 if test -n "$DBLATEX"; then
81009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81010 $as_echo "$DBLATEX" >&6; }
81011 else
81012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81013 $as_echo "no" >&6; }
81017 # Extract the first word of "pdflatex", so it can be a program name with args.
81018 set dummy pdflatex; ac_word=$2
81019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81020 $as_echo_n "checking for $ac_word... " >&6; }
81021 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81022 $as_echo_n "(cached) " >&6
81023 else
81024 if test -n "$PDFLATEX"; then
81025 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81026 else
81027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81028 for as_dir in $PATH
81030 IFS=$as_save_IFS
81031 test -z "$as_dir" && as_dir=.
81032 for ac_exec_ext in '' $ac_executable_extensions; do
81033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81034 ac_cv_prog_PDFLATEX="yes"
81035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81036 break 2
81038 done
81039 done
81040 IFS=$as_save_IFS
81042 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81045 PDFLATEX=$ac_cv_prog_PDFLATEX
81046 if test -n "$PDFLATEX"; then
81047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81048 $as_echo "$PDFLATEX" >&6; }
81049 else
81050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81051 $as_echo "no" >&6; }
81055 if test $ac_cv_prog_DBLATEX = "yes" &&
81056 test $ac_cv_prog_PDFLATEX = "yes"; then
81057 BUILD_PDF_TRUE=
81058 BUILD_PDF_FALSE='#'
81059 else
81060 BUILD_PDF_TRUE='#'
81061 BUILD_PDF_FALSE=
81066 # Propagate the target-specific source directories through the build chain.
81067 ATOMICITY_SRCDIR=config/${atomicity_dir}
81068 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81069 ATOMIC_FLAGS=${atomic_flags}
81070 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81071 OS_INC_SRCDIR=config/${os_include_dir}
81072 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81073 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81074 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81075 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81087 # Add CET specific flags if Intel CET is enabled.
81088 # Check whether --enable-cet was given.
81089 if test "${enable_cet+set}" = set; then :
81090 enableval=$enable_cet;
81091 case "$enableval" in
81092 yes|no|default) ;;
81093 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81094 esac
81096 else
81097 enable_cet=default
81101 case "$host" in
81102 i[34567]86-*-linux* | x86_64-*-linux*)
81103 case "$enable_cet" in
81104 default)
81105 # Check if assembler supports CET.
81106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81107 /* end confdefs.h. */
81110 main ()
81112 asm ("setssbsy");
81114 return 0;
81116 _ACEOF
81117 if ac_fn_c_try_compile "$LINENO"; then :
81118 enable_cet=yes
81119 else
81120 enable_cet=no
81122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81124 yes)
81125 # Check if assembler supports CET.
81126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81127 /* end confdefs.h. */
81130 main ()
81132 asm ("setssbsy");
81134 return 0;
81136 _ACEOF
81137 if ac_fn_c_try_compile "$LINENO"; then :
81139 else
81140 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81144 esac
81147 enable_cet=no
81149 esac
81150 if test x$enable_cet = xyes; then
81151 CET_FLAGS="-fcf-protection -mcet"
81154 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81155 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81159 # Determine cross-compile flags and AM_CONDITIONALs.
81160 #AC_SUBST(GLIBCXX_IS_NATIVE)
81161 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81162 if test $is_hosted = yes; then
81163 GLIBCXX_HOSTED_TRUE=
81164 GLIBCXX_HOSTED_FALSE='#'
81165 else
81166 GLIBCXX_HOSTED_TRUE='#'
81167 GLIBCXX_HOSTED_FALSE=
81171 if test $enable_libstdcxx_pch = yes; then
81172 GLIBCXX_BUILD_PCH_TRUE=
81173 GLIBCXX_BUILD_PCH_FALSE='#'
81174 else
81175 GLIBCXX_BUILD_PCH_TRUE='#'
81176 GLIBCXX_BUILD_PCH_FALSE=
81180 if test $enable_libstdcxx_allocator_flag = new; then
81181 ENABLE_ALLOCATOR_NEW_TRUE=
81182 ENABLE_ALLOCATOR_NEW_FALSE='#'
81183 else
81184 ENABLE_ALLOCATOR_NEW_TRUE='#'
81185 ENABLE_ALLOCATOR_NEW_FALSE=
81189 if test $enable_cheaders = c; then
81190 GLIBCXX_C_HEADERS_C_TRUE=
81191 GLIBCXX_C_HEADERS_C_FALSE='#'
81192 else
81193 GLIBCXX_C_HEADERS_C_TRUE='#'
81194 GLIBCXX_C_HEADERS_C_FALSE=
81198 if test $enable_cheaders = c_std; then
81199 GLIBCXX_C_HEADERS_C_STD_TRUE=
81200 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81201 else
81202 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81203 GLIBCXX_C_HEADERS_C_STD_FALSE=
81207 if test $enable_cheaders = c_global; then
81208 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81209 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81210 else
81211 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81212 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81216 if test $c_compatibility = yes; then
81217 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81218 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81219 else
81220 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81221 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81225 if test $enable_libstdcxx_debug = yes; then
81226 GLIBCXX_BUILD_DEBUG_TRUE=
81227 GLIBCXX_BUILD_DEBUG_FALSE='#'
81228 else
81229 GLIBCXX_BUILD_DEBUG_TRUE='#'
81230 GLIBCXX_BUILD_DEBUG_FALSE=
81234 if test $enable_extern_template = yes; then
81235 ENABLE_EXTERN_TEMPLATE_TRUE=
81236 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81237 else
81238 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81239 ENABLE_EXTERN_TEMPLATE_FALSE=
81243 if test $python_mod_dir != no; then
81244 ENABLE_PYTHONDIR_TRUE=
81245 ENABLE_PYTHONDIR_FALSE='#'
81246 else
81247 ENABLE_PYTHONDIR_TRUE='#'
81248 ENABLE_PYTHONDIR_FALSE=
81252 if test $enable_werror = yes; then
81253 ENABLE_WERROR_TRUE=
81254 ENABLE_WERROR_FALSE='#'
81255 else
81256 ENABLE_WERROR_TRUE='#'
81257 ENABLE_WERROR_FALSE=
81261 if test $enable_vtable_verify = yes; then
81262 ENABLE_VTABLE_VERIFY_TRUE=
81263 ENABLE_VTABLE_VERIFY_FALSE='#'
81264 else
81265 ENABLE_VTABLE_VERIFY_TRUE='#'
81266 ENABLE_VTABLE_VERIFY_FALSE=
81270 if test $enable_symvers != no; then
81271 ENABLE_SYMVERS_TRUE=
81272 ENABLE_SYMVERS_FALSE='#'
81273 else
81274 ENABLE_SYMVERS_TRUE='#'
81275 ENABLE_SYMVERS_FALSE=
81279 if test $enable_symvers = gnu; then
81280 ENABLE_SYMVERS_GNU_TRUE=
81281 ENABLE_SYMVERS_GNU_FALSE='#'
81282 else
81283 ENABLE_SYMVERS_GNU_TRUE='#'
81284 ENABLE_SYMVERS_GNU_FALSE=
81288 if test $enable_symvers = gnu-versioned-namespace; then
81289 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81290 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81291 else
81292 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81293 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81297 if test $enable_symvers = darwin; then
81298 ENABLE_SYMVERS_DARWIN_TRUE=
81299 ENABLE_SYMVERS_DARWIN_FALSE='#'
81300 else
81301 ENABLE_SYMVERS_DARWIN_TRUE='#'
81302 ENABLE_SYMVERS_DARWIN_FALSE=
81306 if test $enable_symvers = sun; then
81307 ENABLE_SYMVERS_SUN_TRUE=
81308 ENABLE_SYMVERS_SUN_FALSE='#'
81309 else
81310 ENABLE_SYMVERS_SUN_TRUE='#'
81311 ENABLE_SYMVERS_SUN_FALSE=
81315 if test $enable_libstdcxx_visibility = yes; then
81316 ENABLE_VISIBILITY_TRUE=
81317 ENABLE_VISIBILITY_FALSE='#'
81318 else
81319 ENABLE_VISIBILITY_TRUE='#'
81320 ENABLE_VISIBILITY_FALSE=
81324 if test $enable_libstdcxx_dual_abi = yes; then
81325 ENABLE_DUAL_ABI_TRUE=
81326 ENABLE_DUAL_ABI_FALSE='#'
81327 else
81328 ENABLE_DUAL_ABI_TRUE='#'
81329 ENABLE_DUAL_ABI_FALSE=
81333 if test $glibcxx_cxx11_abi = 1; then
81334 ENABLE_CXX11_ABI_TRUE=
81335 ENABLE_CXX11_ABI_FALSE='#'
81336 else
81337 ENABLE_CXX11_ABI_TRUE='#'
81338 ENABLE_CXX11_ABI_FALSE=
81342 if test $ac_ldbl_compat = yes; then
81343 GLIBCXX_LDBL_COMPAT_TRUE=
81344 GLIBCXX_LDBL_COMPAT_FALSE='#'
81345 else
81346 GLIBCXX_LDBL_COMPAT_TRUE='#'
81347 GLIBCXX_LDBL_COMPAT_FALSE=
81351 if test $enable_libstdcxx_filesystem_ts = yes; then
81352 ENABLE_FILESYSTEM_TS_TRUE=
81353 ENABLE_FILESYSTEM_TS_FALSE='#'
81354 else
81355 ENABLE_FILESYSTEM_TS_TRUE='#'
81356 ENABLE_FILESYSTEM_TS_FALSE=
81362 cat >confcache <<\_ACEOF
81363 # This file is a shell script that caches the results of configure
81364 # tests run on this system so they can be shared between configure
81365 # scripts and configure runs, see configure's option --config-cache.
81366 # It is not useful on other systems. If it contains results you don't
81367 # want to keep, you may remove or edit it.
81369 # config.status only pays attention to the cache file if you give it
81370 # the --recheck option to rerun configure.
81372 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81373 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81374 # following values.
81376 _ACEOF
81378 # The following way of writing the cache mishandles newlines in values,
81379 # but we know of no workaround that is simple, portable, and efficient.
81380 # So, we kill variables containing newlines.
81381 # Ultrix sh set writes to stderr and can't be redirected directly,
81382 # and sets the high bit in the cache file unless we assign to the vars.
81384 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81385 eval ac_val=\$$ac_var
81386 case $ac_val in #(
81387 *${as_nl}*)
81388 case $ac_var in #(
81389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81391 esac
81392 case $ac_var in #(
81393 _ | IFS | as_nl) ;; #(
81394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81395 *) { eval $ac_var=; unset $ac_var;} ;;
81396 esac ;;
81397 esac
81398 done
81400 (set) 2>&1 |
81401 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81402 *${as_nl}ac_space=\ *)
81403 # `set' does not quote correctly, so add quotes: double-quote
81404 # substitution turns \\\\ into \\, and sed turns \\ into \.
81405 sed -n \
81406 "s/'/'\\\\''/g;
81407 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81408 ;; #(
81410 # `set' quotes correctly as required by POSIX, so do not add quotes.
81411 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81413 esac |
81414 sort
81416 sed '
81417 /^ac_cv_env_/b end
81418 t clear
81419 :clear
81420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81421 t end
81422 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81423 :end' >>confcache
81424 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81425 if test -w "$cache_file"; then
81426 test "x$cache_file" != "x/dev/null" &&
81427 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81428 $as_echo "$as_me: updating cache $cache_file" >&6;}
81429 cat confcache >$cache_file
81430 else
81431 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81432 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81435 rm -f confcache
81437 if test ${multilib} = yes; then
81438 multilib_arg="--enable-multilib"
81439 else
81440 multilib_arg=
81443 # Export all the install information.
81445 glibcxx_toolexecdir=no
81446 glibcxx_toolexeclibdir=no
81447 glibcxx_prefixdir=$prefix
81449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81450 $as_echo_n "checking for gxx-include-dir... " >&6; }
81452 # Check whether --with-gxx-include-dir was given.
81453 if test "${with_gxx_include_dir+set}" = set; then :
81454 withval=$with_gxx_include_dir; case "$withval" in
81455 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81456 no) gxx_include_dir=no ;;
81457 *) gxx_include_dir=$withval ;;
81458 esac
81459 else
81460 gxx_include_dir=no
81463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81464 $as_echo "$gxx_include_dir" >&6; }
81466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81467 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81468 # Check whether --enable-version-specific-runtime-libs was given.
81469 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81470 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81471 yes) version_specific_libs=yes ;;
81472 no) version_specific_libs=no ;;
81473 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81474 esac
81475 else
81476 version_specific_libs=no
81479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81480 $as_echo "$version_specific_libs" >&6; }
81482 # Default case for install directory for include files.
81483 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81484 gxx_include_dir='include/c++/${gcc_version}'
81485 if test -n "$with_cross_host" &&
81486 test x"$with_cross_host" != x"no"; then
81487 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81488 else
81489 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81493 # Version-specific runtime libs processing.
81494 if test $version_specific_libs = yes; then
81495 # Need the gcc compiler version to know where to install libraries
81496 # and header files if --enable-version-specific-runtime-libs option
81497 # is selected. FIXME: these variables are misnamed, there are
81498 # no executables installed in _toolexecdir or _toolexeclibdir.
81499 if test x"$gxx_include_dir" = x"no"; then
81500 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81502 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81503 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81506 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81507 # Install a library built with a cross compiler in tooldir, not libdir.
81508 if test x"$glibcxx_toolexecdir" = x"no"; then
81509 if test -n "$with_cross_host" &&
81510 test x"$with_cross_host" != x"no"; then
81511 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81512 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81513 else
81514 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81515 glibcxx_toolexeclibdir='${libdir}'
81517 multi_os_directory=`$CXX -print-multi-os-directory`
81518 case $multi_os_directory in
81519 .) ;; # Avoid trailing /.
81520 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81521 esac
81524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81525 $as_echo_n "checking for install location... " >&6; }
81526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81527 $as_echo "$gxx_include_dir" >&6; }
81535 # Export all the include and flag information to Makefiles.
81537 # Used for every C++ compile we perform.
81538 GLIBCXX_INCLUDES="\
81539 -I$glibcxx_builddir/include/$host_alias \
81540 -I$glibcxx_builddir/include \
81541 -I$glibcxx_srcdir/libsupc++"
81543 # For Canadian crosses, pick this up too.
81544 if test $CANADIAN = yes; then
81545 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81548 # Stuff in the actual top level. Currently only used by libsupc++ to
81549 # get unwind* headers from the libgcc dir.
81550 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81551 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81553 # Now, export this to all the little Makefiles....
81558 # Optimization flags that are probably a good idea for thrill-seekers. Just
81559 # uncomment the lines below and make, everything else is ready to go...
81560 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81561 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81564 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81568 # Determine what GCC version number to use in filesystem paths.
81570 get_gcc_base_ver="cat"
81572 # Check whether --with-gcc-major-version-only was given.
81573 if test "${with_gcc_major_version_only+set}" = set; then :
81574 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81575 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81583 ac_config_files="$ac_config_files Makefile"
81585 ac_config_files="$ac_config_files scripts/testsuite_flags"
81587 ac_config_files="$ac_config_files scripts/extract_symvers"
81589 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81592 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81593 # that multilib installs will end up installed in the correct place.
81594 # The testsuite needs it for multilib-aware ABI baseline files.
81595 # To work around this not being passed down from config-ml.in ->
81596 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81597 # append it here. Only modify Makefiles that have just been created.
81599 # Also, get rid of this simulated-VPATH thing that automake does.
81600 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"
81603 ac_config_commands="$ac_config_commands generate-headers"
81606 cat >confcache <<\_ACEOF
81607 # This file is a shell script that caches the results of configure
81608 # tests run on this system so they can be shared between configure
81609 # scripts and configure runs, see configure's option --config-cache.
81610 # It is not useful on other systems. If it contains results you don't
81611 # want to keep, you may remove or edit it.
81613 # config.status only pays attention to the cache file if you give it
81614 # the --recheck option to rerun configure.
81616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81618 # following values.
81620 _ACEOF
81622 # The following way of writing the cache mishandles newlines in values,
81623 # but we know of no workaround that is simple, portable, and efficient.
81624 # So, we kill variables containing newlines.
81625 # Ultrix sh set writes to stderr and can't be redirected directly,
81626 # and sets the high bit in the cache file unless we assign to the vars.
81628 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81629 eval ac_val=\$$ac_var
81630 case $ac_val in #(
81631 *${as_nl}*)
81632 case $ac_var in #(
81633 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81635 esac
81636 case $ac_var in #(
81637 _ | IFS | as_nl) ;; #(
81638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81639 *) { eval $ac_var=; unset $ac_var;} ;;
81640 esac ;;
81641 esac
81642 done
81644 (set) 2>&1 |
81645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81646 *${as_nl}ac_space=\ *)
81647 # `set' does not quote correctly, so add quotes: double-quote
81648 # substitution turns \\\\ into \\, and sed turns \\ into \.
81649 sed -n \
81650 "s/'/'\\\\''/g;
81651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81652 ;; #(
81654 # `set' quotes correctly as required by POSIX, so do not add quotes.
81655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81657 esac |
81658 sort
81660 sed '
81661 /^ac_cv_env_/b end
81662 t clear
81663 :clear
81664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81665 t end
81666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81667 :end' >>confcache
81668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81669 if test -w "$cache_file"; then
81670 test "x$cache_file" != "x/dev/null" &&
81671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81672 $as_echo "$as_me: updating cache $cache_file" >&6;}
81673 cat confcache >$cache_file
81674 else
81675 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81676 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81679 rm -f confcache
81681 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81682 # Let make expand exec_prefix.
81683 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81685 DEFS=-DHAVE_CONFIG_H
81687 ac_libobjs=
81688 ac_ltlibobjs=
81689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81690 # 1. Remove the extension, and $U if already installed.
81691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81692 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81694 # will be set to the directory where LIBOBJS objects are built.
81695 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81696 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81697 done
81698 LIBOBJS=$ac_libobjs
81700 LTLIBOBJS=$ac_ltlibobjs
81703 if test -n "$EXEEXT"; then
81704 am__EXEEXT_TRUE=
81705 am__EXEEXT_FALSE='#'
81706 else
81707 am__EXEEXT_TRUE='#'
81708 am__EXEEXT_FALSE=
81711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81712 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81715 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81716 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81719 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81720 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81723 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81724 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81727 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81728 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81731 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81732 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81735 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81736 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81739 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81740 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81743 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81744 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81747 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81748 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81751 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81752 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81755 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81756 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81759 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81760 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81763 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81764 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81767 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81768 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81771 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81772 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81775 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81776 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81779 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81780 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81783 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81784 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81787 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81788 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81791 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81792 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81795 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81796 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81799 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81800 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81803 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81804 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81807 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81808 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81811 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81812 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81815 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81816 as_fn_error "conditional \"BUILD_XML\" was never defined.
81817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81819 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81820 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81823 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81824 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81827 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81828 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81832 : ${CONFIG_STATUS=./config.status}
81833 ac_write_fail=0
81834 ac_clean_files_save=$ac_clean_files
81835 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81838 as_write_fail=0
81839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81840 #! $SHELL
81841 # Generated by $as_me.
81842 # Run this file to recreate the current configuration.
81843 # Compiler output produced by configure, useful for debugging
81844 # configure, is in config.log if it exists.
81846 debug=false
81847 ac_cs_recheck=false
81848 ac_cs_silent=false
81850 SHELL=\${CONFIG_SHELL-$SHELL}
81851 export SHELL
81852 _ASEOF
81853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81854 ## -------------------- ##
81855 ## M4sh Initialization. ##
81856 ## -------------------- ##
81858 # Be more Bourne compatible
81859 DUALCASE=1; export DUALCASE # for MKS sh
81860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81861 emulate sh
81862 NULLCMD=:
81863 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81864 # is contrary to our usage. Disable this feature.
81865 alias -g '${1+"$@"}'='"$@"'
81866 setopt NO_GLOB_SUBST
81867 else
81868 case `(set -o) 2>/dev/null` in #(
81869 *posix*) :
81870 set -o posix ;; #(
81871 *) :
81873 esac
81877 as_nl='
81879 export as_nl
81880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81881 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81884 # Prefer a ksh shell builtin over an external printf program on Solaris,
81885 # but without wasting forks for bash or zsh.
81886 if test -z "$BASH_VERSION$ZSH_VERSION" \
81887 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81888 as_echo='print -r --'
81889 as_echo_n='print -rn --'
81890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81891 as_echo='printf %s\n'
81892 as_echo_n='printf %s'
81893 else
81894 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81895 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81896 as_echo_n='/usr/ucb/echo -n'
81897 else
81898 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81899 as_echo_n_body='eval
81900 arg=$1;
81901 case $arg in #(
81902 *"$as_nl"*)
81903 expr "X$arg" : "X\\(.*\\)$as_nl";
81904 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81905 esac;
81906 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81908 export as_echo_n_body
81909 as_echo_n='sh -c $as_echo_n_body as_echo'
81911 export as_echo_body
81912 as_echo='sh -c $as_echo_body as_echo'
81915 # The user is always right.
81916 if test "${PATH_SEPARATOR+set}" != set; then
81917 PATH_SEPARATOR=:
81918 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81919 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81920 PATH_SEPARATOR=';'
81925 # IFS
81926 # We need space, tab and new line, in precisely that order. Quoting is
81927 # there to prevent editors from complaining about space-tab.
81928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81929 # splitting by setting IFS to empty value.)
81930 IFS=" "" $as_nl"
81932 # Find who we are. Look in the path if we contain no directory separator.
81933 case $0 in #((
81934 *[\\/]* ) as_myself=$0 ;;
81935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81936 for as_dir in $PATH
81938 IFS=$as_save_IFS
81939 test -z "$as_dir" && as_dir=.
81940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81941 done
81942 IFS=$as_save_IFS
81945 esac
81946 # We did not find ourselves, most probably we were run as `sh COMMAND'
81947 # in which case we are not to be found in the path.
81948 if test "x$as_myself" = x; then
81949 as_myself=$0
81951 if test ! -f "$as_myself"; then
81952 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81953 exit 1
81956 # Unset variables that we do not need and which cause bugs (e.g. in
81957 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81958 # suppresses any "Segmentation fault" message there. '((' could
81959 # trigger a bug in pdksh 5.2.14.
81960 for as_var in BASH_ENV ENV MAIL MAILPATH
81961 do eval test x\${$as_var+set} = xset \
81962 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81963 done
81964 PS1='$ '
81965 PS2='> '
81966 PS4='+ '
81968 # NLS nuisances.
81969 LC_ALL=C
81970 export LC_ALL
81971 LANGUAGE=C
81972 export LANGUAGE
81974 # CDPATH.
81975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81978 # as_fn_error ERROR [LINENO LOG_FD]
81979 # ---------------------------------
81980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81982 # script with status $?, using 1 if that was 0.
81983 as_fn_error ()
81985 as_status=$?; test $as_status -eq 0 && as_status=1
81986 if test "$3"; then
81987 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81988 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81990 $as_echo "$as_me: error: $1" >&2
81991 as_fn_exit $as_status
81992 } # as_fn_error
81995 # as_fn_set_status STATUS
81996 # -----------------------
81997 # Set $? to STATUS, without forking.
81998 as_fn_set_status ()
82000 return $1
82001 } # as_fn_set_status
82003 # as_fn_exit STATUS
82004 # -----------------
82005 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82006 as_fn_exit ()
82008 set +e
82009 as_fn_set_status $1
82010 exit $1
82011 } # as_fn_exit
82013 # as_fn_unset VAR
82014 # ---------------
82015 # Portably unset VAR.
82016 as_fn_unset ()
82018 { eval $1=; unset $1;}
82020 as_unset=as_fn_unset
82021 # as_fn_append VAR VALUE
82022 # ----------------------
82023 # Append the text in VALUE to the end of the definition contained in VAR. Take
82024 # advantage of any shell optimizations that allow amortized linear growth over
82025 # repeated appends, instead of the typical quadratic growth present in naive
82026 # implementations.
82027 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82028 eval 'as_fn_append ()
82030 eval $1+=\$2
82032 else
82033 as_fn_append ()
82035 eval $1=\$$1\$2
82037 fi # as_fn_append
82039 # as_fn_arith ARG...
82040 # ------------------
82041 # Perform arithmetic evaluation on the ARGs, and store the result in the
82042 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82043 # must be portable across $(()) and expr.
82044 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82045 eval 'as_fn_arith ()
82047 as_val=$(( $* ))
82049 else
82050 as_fn_arith ()
82052 as_val=`expr "$@" || test $? -eq 1`
82054 fi # as_fn_arith
82057 if expr a : '\(a\)' >/dev/null 2>&1 &&
82058 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82059 as_expr=expr
82060 else
82061 as_expr=false
82064 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82065 as_basename=basename
82066 else
82067 as_basename=false
82070 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82071 as_dirname=dirname
82072 else
82073 as_dirname=false
82076 as_me=`$as_basename -- "$0" ||
82077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82078 X"$0" : 'X\(//\)$' \| \
82079 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82080 $as_echo X/"$0" |
82081 sed '/^.*\/\([^/][^/]*\)\/*$/{
82082 s//\1/
82085 /^X\/\(\/\/\)$/{
82086 s//\1/
82089 /^X\/\(\/\).*/{
82090 s//\1/
82093 s/.*/./; q'`
82095 # Avoid depending upon Character Ranges.
82096 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82097 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82098 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82099 as_cr_digits='0123456789'
82100 as_cr_alnum=$as_cr_Letters$as_cr_digits
82102 ECHO_C= ECHO_N= ECHO_T=
82103 case `echo -n x` in #(((((
82104 -n*)
82105 case `echo 'xy\c'` in
82106 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82107 xy) ECHO_C='\c';;
82108 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82109 ECHO_T=' ';;
82110 esac;;
82112 ECHO_N='-n';;
82113 esac
82115 rm -f conf$$ conf$$.exe conf$$.file
82116 if test -d conf$$.dir; then
82117 rm -f conf$$.dir/conf$$.file
82118 else
82119 rm -f conf$$.dir
82120 mkdir conf$$.dir 2>/dev/null
82122 if (echo >conf$$.file) 2>/dev/null; then
82123 if ln -s conf$$.file conf$$ 2>/dev/null; then
82124 as_ln_s='ln -s'
82125 # ... but there are two gotchas:
82126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82128 # In both cases, we have to default to `cp -p'.
82129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82130 as_ln_s='cp -p'
82131 elif ln conf$$.file conf$$ 2>/dev/null; then
82132 as_ln_s=ln
82133 else
82134 as_ln_s='cp -p'
82136 else
82137 as_ln_s='cp -p'
82139 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82140 rmdir conf$$.dir 2>/dev/null
82143 # as_fn_mkdir_p
82144 # -------------
82145 # Create "$as_dir" as a directory, including parents if necessary.
82146 as_fn_mkdir_p ()
82149 case $as_dir in #(
82150 -*) as_dir=./$as_dir;;
82151 esac
82152 test -d "$as_dir" || eval $as_mkdir_p || {
82153 as_dirs=
82154 while :; do
82155 case $as_dir in #(
82156 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82157 *) as_qdir=$as_dir;;
82158 esac
82159 as_dirs="'$as_qdir' $as_dirs"
82160 as_dir=`$as_dirname -- "$as_dir" ||
82161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82162 X"$as_dir" : 'X\(//\)[^/]' \| \
82163 X"$as_dir" : 'X\(//\)$' \| \
82164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82165 $as_echo X"$as_dir" |
82166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82167 s//\1/
82170 /^X\(\/\/\)[^/].*/{
82171 s//\1/
82174 /^X\(\/\/\)$/{
82175 s//\1/
82178 /^X\(\/\).*/{
82179 s//\1/
82182 s/.*/./; q'`
82183 test -d "$as_dir" && break
82184 done
82185 test -z "$as_dirs" || eval "mkdir $as_dirs"
82186 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82189 } # as_fn_mkdir_p
82190 if mkdir -p . 2>/dev/null; then
82191 as_mkdir_p='mkdir -p "$as_dir"'
82192 else
82193 test -d ./-p && rmdir ./-p
82194 as_mkdir_p=false
82197 if test -x / >/dev/null 2>&1; then
82198 as_test_x='test -x'
82199 else
82200 if ls -dL / >/dev/null 2>&1; then
82201 as_ls_L_option=L
82202 else
82203 as_ls_L_option=
82205 as_test_x='
82206 eval sh -c '\''
82207 if test -d "$1"; then
82208 test -d "$1/.";
82209 else
82210 case $1 in #(
82211 -*)set "./$1";;
82212 esac;
82213 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82214 ???[sx]*):;;*)false;;esac;fi
82215 '\'' sh
82218 as_executable_p=$as_test_x
82220 # Sed expression to map a string onto a valid CPP name.
82221 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82223 # Sed expression to map a string onto a valid variable name.
82224 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82227 exec 6>&1
82228 ## ----------------------------------- ##
82229 ## Main body of $CONFIG_STATUS script. ##
82230 ## ----------------------------------- ##
82231 _ASEOF
82232 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82235 # Save the log message, to keep $0 and so on meaningful, and to
82236 # report actual input values of CONFIG_FILES etc. instead of their
82237 # values after options handling.
82238 ac_log="
82239 This file was extended by package-unused $as_me version-unused, which was
82240 generated by GNU Autoconf 2.64. Invocation command line was
82242 CONFIG_FILES = $CONFIG_FILES
82243 CONFIG_HEADERS = $CONFIG_HEADERS
82244 CONFIG_LINKS = $CONFIG_LINKS
82245 CONFIG_COMMANDS = $CONFIG_COMMANDS
82246 $ $0 $@
82248 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82251 _ACEOF
82253 case $ac_config_files in *"
82254 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82255 esac
82257 case $ac_config_headers in *"
82258 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82259 esac
82262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82263 # Files that config.status was made for.
82264 config_files="$ac_config_files"
82265 config_headers="$ac_config_headers"
82266 config_commands="$ac_config_commands"
82268 _ACEOF
82270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82271 ac_cs_usage="\
82272 \`$as_me' instantiates files and other configuration actions
82273 from templates according to the current configuration. Unless the files
82274 and actions are specified as TAGs, all are instantiated by default.
82276 Usage: $0 [OPTION]... [TAG]...
82278 -h, --help print this help, then exit
82279 -V, --version print version number and configuration settings, then exit
82280 -q, --quiet, --silent
82281 do not print progress messages
82282 -d, --debug don't remove temporary files
82283 --recheck update $as_me by reconfiguring in the same conditions
82284 --file=FILE[:TEMPLATE]
82285 instantiate the configuration file FILE
82286 --header=FILE[:TEMPLATE]
82287 instantiate the configuration header FILE
82289 Configuration files:
82290 $config_files
82292 Configuration headers:
82293 $config_headers
82295 Configuration commands:
82296 $config_commands
82298 Report bugs to the package provider."
82300 _ACEOF
82301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82302 ac_cs_version="\\
82303 package-unused config.status version-unused
82304 configured by $0, generated by GNU Autoconf 2.64,
82305 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82307 Copyright (C) 2009 Free Software Foundation, Inc.
82308 This config.status script is free software; the Free Software Foundation
82309 gives unlimited permission to copy, distribute and modify it."
82311 ac_pwd='$ac_pwd'
82312 srcdir='$srcdir'
82313 INSTALL='$INSTALL'
82314 MKDIR_P='$MKDIR_P'
82315 AWK='$AWK'
82316 test -n "\$AWK" || AWK=awk
82317 _ACEOF
82319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82320 # The default lists apply if the user does not specify any file.
82321 ac_need_defaults=:
82322 while test $# != 0
82324 case $1 in
82325 --*=*)
82326 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82327 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82328 ac_shift=:
82331 ac_option=$1
82332 ac_optarg=$2
82333 ac_shift=shift
82335 esac
82337 case $ac_option in
82338 # Handling of the options.
82339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82340 ac_cs_recheck=: ;;
82341 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82342 $as_echo "$ac_cs_version"; exit ;;
82343 --debug | --debu | --deb | --de | --d | -d )
82344 debug=: ;;
82345 --file | --fil | --fi | --f )
82346 $ac_shift
82347 case $ac_optarg in
82348 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82349 esac
82350 as_fn_append CONFIG_FILES " '$ac_optarg'"
82351 ac_need_defaults=false;;
82352 --header | --heade | --head | --hea )
82353 $ac_shift
82354 case $ac_optarg in
82355 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82356 esac
82357 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82358 ac_need_defaults=false;;
82359 --he | --h)
82360 # Conflict between --help and --header
82361 as_fn_error "ambiguous option: \`$1'
82362 Try \`$0 --help' for more information.";;
82363 --help | --hel | -h )
82364 $as_echo "$ac_cs_usage"; exit ;;
82365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82366 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82367 ac_cs_silent=: ;;
82369 # This is an error.
82370 -*) as_fn_error "unrecognized option: \`$1'
82371 Try \`$0 --help' for more information." ;;
82373 *) as_fn_append ac_config_targets " $1"
82374 ac_need_defaults=false ;;
82376 esac
82377 shift
82378 done
82380 ac_configure_extra_args=
82382 if $ac_cs_silent; then
82383 exec 6>/dev/null
82384 ac_configure_extra_args="$ac_configure_extra_args --silent"
82387 _ACEOF
82388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82389 if \$ac_cs_recheck; then
82390 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82391 shift
82392 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82393 CONFIG_SHELL='$SHELL'
82394 export CONFIG_SHELL
82395 exec "\$@"
82398 _ACEOF
82399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82400 exec 5>>config.log
82402 echo
82403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82404 ## Running $as_me. ##
82405 _ASBOX
82406 $as_echo "$ac_log"
82407 } >&5
82409 _ACEOF
82410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82412 # INIT-COMMANDS
82415 srcdir="$srcdir"
82416 host="$host"
82417 target="$target"
82418 with_multisubdir="$with_multisubdir"
82419 with_multisrctop="$with_multisrctop"
82420 with_target_subdir="$with_target_subdir"
82421 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82422 multi_basedir="$multi_basedir"
82423 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82424 CC="$CC"
82425 CXX="$CXX"
82426 GFORTRAN="$GFORTRAN"
82429 # The HP-UX ksh and POSIX shell print the target directory to stdout
82430 # if CDPATH is set.
82431 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82433 sed_quote_subst='$sed_quote_subst'
82434 double_quote_subst='$double_quote_subst'
82435 delay_variable_subst='$delay_variable_subst'
82436 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82437 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82438 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82439 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82440 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82441 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82442 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82443 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82444 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82445 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82446 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82447 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82448 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82449 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82450 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82451 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82452 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82453 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82454 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82455 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82456 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82457 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82458 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82459 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82460 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82461 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82462 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82463 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82464 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82465 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82466 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82467 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82468 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82469 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82470 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82471 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82472 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82473 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82474 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82475 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82476 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82477 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82478 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82479 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82480 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82481 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82482 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82483 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82484 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"`'
82485 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82486 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82487 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82488 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82489 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82490 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82491 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82492 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82493 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82494 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82495 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82496 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82497 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82498 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82499 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82500 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82501 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82502 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82503 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82504 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82505 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82506 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82507 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82508 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82509 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82510 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82511 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82512 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82513 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82514 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82515 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82516 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82517 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82518 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82519 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82520 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82521 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82522 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82523 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82524 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82525 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82526 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82527 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82528 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82529 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82530 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82531 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82532 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82533 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82534 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82535 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82536 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82537 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82538 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82539 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82540 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82541 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82542 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82543 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82544 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82545 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82546 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82547 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82548 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82549 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82550 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82551 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82552 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82553 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82554 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82555 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82556 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82557 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82558 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82559 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82560 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82561 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82562 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82563 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82564 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82565 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82566 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82567 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82568 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82569 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82570 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82571 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82572 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82573 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82574 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82575 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82576 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82577 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82578 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82579 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82580 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82581 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82582 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82583 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82584 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82585 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82586 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82587 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82588 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82589 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82590 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82591 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82592 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82593 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82594 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82595 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82596 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82597 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82598 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82599 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82600 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82601 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82602 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82603 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82604 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82605 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82606 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82607 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82608 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82609 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82610 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82612 LTCC='$LTCC'
82613 LTCFLAGS='$LTCFLAGS'
82614 compiler='$compiler_DEFAULT'
82616 # A function that is used when there is no print builtin or printf.
82617 func_fallback_echo ()
82619 eval 'cat <<_LTECHO_EOF
82621 _LTECHO_EOF'
82624 # Quote evaled strings.
82625 for var in SHELL \
82626 ECHO \
82627 SED \
82628 GREP \
82629 EGREP \
82630 FGREP \
82631 LD \
82632 NM \
82633 LN_S \
82634 lt_SP2NL \
82635 lt_NL2SP \
82636 reload_flag \
82637 OBJDUMP \
82638 deplibs_check_method \
82639 file_magic_cmd \
82640 AR \
82641 AR_FLAGS \
82642 STRIP \
82643 RANLIB \
82644 CC \
82645 CFLAGS \
82646 compiler \
82647 lt_cv_sys_global_symbol_pipe \
82648 lt_cv_sys_global_symbol_to_cdecl \
82649 lt_cv_sys_global_symbol_to_c_name_address \
82650 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82651 lt_prog_compiler_no_builtin_flag \
82652 lt_prog_compiler_wl \
82653 lt_prog_compiler_pic \
82654 lt_prog_compiler_static \
82655 lt_cv_prog_compiler_c_o \
82656 need_locks \
82657 DSYMUTIL \
82658 NMEDIT \
82659 LIPO \
82660 OTOOL \
82661 OTOOL64 \
82662 shrext_cmds \
82663 export_dynamic_flag_spec \
82664 whole_archive_flag_spec \
82665 compiler_needs_object \
82666 with_gnu_ld \
82667 allow_undefined_flag \
82668 no_undefined_flag \
82669 hardcode_libdir_flag_spec \
82670 hardcode_libdir_flag_spec_ld \
82671 hardcode_libdir_separator \
82672 fix_srcfile_path \
82673 exclude_expsyms \
82674 include_expsyms \
82675 file_list_spec \
82676 variables_saved_for_relink \
82677 libname_spec \
82678 library_names_spec \
82679 soname_spec \
82680 install_override_mode \
82681 finish_eval \
82682 old_striplib \
82683 striplib \
82684 compiler_lib_search_dirs \
82685 predep_objects \
82686 postdep_objects \
82687 predeps \
82688 postdeps \
82689 compiler_lib_search_path \
82690 LD_CXX \
82691 reload_flag_CXX \
82692 compiler_CXX \
82693 lt_prog_compiler_no_builtin_flag_CXX \
82694 lt_prog_compiler_wl_CXX \
82695 lt_prog_compiler_pic_CXX \
82696 lt_prog_compiler_static_CXX \
82697 lt_cv_prog_compiler_c_o_CXX \
82698 export_dynamic_flag_spec_CXX \
82699 whole_archive_flag_spec_CXX \
82700 compiler_needs_object_CXX \
82701 with_gnu_ld_CXX \
82702 allow_undefined_flag_CXX \
82703 no_undefined_flag_CXX \
82704 hardcode_libdir_flag_spec_CXX \
82705 hardcode_libdir_flag_spec_ld_CXX \
82706 hardcode_libdir_separator_CXX \
82707 fix_srcfile_path_CXX \
82708 exclude_expsyms_CXX \
82709 include_expsyms_CXX \
82710 file_list_spec_CXX \
82711 compiler_lib_search_dirs_CXX \
82712 predep_objects_CXX \
82713 postdep_objects_CXX \
82714 predeps_CXX \
82715 postdeps_CXX \
82716 compiler_lib_search_path_CXX; do
82717 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82718 *[\\\\\\\`\\"\\\$]*)
82719 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82722 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82724 esac
82725 done
82727 # Double-quote double-evaled strings.
82728 for var in reload_cmds \
82729 old_postinstall_cmds \
82730 old_postuninstall_cmds \
82731 old_archive_cmds \
82732 extract_expsyms_cmds \
82733 old_archive_from_new_cmds \
82734 old_archive_from_expsyms_cmds \
82735 archive_cmds \
82736 archive_expsym_cmds \
82737 module_cmds \
82738 module_expsym_cmds \
82739 export_symbols_cmds \
82740 prelink_cmds \
82741 postinstall_cmds \
82742 postuninstall_cmds \
82743 finish_cmds \
82744 sys_lib_search_path_spec \
82745 sys_lib_dlsearch_path_spec \
82746 reload_cmds_CXX \
82747 old_archive_cmds_CXX \
82748 old_archive_from_new_cmds_CXX \
82749 old_archive_from_expsyms_cmds_CXX \
82750 archive_cmds_CXX \
82751 archive_expsym_cmds_CXX \
82752 module_cmds_CXX \
82753 module_expsym_cmds_CXX \
82754 export_symbols_cmds_CXX \
82755 prelink_cmds_CXX; do
82756 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82757 *[\\\\\\\`\\"\\\$]*)
82758 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82761 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82763 esac
82764 done
82766 ac_aux_dir='$ac_aux_dir'
82767 xsi_shell='$xsi_shell'
82768 lt_shell_append='$lt_shell_append'
82770 # See if we are running on zsh, and set the options which allow our
82771 # commands through without removal of \ escapes INIT.
82772 if test -n "\${ZSH_VERSION+set}" ; then
82773 setopt NO_GLOB_SUBST
82777 PACKAGE='$PACKAGE'
82778 VERSION='$VERSION'
82779 TIMESTAMP='$TIMESTAMP'
82780 RM='$RM'
82781 ofile='$ofile'
82788 GCC="$GCC"
82789 CC="$CC"
82790 acx_cv_header_stdint="$acx_cv_header_stdint"
82791 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82792 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82793 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82794 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82795 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82796 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82797 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82798 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82799 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82800 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82801 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82802 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82803 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82806 _ACEOF
82808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82810 # Handling of arguments.
82811 for ac_config_target in $ac_config_targets
82813 case $ac_config_target in
82814 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82815 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82816 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82817 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82818 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82819 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82820 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82821 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82822 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82823 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82824 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82825 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82826 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82827 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82828 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82829 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82830 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82831 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82832 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82834 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82835 esac
82836 done
82839 # If the user did not use the arguments to specify the items to instantiate,
82840 # then the envvar interface is used. Set only those that are not.
82841 # We use the long form for the default assignment because of an extremely
82842 # bizarre bug on SunOS 4.1.3.
82843 if $ac_need_defaults; then
82844 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82845 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82846 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82849 # Have a temporary directory for convenience. Make it in the build tree
82850 # simply because there is no reason against having it here, and in addition,
82851 # creating and moving files from /tmp can sometimes cause problems.
82852 # Hook for its removal unless debugging.
82853 # Note that there is a small window in which the directory will not be cleaned:
82854 # after its creation but before its name has been assigned to `$tmp'.
82855 $debug ||
82857 tmp=
82858 trap 'exit_status=$?
82859 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82861 trap 'as_fn_exit 1' 1 2 13 15
82863 # Create a (secure) tmp directory for tmp files.
82866 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82867 test -n "$tmp" && test -d "$tmp"
82868 } ||
82870 tmp=./conf$$-$RANDOM
82871 (umask 077 && mkdir "$tmp")
82872 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82874 # Set up the scripts for CONFIG_FILES section.
82875 # No need to generate them if there are no CONFIG_FILES.
82876 # This happens for instance with `./config.status config.h'.
82877 if test -n "$CONFIG_FILES"; then
82880 ac_cr=`echo X | tr X '\015'`
82881 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82882 # But we know of no other shell where ac_cr would be empty at this
82883 # point, so we can use a bashism as a fallback.
82884 if test "x$ac_cr" = x; then
82885 eval ac_cr=\$\'\\r\'
82887 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82888 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82889 ac_cs_awk_cr='\r'
82890 else
82891 ac_cs_awk_cr=$ac_cr
82894 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82895 _ACEOF
82899 echo "cat >conf$$subs.awk <<_ACEOF" &&
82900 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82901 echo "_ACEOF"
82902 } >conf$$subs.sh ||
82903 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82904 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82905 ac_delim='%!_!# '
82906 for ac_last_try in false false false false false :; do
82907 . ./conf$$subs.sh ||
82908 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82910 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82911 if test $ac_delim_n = $ac_delim_num; then
82912 break
82913 elif $ac_last_try; then
82914 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82915 else
82916 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82918 done
82919 rm -f conf$$subs.sh
82921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82922 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82923 _ACEOF
82924 sed -n '
82926 s/^/S["/; s/!.*/"]=/
82929 s/^[^!]*!//
82930 :repl
82931 t repl
82932 s/'"$ac_delim"'$//
82933 t delim
82936 s/\(.\{148\}\).*/\1/
82937 t more1
82938 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82941 b repl
82942 :more1
82943 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82946 s/.\{148\}//
82947 t nl
82948 :delim
82950 s/\(.\{148\}\).*/\1/
82951 t more2
82952 s/["\\]/\\&/g; s/^/"/; s/$/"/
82955 :more2
82956 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82959 s/.\{148\}//
82960 t delim
82961 ' <conf$$subs.awk | sed '
82962 /^[^""]/{
82964 s/\n//
82966 ' >>$CONFIG_STATUS || ac_write_fail=1
82967 rm -f conf$$subs.awk
82968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82969 _ACAWK
82970 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82971 for (key in S) S_is_set[key] = 1
82972 FS = "\a"
82976 line = $ 0
82977 nfields = split(line, field, "@")
82978 substed = 0
82979 len = length(field[1])
82980 for (i = 2; i < nfields; i++) {
82981 key = field[i]
82982 keylen = length(key)
82983 if (S_is_set[key]) {
82984 value = S[key]
82985 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82986 len += length(value) + length(field[++i])
82987 substed = 1
82988 } else
82989 len += 1 + keylen
82992 print line
82995 _ACAWK
82996 _ACEOF
82997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82998 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82999 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83000 else
83002 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83003 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83004 _ACEOF
83006 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83007 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83008 # trailing colons and then remove the whole line if VPATH becomes empty
83009 # (actually we leave an empty line to preserve line numbers).
83010 if test "x$srcdir" = x.; then
83011 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83012 s/:*\$(srcdir):*/:/
83013 s/:*\${srcdir}:*/:/
83014 s/:*@srcdir@:*/:/
83015 s/^\([^=]*=[ ]*\):*/\1/
83016 s/:*$//
83017 s/^[^=]*=[ ]*$//
83021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83022 fi # test -n "$CONFIG_FILES"
83024 # Set up the scripts for CONFIG_HEADERS section.
83025 # No need to generate them if there are no CONFIG_HEADERS.
83026 # This happens for instance with `./config.status Makefile'.
83027 if test -n "$CONFIG_HEADERS"; then
83028 cat >"$tmp/defines.awk" <<\_ACAWK ||
83029 BEGIN {
83030 _ACEOF
83032 # Transform confdefs.h into an awk script `defines.awk', embedded as
83033 # here-document in config.status, that substitutes the proper values into
83034 # config.h.in to produce config.h.
83036 # Create a delimiter string that does not exist in confdefs.h, to ease
83037 # handling of long lines.
83038 ac_delim='%!_!# '
83039 for ac_last_try in false false :; do
83040 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83041 if test -z "$ac_t"; then
83042 break
83043 elif $ac_last_try; then
83044 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83045 else
83046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83048 done
83050 # For the awk script, D is an array of macro values keyed by name,
83051 # likewise P contains macro parameters if any. Preserve backslash
83052 # newline sequences.
83054 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83055 sed -n '
83056 s/.\{148\}/&'"$ac_delim"'/g
83057 t rset
83058 :rset
83059 s/^[ ]*#[ ]*define[ ][ ]*/ /
83060 t def
83062 :def
83063 s/\\$//
83064 t bsnl
83065 s/["\\]/\\&/g
83066 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83067 D["\1"]=" \3"/p
83068 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83070 :bsnl
83071 s/["\\]/\\&/g
83072 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83073 D["\1"]=" \3\\\\\\n"\\/p
83074 t cont
83075 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83076 t cont
83078 :cont
83080 s/.\{148\}/&'"$ac_delim"'/g
83081 t clear
83082 :clear
83083 s/\\$//
83084 t bsnlc
83085 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83087 :bsnlc
83088 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83089 b cont
83090 ' <confdefs.h | sed '
83091 s/'"$ac_delim"'/"\\\
83092 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83095 for (key in D) D_is_set[key] = 1
83096 FS = "\a"
83098 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83099 line = \$ 0
83100 split(line, arg, " ")
83101 if (arg[1] == "#") {
83102 defundef = arg[2]
83103 mac1 = arg[3]
83104 } else {
83105 defundef = substr(arg[1], 2)
83106 mac1 = arg[2]
83108 split(mac1, mac2, "(") #)
83109 macro = mac2[1]
83110 prefix = substr(line, 1, index(line, defundef) - 1)
83111 if (D_is_set[macro]) {
83112 # Preserve the white space surrounding the "#".
83113 print prefix "define", macro P[macro] D[macro]
83114 next
83115 } else {
83116 # Replace #undef with comments. This is necessary, for example,
83117 # in the case of _POSIX_SOURCE, which is predefined and required
83118 # on some systems where configure will not decide to define it.
83119 if (defundef == "undef") {
83120 print "/*", prefix defundef, macro, "*/"
83121 next
83125 { print }
83126 _ACAWK
83127 _ACEOF
83128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83129 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83130 fi # test -n "$CONFIG_HEADERS"
83133 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83134 shift
83135 for ac_tag
83137 case $ac_tag in
83138 :[FHLC]) ac_mode=$ac_tag; continue;;
83139 esac
83140 case $ac_mode$ac_tag in
83141 :[FHL]*:*);;
83142 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83143 :[FH]-) ac_tag=-:-;;
83144 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83145 esac
83146 ac_save_IFS=$IFS
83147 IFS=:
83148 set x $ac_tag
83149 IFS=$ac_save_IFS
83150 shift
83151 ac_file=$1
83152 shift
83154 case $ac_mode in
83155 :L) ac_source=$1;;
83156 :[FH])
83157 ac_file_inputs=
83158 for ac_f
83160 case $ac_f in
83161 -) ac_f="$tmp/stdin";;
83162 *) # Look for the file first in the build tree, then in the source tree
83163 # (if the path is not absolute). The absolute path cannot be DOS-style,
83164 # because $ac_f cannot contain `:'.
83165 test -f "$ac_f" ||
83166 case $ac_f in
83167 [\\/$]*) false;;
83168 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83169 esac ||
83170 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83171 esac
83172 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83173 as_fn_append ac_file_inputs " '$ac_f'"
83174 done
83176 # Let's still pretend it is `configure' which instantiates (i.e., don't
83177 # use $as_me), people would be surprised to read:
83178 # /* config.h. Generated by config.status. */
83179 configure_input='Generated from '`
83180 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83181 `' by configure.'
83182 if test x"$ac_file" != x-; then
83183 configure_input="$ac_file. $configure_input"
83184 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83185 $as_echo "$as_me: creating $ac_file" >&6;}
83187 # Neutralize special characters interpreted by sed in replacement strings.
83188 case $configure_input in #(
83189 *\&* | *\|* | *\\* )
83190 ac_sed_conf_input=`$as_echo "$configure_input" |
83191 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83192 *) ac_sed_conf_input=$configure_input;;
83193 esac
83195 case $ac_tag in
83196 *:-:* | *:-) cat >"$tmp/stdin" \
83197 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83198 esac
83200 esac
83202 ac_dir=`$as_dirname -- "$ac_file" ||
83203 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83204 X"$ac_file" : 'X\(//\)[^/]' \| \
83205 X"$ac_file" : 'X\(//\)$' \| \
83206 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83207 $as_echo X"$ac_file" |
83208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83209 s//\1/
83212 /^X\(\/\/\)[^/].*/{
83213 s//\1/
83216 /^X\(\/\/\)$/{
83217 s//\1/
83220 /^X\(\/\).*/{
83221 s//\1/
83224 s/.*/./; q'`
83225 as_dir="$ac_dir"; as_fn_mkdir_p
83226 ac_builddir=.
83228 case "$ac_dir" in
83229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83231 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83232 # A ".." for each directory in $ac_dir_suffix.
83233 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83234 case $ac_top_builddir_sub in
83235 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83236 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83237 esac ;;
83238 esac
83239 ac_abs_top_builddir=$ac_pwd
83240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83241 # for backward compatibility:
83242 ac_top_builddir=$ac_top_build_prefix
83244 case $srcdir in
83245 .) # We are building in place.
83246 ac_srcdir=.
83247 ac_top_srcdir=$ac_top_builddir_sub
83248 ac_abs_top_srcdir=$ac_pwd ;;
83249 [\\/]* | ?:[\\/]* ) # Absolute name.
83250 ac_srcdir=$srcdir$ac_dir_suffix;
83251 ac_top_srcdir=$srcdir
83252 ac_abs_top_srcdir=$srcdir ;;
83253 *) # Relative name.
83254 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83255 ac_top_srcdir=$ac_top_build_prefix$srcdir
83256 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83257 esac
83258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83261 case $ac_mode in
83264 # CONFIG_FILE
83267 case $INSTALL in
83268 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83269 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83270 esac
83271 ac_MKDIR_P=$MKDIR_P
83272 case $MKDIR_P in
83273 [\\/$]* | ?:[\\/]* ) ;;
83274 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83275 esac
83276 _ACEOF
83278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83279 # If the template does not know about datarootdir, expand it.
83280 # FIXME: This hack should be removed a few years after 2.60.
83281 ac_datarootdir_hack=; ac_datarootdir_seen=
83282 ac_sed_dataroot='
83283 /datarootdir/ {
83287 /@datadir@/p
83288 /@docdir@/p
83289 /@infodir@/p
83290 /@localedir@/p
83291 /@mandir@/p'
83292 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83293 *datarootdir*) ac_datarootdir_seen=yes;;
83294 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83296 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83297 _ACEOF
83298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83299 ac_datarootdir_hack='
83300 s&@datadir@&$datadir&g
83301 s&@docdir@&$docdir&g
83302 s&@infodir@&$infodir&g
83303 s&@localedir@&$localedir&g
83304 s&@mandir@&$mandir&g
83305 s&\\\${datarootdir}&$datarootdir&g' ;;
83306 esac
83307 _ACEOF
83309 # Neutralize VPATH when `$srcdir' = `.'.
83310 # Shell code in configure.ac might set extrasub.
83311 # FIXME: do we really want to maintain this feature?
83312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83313 ac_sed_extra="$ac_vpsub
83314 $extrasub
83315 _ACEOF
83316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83319 s|@configure_input@|$ac_sed_conf_input|;t t
83320 s&@top_builddir@&$ac_top_builddir_sub&;t t
83321 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83322 s&@srcdir@&$ac_srcdir&;t t
83323 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83324 s&@top_srcdir@&$ac_top_srcdir&;t t
83325 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83326 s&@builddir@&$ac_builddir&;t t
83327 s&@abs_builddir@&$ac_abs_builddir&;t t
83328 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83329 s&@INSTALL@&$ac_INSTALL&;t t
83330 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83331 $ac_datarootdir_hack
83333 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83334 || as_fn_error "could not create $ac_file" "$LINENO" 5
83336 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83337 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83338 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83340 which seems to be undefined. Please make sure it is defined." >&5
83341 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83342 which seems to be undefined. Please make sure it is defined." >&2;}
83344 rm -f "$tmp/stdin"
83345 case $ac_file in
83346 -) cat "$tmp/out" && rm -f "$tmp/out";;
83347 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83348 esac \
83349 || as_fn_error "could not create $ac_file" "$LINENO" 5
83353 # CONFIG_HEADER
83355 if test x"$ac_file" != x-; then
83357 $as_echo "/* $configure_input */" \
83358 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83359 } >"$tmp/config.h" \
83360 || as_fn_error "could not create $ac_file" "$LINENO" 5
83361 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83362 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83363 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83364 else
83365 rm -f "$ac_file"
83366 mv "$tmp/config.h" "$ac_file" \
83367 || as_fn_error "could not create $ac_file" "$LINENO" 5
83369 else
83370 $as_echo "/* $configure_input */" \
83371 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83372 || as_fn_error "could not create -" "$LINENO" 5
83374 # Compute "$ac_file"'s index in $config_headers.
83375 _am_arg="$ac_file"
83376 _am_stamp_count=1
83377 for _am_header in $config_headers :; do
83378 case $_am_header in
83379 $_am_arg | $_am_arg:* )
83380 break ;;
83382 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83383 esac
83384 done
83385 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83386 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83387 X"$_am_arg" : 'X\(//\)[^/]' \| \
83388 X"$_am_arg" : 'X\(//\)$' \| \
83389 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83390 $as_echo X"$_am_arg" |
83391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83392 s//\1/
83395 /^X\(\/\/\)[^/].*/{
83396 s//\1/
83399 /^X\(\/\/\)$/{
83400 s//\1/
83403 /^X\(\/\).*/{
83404 s//\1/
83407 s/.*/./; q'`/stamp-h$_am_stamp_count
83410 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83411 $as_echo "$as_me: executing $ac_file commands" >&6;}
83413 esac
83416 case $ac_file$ac_mode in
83417 "default-1":C)
83418 # Only add multilib support code if we just rebuilt the top-level
83419 # Makefile.
83420 case " $CONFIG_FILES " in
83421 *" Makefile "*)
83422 ac_file=Makefile . ${multi_basedir}/config-ml.in
83424 esac ;;
83425 "libtool":C)
83427 # See if we are running on zsh, and set the options which allow our
83428 # commands through without removal of \ escapes.
83429 if test -n "${ZSH_VERSION+set}" ; then
83430 setopt NO_GLOB_SUBST
83433 cfgfile="${ofile}T"
83434 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83435 $RM "$cfgfile"
83437 cat <<_LT_EOF >> "$cfgfile"
83438 #! $SHELL
83440 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83441 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83442 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83443 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83445 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83446 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83447 # Written by Gordon Matzigkeit, 1996
83449 # This file is part of GNU Libtool.
83451 # GNU Libtool is free software; you can redistribute it and/or
83452 # modify it under the terms of the GNU General Public License as
83453 # published by the Free Software Foundation; either version 2 of
83454 # the License, or (at your option) any later version.
83456 # As a special exception to the GNU General Public License,
83457 # if you distribute this file as part of a program or library that
83458 # is built using GNU Libtool, you may include this file under the
83459 # same distribution terms that you use for the rest of that program.
83461 # GNU Libtool is distributed in the hope that it will be useful,
83462 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83463 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83464 # GNU General Public License for more details.
83466 # You should have received a copy of the GNU General Public License
83467 # along with GNU Libtool; see the file COPYING. If not, a copy
83468 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83469 # obtained by writing to the Free Software Foundation, Inc.,
83470 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83473 # The names of the tagged configurations supported by this script.
83474 available_tags="CXX "
83476 # ### BEGIN LIBTOOL CONFIG
83478 # Which release of libtool.m4 was used?
83479 macro_version=$macro_version
83480 macro_revision=$macro_revision
83482 # Whether or not to build shared libraries.
83483 build_libtool_libs=$enable_shared
83485 # Whether or not to build static libraries.
83486 build_old_libs=$enable_static
83488 # What type of objects to build.
83489 pic_mode=$pic_mode
83491 # Whether or not to optimize for fast installation.
83492 fast_install=$enable_fast_install
83494 # Shell to use when invoking shell scripts.
83495 SHELL=$lt_SHELL
83497 # An echo program that protects backslashes.
83498 ECHO=$lt_ECHO
83500 # The host system.
83501 host_alias=$host_alias
83502 host=$host
83503 host_os=$host_os
83505 # The build system.
83506 build_alias=$build_alias
83507 build=$build
83508 build_os=$build_os
83510 # A sed program that does not truncate output.
83511 SED=$lt_SED
83513 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83514 Xsed="\$SED -e 1s/^X//"
83516 # A grep program that handles long lines.
83517 GREP=$lt_GREP
83519 # An ERE matcher.
83520 EGREP=$lt_EGREP
83522 # A literal string matcher.
83523 FGREP=$lt_FGREP
83525 # A BSD- or MS-compatible name lister.
83526 NM=$lt_NM
83528 # Whether we need soft or hard links.
83529 LN_S=$lt_LN_S
83531 # What is the maximum length of a command?
83532 max_cmd_len=$max_cmd_len
83534 # Object file suffix (normally "o").
83535 objext=$ac_objext
83537 # Executable file suffix (normally "").
83538 exeext=$exeext
83540 # whether the shell understands "unset".
83541 lt_unset=$lt_unset
83543 # turn spaces into newlines.
83544 SP2NL=$lt_lt_SP2NL
83546 # turn newlines into spaces.
83547 NL2SP=$lt_lt_NL2SP
83549 # An object symbol dumper.
83550 OBJDUMP=$lt_OBJDUMP
83552 # Method to check whether dependent libraries are shared objects.
83553 deplibs_check_method=$lt_deplibs_check_method
83555 # Command to use when deplibs_check_method == "file_magic".
83556 file_magic_cmd=$lt_file_magic_cmd
83558 # The archiver.
83559 AR=$lt_AR
83560 AR_FLAGS=$lt_AR_FLAGS
83562 # A symbol stripping program.
83563 STRIP=$lt_STRIP
83565 # Commands used to install an old-style archive.
83566 RANLIB=$lt_RANLIB
83567 old_postinstall_cmds=$lt_old_postinstall_cmds
83568 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83570 # Whether to use a lock for old archive extraction.
83571 lock_old_archive_extraction=$lock_old_archive_extraction
83573 # A C compiler.
83574 LTCC=$lt_CC
83576 # LTCC compiler flags.
83577 LTCFLAGS=$lt_CFLAGS
83579 # Take the output of nm and produce a listing of raw symbols and C names.
83580 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83582 # Transform the output of nm in a proper C declaration.
83583 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83585 # Transform the output of nm in a C name address pair.
83586 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83588 # Transform the output of nm in a C name address pair when lib prefix is needed.
83589 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83591 # The name of the directory that contains temporary libtool files.
83592 objdir=$objdir
83594 # Used to examine libraries when file_magic_cmd begins with "file".
83595 MAGIC_CMD=$MAGIC_CMD
83597 # Must we lock files when doing compilation?
83598 need_locks=$lt_need_locks
83600 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83601 DSYMUTIL=$lt_DSYMUTIL
83603 # Tool to change global to local symbols on Mac OS X.
83604 NMEDIT=$lt_NMEDIT
83606 # Tool to manipulate fat objects and archives on Mac OS X.
83607 LIPO=$lt_LIPO
83609 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83610 OTOOL=$lt_OTOOL
83612 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83613 OTOOL64=$lt_OTOOL64
83615 # Old archive suffix (normally "a").
83616 libext=$libext
83618 # Shared library suffix (normally ".so").
83619 shrext_cmds=$lt_shrext_cmds
83621 # The commands to extract the exported symbol list from a shared archive.
83622 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83624 # Variables whose values should be saved in libtool wrapper scripts and
83625 # restored at link time.
83626 variables_saved_for_relink=$lt_variables_saved_for_relink
83628 # Do we need the "lib" prefix for modules?
83629 need_lib_prefix=$need_lib_prefix
83631 # Do we need a version for libraries?
83632 need_version=$need_version
83634 # Library versioning type.
83635 version_type=$version_type
83637 # Shared library runtime path variable.
83638 runpath_var=$runpath_var
83640 # Shared library path variable.
83641 shlibpath_var=$shlibpath_var
83643 # Is shlibpath searched before the hard-coded library search path?
83644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83646 # Format of library name prefix.
83647 libname_spec=$lt_libname_spec
83649 # List of archive names. First name is the real one, the rest are links.
83650 # The last name is the one that the linker finds with -lNAME
83651 library_names_spec=$lt_library_names_spec
83653 # The coded name of the library, if different from the real name.
83654 soname_spec=$lt_soname_spec
83656 # Permission mode override for installation of shared libraries.
83657 install_override_mode=$lt_install_override_mode
83659 # Command to use after installation of a shared archive.
83660 postinstall_cmds=$lt_postinstall_cmds
83662 # Command to use after uninstallation of a shared archive.
83663 postuninstall_cmds=$lt_postuninstall_cmds
83665 # Commands used to finish a libtool library installation in a directory.
83666 finish_cmds=$lt_finish_cmds
83668 # As "finish_cmds", except a single script fragment to be evaled but
83669 # not shown.
83670 finish_eval=$lt_finish_eval
83672 # Whether we should hardcode library paths into libraries.
83673 hardcode_into_libs=$hardcode_into_libs
83675 # Compile-time system search path for libraries.
83676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83678 # Run-time system search path for libraries.
83679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83681 # Whether dlopen is supported.
83682 dlopen_support=$enable_dlopen
83684 # Whether dlopen of programs is supported.
83685 dlopen_self=$enable_dlopen_self
83687 # Whether dlopen of statically linked programs is supported.
83688 dlopen_self_static=$enable_dlopen_self_static
83690 # Commands to strip libraries.
83691 old_striplib=$lt_old_striplib
83692 striplib=$lt_striplib
83695 # The linker used to build libraries.
83696 LD=$lt_LD
83698 # How to create reloadable object files.
83699 reload_flag=$lt_reload_flag
83700 reload_cmds=$lt_reload_cmds
83702 # Commands used to build an old-style archive.
83703 old_archive_cmds=$lt_old_archive_cmds
83705 # A language specific compiler.
83706 CC=$lt_compiler
83708 # Is the compiler the GNU compiler?
83709 with_gcc=$GCC
83711 # Compiler flag to turn off builtin functions.
83712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83714 # How to pass a linker flag through the compiler.
83715 wl=$lt_lt_prog_compiler_wl
83717 # Additional compiler flags for building library objects.
83718 pic_flag=$lt_lt_prog_compiler_pic
83720 # Compiler flag to prevent dynamic linking.
83721 link_static_flag=$lt_lt_prog_compiler_static
83723 # Does compiler simultaneously support -c and -o options?
83724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83726 # Whether or not to add -lc for building shared libraries.
83727 build_libtool_need_lc=$archive_cmds_need_lc
83729 # Whether or not to disallow shared libs when runtime libs are static.
83730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83732 # Compiler flag to allow reflexive dlopens.
83733 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83735 # Compiler flag to generate shared objects directly from archives.
83736 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83738 # Whether the compiler copes with passing no objects directly.
83739 compiler_needs_object=$lt_compiler_needs_object
83741 # Create an old-style archive from a shared archive.
83742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83744 # Create a temporary old-style archive to link instead of a shared archive.
83745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83747 # Commands used to build a shared archive.
83748 archive_cmds=$lt_archive_cmds
83749 archive_expsym_cmds=$lt_archive_expsym_cmds
83751 # Commands used to build a loadable module if different from building
83752 # a shared archive.
83753 module_cmds=$lt_module_cmds
83754 module_expsym_cmds=$lt_module_expsym_cmds
83756 # Whether we are building with GNU ld or not.
83757 with_gnu_ld=$lt_with_gnu_ld
83759 # Flag that allows shared libraries with undefined symbols to be built.
83760 allow_undefined_flag=$lt_allow_undefined_flag
83762 # Flag that enforces no undefined symbols.
83763 no_undefined_flag=$lt_no_undefined_flag
83765 # Flag to hardcode \$libdir into a binary during linking.
83766 # This must work even if \$libdir does not exist
83767 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83769 # If ld is used when linking, flag to hardcode \$libdir into a binary
83770 # during linking. This must work even if \$libdir does not exist.
83771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83773 # Whether we need a single "-rpath" flag with a separated argument.
83774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83777 # DIR into the resulting binary.
83778 hardcode_direct=$hardcode_direct
83780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83781 # DIR into the resulting binary and the resulting library dependency is
83782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83783 # library is relocated.
83784 hardcode_direct_absolute=$hardcode_direct_absolute
83786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83787 # into the resulting binary.
83788 hardcode_minus_L=$hardcode_minus_L
83790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83791 # into the resulting binary.
83792 hardcode_shlibpath_var=$hardcode_shlibpath_var
83794 # Set to "yes" if building a shared library automatically hardcodes DIR
83795 # into the library and all subsequent libraries and executables linked
83796 # against it.
83797 hardcode_automatic=$hardcode_automatic
83799 # Set to yes if linker adds runtime paths of dependent libraries
83800 # to runtime path list.
83801 inherit_rpath=$inherit_rpath
83803 # Whether libtool must link a program against all its dependency libraries.
83804 link_all_deplibs=$link_all_deplibs
83806 # Fix the shell variable \$srcfile for the compiler.
83807 fix_srcfile_path=$lt_fix_srcfile_path
83809 # Set to "yes" if exported symbols are required.
83810 always_export_symbols=$always_export_symbols
83812 # The commands to list exported symbols.
83813 export_symbols_cmds=$lt_export_symbols_cmds
83815 # Symbols that should not be listed in the preloaded symbols.
83816 exclude_expsyms=$lt_exclude_expsyms
83818 # Symbols that must always be exported.
83819 include_expsyms=$lt_include_expsyms
83821 # Commands necessary for linking programs (against libraries) with templates.
83822 prelink_cmds=$lt_prelink_cmds
83824 # Specify filename containing input files.
83825 file_list_spec=$lt_file_list_spec
83827 # How to hardcode a shared library path into an executable.
83828 hardcode_action=$hardcode_action
83830 # The directories searched by this compiler when creating a shared library.
83831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83833 # Dependencies to place before and after the objects being linked to
83834 # create a shared library.
83835 predep_objects=$lt_predep_objects
83836 postdep_objects=$lt_postdep_objects
83837 predeps=$lt_predeps
83838 postdeps=$lt_postdeps
83840 # The library search path used internally by the compiler when linking
83841 # a shared library.
83842 compiler_lib_search_path=$lt_compiler_lib_search_path
83844 # ### END LIBTOOL CONFIG
83846 _LT_EOF
83848 case $host_os in
83849 aix3*)
83850 cat <<\_LT_EOF >> "$cfgfile"
83851 # AIX sometimes has problems with the GCC collect2 program. For some
83852 # reason, if we set the COLLECT_NAMES environment variable, the problems
83853 # vanish in a puff of smoke.
83854 if test "X${COLLECT_NAMES+set}" != Xset; then
83855 COLLECT_NAMES=
83856 export COLLECT_NAMES
83858 _LT_EOF
83860 esac
83863 ltmain="$ac_aux_dir/ltmain.sh"
83866 # We use sed instead of cat because bash on DJGPP gets confused if
83867 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83868 # text mode, it properly converts lines to CR/LF. This bash problem
83869 # is reportedly fixed, but why not run on old versions too?
83870 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83871 || (rm -f "$cfgfile"; exit 1)
83873 case $xsi_shell in
83874 yes)
83875 cat << \_LT_EOF >> "$cfgfile"
83877 # func_dirname file append nondir_replacement
83878 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83879 # otherwise set result to NONDIR_REPLACEMENT.
83880 func_dirname ()
83882 case ${1} in
83883 */*) func_dirname_result="${1%/*}${2}" ;;
83884 * ) func_dirname_result="${3}" ;;
83885 esac
83888 # func_basename file
83889 func_basename ()
83891 func_basename_result="${1##*/}"
83894 # func_dirname_and_basename file append nondir_replacement
83895 # perform func_basename and func_dirname in a single function
83896 # call:
83897 # dirname: Compute the dirname of FILE. If nonempty,
83898 # add APPEND to the result, otherwise set result
83899 # to NONDIR_REPLACEMENT.
83900 # value returned in "$func_dirname_result"
83901 # basename: Compute filename of FILE.
83902 # value retuned in "$func_basename_result"
83903 # Implementation must be kept synchronized with func_dirname
83904 # and func_basename. For efficiency, we do not delegate to
83905 # those functions but instead duplicate the functionality here.
83906 func_dirname_and_basename ()
83908 case ${1} in
83909 */*) func_dirname_result="${1%/*}${2}" ;;
83910 * ) func_dirname_result="${3}" ;;
83911 esac
83912 func_basename_result="${1##*/}"
83915 # func_stripname prefix suffix name
83916 # strip PREFIX and SUFFIX off of NAME.
83917 # PREFIX and SUFFIX must not contain globbing or regex special
83918 # characters, hashes, percent signs, but SUFFIX may contain a leading
83919 # dot (in which case that matches only a dot).
83920 func_stripname ()
83922 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83923 # positional parameters, so assign one to ordinary parameter first.
83924 func_stripname_result=${3}
83925 func_stripname_result=${func_stripname_result#"${1}"}
83926 func_stripname_result=${func_stripname_result%"${2}"}
83929 # func_opt_split
83930 func_opt_split ()
83932 func_opt_split_opt=${1%%=*}
83933 func_opt_split_arg=${1#*=}
83936 # func_lo2o object
83937 func_lo2o ()
83939 case ${1} in
83940 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83941 *) func_lo2o_result=${1} ;;
83942 esac
83945 # func_xform libobj-or-source
83946 func_xform ()
83948 func_xform_result=${1%.*}.lo
83951 # func_arith arithmetic-term...
83952 func_arith ()
83954 func_arith_result=$(( $* ))
83957 # func_len string
83958 # STRING may not start with a hyphen.
83959 func_len ()
83961 func_len_result=${#1}
83964 _LT_EOF
83966 *) # Bourne compatible functions.
83967 cat << \_LT_EOF >> "$cfgfile"
83969 # func_dirname file append nondir_replacement
83970 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83971 # otherwise set result to NONDIR_REPLACEMENT.
83972 func_dirname ()
83974 # Extract subdirectory from the argument.
83975 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83976 if test "X$func_dirname_result" = "X${1}"; then
83977 func_dirname_result="${3}"
83978 else
83979 func_dirname_result="$func_dirname_result${2}"
83983 # func_basename file
83984 func_basename ()
83986 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83990 # func_stripname prefix suffix name
83991 # strip PREFIX and SUFFIX off of NAME.
83992 # PREFIX and SUFFIX must not contain globbing or regex special
83993 # characters, hashes, percent signs, but SUFFIX may contain a leading
83994 # dot (in which case that matches only a dot).
83995 # func_strip_suffix prefix name
83996 func_stripname ()
83998 case ${2} in
83999 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84000 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84001 esac
84004 # sed scripts:
84005 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84006 my_sed_long_arg='1s/^-[^=]*=//'
84008 # func_opt_split
84009 func_opt_split ()
84011 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84012 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84015 # func_lo2o object
84016 func_lo2o ()
84018 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84021 # func_xform libobj-or-source
84022 func_xform ()
84024 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84027 # func_arith arithmetic-term...
84028 func_arith ()
84030 func_arith_result=`expr "$@"`
84033 # func_len string
84034 # STRING may not start with a hyphen.
84035 func_len ()
84037 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84040 _LT_EOF
84041 esac
84043 case $lt_shell_append in
84044 yes)
84045 cat << \_LT_EOF >> "$cfgfile"
84047 # func_append var value
84048 # Append VALUE to the end of shell variable VAR.
84049 func_append ()
84051 eval "$1+=\$2"
84053 _LT_EOF
84056 cat << \_LT_EOF >> "$cfgfile"
84058 # func_append var value
84059 # Append VALUE to the end of shell variable VAR.
84060 func_append ()
84062 eval "$1=\$$1\$2"
84065 _LT_EOF
84067 esac
84070 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84071 || (rm -f "$cfgfile"; exit 1)
84073 mv -f "$cfgfile" "$ofile" ||
84074 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84075 chmod +x "$ofile"
84078 cat <<_LT_EOF >> "$ofile"
84080 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84082 # The linker used to build libraries.
84083 LD=$lt_LD_CXX
84085 # How to create reloadable object files.
84086 reload_flag=$lt_reload_flag_CXX
84087 reload_cmds=$lt_reload_cmds_CXX
84089 # Commands used to build an old-style archive.
84090 old_archive_cmds=$lt_old_archive_cmds_CXX
84092 # A language specific compiler.
84093 CC=$lt_compiler_CXX
84095 # Is the compiler the GNU compiler?
84096 with_gcc=$GCC_CXX
84098 # Compiler flag to turn off builtin functions.
84099 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84101 # How to pass a linker flag through the compiler.
84102 wl=$lt_lt_prog_compiler_wl_CXX
84104 # Additional compiler flags for building library objects.
84105 pic_flag=$lt_lt_prog_compiler_pic_CXX
84107 # Compiler flag to prevent dynamic linking.
84108 link_static_flag=$lt_lt_prog_compiler_static_CXX
84110 # Does compiler simultaneously support -c and -o options?
84111 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84113 # Whether or not to add -lc for building shared libraries.
84114 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84116 # Whether or not to disallow shared libs when runtime libs are static.
84117 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84119 # Compiler flag to allow reflexive dlopens.
84120 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84122 # Compiler flag to generate shared objects directly from archives.
84123 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84125 # Whether the compiler copes with passing no objects directly.
84126 compiler_needs_object=$lt_compiler_needs_object_CXX
84128 # Create an old-style archive from a shared archive.
84129 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84131 # Create a temporary old-style archive to link instead of a shared archive.
84132 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84134 # Commands used to build a shared archive.
84135 archive_cmds=$lt_archive_cmds_CXX
84136 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84138 # Commands used to build a loadable module if different from building
84139 # a shared archive.
84140 module_cmds=$lt_module_cmds_CXX
84141 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84143 # Whether we are building with GNU ld or not.
84144 with_gnu_ld=$lt_with_gnu_ld_CXX
84146 # Flag that allows shared libraries with undefined symbols to be built.
84147 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84149 # Flag that enforces no undefined symbols.
84150 no_undefined_flag=$lt_no_undefined_flag_CXX
84152 # Flag to hardcode \$libdir into a binary during linking.
84153 # This must work even if \$libdir does not exist
84154 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84156 # If ld is used when linking, flag to hardcode \$libdir into a binary
84157 # during linking. This must work even if \$libdir does not exist.
84158 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84160 # Whether we need a single "-rpath" flag with a separated argument.
84161 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84163 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84164 # DIR into the resulting binary.
84165 hardcode_direct=$hardcode_direct_CXX
84167 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84168 # DIR into the resulting binary and the resulting library dependency is
84169 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84170 # library is relocated.
84171 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84173 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84174 # into the resulting binary.
84175 hardcode_minus_L=$hardcode_minus_L_CXX
84177 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84178 # into the resulting binary.
84179 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84181 # Set to "yes" if building a shared library automatically hardcodes DIR
84182 # into the library and all subsequent libraries and executables linked
84183 # against it.
84184 hardcode_automatic=$hardcode_automatic_CXX
84186 # Set to yes if linker adds runtime paths of dependent libraries
84187 # to runtime path list.
84188 inherit_rpath=$inherit_rpath_CXX
84190 # Whether libtool must link a program against all its dependency libraries.
84191 link_all_deplibs=$link_all_deplibs_CXX
84193 # Fix the shell variable \$srcfile for the compiler.
84194 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84196 # Set to "yes" if exported symbols are required.
84197 always_export_symbols=$always_export_symbols_CXX
84199 # The commands to list exported symbols.
84200 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84202 # Symbols that should not be listed in the preloaded symbols.
84203 exclude_expsyms=$lt_exclude_expsyms_CXX
84205 # Symbols that must always be exported.
84206 include_expsyms=$lt_include_expsyms_CXX
84208 # Commands necessary for linking programs (against libraries) with templates.
84209 prelink_cmds=$lt_prelink_cmds_CXX
84211 # Specify filename containing input files.
84212 file_list_spec=$lt_file_list_spec_CXX
84214 # How to hardcode a shared library path into an executable.
84215 hardcode_action=$hardcode_action_CXX
84217 # The directories searched by this compiler when creating a shared library.
84218 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84220 # Dependencies to place before and after the objects being linked to
84221 # create a shared library.
84222 predep_objects=$lt_predep_objects_CXX
84223 postdep_objects=$lt_postdep_objects_CXX
84224 predeps=$lt_predeps_CXX
84225 postdeps=$lt_postdeps_CXX
84227 # The library search path used internally by the compiler when linking
84228 # a shared library.
84229 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84231 # ### END LIBTOOL TAG CONFIG: CXX
84232 _LT_EOF
84235 "include/gstdint.h":C)
84236 if test "$GCC" = yes; then
84237 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84238 else
84239 echo "/* generated for $CC */" > tmp-stdint.h
84242 sed 's/^ *//' >> tmp-stdint.h <<EOF
84244 #ifndef GCC_GENERATED_STDINT_H
84245 #define GCC_GENERATED_STDINT_H 1
84247 #include <sys/types.h>
84250 if test "$acx_cv_header_stdint" != stdint.h; then
84251 echo "#include <stddef.h>" >> tmp-stdint.h
84253 if test "$acx_cv_header_stdint" != stddef.h; then
84254 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84257 sed 's/^ *//' >> tmp-stdint.h <<EOF
84258 /* glibc uses these symbols as guards to prevent redefinitions. */
84259 #ifdef __int8_t_defined
84260 #define _INT8_T
84261 #define _INT16_T
84262 #define _INT32_T
84263 #endif
84264 #ifdef __uint32_t_defined
84265 #define _UINT32_T
84266 #endif
84270 # ----------------- done header, emit basic int types -------------
84271 if test "$acx_cv_header_stdint" = stddef.h; then
84272 sed 's/^ *//' >> tmp-stdint.h <<EOF
84274 #ifndef _UINT8_T
84275 #define _UINT8_T
84276 #ifndef __uint8_t_defined
84277 #define __uint8_t_defined
84278 #ifndef uint8_t
84279 typedef unsigned $acx_cv_type_int8_t uint8_t;
84280 #endif
84281 #endif
84282 #endif
84284 #ifndef _UINT16_T
84285 #define _UINT16_T
84286 #ifndef __uint16_t_defined
84287 #define __uint16_t_defined
84288 #ifndef uint16_t
84289 typedef unsigned $acx_cv_type_int16_t uint16_t;
84290 #endif
84291 #endif
84292 #endif
84294 #ifndef _UINT32_T
84295 #define _UINT32_T
84296 #ifndef __uint32_t_defined
84297 #define __uint32_t_defined
84298 #ifndef uint32_t
84299 typedef unsigned $acx_cv_type_int32_t uint32_t;
84300 #endif
84301 #endif
84302 #endif
84304 #ifndef _INT8_T
84305 #define _INT8_T
84306 #ifndef __int8_t_defined
84307 #define __int8_t_defined
84308 #ifndef int8_t
84309 typedef $acx_cv_type_int8_t int8_t;
84310 #endif
84311 #endif
84312 #endif
84314 #ifndef _INT16_T
84315 #define _INT16_T
84316 #ifndef __int16_t_defined
84317 #define __int16_t_defined
84318 #ifndef int16_t
84319 typedef $acx_cv_type_int16_t int16_t;
84320 #endif
84321 #endif
84322 #endif
84324 #ifndef _INT32_T
84325 #define _INT32_T
84326 #ifndef __int32_t_defined
84327 #define __int32_t_defined
84328 #ifndef int32_t
84329 typedef $acx_cv_type_int32_t int32_t;
84330 #endif
84331 #endif
84332 #endif
84334 elif test "$ac_cv_type_u_int32_t" = yes; then
84335 sed 's/^ *//' >> tmp-stdint.h <<EOF
84337 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84338 #ifndef _INT8_T
84339 #define _INT8_T
84340 #endif
84341 #ifndef _INT16_T
84342 #define _INT16_T
84343 #endif
84344 #ifndef _INT32_T
84345 #define _INT32_T
84346 #endif
84348 #ifndef _UINT8_T
84349 #define _UINT8_T
84350 #ifndef __uint8_t_defined
84351 #define __uint8_t_defined
84352 #ifndef uint8_t
84353 typedef u_int8_t uint8_t;
84354 #endif
84355 #endif
84356 #endif
84358 #ifndef _UINT16_T
84359 #define _UINT16_T
84360 #ifndef __uint16_t_defined
84361 #define __uint16_t_defined
84362 #ifndef uint16_t
84363 typedef u_int16_t uint16_t;
84364 #endif
84365 #endif
84366 #endif
84368 #ifndef _UINT32_T
84369 #define _UINT32_T
84370 #ifndef __uint32_t_defined
84371 #define __uint32_t_defined
84372 #ifndef uint32_t
84373 typedef u_int32_t uint32_t;
84374 #endif
84375 #endif
84376 #endif
84378 else
84379 sed 's/^ *//' >> tmp-stdint.h <<EOF
84381 /* Some systems have guard macros to prevent redefinitions, define them. */
84382 #ifndef _INT8_T
84383 #define _INT8_T
84384 #endif
84385 #ifndef _INT16_T
84386 #define _INT16_T
84387 #endif
84388 #ifndef _INT32_T
84389 #define _INT32_T
84390 #endif
84391 #ifndef _UINT8_T
84392 #define _UINT8_T
84393 #endif
84394 #ifndef _UINT16_T
84395 #define _UINT16_T
84396 #endif
84397 #ifndef _UINT32_T
84398 #define _UINT32_T
84399 #endif
84403 # ------------- done basic int types, emit int64_t types ------------
84404 if test "$ac_cv_type_uint64_t" = yes; then
84405 sed 's/^ *//' >> tmp-stdint.h <<EOF
84407 /* system headers have good uint64_t and int64_t */
84408 #ifndef _INT64_T
84409 #define _INT64_T
84410 #endif
84411 #ifndef _UINT64_T
84412 #define _UINT64_T
84413 #endif
84415 elif test "$ac_cv_type_u_int64_t" = yes; then
84416 sed 's/^ *//' >> tmp-stdint.h <<EOF
84418 /* system headers have an u_int64_t (and int64_t) */
84419 #ifndef _INT64_T
84420 #define _INT64_T
84421 #endif
84422 #ifndef _UINT64_T
84423 #define _UINT64_T
84424 #ifndef __uint64_t_defined
84425 #define __uint64_t_defined
84426 #ifndef uint64_t
84427 typedef u_int64_t uint64_t;
84428 #endif
84429 #endif
84430 #endif
84432 elif test -n "$acx_cv_type_int64_t"; then
84433 sed 's/^ *//' >> tmp-stdint.h <<EOF
84435 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84436 #ifndef _INT64_T
84437 #define _INT64_T
84438 #ifndef int64_t
84439 typedef $acx_cv_type_int64_t int64_t;
84440 #endif
84441 #endif
84442 #ifndef _UINT64_T
84443 #define _UINT64_T
84444 #ifndef __uint64_t_defined
84445 #define __uint64_t_defined
84446 #ifndef uint64_t
84447 typedef unsigned $acx_cv_type_int64_t uint64_t;
84448 #endif
84449 #endif
84450 #endif
84452 else
84453 sed 's/^ *//' >> tmp-stdint.h <<EOF
84455 /* some common heuristics for int64_t, using compiler-specific tests */
84456 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84457 #ifndef _INT64_T
84458 #define _INT64_T
84459 #ifndef __int64_t_defined
84460 #ifndef int64_t
84461 typedef long long int64_t;
84462 #endif
84463 #endif
84464 #endif
84465 #ifndef _UINT64_T
84466 #define _UINT64_T
84467 #ifndef uint64_t
84468 typedef unsigned long long uint64_t;
84469 #endif
84470 #endif
84472 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84473 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84474 does not implement __extension__. But that compiler doesn't define
84475 __GNUC_MINOR__. */
84476 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84477 # define __extension__
84478 # endif
84480 # ifndef _INT64_T
84481 # define _INT64_T
84482 # ifndef int64_t
84483 __extension__ typedef long long int64_t;
84484 # endif
84485 # endif
84486 # ifndef _UINT64_T
84487 # define _UINT64_T
84488 # ifndef uint64_t
84489 __extension__ typedef unsigned long long uint64_t;
84490 # endif
84491 # endif
84493 #elif !defined __STRICT_ANSI__
84494 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84496 # ifndef _INT64_T
84497 # define _INT64_T
84498 # ifndef int64_t
84499 typedef __int64 int64_t;
84500 # endif
84501 # endif
84502 # ifndef _UINT64_T
84503 # define _UINT64_T
84504 # ifndef uint64_t
84505 typedef unsigned __int64 uint64_t;
84506 # endif
84507 # endif
84508 # endif /* compiler */
84510 #endif /* ANSI version */
84514 # ------------- done int64_t types, emit intptr types ------------
84515 if test "$ac_cv_type_uintptr_t" != yes; then
84516 sed 's/^ *//' >> tmp-stdint.h <<EOF
84518 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84519 #ifndef __uintptr_t_defined
84520 #ifndef uintptr_t
84521 typedef u$acx_cv_type_intptr_t uintptr_t;
84522 #endif
84523 #endif
84524 #ifndef __intptr_t_defined
84525 #ifndef intptr_t
84526 typedef $acx_cv_type_intptr_t intptr_t;
84527 #endif
84528 #endif
84532 # ------------- done intptr types, emit int_least types ------------
84533 if test "$ac_cv_type_int_least32_t" != yes; then
84534 sed 's/^ *//' >> tmp-stdint.h <<EOF
84536 /* Define int_least types */
84537 typedef int8_t int_least8_t;
84538 typedef int16_t int_least16_t;
84539 typedef int32_t int_least32_t;
84540 #ifdef _INT64_T
84541 typedef int64_t int_least64_t;
84542 #endif
84544 typedef uint8_t uint_least8_t;
84545 typedef uint16_t uint_least16_t;
84546 typedef uint32_t uint_least32_t;
84547 #ifdef _UINT64_T
84548 typedef uint64_t uint_least64_t;
84549 #endif
84553 # ------------- done intptr types, emit int_fast types ------------
84554 if test "$ac_cv_type_int_fast32_t" != yes; then
84555 sed 's/^ *//' >> tmp-stdint.h <<EOF
84557 /* Define int_fast types. short is often slow */
84558 typedef int8_t int_fast8_t;
84559 typedef int int_fast16_t;
84560 typedef int32_t int_fast32_t;
84561 #ifdef _INT64_T
84562 typedef int64_t int_fast64_t;
84563 #endif
84565 typedef uint8_t uint_fast8_t;
84566 typedef unsigned int uint_fast16_t;
84567 typedef uint32_t uint_fast32_t;
84568 #ifdef _UINT64_T
84569 typedef uint64_t uint_fast64_t;
84570 #endif
84574 if test "$ac_cv_type_uintmax_t" != yes; then
84575 sed 's/^ *//' >> tmp-stdint.h <<EOF
84577 /* Define intmax based on what we found */
84578 #ifndef intmax_t
84579 #ifdef _INT64_T
84580 typedef int64_t intmax_t;
84581 #else
84582 typedef long intmax_t;
84583 #endif
84584 #endif
84585 #ifndef uintmax_t
84586 #ifdef _UINT64_T
84587 typedef uint64_t uintmax_t;
84588 #else
84589 typedef unsigned long uintmax_t;
84590 #endif
84591 #endif
84595 sed 's/^ *//' >> tmp-stdint.h <<EOF
84597 #endif /* GCC_GENERATED_STDINT_H */
84600 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84601 rm -f tmp-stdint.h
84602 else
84603 mv -f tmp-stdint.h include/gstdint.h
84607 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84608 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84609 "include/Makefile":F) cat > vpsed$$ << \_EOF
84610 s!`test -f '$<' || echo '$(srcdir)/'`!!
84611 _EOF
84612 sed -f vpsed$$ $ac_file > tmp$$
84613 mv tmp$$ $ac_file
84614 rm vpsed$$
84615 echo 'MULTISUBDIR =' >> $ac_file
84616 ml_norecursion=yes
84617 . ${multi_basedir}/config-ml.in
84618 { ml_norecursion=; unset ml_norecursion;}
84620 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84621 s!`test -f '$<' || echo '$(srcdir)/'`!!
84622 _EOF
84623 sed -f vpsed$$ $ac_file > tmp$$
84624 mv tmp$$ $ac_file
84625 rm vpsed$$
84626 echo 'MULTISUBDIR =' >> $ac_file
84627 ml_norecursion=yes
84628 . ${multi_basedir}/config-ml.in
84629 { ml_norecursion=; unset ml_norecursion;}
84631 "src/Makefile":F) cat > vpsed$$ << \_EOF
84632 s!`test -f '$<' || echo '$(srcdir)/'`!!
84633 _EOF
84634 sed -f vpsed$$ $ac_file > tmp$$
84635 mv tmp$$ $ac_file
84636 rm vpsed$$
84637 echo 'MULTISUBDIR =' >> $ac_file
84638 ml_norecursion=yes
84639 . ${multi_basedir}/config-ml.in
84640 { ml_norecursion=; unset ml_norecursion;}
84642 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84643 s!`test -f '$<' || echo '$(srcdir)/'`!!
84644 _EOF
84645 sed -f vpsed$$ $ac_file > tmp$$
84646 mv tmp$$ $ac_file
84647 rm vpsed$$
84648 echo 'MULTISUBDIR =' >> $ac_file
84649 ml_norecursion=yes
84650 . ${multi_basedir}/config-ml.in
84651 { ml_norecursion=; unset ml_norecursion;}
84653 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84654 s!`test -f '$<' || echo '$(srcdir)/'`!!
84655 _EOF
84656 sed -f vpsed$$ $ac_file > tmp$$
84657 mv tmp$$ $ac_file
84658 rm vpsed$$
84659 echo 'MULTISUBDIR =' >> $ac_file
84660 ml_norecursion=yes
84661 . ${multi_basedir}/config-ml.in
84662 { ml_norecursion=; unset ml_norecursion;}
84664 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84665 s!`test -f '$<' || echo '$(srcdir)/'`!!
84666 _EOF
84667 sed -f vpsed$$ $ac_file > tmp$$
84668 mv tmp$$ $ac_file
84669 rm vpsed$$
84670 echo 'MULTISUBDIR =' >> $ac_file
84671 ml_norecursion=yes
84672 . ${multi_basedir}/config-ml.in
84673 { ml_norecursion=; unset ml_norecursion;}
84675 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84676 s!`test -f '$<' || echo '$(srcdir)/'`!!
84677 _EOF
84678 sed -f vpsed$$ $ac_file > tmp$$
84679 mv tmp$$ $ac_file
84680 rm vpsed$$
84681 echo 'MULTISUBDIR =' >> $ac_file
84682 ml_norecursion=yes
84683 . ${multi_basedir}/config-ml.in
84684 { ml_norecursion=; unset ml_norecursion;}
84686 "po/Makefile":F) cat > vpsed$$ << \_EOF
84687 s!`test -f '$<' || echo '$(srcdir)/'`!!
84688 _EOF
84689 sed -f vpsed$$ $ac_file > tmp$$
84690 mv tmp$$ $ac_file
84691 rm vpsed$$
84692 echo 'MULTISUBDIR =' >> $ac_file
84693 ml_norecursion=yes
84694 . ${multi_basedir}/config-ml.in
84695 { ml_norecursion=; unset ml_norecursion;}
84697 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84698 s!`test -f '$<' || echo '$(srcdir)/'`!!
84699 _EOF
84700 sed -f vpsed$$ $ac_file > tmp$$
84701 mv tmp$$ $ac_file
84702 rm vpsed$$
84703 echo 'MULTISUBDIR =' >> $ac_file
84704 ml_norecursion=yes
84705 . ${multi_basedir}/config-ml.in
84706 { ml_norecursion=; unset ml_norecursion;}
84708 "python/Makefile":F) cat > vpsed$$ << \_EOF
84709 s!`test -f '$<' || echo '$(srcdir)/'`!!
84710 _EOF
84711 sed -f vpsed$$ $ac_file > tmp$$
84712 mv tmp$$ $ac_file
84713 rm vpsed$$
84714 echo 'MULTISUBDIR =' >> $ac_file
84715 ml_norecursion=yes
84716 . ${multi_basedir}/config-ml.in
84717 { ml_norecursion=; unset ml_norecursion;}
84719 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84721 esac
84722 done # for ac_tag
84725 as_fn_exit 0
84726 _ACEOF
84727 ac_clean_files=$ac_clean_files_save
84729 test $ac_write_fail = 0 ||
84730 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84733 # configure is writing to config.log, and then calls config.status.
84734 # config.status does its own redirection, appending to config.log.
84735 # Unfortunately, on DOS this fails, as config.log is still kept open
84736 # by configure, so config.status won't be able to write to it; its
84737 # output is simply discarded. So we exec the FD to /dev/null,
84738 # effectively closing config.log, so it can be properly (re)opened and
84739 # appended to by config.status. When coming back to configure, we
84740 # need to make the FD available again.
84741 if test "$no_create" != yes; then
84742 ac_cs_success=:
84743 ac_config_status_args=
84744 test "$silent" = yes &&
84745 ac_config_status_args="$ac_config_status_args --quiet"
84746 exec 5>/dev/null
84747 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84748 exec 5>>config.log
84749 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84750 # would make configure fail if this is the last instruction.
84751 $ac_cs_success || as_fn_exit $?
84753 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84755 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}