2015-09-19 Andrew Dixie <andrewd@gentrack.com>
[official-gcc.git] / libstdc++-v3 / configure
blobdea0a2d3506f4a05d908277db8bb0970b9154e08
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
745 ac_ct_DUMPBIN
746 DUMPBIN
748 FGREP
750 LIBTOOL
751 EGREP
752 GREP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
907 CXXFLAGS
910 CXXCPP
911 CXXFILT'
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
962 ac_prev=
963 ac_dashdash=
964 for ac_option
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
978 # Accept the important Cygnus configure options, so we can diagnose typos.
980 case $ac_dashdash$ac_option in
982 ac_dashdash=yes ;;
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318 esac
1319 done
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376 test "$silent" = yes && exec 6>/dev/null
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1405 /^X\(\/\/\)$/{
1406 s//\1/
1409 /^X\(\/\).*/{
1410 s//\1/
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1418 else
1419 ac_srcdir_defaulted=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1447 # Report the --help message.
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1460 Defaults for the options are specified in brackets.
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1484 For better control, use the options below.
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1508 cat <<\_ACEOF
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 ac_retval=1
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1818 ac_retval=1
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1823 } # ac_fn_c_try_cpp
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1859 ac_retval=1
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1869 } # ac_fn_c_try_link
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900 } # ac_fn_c_check_header_compile
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936 ac_retval=$ac_status
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1942 } # ac_fn_c_try_run
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1975 #undef $2
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1992 main ()
1994 return $2 ();
1996 return 0;
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2012 } # ac_fn_c_check_func
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2044 ac_retval=1
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2049 } # ac_fn_cxx_try_cpp
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2085 ac_retval=1
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2095 } # ac_fn_cxx_try_link
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2182 } # ac_fn_c_check_header_mongrel
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2269 } # ac_fn_cxx_check_header_mongrel
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2285 main ()
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2291 return 0;
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2301 main ()
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2307 return 0;
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2327 main ()
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2333 return 0;
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2343 main ()
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2349 return 0;
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2377 main ()
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2383 return 0;
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2406 main ()
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2419 else
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2431 return 0;
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2447 } # ac_fn_c_compute_int
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2468 if (sizeof ($2))
2469 return 0;
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof (($2)))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2489 else
2490 eval "$3=yes"
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2501 } # ac_fn_c_check_type
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2520 main ()
2522 if (sizeof ($2))
2523 return 0;
2525 return 0;
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof (($2)))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 else
2544 eval "$3=yes"
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2563 $ $0 $@
2565 _ACEOF
2566 exec 5>>config.log
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2590 _ASUNAME
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2601 } >&5
2603 cat >&5 <<_ACEOF
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2610 _ACEOF
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2624 for ac_arg
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2653 as_fn_append ac_configure_args " '$ac_arg'"
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2669 echo
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2704 esac |
2705 sort
2707 echo
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2769 $as_echo "/* confdefs.h */" > confdefs.h
2771 # Predefined preprocessor variables.
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2820 done
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2911 ac_config_headers="$ac_config_headers config.h"
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2944 else
2945 multi_basedir="$srcdir/.."
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2956 ac_config_commands="$ac_config_commands default-1"
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3107 target_alias=${target_alias-$host_alias}
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3212 done
3213 done
3215 esac
3217 done
3218 IFS=$as_save_IFS
3220 rm -rf conftest.one conftest.two conftest.dir
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3285 test "$2" = conftest.file
3287 then
3288 # Ok.
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3362 done
3363 done
3364 IFS=$as_save_IFS
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3483 for ac_prog in gawk mawk nawk awk
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3506 done
3507 done
3508 IFS=$as_save_IFS
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$AWK" && break
3523 done
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3563 rmdir .tst 2>/dev/null
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3590 # Some tools Automake needs.
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3653 done
3654 done
3655 IFS=$as_save_IFS
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3693 done
3694 done
3695 IFS=$as_save_IFS
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3719 else
3720 CC="$ac_cv_prog_CC"
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3793 IFS=$as_save_IFS
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$CC" && break
3862 done
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3889 done
3890 done
3891 IFS=$as_save_IFS
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$ac_ct_CC" && break
3906 done
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3958 main ()
3962 return 0;
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4058 else
4059 ac_file=''
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4073 ac_exeext=$ac_cv_exeext
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4343 return p[i];
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4376 main ()
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4380 return 0;
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CXX" && break
4470 done
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CXX" && break
4514 done
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4572 return 0;
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4621 main ()
4625 return 0;
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 CXXFLAGS="$save_CXXFLAGS"
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
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
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4720 else
4721 # Broken: fails on valid input.
4722 continue
4724 rm -f conftest.err conftest.$ac_ext
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4740 rm -f conftest.err conftest.$ac_ext
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4749 done
4750 ac_cv_prog_CPP=$CPP
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4779 else
4780 # Broken: fails on valid input.
4781 continue
4783 rm -f conftest.err conftest.$ac_ext
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4799 rm -f conftest.err conftest.$ac_ext
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 else
4874 ac_cv_path_GREP=$GREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4939 else
4940 ac_cv_path_EGREP=$EGREP
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5008 #LN_S='cp -p'
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5098 else
5099 AS="$ac_cv_prog_AS"
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5190 else
5191 AR="$ac_cv_prog_AR"
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5256 done
5257 done
5258 IFS=$as_save_IFS
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5307 MAINT=$MAINTAINER_MODE_TRUE
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5333 rm -f conftest*
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5351 rm -f conftest*
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5395 ltmain="$ac_aux_dir/ltmain.sh"
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5430 eval 'cat <<_LTECHO_EOF
5432 _LTECHO_EOF'
5434 ECHO='func_fallback_echo'
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5441 $ECHO ""
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5525 else
5526 ac_cv_path_SED=$SED
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5604 else
5605 ac_cv_path_FGREP=$FGREP
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5615 test -z "$GREP" && GREP=grep
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5699 test "$with_gnu_ld" != yes && break
5701 esac
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5730 lt_cv_prog_gnu_ld=no
5732 esac
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5785 esac
5787 esac
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5828 done
5829 done
5830 IFS=$as_save_IFS
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$DUMPBIN" && break
5845 done
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5909 DUMPBIN=:
5911 esac
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5918 test -z "$NM" && NM=nm
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5943 rm -f conftest*
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5955 teststring="ABCD"
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 esac
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6136 esac
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6169 esac
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6243 IFS=$as_save_IFS
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6376 hppa*64*)
6377 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]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6384 esac
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 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]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6471 lt_cv_deplibs_check_method=pass_all
6473 esac
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6479 esac
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6587 else
6588 AR="$ac_cv_prog_AR"
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6696 test -z "$STRIP" && STRIP=:
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6765 done
6766 done
6767 IFS=$as_save_IFS
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6795 test -z "$RANLIB" && RANLIB=:
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6823 lock_old_archive_extraction=no ;;
6824 esac
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6906 osf*)
6907 symcode='[BCDEGQRST]'
6909 solaris*)
6910 symcode='[BDRT]'
6912 sco3.2v5*)
6913 symcode='[DT]'
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6921 sysv4)
6922 symcode='[DFNSTU]'
6924 esac
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 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'"
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6947 esac
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7024 cat <<_LT_EOF >> conftest.$ac_ext
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7045 #endif
7047 #ifdef __cplusplus
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7079 rm -rf conftest* conftst*
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7087 done
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7148 esac
7150 rm -rf conftest*
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7177 *N32*)
7178 LD="${LD-ld} -n32"
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7183 esac
7186 rm -rf conftest*
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7210 LD="${LD-ld} -m elf_i386"
7212 esac
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7226 esac
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7248 esac
7250 esac
7252 rm -rf conftest*
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7277 main ()
7281 return 0;
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7322 esac
7324 esac
7326 rm -rf conftest*
7328 esac
7330 need_locks="$enable_libtool_lock"
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7357 done
7358 done
7359 IFS=$as_save_IFS
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7397 done
7398 done
7399 IFS=$as_save_IFS
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7541 done
7542 done
7543 IFS=$as_save_IFS
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7581 done
7582 done
7583 IFS=$as_save_IFS
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7673 done
7674 done
7675 IFS=$as_save_IFS
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7725 done
7726 done
7727 IFS=$as_save_IFS
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7866 main ()
7870 return 0;
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7948 esac
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7963 main ()
7967 return 0;
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7987 else
7988 ac_cv_header_stdc=no
7990 rm -f conftest*
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8004 else
8005 ac_cv_header_stdc=no
8007 rm -f conftest*
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8033 main ()
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8045 else
8046 ac_cv_header_stdc=no
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8077 done
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8091 done
8098 # Set options
8103 enable_win32_dll=no
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8121 done
8122 IFS="$lt_save_ifs"
8124 esac
8125 else
8126 enable_shared=yes
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8152 done
8153 IFS="$lt_save_ifs"
8155 esac
8156 else
8157 enable_static=yes
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8177 test -z "$pic_mode" && pic_mode=default
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8200 done
8201 IFS="$lt_save_ifs"
8203 esac
8204 else
8205 enable_fast_install=yes
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8249 test -z "$LN_S" && LN_S="ln -s"
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8281 rmdir .libs 2>/dev/null
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8308 esac
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8372 else
8373 cat <<_LT_EOF 1>&2
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8384 _LT_EOF
8385 fi ;;
8386 esac
8388 break
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8394 esac
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8438 else
8439 cat <<_LT_EOF 1>&2
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8450 _LT_EOF
8451 fi ;;
8452 esac
8454 break
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 esac
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8473 else
8474 MAGIC_CMD=:
8480 esac
8482 # Use C for the default configuration in the libtool script
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8492 # Source file extension for C test sources.
8493 ac_ext=c
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8544 lt_prog_compiler_no_builtin_flag=
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8586 $RM conftest*
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_pic='-fPIC'
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8638 esac
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='-fPIC'
8676 esac
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8704 lt_prog_compiler_pic='-fPIC'
8706 esac
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8742 lt_prog_compiler_pic='+Z'
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8808 esac
8810 esac
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8881 lt_prog_compiler_can_build_shared=no
8883 esac
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8904 # Check to make sure the PIC flag actually works.
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8939 $RM conftest*
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8963 # Check to make sure the static flag actually works.
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8999 else
9000 lt_prog_compiler_static=
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9135 else
9136 need_locks=no
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9201 openbsd*)
9202 with_gnu_ld=no
9204 esac
9206 ld_shlibs=yes
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9223 lt_use_gnu_ld_interface=yes
9225 esac
9228 lt_use_gnu_ld_interface=yes
9230 esac
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9274 _LT_EOF
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9285 m68k)
9286 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)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9290 esac
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 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'
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 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'
9365 tmp_addflag=' $pic_flag'
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 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'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 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'
9385 compiler_needs_object=yes
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 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'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9419 esac
9420 else
9421 ld_shlibs=no
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9469 _LT_EOF
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9484 esac
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9502 esac
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 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'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 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'
9541 else
9542 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9544 aix_use_runtimelinking=no
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9555 done
9557 esac
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9634 main ()
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 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"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 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"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9677 main ()
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 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'
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9729 m68k)
9730 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)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9734 esac
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9762 darwin* | rhapsody*)
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 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\"`'
9771 else
9772 whole_archive_flag_spec=''
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9787 else
9788 ld_shlibs=no
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 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'
9829 else
9830 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'
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9906 else
9907 lt_cv_prog_compiler__b=yes
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9924 esac
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9944 esac
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 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'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 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'
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 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'
9972 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'
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
10000 *nto* | *qnx*)
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10023 esac
10025 else
10026 ld_shlibs=no
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 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'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 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'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 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'
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10059 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~
10060 $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'
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090 esac
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10107 esac
10108 link_all_deplibs=yes
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10211 ld_shlibs=no
10213 esac
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10220 esac
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10228 with_gnu_ld=$with_gnu_ld
10245 # Do we need to explicitly link libc?
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10301 $RM conftest*
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10308 esac
10311 esac
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10587 else
10588 can_build_shared=no
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10606 shlibpath_var=LIBPATH
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 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'
10622 esac
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 esac
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10761 esac
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10916 main ()
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 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' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11012 shlibpath_overrides_runpath=yes
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11040 rdos*)
11041 dynamic_linker=no
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11066 need_version=yes
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11080 siemens)
11081 need_lib_prefix=no
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11089 esac
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11118 esac
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11142 dynamic_linker=no
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11343 main ()
11345 return dlopen ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11399 main ()
11401 return shl_load ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11445 main ()
11447 return dlopen ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11487 main ()
11489 return dlopen ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11529 main ()
11531 return dld_link ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11567 esac
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11710 #include <stdio.h>
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11750 void fnord () { int i=42; }
11751 int main ()
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11756 if (self)
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11764 /* dlclose (self); */
11766 else
11767 puts (dlerror ());
11769 return status;
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11789 rm -fr conftest*
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11801 esac
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11857 esac
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11918 CC="$lt_save_CC"
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11957 else
11958 # Broken: fails on valid input.
11959 continue
11961 rm -f conftest.err conftest.$ac_ext
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11977 rm -f conftest.err conftest.$ac_ext
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12016 else
12017 # Broken: fails on valid input.
12018 continue
12020 rm -f conftest.err conftest.$ac_ext
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12036 rm -f conftest.err conftest.$ac_ext
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12056 else
12057 _lt_caught_CXX_error=yes
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12250 test "$with_gnu_ld" != yes && break
12252 esac
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12281 lt_cv_prog_gnu_ld=no
12283 esac
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 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'
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12368 esac
12369 done
12371 esac
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12448 main ()
12452 return 0;
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12476 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"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 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"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12492 main ()
12496 return 0;
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 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'
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12549 chorus*)
12550 case $cc_basename in
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 esac
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 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'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12577 $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'
12578 else
12579 ld_shlibs_CXX=no
12582 darwin* | rhapsody*)
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 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\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 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}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 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}"
12605 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}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 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}"
12608 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}"
12611 else
12612 ld_shlibs_CXX=no
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12632 esac
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12651 gnu*)
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12673 aCC*)
12674 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'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 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"'
12686 if test "$GXX" = yes; then
12687 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'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12693 esac
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12707 esac
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12721 esac
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 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"'
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12761 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'
12763 esac
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12770 esac
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 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'
12785 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'
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 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'
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 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'
12803 else
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12807 link_all_deplibs_CXX=yes
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 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'
12824 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'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 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"'
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 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'
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 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'
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $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'
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12893 esac
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 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'
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 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'
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 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'
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 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'
12939 compiler_needs_object_CXX=yes
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12952 esac
12954 esac
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12977 esac
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 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'
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 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'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 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'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $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~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13060 esac
13062 hardcode_libdir_separator_CXX=:
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 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"'
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 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'
13082 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'
13084 esac
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13099 esac
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13123 esac
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $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'
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13146 esac
13147 link_all_deplibs_CXX=yes
13149 output_verbose_link_cmd='func_echo_all'
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -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 -G -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 -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13196 esac
13199 esac
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 esac
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 esac
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13264 esac
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13276 esac
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13304 _LT_EOF
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13379 *) ;; # Ignore the rest.
13381 esac
13382 done
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13390 $RM -f confest.$objext
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13415 esac
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13421 esac
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13435 esac
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13444 esac
13446 esac
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13506 lt_prog_compiler_pic_CXX='-fPIC'
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13521 esac
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13567 esac
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13575 lt_prog_compiler_pic_CXX='-fPIC'
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _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"
13595 esac
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13608 esac
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13630 lt_prog_compiler_pic_CXX='+Z'
13632 esac
13636 esac
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13651 esac
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13700 esac
13702 esac
13704 lynxos*)
13706 m88k*)
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13715 esac
13717 netbsd*)
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13743 esac
13745 psos*)
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13761 esac
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13776 esac
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13785 esac
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13795 esac
13797 vxworks*)
13800 lt_prog_compiler_can_build_shared_CXX=no
13802 esac
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13820 # Check to make sure the PIC flag actually works.
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13855 $RM conftest*
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13876 # Check to make sure the static flag actually works.
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13912 else
13913 lt_prog_compiler_static_CXX=
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14042 else
14043 need_locks=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 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'
14060 else
14061 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14067 cygwin* | mingw* | cegcc*)
14068 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'
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14080 with_gnu_ld_CXX=$with_gnu_ld
14088 # Do we need to explicitly link libc?
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14144 $RM conftest*
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14151 esac
14154 esac
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14273 else
14274 can_build_shared=no
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LIBPATH
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 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'
14308 esac
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14369 esac
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14445 esac
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14600 main ()
14604 return 0;
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 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' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14696 shlibpath_overrides_runpath=yes
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14724 rdos*)
14725 dynamic_linker=no
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14750 need_version=yes
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14764 siemens)
14765 need_lib_prefix=no
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14773 esac
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14802 esac
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14826 dynamic_linker=no
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14926 fi # test -n "$compiler"
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957 ac_config_commands="$ac_config_commands libtool"
14962 # Only expand once:
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14981 lt_host_flags=
14983 esac
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14996 # libtool variables for C++ shared and position-independent compiles.
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15044 enable_hosted_libstdcxx=yes
15046 esac
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15068 # Enable descriptive messages to standard output on termination.
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15091 # Enable compiler support that doesn't require linking.
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15190 old_CXXFLAGS="$CXXFLAGS"
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15202 esac
15205 if test x$atomic_builtins_link_tests = xyes; then
15207 # Do link tests.
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15224 main ()
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15237 return 0;
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15266 main ()
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15279 return 0;
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15308 main ()
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15321 return 0;
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15350 main ()
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15363 return 0;
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15379 else
15381 # Do asm tests.
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15386 # Fake what AC_TRY_COMPILE does.
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15402 return 0;
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15437 return 0;
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15473 return 0;
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15508 return 0;
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15546 atomicity_dir=cpu/generic/atomicity_builtins
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15621 template<typename T>
15622 struct same<T, T>;
15624 int main()
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15655 template<typename T>
15656 struct same<T, T>;
15658 int main()
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15694 # Checks for compiler support that doesn't require linking.
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15724 main ()
15728 return 0;
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759 # Enable all the variable C++ runtime options that don't require linking.
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15771 else
15772 enable_cstdio=stdio
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15788 esac
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15803 else
15804 enable_clocale=auto
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15825 enable_clocale_flag=$enable_clocale
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15840 openbsd*)
15841 enable_clocale_flag=newlib
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15850 esac
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15870 rm -f conftest*
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15884 main ()
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15888 return 0;
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15905 main ()
15907 __locale_t loc; strerror_l(5, loc);
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 CFLAGS="$ac_save_CFLAGS"
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15931 main ()
15933 char s[128]; strerror_r(5, s, 128);
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15989 CLOCALE_H=config/locale/dragonfly/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15997 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
15998 CTIME_H=config/locale/dragonfly/time_members.h
15999 CTIME_CC=config/locale/dragonfly/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16034 done
16035 done
16036 IFS=$as_save_IFS
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16109 esac
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16126 else
16127 USE_NLS=no
16130 done
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16149 main ()
16151 return gettext ();
16153 return 0;
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16177 else
16178 ac_cv_search_gettext=no
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16189 else
16190 USE_NLS=no
16194 if test $USE_NLS = yes; then
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16225 else
16226 enable_libstdcxx_allocator=auto
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16252 enable_libstdcxx_allocator_flag=new
16254 esac
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16282 esac
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16296 else
16297 enable_cheaders=$c_model
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16325 else
16326 enable_long_long=yes
16330 if test $enable_long_long = yes; then
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16349 else
16350 enable_wchar_t=yes
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16368 done
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16376 main ()
16378 mbstate_t teststate;
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16411 done
16414 if test x"$enable_wchar_t" = x"yes"; then
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16491 main ()
16495 return 0;
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16500 else
16501 enable_wchar_t=no
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516 if test x"$enable_wchar_t" = x"yes"; then
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16537 else
16538 enable_c99=yes
16543 if test x"$enable_c99" = x"yes"; then
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16608 LIBS="$LIBS -lm"
16610 else
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16633 main ()
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16650 return 0;
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16669 main ()
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16686 return 0;
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16724 done
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16738 done
16740 glibcxx_cv_c99_complex=no;
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16758 main ()
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16801 return 0;
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16827 main ()
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16870 return 0;
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16912 main ()
16916 return 0;
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16943 main ()
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16980 main ()
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16995 return 0;
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17016 main ()
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17031 return 0;
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17065 main ()
17069 return 0;
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17088 main ()
17092 return 0;
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17107 main ()
17111 return 0;
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17126 main ()
17130 return 0;
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17145 main ()
17149 return 0;
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17163 main ()
17165 wint_t t; int i = iswblank(t);
17167 return 0;
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17219 else
17220 enable_concept_checks=no
17224 if test $enable_concept_checks = yes; then
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17262 else
17263 enable_libstdcxx_debug=no
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17273 enable_parallel=no;
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17331 else
17332 enable_fully_dynamic_string=no
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17357 else
17358 enable_extern_template=yes
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17401 else
17402 enable_werror=yes
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17420 else
17421 enable_vtable_verify=no
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17437 vtv_cygmin=yes
17439 darwin*)
17440 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
17441 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
17444 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17445 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17447 esac
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 else
17450 VTV_CXXFLAGS=
17451 VTV_PCH_CXXFLAGS=
17452 VTV_CXXLINKFLAGS=
17458 if test x$vtv_cygmin = xyes; then
17459 VTV_CYGMIN_TRUE=
17460 VTV_CYGMIN_FALSE='#'
17461 else
17462 VTV_CYGMIN_TRUE='#'
17463 VTV_CYGMIN_FALSE=
17469 # Checks for operating systems support that doesn't require linking.
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17481 $as_echo_n "checking for gets declaration... " >&6; }
17482 if test "${glibcxx_cv_gets+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdio.h>
17489 namespace test
17491 using ::gets;
17494 _ACEOF
17495 if ac_fn_cxx_try_compile "$LINENO"; then :
17496 glibcxx_cv_gets=yes
17497 else
17498 glibcxx_cv_gets=no
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 if test $glibcxx_cv_gets = yes; then
17507 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17511 $as_echo "$glibcxx_cv_gets" >&6; }
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17523 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17524 if test "${glibcxx_cv_system_error1+set}" = set; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <errno.h>
17532 main ()
17534 int i = EOWNERDEAD;
17536 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540 glibcxx_cv_system_error1=yes
17541 else
17542 glibcxx_cv_system_error1=no
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17549 $as_echo "$glibcxx_cv_system_error1" >&6; }
17550 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17552 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17556 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17557 if test "${glibcxx_cv_system_error2+set}" = set; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 #include <errno.h>
17565 main ()
17567 int i = ENOTRECOVERABLE;
17569 return 0;
17571 _ACEOF
17572 if ac_fn_c_try_compile "$LINENO"; then :
17573 glibcxx_cv_system_error2=yes
17574 else
17575 glibcxx_cv_system_error2=no
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17582 $as_echo "$glibcxx_cv_system_error2" >&6; }
17583 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17585 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17589 $as_echo_n "checking for ENOLINK... " >&6; }
17590 if test "${glibcxx_cv_system_error3+set}" = set; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <errno.h>
17598 main ()
17600 int i = ENOLINK;
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_compile "$LINENO"; then :
17606 glibcxx_cv_system_error3=yes
17607 else
17608 glibcxx_cv_system_error3=no
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17615 $as_echo "$glibcxx_cv_system_error3" >&6; }
17616 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17618 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17622 $as_echo_n "checking for EPROTO... " >&6; }
17623 if test "${glibcxx_cv_system_error4+set}" = set; then :
17624 $as_echo_n "(cached) " >&6
17625 else
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <errno.h>
17631 main ()
17633 int i = EPROTO;
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17639 glibcxx_cv_system_error4=yes
17640 else
17641 glibcxx_cv_system_error4=no
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17648 $as_echo "$glibcxx_cv_system_error4" >&6; }
17649 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17651 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17655 $as_echo_n "checking for ENODATA... " >&6; }
17656 if test "${glibcxx_cv_system_error5+set}" = set; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 #include <errno.h>
17664 main ()
17666 int i = ENODATA;
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_compile "$LINENO"; then :
17672 glibcxx_cv_system_error5=yes
17673 else
17674 glibcxx_cv_system_error5=no
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17681 $as_echo "$glibcxx_cv_system_error5" >&6; }
17682 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17684 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17688 $as_echo_n "checking for ENOSR... " >&6; }
17689 if test "${glibcxx_cv_system_error6+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 #include <errno.h>
17697 main ()
17699 int i = ENOSR;
17701 return 0;
17703 _ACEOF
17704 if ac_fn_c_try_compile "$LINENO"; then :
17705 glibcxx_cv_system_error6=yes
17706 else
17707 glibcxx_cv_system_error6=no
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17714 $as_echo "$glibcxx_cv_system_error6" >&6; }
17715 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17717 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17721 $as_echo_n "checking for ENOSTR... " >&6; }
17722 if test "${glibcxx_cv_system_error7+set}" = set; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <errno.h>
17730 main ()
17732 int i = ENOSTR;
17734 return 0;
17736 _ACEOF
17737 if ac_fn_c_try_compile "$LINENO"; then :
17738 glibcxx_cv_system_error7=yes
17739 else
17740 glibcxx_cv_system_error7=no
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17747 $as_echo "$glibcxx_cv_system_error7" >&6; }
17748 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17750 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17754 $as_echo_n "checking for ETIME... " >&6; }
17755 if test "${glibcxx_cv_system_error8+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <errno.h>
17763 main ()
17765 int i = ETIME;
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_compile "$LINENO"; then :
17771 glibcxx_cv_system_error8=yes
17772 else
17773 glibcxx_cv_system_error8=no
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17780 $as_echo "$glibcxx_cv_system_error8" >&6; }
17781 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17783 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17787 $as_echo_n "checking for EBADMSG... " >&6; }
17788 if test "${glibcxx_cv_system_error9+set}" = set; then :
17789 $as_echo_n "(cached) " >&6
17790 else
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <errno.h>
17796 main ()
17798 int i = EBADMSG;
17800 return 0;
17802 _ACEOF
17803 if ac_fn_c_try_compile "$LINENO"; then :
17804 glibcxx_cv_system_error9=yes
17805 else
17806 glibcxx_cv_system_error9=no
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17813 $as_echo "$glibcxx_cv_system_error9" >&6; }
17814 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17816 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17820 $as_echo_n "checking for ECANCELED... " >&6; }
17821 if test "${glibcxx_cv_system_error10+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <errno.h>
17829 main ()
17831 int i = ECANCELED;
17833 return 0;
17835 _ACEOF
17836 if ac_fn_c_try_compile "$LINENO"; then :
17837 glibcxx_cv_system_error10=yes
17838 else
17839 glibcxx_cv_system_error10=no
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17846 $as_echo "$glibcxx_cv_system_error10" >&6; }
17847 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17849 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17853 $as_echo_n "checking for EOVERFLOW... " >&6; }
17854 if test "${glibcxx_cv_system_error11+set}" = set; then :
17855 $as_echo_n "(cached) " >&6
17856 else
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <errno.h>
17862 main ()
17864 int i = EOVERFLOW;
17866 return 0;
17868 _ACEOF
17869 if ac_fn_c_try_compile "$LINENO"; then :
17870 glibcxx_cv_system_error11=yes
17871 else
17872 glibcxx_cv_system_error11=no
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17879 $as_echo "$glibcxx_cv_system_error11" >&6; }
17880 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17882 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17886 $as_echo_n "checking for ENOTSUP... " >&6; }
17887 if test "${glibcxx_cv_system_error12+set}" = set; then :
17888 $as_echo_n "(cached) " >&6
17889 else
17891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17893 #include <errno.h>
17895 main ()
17897 int i = ENOTSUP;
17899 return 0;
17901 _ACEOF
17902 if ac_fn_c_try_compile "$LINENO"; then :
17903 glibcxx_cv_system_error12=yes
17904 else
17905 glibcxx_cv_system_error12=no
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17912 $as_echo "$glibcxx_cv_system_error12" >&6; }
17913 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17915 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17919 $as_echo_n "checking for EIDRM... " >&6; }
17920 if test "${glibcxx_cv_system_error13+set}" = set; then :
17921 $as_echo_n "(cached) " >&6
17922 else
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 #include <errno.h>
17928 main ()
17930 int i = EIDRM;
17932 return 0;
17934 _ACEOF
17935 if ac_fn_c_try_compile "$LINENO"; then :
17936 glibcxx_cv_system_error13=yes
17937 else
17938 glibcxx_cv_system_error13=no
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17945 $as_echo "$glibcxx_cv_system_error13" >&6; }
17946 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17948 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17952 $as_echo_n "checking for ETXTBSY... " >&6; }
17953 if test "${glibcxx_cv_system_error14+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #include <errno.h>
17961 main ()
17963 int i = ETXTBSY;
17965 return 0;
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 glibcxx_cv_system_error14=yes
17970 else
17971 glibcxx_cv_system_error14=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17978 $as_echo "$glibcxx_cv_system_error14" >&6; }
17979 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17981 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17985 $as_echo_n "checking for ECHILD... " >&6; }
17986 if test "${glibcxx_cv_system_error15+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #include <errno.h>
17994 main ()
17996 int i = ECHILD;
17998 return 0;
18000 _ACEOF
18001 if ac_fn_c_try_compile "$LINENO"; then :
18002 glibcxx_cv_system_error15=yes
18003 else
18004 glibcxx_cv_system_error15=no
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18011 $as_echo "$glibcxx_cv_system_error15" >&6; }
18012 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18014 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18018 $as_echo_n "checking for ENOSPC... " >&6; }
18019 if test "${glibcxx_cv_system_error16+set}" = set; then :
18020 $as_echo_n "(cached) " >&6
18021 else
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <errno.h>
18027 main ()
18029 int i = ENOSPC;
18031 return 0;
18033 _ACEOF
18034 if ac_fn_c_try_compile "$LINENO"; then :
18035 glibcxx_cv_system_error16=yes
18036 else
18037 glibcxx_cv_system_error16=no
18039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18044 $as_echo "$glibcxx_cv_system_error16" >&6; }
18045 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18047 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18051 $as_echo_n "checking for EPERM... " >&6; }
18052 if test "${glibcxx_cv_system_error17+set}" = set; then :
18053 $as_echo_n "(cached) " >&6
18054 else
18056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18058 #include <errno.h>
18060 main ()
18062 int i = EPERM;
18064 return 0;
18066 _ACEOF
18067 if ac_fn_c_try_compile "$LINENO"; then :
18068 glibcxx_cv_system_error17=yes
18069 else
18070 glibcxx_cv_system_error17=no
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18077 $as_echo "$glibcxx_cv_system_error17" >&6; }
18078 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18080 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18084 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18085 if test "${glibcxx_cv_system_error18+set}" = set; then :
18086 $as_echo_n "(cached) " >&6
18087 else
18089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18090 /* end confdefs.h. */
18091 #include <errno.h>
18093 main ()
18095 int i = ETIMEDOUT;
18097 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_compile "$LINENO"; then :
18101 glibcxx_cv_system_error18=yes
18102 else
18103 glibcxx_cv_system_error18=no
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18110 $as_echo "$glibcxx_cv_system_error18" >&6; }
18111 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18113 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18117 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18118 if test "${glibcxx_cv_system_error19+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <errno.h>
18126 main ()
18128 int i = EWOULDBLOCK;
18130 return 0;
18132 _ACEOF
18133 if ac_fn_c_try_compile "$LINENO"; then :
18134 glibcxx_cv_system_error19=yes
18135 else
18136 glibcxx_cv_system_error19=no
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18143 $as_echo "$glibcxx_cv_system_error19" >&6; }
18144 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18146 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18153 # Test uchar.h.
18154 for ac_header in uchar.h
18155 do :
18156 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18157 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_UCHAR_H 1
18160 _ACEOF
18161 ac_has_uchar_h=yes
18162 else
18163 ac_has_uchar_h=no
18166 done
18170 ac_ext=cpp
18171 ac_cpp='$CXXCPP $CPPFLAGS'
18172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18176 ac_save_CXXFLAGS="$CXXFLAGS"
18177 CXXFLAGS="$CXXFLAGS -std=c++11"
18179 if test x"$ac_has_uchar_h" = x"yes"; then
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
18181 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18184 #include <uchar.h>
18185 #ifdef __STDC_UTF_16__
18186 long i = __STDC_UTF_16__;
18187 #endif
18188 #ifdef __STDC_UTF_32__
18189 long j = __STDC_UTF_32__;
18190 #endif
18191 namespace test
18193 using ::c16rtomb;
18194 using ::c32rtomb;
18195 using ::mbrtoc16;
18196 using ::mbrtoc32;
18200 main ()
18204 return 0;
18206 _ACEOF
18207 if ac_fn_cxx_try_compile "$LINENO"; then :
18208 ac_c11_uchar_cxx11=yes
18209 else
18210 ac_c11_uchar_cxx11=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 else
18214 ac_c11_uchar_cxx11=no
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
18217 $as_echo "$ac_c11_uchar_cxx11" >&6; }
18218 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
18220 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
18224 CXXFLAGS="$ac_save_CXXFLAGS"
18225 ac_ext=c
18226 ac_cpp='$CPP $CPPFLAGS'
18227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18233 # For the streamoff typedef.
18237 ac_ext=cpp
18238 ac_cpp='$CXXCPP $CPPFLAGS'
18239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18245 $as_echo_n "checking for int64_t... " >&6; }
18246 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18247 $as_echo_n "(cached) " >&6
18248 else
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <stdint.h>
18254 main ()
18256 int64_t var;
18258 return 0;
18260 _ACEOF
18261 if ac_fn_cxx_try_compile "$LINENO"; then :
18262 glibcxx_cv_INT64_T=yes
18263 else
18264 glibcxx_cv_INT64_T=no
18266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18271 if test $glibcxx_cv_INT64_T = yes; then
18273 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18276 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18279 $as_echo_n "checking for int64_t as long... " >&6; }
18280 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18285 /* end confdefs.h. */
18286 #include <stdint.h>
18287 template<typename, typename> struct same { enum { value = -1 }; };
18288 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18289 int array[same<int64_t, long>::value];
18291 main ()
18295 return 0;
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299 glibcxx_cv_int64_t_long=yes
18300 else
18301 glibcxx_cv_int64_t_long=no
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308 if test $glibcxx_cv_int64_t_long = yes; then
18310 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18313 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18317 $as_echo_n "checking for int64_t as long long... " >&6; }
18318 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <stdint.h>
18325 template<typename, typename> struct same { enum { value = -1 }; };
18326 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18327 int array[same<int64_t, long long>::value];
18329 main ()
18333 return 0;
18335 _ACEOF
18336 if ac_fn_cxx_try_compile "$LINENO"; then :
18337 glibcxx_cv_int64_t_long_long=yes
18338 else
18339 glibcxx_cv_int64_t_long_long=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 if test $glibcxx_cv_int64_t_long_long = yes; then
18348 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18351 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18355 ac_ext=c
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18363 # For LFS support.
18366 ac_ext=cpp
18367 ac_cpp='$CXXCPP $CPPFLAGS'
18368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18372 ac_save_CXXFLAGS="$CXXFLAGS"
18373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18375 $as_echo_n "checking for LFS support... " >&6; }
18376 if test "${glibcxx_cv_LFS+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <unistd.h>
18384 #include <stdio.h>
18385 #include <sys/stat.h>
18388 main ()
18390 FILE* fp;
18391 fopen64("t", "w");
18392 fseeko64(fp, 0, SEEK_CUR);
18393 ftello64(fp);
18394 lseek64(1, 0, SEEK_CUR);
18395 struct stat64 buf;
18396 fstat64(1, &buf);
18398 return 0;
18400 _ACEOF
18401 if ac_fn_cxx_try_compile "$LINENO"; then :
18402 glibcxx_cv_LFS=yes
18403 else
18404 glibcxx_cv_LFS=no
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407 else
18408 if test x$gcc_no_link = xyes; then
18409 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18413 #include <unistd.h>
18414 #include <stdio.h>
18415 #include <sys/stat.h>
18418 main ()
18420 FILE* fp;
18421 fopen64("t", "w");
18422 fseeko64(fp, 0, SEEK_CUR);
18423 ftello64(fp);
18424 lseek64(1, 0, SEEK_CUR);
18425 struct stat64 buf;
18426 fstat64(1, &buf);
18428 return 0;
18430 _ACEOF
18431 if ac_fn_cxx_try_link "$LINENO"; then :
18432 glibcxx_cv_LFS=yes
18433 else
18434 glibcxx_cv_LFS=no
18436 rm -f core conftest.err conftest.$ac_objext \
18437 conftest$ac_exeext conftest.$ac_ext
18442 if test $glibcxx_cv_LFS = yes; then
18444 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18448 $as_echo "$glibcxx_cv_LFS" >&6; }
18449 CXXFLAGS="$ac_save_CXXFLAGS"
18450 ac_ext=c
18451 ac_cpp='$CPP $CPPFLAGS'
18452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18458 # For showmanyc_helper().
18459 for ac_header in sys/ioctl.h sys/filio.h
18460 do :
18461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18462 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18463 eval as_val=\$$as_ac_Header
18464 if test "x$as_val" = x""yes; then :
18465 cat >>confdefs.h <<_ACEOF
18466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18467 _ACEOF
18471 done
18476 ac_ext=cpp
18477 ac_cpp='$CXXCPP $CPPFLAGS'
18478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18482 ac_save_CXXFLAGS="$CXXFLAGS"
18483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18486 $as_echo_n "checking for poll... " >&6; }
18487 if test "${glibcxx_cv_POLL+set}" = set; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18491 if test x$gcc_no_link = xyes; then
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 #include <poll.h>
18496 main ()
18498 struct pollfd pfd[1];
18499 pfd[0].events = POLLIN;
18500 poll(pfd, 1, 0);
18502 return 0;
18504 _ACEOF
18505 if ac_fn_cxx_try_compile "$LINENO"; then :
18506 glibcxx_cv_POLL=yes
18507 else
18508 glibcxx_cv_POLL=no
18510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18511 else
18512 if test x$gcc_no_link = xyes; then
18513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <poll.h>
18519 main ()
18521 struct pollfd pfd[1];
18522 pfd[0].events = POLLIN;
18523 poll(pfd, 1, 0);
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_link "$LINENO"; then :
18529 glibcxx_cv_POLL=yes
18530 else
18531 glibcxx_cv_POLL=no
18533 rm -f core conftest.err conftest.$ac_objext \
18534 conftest$ac_exeext conftest.$ac_ext
18539 if test $glibcxx_cv_POLL = yes; then
18541 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18545 $as_echo "$glibcxx_cv_POLL" >&6; }
18547 CXXFLAGS="$ac_save_CXXFLAGS"
18548 ac_ext=c
18549 ac_cpp='$CPP $CPPFLAGS'
18550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18558 ac_ext=cpp
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18564 ac_save_CXXFLAGS="$CXXFLAGS"
18565 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18568 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18569 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18570 $as_echo_n "(cached) " >&6
18571 else
18573 if test x$gcc_no_link = xyes; then
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 #include <sys/stat.h>
18578 main ()
18580 struct stat buffer;
18581 fstat(0, &buffer);
18582 S_ISREG(buffer.st_mode);
18584 return 0;
18586 _ACEOF
18587 if ac_fn_cxx_try_compile "$LINENO"; then :
18588 glibcxx_cv_S_ISREG=yes
18589 else
18590 glibcxx_cv_S_ISREG=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 else
18594 if test x$gcc_no_link = xyes; then
18595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 #include <sys/stat.h>
18601 main ()
18603 struct stat buffer;
18604 fstat(0, &buffer);
18605 S_ISREG(buffer.st_mode);
18607 return 0;
18609 _ACEOF
18610 if ac_fn_cxx_try_link "$LINENO"; then :
18611 glibcxx_cv_S_ISREG=yes
18612 else
18613 glibcxx_cv_S_ISREG=no
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18621 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18625 if test x$gcc_no_link = xyes; then
18626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18627 /* end confdefs.h. */
18628 #include <sys/stat.h>
18630 main ()
18632 struct stat buffer;
18633 fstat(0, &buffer);
18634 S_IFREG & buffer.st_mode;
18636 return 0;
18638 _ACEOF
18639 if ac_fn_cxx_try_compile "$LINENO"; then :
18640 glibcxx_cv_S_IFREG=yes
18641 else
18642 glibcxx_cv_S_IFREG=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645 else
18646 if test x$gcc_no_link = xyes; then
18647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #include <sys/stat.h>
18653 main ()
18655 struct stat buffer;
18656 fstat(0, &buffer);
18657 S_IFREG & buffer.st_mode;
18659 return 0;
18661 _ACEOF
18662 if ac_fn_cxx_try_link "$LINENO"; then :
18663 glibcxx_cv_S_IFREG=yes
18664 else
18665 glibcxx_cv_S_IFREG=no
18667 rm -f core conftest.err conftest.$ac_objext \
18668 conftest$ac_exeext conftest.$ac_ext
18673 res=no
18674 if test $glibcxx_cv_S_ISREG = yes; then
18676 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18678 res=S_ISREG
18679 elif test $glibcxx_cv_S_IFREG = yes; then
18681 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18683 res=S_IFREG
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18686 $as_echo "$res" >&6; }
18688 CXXFLAGS="$ac_save_CXXFLAGS"
18689 ac_ext=c
18690 ac_cpp='$CPP $CPPFLAGS'
18691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18697 # For xsputn_2().
18698 for ac_header in sys/uio.h
18699 do :
18700 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18701 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18702 cat >>confdefs.h <<_ACEOF
18703 #define HAVE_SYS_UIO_H 1
18704 _ACEOF
18708 done
18713 ac_ext=cpp
18714 ac_cpp='$CXXCPP $CPPFLAGS'
18715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18719 ac_save_CXXFLAGS="$CXXFLAGS"
18720 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18723 $as_echo_n "checking for writev... " >&6; }
18724 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18728 if test x$gcc_no_link = xyes; then
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <sys/uio.h>
18733 main ()
18735 struct iovec iov[2];
18736 writev(0, iov, 0);
18738 return 0;
18740 _ACEOF
18741 if ac_fn_cxx_try_compile "$LINENO"; then :
18742 glibcxx_cv_WRITEV=yes
18743 else
18744 glibcxx_cv_WRITEV=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 else
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753 #include <sys/uio.h>
18755 main ()
18757 struct iovec iov[2];
18758 writev(0, iov, 0);
18760 return 0;
18762 _ACEOF
18763 if ac_fn_cxx_try_link "$LINENO"; then :
18764 glibcxx_cv_WRITEV=yes
18765 else
18766 glibcxx_cv_WRITEV=no
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext conftest.$ac_ext
18774 if test $glibcxx_cv_WRITEV = yes; then
18776 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18780 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18782 CXXFLAGS="$ac_save_CXXFLAGS"
18783 ac_ext=c
18784 ac_cpp='$CPP $CPPFLAGS'
18785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18791 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18792 # so that the check is done with the C compiler (not C++).
18793 # Checking with C++ can break a canadian cross build if either
18794 # file does not exist in C but does in C++.
18795 for ac_header in fenv.h complex.h
18796 do :
18797 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18798 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18799 eval as_val=\$$as_ac_Header
18800 if test "x$as_val" = x""yes; then :
18801 cat >>confdefs.h <<_ACEOF
18802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18803 _ACEOF
18807 done
18810 # For C99 support to TR1.
18814 ac_ext=cpp
18815 ac_cpp='$CXXCPP $CPPFLAGS'
18816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18821 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18822 # undefined and fake C99 facilities may be spuriously enabled.
18823 ac_save_CXXFLAGS="$CXXFLAGS"
18824 CXXFLAGS="$CXXFLAGS -std=c++98"
18826 # Check for the existence of <complex.h> complex math functions used
18827 # by tr1/complex.
18828 for ac_header in complex.h
18829 do :
18830 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18831 if test "x$ac_cv_header_complex_h" = x""yes; then :
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_COMPLEX_H 1
18834 _ACEOF
18835 ac_has_complex_h=yes
18836 else
18837 ac_has_complex_h=no
18840 done
18842 ac_c99_complex_tr1=no;
18843 if test x"$ac_has_complex_h" = x"yes"; then
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18845 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18847 /* end confdefs.h. */
18848 #include <complex.h>
18850 main ()
18852 typedef __complex__ float float_type; float_type tmpf;
18853 cacosf(tmpf);
18854 casinf(tmpf);
18855 catanf(tmpf);
18856 cacoshf(tmpf);
18857 casinhf(tmpf);
18858 catanhf(tmpf);
18859 typedef __complex__ double double_type; double_type tmpd;
18860 cacos(tmpd);
18861 casin(tmpd);
18862 catan(tmpd);
18863 cacosh(tmpd);
18864 casinh(tmpd);
18865 catanh(tmpd);
18866 typedef __complex__ long double ld_type; ld_type tmpld;
18867 cacosl(tmpld);
18868 casinl(tmpld);
18869 catanl(tmpld);
18870 cacoshl(tmpld);
18871 casinhl(tmpld);
18872 catanhl(tmpld);
18875 return 0;
18877 _ACEOF
18878 if ac_fn_cxx_try_compile "$LINENO"; then :
18879 ac_c99_complex_tr1=yes
18880 else
18881 ac_c99_complex_tr1=no
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18886 $as_echo "$ac_c99_complex_tr1" >&6; }
18887 if test x"$ac_c99_complex_tr1" = x"yes"; then
18889 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18893 # Check for the existence of <ctype.h> functions.
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18895 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18896 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18897 $as_echo_n "(cached) " >&6
18898 else
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <ctype.h>
18904 main ()
18906 int ch;
18907 int ret;
18908 ret = isblank(ch);
18911 return 0;
18913 _ACEOF
18914 if ac_fn_cxx_try_compile "$LINENO"; then :
18915 glibcxx_cv_c99_ctype_tr1=yes
18916 else
18917 glibcxx_cv_c99_ctype_tr1=no
18919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18924 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18925 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18927 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18931 # Check for the existence of <fenv.h> functions.
18932 for ac_header in fenv.h
18933 do :
18934 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18935 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_FENV_H 1
18938 _ACEOF
18939 ac_has_fenv_h=yes
18940 else
18941 ac_has_fenv_h=no
18944 done
18946 ac_c99_fenv_tr1=no;
18947 if test x"$ac_has_fenv_h" = x"yes"; then
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18949 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952 #include <fenv.h>
18954 main ()
18956 int except, mode;
18957 fexcept_t* pflag;
18958 fenv_t* penv;
18959 int ret;
18960 ret = feclearexcept(except);
18961 ret = fegetexceptflag(pflag, except);
18962 ret = feraiseexcept(except);
18963 ret = fesetexceptflag(pflag, except);
18964 ret = fetestexcept(except);
18965 ret = fegetround();
18966 ret = fesetround(mode);
18967 ret = fegetenv(penv);
18968 ret = feholdexcept(penv);
18969 ret = fesetenv(penv);
18970 ret = feupdateenv(penv);
18973 return 0;
18975 _ACEOF
18976 if ac_fn_cxx_try_compile "$LINENO"; then :
18977 ac_c99_fenv_tr1=yes
18978 else
18979 ac_c99_fenv_tr1=no
18981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18984 $as_echo "$ac_c99_fenv_tr1" >&6; }
18985 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18987 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18991 # Check for the existence of <stdint.h> types.
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18993 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18994 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18996 else
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 #define __STDC_LIMIT_MACROS
19001 #define __STDC_CONSTANT_MACROS
19002 #include <stdint.h>
19004 main ()
19006 typedef int8_t my_int8_t;
19007 my_int8_t i8 = INT8_MIN;
19008 i8 = INT8_MAX;
19009 typedef int16_t my_int16_t;
19010 my_int16_t i16 = INT16_MIN;
19011 i16 = INT16_MAX;
19012 typedef int32_t my_int32_t;
19013 my_int32_t i32 = INT32_MIN;
19014 i32 = INT32_MAX;
19015 typedef int64_t my_int64_t;
19016 my_int64_t i64 = INT64_MIN;
19017 i64 = INT64_MAX;
19018 typedef int_fast8_t my_int_fast8_t;
19019 my_int_fast8_t if8 = INT_FAST8_MIN;
19020 if8 = INT_FAST8_MAX;
19021 typedef int_fast16_t my_int_fast16_t;
19022 my_int_fast16_t if16 = INT_FAST16_MIN;
19023 if16 = INT_FAST16_MAX;
19024 typedef int_fast32_t my_int_fast32_t;
19025 my_int_fast32_t if32 = INT_FAST32_MIN;
19026 if32 = INT_FAST32_MAX;
19027 typedef int_fast64_t my_int_fast64_t;
19028 my_int_fast64_t if64 = INT_FAST64_MIN;
19029 if64 = INT_FAST64_MAX;
19030 typedef int_least8_t my_int_least8_t;
19031 my_int_least8_t il8 = INT_LEAST8_MIN;
19032 il8 = INT_LEAST8_MAX;
19033 typedef int_least16_t my_int_least16_t;
19034 my_int_least16_t il16 = INT_LEAST16_MIN;
19035 il16 = INT_LEAST16_MAX;
19036 typedef int_least32_t my_int_least32_t;
19037 my_int_least32_t il32 = INT_LEAST32_MIN;
19038 il32 = INT_LEAST32_MAX;
19039 typedef int_least64_t my_int_least64_t;
19040 my_int_least64_t il64 = INT_LEAST64_MIN;
19041 il64 = INT_LEAST64_MAX;
19042 typedef intmax_t my_intmax_t;
19043 my_intmax_t im = INTMAX_MAX;
19044 im = INTMAX_MIN;
19045 typedef intptr_t my_intptr_t;
19046 my_intptr_t ip = INTPTR_MAX;
19047 ip = INTPTR_MIN;
19048 typedef uint8_t my_uint8_t;
19049 my_uint8_t ui8 = UINT8_MAX;
19050 ui8 = UINT8_MAX;
19051 typedef uint16_t my_uint16_t;
19052 my_uint16_t ui16 = UINT16_MAX;
19053 ui16 = UINT16_MAX;
19054 typedef uint32_t my_uint32_t;
19055 my_uint32_t ui32 = UINT32_MAX;
19056 ui32 = UINT32_MAX;
19057 typedef uint64_t my_uint64_t;
19058 my_uint64_t ui64 = UINT64_MAX;
19059 ui64 = UINT64_MAX;
19060 typedef uint_fast8_t my_uint_fast8_t;
19061 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19062 uif8 = UINT_FAST8_MAX;
19063 typedef uint_fast16_t my_uint_fast16_t;
19064 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19065 uif16 = UINT_FAST16_MAX;
19066 typedef uint_fast32_t my_uint_fast32_t;
19067 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19068 uif32 = UINT_FAST32_MAX;
19069 typedef uint_fast64_t my_uint_fast64_t;
19070 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19071 uif64 = UINT_FAST64_MAX;
19072 typedef uint_least8_t my_uint_least8_t;
19073 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19074 uil8 = UINT_LEAST8_MAX;
19075 typedef uint_least16_t my_uint_least16_t;
19076 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19077 uil16 = UINT_LEAST16_MAX;
19078 typedef uint_least32_t my_uint_least32_t;
19079 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19080 uil32 = UINT_LEAST32_MAX;
19081 typedef uint_least64_t my_uint_least64_t;
19082 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19083 uil64 = UINT_LEAST64_MAX;
19084 typedef uintmax_t my_uintmax_t;
19085 my_uintmax_t uim = UINTMAX_MAX;
19086 uim = UINTMAX_MAX;
19087 typedef uintptr_t my_uintptr_t;
19088 my_uintptr_t uip = UINTPTR_MAX;
19089 uip = UINTPTR_MAX;
19092 return 0;
19094 _ACEOF
19095 if ac_fn_cxx_try_compile "$LINENO"; then :
19096 glibcxx_cv_c99_stdint_tr1=yes
19097 else
19098 glibcxx_cv_c99_stdint_tr1=no
19100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19105 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19106 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19108 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19112 # Check for the existence of <math.h> functions.
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19114 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19115 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19116 $as_echo_n "(cached) " >&6
19117 else
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19121 #include <math.h>
19123 main ()
19125 typedef double_t my_double_t;
19126 typedef float_t my_float_t;
19127 acosh(0.0);
19128 acoshf(0.0f);
19129 acoshl(0.0l);
19130 asinh(0.0);
19131 asinhf(0.0f);
19132 asinhl(0.0l);
19133 atanh(0.0);
19134 atanhf(0.0f);
19135 atanhl(0.0l);
19136 cbrt(0.0);
19137 cbrtf(0.0f);
19138 cbrtl(0.0l);
19139 copysign(0.0, 0.0);
19140 copysignf(0.0f, 0.0f);
19141 copysignl(0.0l, 0.0l);
19142 erf(0.0);
19143 erff(0.0f);
19144 erfl(0.0l);
19145 erfc(0.0);
19146 erfcf(0.0f);
19147 erfcl(0.0l);
19148 exp2(0.0);
19149 exp2f(0.0f);
19150 exp2l(0.0l);
19151 expm1(0.0);
19152 expm1f(0.0f);
19153 expm1l(0.0l);
19154 fdim(0.0, 0.0);
19155 fdimf(0.0f, 0.0f);
19156 fdiml(0.0l, 0.0l);
19157 fma(0.0, 0.0, 0.0);
19158 fmaf(0.0f, 0.0f, 0.0f);
19159 fmal(0.0l, 0.0l, 0.0l);
19160 fmax(0.0, 0.0);
19161 fmaxf(0.0f, 0.0f);
19162 fmaxl(0.0l, 0.0l);
19163 fmin(0.0, 0.0);
19164 fminf(0.0f, 0.0f);
19165 fminl(0.0l, 0.0l);
19166 hypot(0.0, 0.0);
19167 hypotf(0.0f, 0.0f);
19168 hypotl(0.0l, 0.0l);
19169 ilogb(0.0);
19170 ilogbf(0.0f);
19171 ilogbl(0.0l);
19172 lgamma(0.0);
19173 lgammaf(0.0f);
19174 lgammal(0.0l);
19175 llrint(0.0);
19176 llrintf(0.0f);
19177 llrintl(0.0l);
19178 llround(0.0);
19179 llroundf(0.0f);
19180 llroundl(0.0l);
19181 log1p(0.0);
19182 log1pf(0.0f);
19183 log1pl(0.0l);
19184 log2(0.0);
19185 log2f(0.0f);
19186 log2l(0.0l);
19187 logb(0.0);
19188 logbf(0.0f);
19189 logbl(0.0l);
19190 lrint(0.0);
19191 lrintf(0.0f);
19192 lrintl(0.0l);
19193 lround(0.0);
19194 lroundf(0.0f);
19195 lroundl(0.0l);
19196 nan(0);
19197 nanf(0);
19198 nanl(0);
19199 nearbyint(0.0);
19200 nearbyintf(0.0f);
19201 nearbyintl(0.0l);
19202 nextafter(0.0, 0.0);
19203 nextafterf(0.0f, 0.0f);
19204 nextafterl(0.0l, 0.0l);
19205 nexttoward(0.0, 0.0);
19206 nexttowardf(0.0f, 0.0f);
19207 nexttowardl(0.0l, 0.0l);
19208 remainder(0.0, 0.0);
19209 remainderf(0.0f, 0.0f);
19210 remainderl(0.0l, 0.0l);
19211 remquo(0.0, 0.0, 0);
19212 remquof(0.0f, 0.0f, 0);
19213 remquol(0.0l, 0.0l, 0);
19214 rint(0.0);
19215 rintf(0.0f);
19216 rintl(0.0l);
19217 round(0.0);
19218 roundf(0.0f);
19219 roundl(0.0l);
19220 scalbln(0.0, 0l);
19221 scalblnf(0.0f, 0l);
19222 scalblnl(0.0l, 0l);
19223 scalbn(0.0, 0);
19224 scalbnf(0.0f, 0);
19225 scalbnl(0.0l, 0);
19226 tgamma(0.0);
19227 tgammaf(0.0f);
19228 tgammal(0.0l);
19229 trunc(0.0);
19230 truncf(0.0f);
19231 truncl(0.0l);
19234 return 0;
19236 _ACEOF
19237 if ac_fn_cxx_try_compile "$LINENO"; then :
19238 glibcxx_cv_c99_math_tr1=yes
19239 else
19240 glibcxx_cv_c99_math_tr1=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19247 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19248 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19250 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19254 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19255 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19256 ac_c99_inttypes_tr1=no;
19257 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19259 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19261 /* end confdefs.h. */
19262 #include <inttypes.h>
19264 main ()
19266 intmax_t i, numer, denom, base;
19267 const char* s;
19268 char** endptr;
19269 intmax_t ret = imaxabs(i);
19270 imaxdiv_t dret = imaxdiv(numer, denom);
19271 ret = strtoimax(s, endptr, base);
19272 uintmax_t uret = strtoumax(s, endptr, base);
19275 return 0;
19277 _ACEOF
19278 if ac_fn_cxx_try_compile "$LINENO"; then :
19279 ac_c99_inttypes_tr1=yes
19280 else
19281 ac_c99_inttypes_tr1=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19286 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19287 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19289 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19293 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19294 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19295 ac_c99_inttypes_wchar_t_tr1=no;
19296 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19298 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <inttypes.h>
19303 main ()
19305 intmax_t base;
19306 const wchar_t* s;
19307 wchar_t** endptr;
19308 intmax_t ret = wcstoimax(s, endptr, base);
19309 uintmax_t uret = wcstoumax(s, endptr, base);
19312 return 0;
19314 _ACEOF
19315 if ac_fn_cxx_try_compile "$LINENO"; then :
19316 ac_c99_inttypes_wchar_t_tr1=yes
19317 else
19318 ac_c99_inttypes_wchar_t_tr1=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19323 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19324 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19326 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19330 # Check for the existence of the <stdbool.h> header.
19331 for ac_header in stdbool.h
19332 do :
19333 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19334 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19335 cat >>confdefs.h <<_ACEOF
19336 #define HAVE_STDBOOL_H 1
19337 _ACEOF
19341 done
19344 # Check for the existence of the <stdalign.h> header.
19345 for ac_header in stdalign.h
19346 do :
19347 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19348 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STDALIGN_H 1
19351 _ACEOF
19355 done
19358 CXXFLAGS="$ac_save_CXXFLAGS"
19359 ac_ext=c
19360 ac_cpp='$CPP $CPPFLAGS'
19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19367 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19371 $as_echo_n "checking for the value of EOF... " >&6; }
19372 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19373 $as_echo_n "(cached) " >&6
19374 else
19376 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19378 else
19379 as_fn_error "computing EOF failed" "$LINENO" 5
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19385 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19387 cat >>confdefs.h <<_ACEOF
19388 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19389 _ACEOF
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19393 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19394 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19396 else
19398 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19400 else
19401 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19407 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19409 cat >>confdefs.h <<_ACEOF
19410 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19411 _ACEOF
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19415 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19416 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19417 $as_echo_n "(cached) " >&6
19418 else
19420 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19422 else
19423 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19429 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19431 cat >>confdefs.h <<_ACEOF
19432 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19433 _ACEOF
19437 # For gettimeofday support.
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19441 $as_echo_n "checking for gettimeofday... " >&6; }
19444 ac_ext=cpp
19445 ac_cpp='$CXXCPP $CPPFLAGS'
19446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19450 ac_save_CXXFLAGS="$CXXFLAGS"
19451 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19453 ac_has_gettimeofday=no;
19454 for ac_header in sys/time.h
19455 do :
19456 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19457 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_SYS_TIME_H 1
19460 _ACEOF
19461 ac_has_sys_time_h=yes
19462 else
19463 ac_has_sys_time_h=no
19466 done
19468 if test x"$ac_has_sys_time_h" = x"yes"; then
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19470 $as_echo_n "checking for gettimeofday... " >&6; }
19471 if test x$gcc_no_link = xyes; then
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #include <sys/time.h>
19476 main ()
19478 timeval tv; gettimeofday(&tv, 0);
19480 return 0;
19482 _ACEOF
19483 if ac_fn_cxx_try_compile "$LINENO"; then :
19484 ac_has_gettimeofday=yes
19485 else
19486 ac_has_gettimeofday=no
19488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19489 else
19490 if test x$gcc_no_link = xyes; then
19491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <sys/time.h>
19497 main ()
19499 timeval tv; gettimeofday(&tv, 0);
19501 return 0;
19503 _ACEOF
19504 if ac_fn_cxx_try_link "$LINENO"; then :
19505 ac_has_gettimeofday=yes
19506 else
19507 ac_has_gettimeofday=no
19509 rm -f core conftest.err conftest.$ac_objext \
19510 conftest$ac_exeext conftest.$ac_ext
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19514 $as_echo "$ac_has_gettimeofday" >&6; }
19517 if test x"$ac_has_gettimeofday" = x"yes"; then
19519 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19523 CXXFLAGS="$ac_save_CXXFLAGS"
19524 ac_ext=c
19525 ac_cpp='$CPP $CPPFLAGS'
19526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19532 # For clock_gettime, nanosleep and sched_yield support.
19535 # Check whether --enable-libstdcxx-time was given.
19536 if test "${enable_libstdcxx_time+set}" = set; then :
19537 enableval=$enable_libstdcxx_time;
19538 case "$enableval" in
19539 yes|no|rt) ;;
19540 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19541 esac
19543 else
19544 enable_libstdcxx_time=auto
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19556 ac_save_CXXFLAGS="$CXXFLAGS"
19557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19558 ac_save_LIBS="$LIBS"
19560 ac_has_clock_monotonic=no
19561 ac_has_clock_realtime=no
19562 ac_has_nanosleep=no
19563 ac_has_sched_yield=no
19565 if test x"$enable_libstdcxx_time" = x"auto"; then
19567 case "${target_os}" in
19568 cygwin*)
19569 ac_has_nanosleep=yes
19571 darwin*)
19572 ac_has_nanosleep=yes
19573 ac_has_sched_yield=yes
19575 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19577 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #include <features.h>
19582 main ()
19585 #if ! __GLIBC_PREREQ(2, 17)
19586 #error
19587 #endif
19590 return 0;
19592 _ACEOF
19593 if ac_fn_cxx_try_compile "$LINENO"; then :
19594 glibcxx_glibc217=yes
19595 else
19596 glibcxx_glibc217=no
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19600 $as_echo "$glibcxx_glibc217" >&6; }
19602 if test x"$glibcxx_glibc217" = x"yes"; then
19603 ac_has_clock_monotonic=yes
19604 ac_has_clock_realtime=yes
19606 ac_has_nanosleep=yes
19607 ac_has_sched_yield=yes
19609 freebsd*|netbsd*|dragonfly*)
19610 ac_has_clock_monotonic=yes
19611 ac_has_clock_realtime=yes
19612 ac_has_nanosleep=yes
19613 ac_has_sched_yield=yes
19615 openbsd*)
19616 ac_has_clock_monotonic=yes
19617 ac_has_clock_realtime=yes
19618 ac_has_nanosleep=yes
19620 solaris*)
19621 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19622 ac_has_clock_monotonic=yes
19623 ac_has_clock_realtime=yes
19624 ac_has_nanosleep=yes
19625 ac_has_sched_yield=yes
19627 esac
19629 elif test x"$enable_libstdcxx_time" != x"no"; then
19631 if test x"$enable_libstdcxx_time" = x"rt"; then
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19633 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19634 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char clock_gettime ();
19649 main ()
19651 return clock_gettime ();
19653 return 0;
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_clock_gettime=$ac_res
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19672 break
19674 done
19675 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19677 else
19678 ac_cv_search_clock_gettime=no
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19684 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19685 ac_res=$ac_cv_search_clock_gettime
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19692 $as_echo_n "checking for library containing nanosleep... " >&6; }
19693 if test "${ac_cv_search_nanosleep+set}" = set; then :
19694 $as_echo_n "(cached) " >&6
19695 else
19696 ac_func_search_save_LIBS=$LIBS
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19700 /* Override any GCC internal prototype to avoid an error.
19701 Use char because int might match the return type of a GCC
19702 builtin and then its argument prototype would still apply. */
19703 #ifdef __cplusplus
19704 extern "C"
19705 #endif
19706 char nanosleep ();
19708 main ()
19710 return nanosleep ();
19712 return 0;
19714 _ACEOF
19715 for ac_lib in '' rt posix4; do
19716 if test -z "$ac_lib"; then
19717 ac_res="none required"
19718 else
19719 ac_res=-l$ac_lib
19720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19722 if test x$gcc_no_link = xyes; then
19723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19725 if ac_fn_cxx_try_link "$LINENO"; then :
19726 ac_cv_search_nanosleep=$ac_res
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext
19730 if test "${ac_cv_search_nanosleep+set}" = set; then :
19731 break
19733 done
19734 if test "${ac_cv_search_nanosleep+set}" = set; then :
19736 else
19737 ac_cv_search_nanosleep=no
19739 rm conftest.$ac_ext
19740 LIBS=$ac_func_search_save_LIBS
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19743 $as_echo "$ac_cv_search_nanosleep" >&6; }
19744 ac_res=$ac_cv_search_nanosleep
19745 if test "$ac_res" != no; then :
19746 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19750 else
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19752 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19753 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756 ac_func_search_save_LIBS=$LIBS
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19760 /* Override any GCC internal prototype to avoid an error.
19761 Use char because int might match the return type of a GCC
19762 builtin and then its argument prototype would still apply. */
19763 #ifdef __cplusplus
19764 extern "C"
19765 #endif
19766 char clock_gettime ();
19768 main ()
19770 return clock_gettime ();
19772 return 0;
19774 _ACEOF
19775 for ac_lib in '' posix4; do
19776 if test -z "$ac_lib"; then
19777 ac_res="none required"
19778 else
19779 ac_res=-l$ac_lib
19780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19782 if test x$gcc_no_link = xyes; then
19783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_cv_search_clock_gettime=$ac_res
19788 rm -f core conftest.err conftest.$ac_objext \
19789 conftest$ac_exeext
19790 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19791 break
19793 done
19794 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19796 else
19797 ac_cv_search_clock_gettime=no
19799 rm conftest.$ac_ext
19800 LIBS=$ac_func_search_save_LIBS
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19803 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19804 ac_res=$ac_cv_search_clock_gettime
19805 if test "$ac_res" != no; then :
19806 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19811 $as_echo_n "checking for library containing nanosleep... " >&6; }
19812 if test "${ac_cv_search_nanosleep+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19814 else
19815 ac_func_search_save_LIBS=$LIBS
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19819 /* Override any GCC internal prototype to avoid an error.
19820 Use char because int might match the return type of a GCC
19821 builtin and then its argument prototype would still apply. */
19822 #ifdef __cplusplus
19823 extern "C"
19824 #endif
19825 char nanosleep ();
19827 main ()
19829 return nanosleep ();
19831 return 0;
19833 _ACEOF
19834 for ac_lib in '' posix4; do
19835 if test -z "$ac_lib"; then
19836 ac_res="none required"
19837 else
19838 ac_res=-l$ac_lib
19839 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19841 if test x$gcc_no_link = xyes; then
19842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19844 if ac_fn_cxx_try_link "$LINENO"; then :
19845 ac_cv_search_nanosleep=$ac_res
19847 rm -f core conftest.err conftest.$ac_objext \
19848 conftest$ac_exeext
19849 if test "${ac_cv_search_nanosleep+set}" = set; then :
19850 break
19852 done
19853 if test "${ac_cv_search_nanosleep+set}" = set; then :
19855 else
19856 ac_cv_search_nanosleep=no
19858 rm conftest.$ac_ext
19859 LIBS=$ac_func_search_save_LIBS
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19862 $as_echo "$ac_cv_search_nanosleep" >&6; }
19863 ac_res=$ac_cv_search_nanosleep
19864 if test "$ac_res" != no; then :
19865 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19871 case "$ac_cv_search_clock_gettime" in
19872 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19874 esac
19875 case "$ac_cv_search_nanosleep" in
19876 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19878 esac
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19881 $as_echo_n "checking for library containing sched_yield... " >&6; }
19882 if test "${ac_cv_search_sched_yield+set}" = set; then :
19883 $as_echo_n "(cached) " >&6
19884 else
19885 ac_func_search_save_LIBS=$LIBS
19886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19889 /* Override any GCC internal prototype to avoid an error.
19890 Use char because int might match the return type of a GCC
19891 builtin and then its argument prototype would still apply. */
19892 #ifdef __cplusplus
19893 extern "C"
19894 #endif
19895 char sched_yield ();
19897 main ()
19899 return sched_yield ();
19901 return 0;
19903 _ACEOF
19904 for ac_lib in '' rt posix4; do
19905 if test -z "$ac_lib"; then
19906 ac_res="none required"
19907 else
19908 ac_res=-l$ac_lib
19909 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19911 if test x$gcc_no_link = xyes; then
19912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19914 if ac_fn_cxx_try_link "$LINENO"; then :
19915 ac_cv_search_sched_yield=$ac_res
19917 rm -f core conftest.err conftest.$ac_objext \
19918 conftest$ac_exeext
19919 if test "${ac_cv_search_sched_yield+set}" = set; then :
19920 break
19922 done
19923 if test "${ac_cv_search_sched_yield+set}" = set; then :
19925 else
19926 ac_cv_search_sched_yield=no
19928 rm conftest.$ac_ext
19929 LIBS=$ac_func_search_save_LIBS
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19932 $as_echo "$ac_cv_search_sched_yield" >&6; }
19933 ac_res=$ac_cv_search_sched_yield
19934 if test "$ac_res" != no; then :
19935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19940 case "$ac_cv_search_sched_yield" in
19941 -lposix4*)
19942 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19943 ac_has_sched_yield=yes
19945 -lrt*)
19946 if test x"$enable_libstdcxx_time" = x"rt"; then
19947 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19948 ac_has_sched_yield=yes
19952 ac_has_sched_yield=yes
19954 esac
19956 for ac_header in unistd.h
19957 do :
19958 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19959 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19960 cat >>confdefs.h <<_ACEOF
19961 #define HAVE_UNISTD_H 1
19962 _ACEOF
19963 ac_has_unistd_h=yes
19964 else
19965 ac_has_unistd_h=no
19968 done
19971 if test x"$ac_has_unistd_h" = x"yes"; then
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19973 $as_echo_n "checking for monotonic clock... " >&6; }
19974 if test x$gcc_no_link = xyes; then
19975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978 /* end confdefs.h. */
19979 #include <unistd.h>
19980 #include <time.h>
19983 main ()
19985 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19986 timespec tp;
19987 #endif
19988 clock_gettime(CLOCK_MONOTONIC, &tp);
19991 return 0;
19993 _ACEOF
19994 if ac_fn_cxx_try_link "$LINENO"; then :
19995 ac_has_clock_monotonic=yes
19996 else
19997 ac_has_clock_monotonic=no
19999 rm -f core conftest.err conftest.$ac_objext \
20000 conftest$ac_exeext conftest.$ac_ext
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20003 $as_echo "$ac_has_clock_monotonic" >&6; }
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20006 $as_echo_n "checking for realtime clock... " >&6; }
20007 if test x$gcc_no_link = xyes; then
20008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012 #include <unistd.h>
20013 #include <time.h>
20016 main ()
20018 #if _POSIX_TIMERS > 0
20019 timespec tp;
20020 #endif
20021 clock_gettime(CLOCK_REALTIME, &tp);
20024 return 0;
20026 _ACEOF
20027 if ac_fn_cxx_try_link "$LINENO"; then :
20028 ac_has_clock_realtime=yes
20029 else
20030 ac_has_clock_realtime=no
20032 rm -f core conftest.err conftest.$ac_objext \
20033 conftest$ac_exeext conftest.$ac_ext
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20036 $as_echo "$ac_has_clock_realtime" >&6; }
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20039 $as_echo_n "checking for nanosleep... " >&6; }
20040 if test x$gcc_no_link = xyes; then
20041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20044 /* end confdefs.h. */
20045 #include <unistd.h>
20046 #include <time.h>
20049 main ()
20051 #if _POSIX_TIMERS > 0
20052 timespec tp;
20053 #endif
20054 nanosleep(&tp, 0);
20057 return 0;
20059 _ACEOF
20060 if ac_fn_cxx_try_link "$LINENO"; then :
20061 ac_has_nanosleep=yes
20062 else
20063 ac_has_nanosleep=no
20065 rm -f core conftest.err conftest.$ac_objext \
20066 conftest$ac_exeext conftest.$ac_ext
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20069 $as_echo "$ac_has_nanosleep" >&6; }
20073 if test x"$ac_has_clock_monotonic" != x"yes"; then
20074 case ${target_os} in
20075 linux*)
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20077 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080 #include <unistd.h>
20081 #include <time.h>
20082 #include <sys/syscall.h>
20085 main ()
20087 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20088 timespec tp;
20089 #endif
20090 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20091 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20094 return 0;
20096 _ACEOF
20097 if ac_fn_cxx_try_compile "$LINENO"; then :
20098 ac_has_clock_monotonic_syscall=yes
20099 else
20100 ac_has_clock_monotonic_syscall=no
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20104 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20105 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20107 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20109 ac_has_clock_monotonic=yes
20110 ac_has_clock_realtime=yes
20111 fi;;
20112 esac
20115 if test x"$ac_has_clock_monotonic" = x"yes"; then
20117 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20121 if test x"$ac_has_clock_realtime" = x"yes"; then
20123 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20127 if test x"$ac_has_sched_yield" = x"yes"; then
20129 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20133 if test x"$ac_has_nanosleep" = x"yes"; then
20135 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20137 else
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20139 $as_echo_n "checking for sleep... " >&6; }
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20142 #include <unistd.h>
20144 main ()
20146 sleep(1)
20148 return 0;
20150 _ACEOF
20151 if ac_fn_cxx_try_compile "$LINENO"; then :
20152 ac_has_sleep=yes
20153 else
20154 ac_has_sleep=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 if test x"$ac_has_sleep" = x"yes"; then
20159 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20163 $as_echo "$ac_has_sleep" >&6; }
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20165 $as_echo_n "checking for usleep... " >&6; }
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #include <unistd.h>
20170 main ()
20172 sleep(1);
20173 usleep(100);
20175 return 0;
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179 ac_has_usleep=yes
20180 else
20181 ac_has_usleep=no
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 if test x"$ac_has_usleep" = x"yes"; then
20186 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20190 $as_echo "$ac_has_usleep" >&6; }
20193 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20195 $as_echo_n "checking for Sleep... " >&6; }
20196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20197 /* end confdefs.h. */
20198 #include <windows.h>
20200 main ()
20202 Sleep(1)
20204 return 0;
20206 _ACEOF
20207 if ac_fn_cxx_try_compile "$LINENO"; then :
20208 ac_has_win32_sleep=yes
20209 else
20210 ac_has_win32_sleep=no
20212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20213 if test x"$ac_has_win32_sleep" = x"yes"; then
20215 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20219 $as_echo "$ac_has_win32_sleep" >&6; }
20224 CXXFLAGS="$ac_save_CXXFLAGS"
20225 LIBS="$ac_save_LIBS"
20226 ac_ext=c
20227 ac_cpp='$CPP $CPPFLAGS'
20228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20234 # Check for tmpnam which is obsolescent in POSIX.1-2008
20236 ac_ext=cpp
20237 ac_cpp='$CXXCPP $CPPFLAGS'
20238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20242 ac_save_CXXFLAGS="$CXXFLAGS"
20243 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20245 $as_echo_n "checking for tmpnam... " >&6; }
20246 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20247 $as_echo_n "(cached) " >&6
20248 else
20249 if test x$gcc_no_link = xyes; then
20250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20251 /* end confdefs.h. */
20252 #include <stdio.h>
20254 main ()
20256 char *tmp = tmpnam(NULL);
20258 return 0;
20260 _ACEOF
20261 if ac_fn_cxx_try_compile "$LINENO"; then :
20262 glibcxx_cv_TMPNAM=yes
20263 else
20264 glibcxx_cv_TMPNAM=no
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 else
20268 if test x$gcc_no_link = xyes; then
20269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h. */
20273 #include <stdio.h>
20275 main ()
20277 char *tmp = tmpnam(NULL);
20279 return 0;
20281 _ACEOF
20282 if ac_fn_cxx_try_link "$LINENO"; then :
20283 glibcxx_cv_TMPNAM=yes
20284 else
20285 glibcxx_cv_TMPNAM=no
20287 rm -f core conftest.err conftest.$ac_objext \
20288 conftest$ac_exeext conftest.$ac_ext
20293 if test $glibcxx_cv_TMPNAM = yes; then
20295 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20299 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20300 CXXFLAGS="$ac_save_CXXFLAGS"
20301 ac_ext=c
20302 ac_cpp='$CPP $CPPFLAGS'
20303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20310 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20311 if test "x$ac_cv_header_locale_h" = x""yes; then :
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20314 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20315 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20316 $as_echo_n "(cached) " >&6
20317 else
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20319 /* end confdefs.h. */
20320 #include <locale.h>
20322 main ()
20324 return LC_MESSAGES
20326 return 0;
20328 _ACEOF
20329 if ac_fn_c_try_compile "$LINENO"; then :
20330 ac_cv_val_LC_MESSAGES=yes
20331 else
20332 ac_cv_val_LC_MESSAGES=no
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20337 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20338 if test $ac_cv_val_LC_MESSAGES = yes; then
20340 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20349 # For hardware_concurrency
20350 for ac_header in sys/sysinfo.h
20351 do :
20352 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20353 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20354 cat >>confdefs.h <<_ACEOF
20355 #define HAVE_SYS_SYSINFO_H 1
20356 _ACEOF
20360 done
20365 ac_ext=cpp
20366 ac_cpp='$CXXCPP $CPPFLAGS'
20367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371 ac_save_CXXFLAGS="$CXXFLAGS"
20372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20375 $as_echo_n "checking for get_nprocs... " >&6; }
20376 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20378 else
20380 if test x$gcc_no_link = xyes; then
20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20383 #include <sys/sysinfo.h>
20385 main ()
20387 int n = get_nprocs();
20389 return 0;
20391 _ACEOF
20392 if ac_fn_cxx_try_compile "$LINENO"; then :
20393 glibcxx_cv_GET_NPROCS=yes
20394 else
20395 glibcxx_cv_GET_NPROCS=no
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 else
20399 if test x$gcc_no_link = xyes; then
20400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <sys/sysinfo.h>
20406 main ()
20408 int n = get_nprocs();
20410 return 0;
20412 _ACEOF
20413 if ac_fn_cxx_try_link "$LINENO"; then :
20414 glibcxx_cv_GET_NPROCS=yes
20415 else
20416 glibcxx_cv_GET_NPROCS=no
20418 rm -f core conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20424 if test $glibcxx_cv_GET_NPROCS = yes; then
20426 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20430 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20432 CXXFLAGS="$ac_save_CXXFLAGS"
20433 ac_ext=c
20434 ac_cpp='$CPP $CPPFLAGS'
20435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20440 for ac_header in unistd.h
20441 do :
20442 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20443 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20444 cat >>confdefs.h <<_ACEOF
20445 #define HAVE_UNISTD_H 1
20446 _ACEOF
20450 done
20455 ac_ext=cpp
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20461 ac_save_CXXFLAGS="$CXXFLAGS"
20462 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20465 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20466 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20470 if test x$gcc_no_link = xyes; then
20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20473 #include <unistd.h>
20475 main ()
20477 int n = sysconf(_SC_NPROCESSORS_ONLN);
20479 return 0;
20481 _ACEOF
20482 if ac_fn_cxx_try_compile "$LINENO"; then :
20483 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20484 else
20485 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20488 else
20489 if test x$gcc_no_link = xyes; then
20490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494 #include <unistd.h>
20496 main ()
20498 int n = sysconf(_SC_NPROCESSORS_ONLN);
20500 return 0;
20502 _ACEOF
20503 if ac_fn_cxx_try_link "$LINENO"; then :
20504 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20505 else
20506 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20508 rm -f core conftest.err conftest.$ac_objext \
20509 conftest$ac_exeext conftest.$ac_ext
20514 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20516 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20520 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20522 CXXFLAGS="$ac_save_CXXFLAGS"
20523 ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20533 ac_ext=cpp
20534 ac_cpp='$CXXCPP $CPPFLAGS'
20535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539 ac_save_CXXFLAGS="$CXXFLAGS"
20540 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20543 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20544 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20545 $as_echo_n "(cached) " >&6
20546 else
20548 if test x$gcc_no_link = xyes; then
20549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h. */
20551 #include <unistd.h>
20553 main ()
20555 int n = sysconf(_SC_NPROC_ONLN);
20557 return 0;
20559 _ACEOF
20560 if ac_fn_cxx_try_compile "$LINENO"; then :
20561 glibcxx_cv_SC_NPROC_ONLN=yes
20562 else
20563 glibcxx_cv_SC_NPROC_ONLN=no
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20566 else
20567 if test x$gcc_no_link = xyes; then
20568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20571 /* end confdefs.h. */
20572 #include <unistd.h>
20574 main ()
20576 int n = sysconf(_SC_NPROC_ONLN);
20578 return 0;
20580 _ACEOF
20581 if ac_fn_cxx_try_link "$LINENO"; then :
20582 glibcxx_cv_SC_NPROC_ONLN=yes
20583 else
20584 glibcxx_cv_SC_NPROC_ONLN=no
20586 rm -f core conftest.err conftest.$ac_objext \
20587 conftest$ac_exeext conftest.$ac_ext
20592 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20594 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20598 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20600 CXXFLAGS="$ac_save_CXXFLAGS"
20601 ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20611 ac_ext=cpp
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20617 ac_save_CXXFLAGS="$CXXFLAGS"
20618 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20621 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20622 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20623 $as_echo_n "(cached) " >&6
20624 else
20626 if test x$gcc_no_link = xyes; then
20627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20629 #include <pthread.h>
20631 main ()
20633 int n = pthread_num_processors_np();
20635 return 0;
20637 _ACEOF
20638 if ac_fn_cxx_try_compile "$LINENO"; then :
20639 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20640 else
20641 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20650 #include <pthread.h>
20652 main ()
20654 int n = pthread_num_processors_np();
20656 return 0;
20658 _ACEOF
20659 if ac_fn_cxx_try_link "$LINENO"; then :
20660 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20661 else
20662 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20664 rm -f core conftest.err conftest.$ac_objext \
20665 conftest$ac_exeext conftest.$ac_ext
20670 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20672 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20676 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20678 CXXFLAGS="$ac_save_CXXFLAGS"
20679 ac_ext=c
20680 ac_cpp='$CPP $CPPFLAGS'
20681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20689 ac_ext=cpp
20690 ac_cpp='$CXXCPP $CPPFLAGS'
20691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20695 ac_save_CXXFLAGS="$CXXFLAGS"
20696 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20699 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20700 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20701 $as_echo_n "(cached) " >&6
20702 else
20704 if test x$gcc_no_link = xyes; then
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20708 #include <stddef.h>
20709 #include <sys/sysctl.h>
20712 main ()
20715 int count;
20716 size_t size = sizeof(count);
20717 int mib[] = { CTL_HW, HW_NCPU };
20718 sysctl(mib, 2, &count, &size, NULL, 0);
20721 return 0;
20723 _ACEOF
20724 if ac_fn_cxx_try_compile "$LINENO"; then :
20725 glibcxx_cv_SYSCTL_HW_NCPU=yes
20726 else
20727 glibcxx_cv_SYSCTL_HW_NCPU=no
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 else
20731 if test x$gcc_no_link = xyes; then
20732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20737 #include <stddef.h>
20738 #include <sys/sysctl.h>
20741 main ()
20744 int count;
20745 size_t size = sizeof(count);
20746 int mib[] = { CTL_HW, HW_NCPU };
20747 sysctl(mib, 2, &count, &size, NULL, 0);
20750 return 0;
20752 _ACEOF
20753 if ac_fn_cxx_try_link "$LINENO"; then :
20754 glibcxx_cv_SYSCTL_HW_NCPU=yes
20755 else
20756 glibcxx_cv_SYSCTL_HW_NCPU=no
20758 rm -f core conftest.err conftest.$ac_objext \
20759 conftest$ac_exeext conftest.$ac_ext
20764 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20766 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20770 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20772 CXXFLAGS="$ac_save_CXXFLAGS"
20773 ac_ext=c
20774 ac_cpp='$CPP $CPPFLAGS'
20775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20782 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20783 # Note that this test has to be run with the C language.
20784 # Otherwise, sdt.h will try to include some headers from
20785 # libstdc++ itself.
20787 ac_ext=c
20788 ac_cpp='$CPP $CPPFLAGS'
20789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20793 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20797 # Because we have to run the test in C, we use grep rather
20798 # than the compiler to check for the bug. The bug is that
20799 # were strings without trailing whitespace, causing g++
20800 # to look for operator"". The pattern searches for the fixed
20801 # output.
20802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20803 /* end confdefs.h. */
20805 #include <sys/sdt.h>
20806 int f() { STAP_PROBE(hi, bob); }
20808 _ACEOF
20809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20810 $EGREP " \",\" " >/dev/null 2>&1; then :
20811 glibcxx_cv_sys_sdt_h=yes
20812 else
20813 glibcxx_cv_sys_sdt_h=no
20815 rm -f conftest*
20820 ac_ext=c
20821 ac_cpp='$CPP $CPPFLAGS'
20822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20826 if test $glibcxx_cv_sys_sdt_h = yes; then
20828 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20832 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20835 # Check for available headers.
20836 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20837 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20838 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20839 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20840 wchar.h wctype.h
20841 do :
20842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20844 eval as_val=\$$as_ac_Header
20845 if test "x$as_val" = x""yes; then :
20846 cat >>confdefs.h <<_ACEOF
20847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20848 _ACEOF
20852 done
20855 # Only do link tests if native. Else, hardcode.
20856 if $GLIBCXX_IS_NATIVE; then
20858 # We can do more elaborate tests that assume a working linker.
20859 CANADIAN=no
20863 # Check whether --with-gnu-ld was given.
20864 if test "${with_gnu_ld+set}" = set; then :
20865 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20866 else
20867 with_gnu_ld=no
20870 ac_prog=ld
20871 if test "$GCC" = yes; then
20872 # Check if gcc -print-prog-name=ld gives a path.
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20874 $as_echo_n "checking for ld used by $CC... " >&6; }
20875 case $host in
20876 *-*-mingw*)
20877 # gcc leaves a trailing carriage return which upsets mingw
20878 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20880 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20881 esac
20882 case $ac_prog in
20883 # Accept absolute paths.
20884 [\\/]* | ?:[\\/]*)
20885 re_direlt='/[^/][^/]*/\.\./'
20886 # Canonicalize the pathname of ld
20887 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20888 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20889 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20890 done
20891 test -z "$LD" && LD="$ac_prog"
20894 # If it fails, then pretend we aren't using GCC.
20895 ac_prog=ld
20898 # If it is relative, then search for the first ld in PATH.
20899 with_gnu_ld=unknown
20901 esac
20902 elif test "$with_gnu_ld" = yes; then
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20904 $as_echo_n "checking for GNU ld... " >&6; }
20905 else
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20907 $as_echo_n "checking for non-GNU ld... " >&6; }
20909 if test "${lt_cv_path_LD+set}" = set; then :
20910 $as_echo_n "(cached) " >&6
20911 else
20912 if test -z "$LD"; then
20913 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20914 for ac_dir in $PATH; do
20915 IFS="$lt_save_ifs"
20916 test -z "$ac_dir" && ac_dir=.
20917 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20918 lt_cv_path_LD="$ac_dir/$ac_prog"
20919 # Check to see if the program is GNU ld. I'd rather use --version,
20920 # but apparently some variants of GNU ld only accept -v.
20921 # Break only if it was the GNU/non-GNU ld that we prefer.
20922 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20923 *GNU* | *'with BFD'*)
20924 test "$with_gnu_ld" != no && break
20927 test "$with_gnu_ld" != yes && break
20929 esac
20931 done
20932 IFS="$lt_save_ifs"
20933 else
20934 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20938 LD="$lt_cv_path_LD"
20939 if test -n "$LD"; then
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20941 $as_echo "$LD" >&6; }
20942 else
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20944 $as_echo "no" >&6; }
20946 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20948 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20949 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20950 $as_echo_n "(cached) " >&6
20951 else
20952 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20953 case `$LD -v 2>&1 </dev/null` in
20954 *GNU* | *'with BFD'*)
20955 lt_cv_prog_gnu_ld=yes
20958 lt_cv_prog_gnu_ld=no
20960 esac
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20963 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20964 with_gnu_ld=$lt_cv_prog_gnu_ld
20972 # If we're not using GNU ld, then there's no point in even trying these
20973 # tests. Check for that first. We should have already tested for gld
20974 # by now (in libtool), but require it now just to be safe...
20975 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20976 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20980 # The name set by libtool depends on the version of libtool. Shame on us
20981 # for depending on an impl detail, but c'est la vie. Older versions used
20982 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20983 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20984 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20985 # set (hence we're using an older libtool), then set it.
20986 if test x${with_gnu_ld+set} != xset; then
20987 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20988 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20989 with_gnu_ld=no
20990 else
20991 with_gnu_ld=$ac_cv_prog_gnu_ld
20995 # Start by getting the version number. I think the libtool test already
20996 # does some of this, but throws away the result.
20997 glibcxx_ld_is_gold=no
20998 if test x"$with_gnu_ld" = x"yes"; then
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21000 $as_echo_n "checking for ld version... " >&6; }
21002 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21003 glibcxx_ld_is_gold=yes
21005 ldver=`$LD --version 2>/dev/null |
21006 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'`
21008 glibcxx_gnu_ld_version=`echo $ldver | \
21009 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21011 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21014 # Set --gc-sections.
21015 glibcxx_have_gc_sections=no
21016 if test "$glibcxx_ld_is_gold" = "yes"; then
21017 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21018 glibcxx_have_gc_sections=yes
21020 else
21021 glibcxx_gcsections_min_ld=21602
21022 if test x"$with_gnu_ld" = x"yes" &&
21023 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21024 glibcxx_have_gc_sections=yes
21027 if test "$glibcxx_have_gc_sections" = "yes"; then
21028 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21029 # NB: This flag only works reliably after 2.16.1. Configure tests
21030 # for this are difficult, so hard wire a value that should work.
21032 ac_test_CFLAGS="${CFLAGS+set}"
21033 ac_save_CFLAGS="$CFLAGS"
21034 CFLAGS='-Wl,--gc-sections'
21036 # Check for -Wl,--gc-sections
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21038 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21039 if test x$gcc_no_link = xyes; then
21040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044 int one(void) { return 1; }
21045 int two(void) { return 2; }
21048 main ()
21050 two();
21052 return 0;
21054 _ACEOF
21055 if ac_fn_c_try_link "$LINENO"; then :
21056 ac_gcsections=yes
21057 else
21058 ac_gcsections=no
21060 rm -f core conftest.err conftest.$ac_objext \
21061 conftest$ac_exeext conftest.$ac_ext
21062 if test "$ac_gcsections" = "yes"; then
21063 rm -f conftest.c
21064 touch conftest.c
21065 if $CC -c conftest.c; then
21066 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21067 grep "Warning: gc-sections option ignored" > /dev/null; then
21068 ac_gcsections=no
21071 rm -f conftest.c conftest.o conftest
21073 if test "$ac_gcsections" = "yes"; then
21074 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21077 $as_echo "$ac_gcsections" >&6; }
21079 if test "$ac_test_CFLAGS" = set; then
21080 CFLAGS="$ac_save_CFLAGS"
21081 else
21082 # this is the suspicious part
21083 CFLAGS=''
21087 # Set -z,relro.
21088 # Note this is only for shared objects.
21089 ac_ld_relro=no
21090 if test x"$with_gnu_ld" = x"yes"; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21092 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21093 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21094 if test -n "$cxx_z_relo"; then
21095 OPT_LDFLAGS="-Wl,-z,relro"
21096 ac_ld_relro=yes
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21099 $as_echo "$ac_ld_relro" >&6; }
21102 # Set linker optimization flags.
21103 if test x"$with_gnu_ld" = x"yes"; then
21104 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21111 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21112 ac_save_CXXFLAGS="$CXXFLAGS"
21113 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21116 $as_echo_n "checking for sin in -lm... " >&6; }
21117 if test "${ac_cv_lib_m_sin+set}" = set; then :
21118 $as_echo_n "(cached) " >&6
21119 else
21120 ac_check_lib_save_LIBS=$LIBS
21121 LIBS="-lm $LIBS"
21122 if test x$gcc_no_link = xyes; then
21123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21128 /* Override any GCC internal prototype to avoid an error.
21129 Use char because int might match the return type of a GCC
21130 builtin and then its argument prototype would still apply. */
21131 #ifdef __cplusplus
21132 extern "C"
21133 #endif
21134 char sin ();
21136 main ()
21138 return sin ();
21140 return 0;
21142 _ACEOF
21143 if ac_fn_c_try_link "$LINENO"; then :
21144 ac_cv_lib_m_sin=yes
21145 else
21146 ac_cv_lib_m_sin=no
21148 rm -f core conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21150 LIBS=$ac_check_lib_save_LIBS
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21153 $as_echo "$ac_cv_lib_m_sin" >&6; }
21154 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21155 libm="-lm"
21158 ac_save_LIBS="$LIBS"
21159 LIBS="$LIBS $libm"
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21164 $as_echo_n "checking for isinf declaration... " >&6; }
21165 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21166 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21168 else
21171 ac_ext=cpp
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21179 #include <math.h>
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21182 #endif
21185 main ()
21187 isinf(0);
21189 return 0;
21191 _ACEOF
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func_isinf_use=yes
21194 else
21195 glibcxx_cv_func_isinf_use=no
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 ac_ext=c
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21209 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21211 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21212 for ac_func in isinf
21213 do :
21214 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21215 if test "x$ac_cv_func_isinf" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE_ISINF 1
21218 _ACEOF
21221 done
21223 else
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21226 $as_echo_n "checking for _isinf declaration... " >&6; }
21227 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21228 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21229 $as_echo_n "(cached) " >&6
21230 else
21233 ac_ext=cpp
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <math.h>
21242 #ifdef HAVE_IEEEFP_H
21243 #include <ieeefp.h>
21244 #endif
21247 main ()
21249 _isinf(0);
21251 return 0;
21253 _ACEOF
21254 if ac_fn_cxx_try_compile "$LINENO"; then :
21255 glibcxx_cv_func__isinf_use=yes
21256 else
21257 glibcxx_cv_func__isinf_use=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 ac_ext=c
21261 ac_cpp='$CPP $CPPFLAGS'
21262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21271 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21273 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21274 for ac_func in _isinf
21275 do :
21276 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21277 if test "x$ac_cv_func__isinf" = x""yes; then :
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE__ISINF 1
21280 _ACEOF
21283 done
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21293 $as_echo_n "checking for isnan declaration... " >&6; }
21294 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21295 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21300 ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21308 #include <math.h>
21309 #ifdef HAVE_IEEEFP_H
21310 #include <ieeefp.h>
21311 #endif
21314 main ()
21316 isnan(0);
21318 return 0;
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322 glibcxx_cv_func_isnan_use=yes
21323 else
21324 glibcxx_cv_func_isnan_use=no
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327 ac_ext=c
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21338 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21340 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21341 for ac_func in isnan
21342 do :
21343 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21344 if test "x$ac_cv_func_isnan" = x""yes; then :
21345 cat >>confdefs.h <<_ACEOF
21346 #define HAVE_ISNAN 1
21347 _ACEOF
21350 done
21352 else
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21355 $as_echo_n "checking for _isnan declaration... " >&6; }
21356 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21357 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21358 $as_echo_n "(cached) " >&6
21359 else
21362 ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21370 #include <math.h>
21371 #ifdef HAVE_IEEEFP_H
21372 #include <ieeefp.h>
21373 #endif
21376 main ()
21378 _isnan(0);
21380 return 0;
21382 _ACEOF
21383 if ac_fn_cxx_try_compile "$LINENO"; then :
21384 glibcxx_cv_func__isnan_use=yes
21385 else
21386 glibcxx_cv_func__isnan_use=no
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389 ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21400 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21402 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21403 for ac_func in _isnan
21404 do :
21405 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21406 if test "x$ac_cv_func__isnan" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE__ISNAN 1
21409 _ACEOF
21412 done
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21422 $as_echo_n "checking for finite declaration... " >&6; }
21423 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21424 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21425 $as_echo_n "(cached) " >&6
21426 else
21429 ac_ext=cpp
21430 ac_cpp='$CXXCPP $CPPFLAGS'
21431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <math.h>
21438 #ifdef HAVE_IEEEFP_H
21439 #include <ieeefp.h>
21440 #endif
21443 main ()
21445 finite(0);
21447 return 0;
21449 _ACEOF
21450 if ac_fn_cxx_try_compile "$LINENO"; then :
21451 glibcxx_cv_func_finite_use=yes
21452 else
21453 glibcxx_cv_func_finite_use=no
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ac_ext=c
21457 ac_cpp='$CPP $CPPFLAGS'
21458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21467 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21469 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21470 for ac_func in finite
21471 do :
21472 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21473 if test "x$ac_cv_func_finite" = x""yes; then :
21474 cat >>confdefs.h <<_ACEOF
21475 #define HAVE_FINITE 1
21476 _ACEOF
21479 done
21481 else
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21484 $as_echo_n "checking for _finite declaration... " >&6; }
21485 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21486 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21487 $as_echo_n "(cached) " >&6
21488 else
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h. */
21499 #include <math.h>
21500 #ifdef HAVE_IEEEFP_H
21501 #include <ieeefp.h>
21502 #endif
21505 main ()
21507 _finite(0);
21509 return 0;
21511 _ACEOF
21512 if ac_fn_cxx_try_compile "$LINENO"; then :
21513 glibcxx_cv_func__finite_use=yes
21514 else
21515 glibcxx_cv_func__finite_use=no
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 ac_ext=c
21519 ac_cpp='$CPP $CPPFLAGS'
21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21529 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21531 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21532 for ac_func in _finite
21533 do :
21534 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21535 if test "x$ac_cv_func__finite" = x""yes; then :
21536 cat >>confdefs.h <<_ACEOF
21537 #define HAVE__FINITE 1
21538 _ACEOF
21541 done
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21551 $as_echo_n "checking for sincos declaration... " >&6; }
21552 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21553 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21554 $as_echo_n "(cached) " >&6
21555 else
21558 ac_ext=cpp
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566 #include <math.h>
21568 main ()
21570 sincos(0, 0, 0);
21572 return 0;
21574 _ACEOF
21575 if ac_fn_cxx_try_compile "$LINENO"; then :
21576 glibcxx_cv_func_sincos_use=yes
21577 else
21578 glibcxx_cv_func_sincos_use=no
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_ext=c
21582 ac_cpp='$CPP $CPPFLAGS'
21583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21592 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21594 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21595 for ac_func in sincos
21596 do :
21597 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21598 if test "x$ac_cv_func_sincos" = x""yes; then :
21599 cat >>confdefs.h <<_ACEOF
21600 #define HAVE_SINCOS 1
21601 _ACEOF
21604 done
21606 else
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21609 $as_echo_n "checking for _sincos declaration... " >&6; }
21610 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21611 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21612 $as_echo_n "(cached) " >&6
21613 else
21616 ac_ext=cpp
21617 ac_cpp='$CXXCPP $CPPFLAGS'
21618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21624 #include <math.h>
21626 main ()
21628 _sincos(0, 0, 0);
21630 return 0;
21632 _ACEOF
21633 if ac_fn_cxx_try_compile "$LINENO"; then :
21634 glibcxx_cv_func__sincos_use=yes
21635 else
21636 glibcxx_cv_func__sincos_use=no
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639 ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21650 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21652 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21653 for ac_func in _sincos
21654 do :
21655 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21656 if test "x$ac_cv_func__sincos" = x""yes; then :
21657 cat >>confdefs.h <<_ACEOF
21658 #define HAVE__SINCOS 1
21659 _ACEOF
21662 done
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21672 $as_echo_n "checking for fpclass declaration... " >&6; }
21673 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21674 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21675 $as_echo_n "(cached) " >&6
21676 else
21679 ac_ext=cpp
21680 ac_cpp='$CXXCPP $CPPFLAGS'
21681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21686 /* end confdefs.h. */
21687 #include <math.h>
21688 #ifdef HAVE_IEEEFP_H
21689 #include <ieeefp.h>
21690 #endif
21693 main ()
21695 fpclass(0);
21697 return 0;
21699 _ACEOF
21700 if ac_fn_cxx_try_compile "$LINENO"; then :
21701 glibcxx_cv_func_fpclass_use=yes
21702 else
21703 glibcxx_cv_func_fpclass_use=no
21705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21706 ac_ext=c
21707 ac_cpp='$CPP $CPPFLAGS'
21708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21717 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21719 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21720 for ac_func in fpclass
21721 do :
21722 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21723 if test "x$ac_cv_func_fpclass" = x""yes; then :
21724 cat >>confdefs.h <<_ACEOF
21725 #define HAVE_FPCLASS 1
21726 _ACEOF
21729 done
21731 else
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21734 $as_echo_n "checking for _fpclass declaration... " >&6; }
21735 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21736 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21737 $as_echo_n "(cached) " >&6
21738 else
21741 ac_ext=cpp
21742 ac_cpp='$CXXCPP $CPPFLAGS'
21743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21748 /* end confdefs.h. */
21749 #include <math.h>
21750 #ifdef HAVE_IEEEFP_H
21751 #include <ieeefp.h>
21752 #endif
21755 main ()
21757 _fpclass(0);
21759 return 0;
21761 _ACEOF
21762 if ac_fn_cxx_try_compile "$LINENO"; then :
21763 glibcxx_cv_func__fpclass_use=yes
21764 else
21765 glibcxx_cv_func__fpclass_use=no
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 ac_ext=c
21769 ac_cpp='$CPP $CPPFLAGS'
21770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21779 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21781 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21782 for ac_func in _fpclass
21783 do :
21784 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21785 if test "x$ac_cv_func__fpclass" = x""yes; then :
21786 cat >>confdefs.h <<_ACEOF
21787 #define HAVE__FPCLASS 1
21788 _ACEOF
21791 done
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21801 $as_echo_n "checking for qfpclass declaration... " >&6; }
21802 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21803 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21816 #include <math.h>
21817 #ifdef HAVE_IEEEFP_H
21818 #include <ieeefp.h>
21819 #endif
21822 main ()
21824 qfpclass(0);
21826 return 0;
21828 _ACEOF
21829 if ac_fn_cxx_try_compile "$LINENO"; then :
21830 glibcxx_cv_func_qfpclass_use=yes
21831 else
21832 glibcxx_cv_func_qfpclass_use=no
21834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 ac_ext=c
21836 ac_cpp='$CPP $CPPFLAGS'
21837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21846 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21848 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21849 for ac_func in qfpclass
21850 do :
21851 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21852 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21853 cat >>confdefs.h <<_ACEOF
21854 #define HAVE_QFPCLASS 1
21855 _ACEOF
21858 done
21860 else
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21863 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21864 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21865 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21866 $as_echo_n "(cached) " >&6
21867 else
21870 ac_ext=cpp
21871 ac_cpp='$CXXCPP $CPPFLAGS'
21872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h. */
21878 #include <math.h>
21879 #ifdef HAVE_IEEEFP_H
21880 #include <ieeefp.h>
21881 #endif
21884 main ()
21886 _qfpclass(0);
21888 return 0;
21890 _ACEOF
21891 if ac_fn_cxx_try_compile "$LINENO"; then :
21892 glibcxx_cv_func__qfpclass_use=yes
21893 else
21894 glibcxx_cv_func__qfpclass_use=no
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21897 ac_ext=c
21898 ac_cpp='$CPP $CPPFLAGS'
21899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21908 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21910 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21911 for ac_func in _qfpclass
21912 do :
21913 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21914 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21915 cat >>confdefs.h <<_ACEOF
21916 #define HAVE__QFPCLASS 1
21917 _ACEOF
21920 done
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21930 $as_echo_n "checking for hypot declaration... " >&6; }
21931 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21932 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21933 $as_echo_n "(cached) " >&6
21934 else
21937 ac_ext=cpp
21938 ac_cpp='$CXXCPP $CPPFLAGS'
21939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21944 /* end confdefs.h. */
21945 #include <math.h>
21947 main ()
21949 hypot(0, 0);
21951 return 0;
21953 _ACEOF
21954 if ac_fn_cxx_try_compile "$LINENO"; then :
21955 glibcxx_cv_func_hypot_use=yes
21956 else
21957 glibcxx_cv_func_hypot_use=no
21959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21960 ac_ext=c
21961 ac_cpp='$CPP $CPPFLAGS'
21962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21971 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21973 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21974 for ac_func in hypot
21975 do :
21976 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21977 if test "x$ac_cv_func_hypot" = x""yes; then :
21978 cat >>confdefs.h <<_ACEOF
21979 #define HAVE_HYPOT 1
21980 _ACEOF
21983 done
21985 else
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21988 $as_echo_n "checking for _hypot declaration... " >&6; }
21989 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21990 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21991 $as_echo_n "(cached) " >&6
21992 else
21995 ac_ext=cpp
21996 ac_cpp='$CXXCPP $CPPFLAGS'
21997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22002 /* end confdefs.h. */
22003 #include <math.h>
22005 main ()
22007 _hypot(0, 0);
22009 return 0;
22011 _ACEOF
22012 if ac_fn_cxx_try_compile "$LINENO"; then :
22013 glibcxx_cv_func__hypot_use=yes
22014 else
22015 glibcxx_cv_func__hypot_use=no
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 ac_ext=c
22019 ac_cpp='$CPP $CPPFLAGS'
22020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22029 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22031 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22032 for ac_func in _hypot
22033 do :
22034 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22035 if test "x$ac_cv_func__hypot" = x""yes; then :
22036 cat >>confdefs.h <<_ACEOF
22037 #define HAVE__HYPOT 1
22038 _ACEOF
22041 done
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22051 $as_echo_n "checking for float trig functions... " >&6; }
22052 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22053 $as_echo_n "(cached) " >&6
22054 else
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22065 #include <math.h>
22067 main ()
22069 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22071 return 0;
22073 _ACEOF
22074 if ac_fn_cxx_try_compile "$LINENO"; then :
22075 glibcxx_cv_func_float_trig_use=yes
22076 else
22077 glibcxx_cv_func_float_trig_use=no
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 ac_ext=c
22081 ac_cpp='$CPP $CPPFLAGS'
22082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22089 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22090 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22091 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22092 do :
22093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22095 eval as_val=\$$as_ac_var
22096 if test "x$as_val" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 _ACEOF
22102 done
22104 else
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22106 $as_echo_n "checking for _float trig functions... " >&6; }
22107 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22112 ac_ext=cpp
22113 ac_cpp='$CXXCPP $CPPFLAGS'
22114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22119 /* end confdefs.h. */
22120 #include <math.h>
22122 main ()
22124 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22126 return 0;
22128 _ACEOF
22129 if ac_fn_cxx_try_compile "$LINENO"; then :
22130 glibcxx_cv_func__float_trig_use=yes
22131 else
22132 glibcxx_cv_func__float_trig_use=no
22134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22135 ac_ext=c
22136 ac_cpp='$CPP $CPPFLAGS'
22137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22144 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22145 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22146 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22147 do :
22148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22150 eval as_val=\$$as_ac_var
22151 if test "x$as_val" = x""yes; then :
22152 cat >>confdefs.h <<_ACEOF
22153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22154 _ACEOF
22157 done
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22167 $as_echo_n "checking for float round functions... " >&6; }
22168 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22183 main ()
22185 ceilf (0); floorf (0);
22187 return 0;
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func_float_round_use=yes
22192 else
22193 glibcxx_cv_func_float_round_use=no
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22205 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22206 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22207 for ac_func in ceilf floorf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22218 done
22220 else
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22222 $as_echo_n "checking for _float round functions... " >&6; }
22223 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22224 $as_echo_n "(cached) " >&6
22225 else
22228 ac_ext=cpp
22229 ac_cpp='$CXXCPP $CPPFLAGS'
22230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22235 /* end confdefs.h. */
22236 #include <math.h>
22238 main ()
22240 _ceilf (0); _floorf (0);
22242 return 0;
22244 _ACEOF
22245 if ac_fn_cxx_try_compile "$LINENO"; then :
22246 glibcxx_cv_func__float_round_use=yes
22247 else
22248 glibcxx_cv_func__float_round_use=no
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 ac_ext=c
22252 ac_cpp='$CPP $CPPFLAGS'
22253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22260 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22261 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22262 for ac_func in _ceilf _floorf
22263 do :
22264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22266 eval as_val=\$$as_ac_var
22267 if test "x$as_val" = x""yes; then :
22268 cat >>confdefs.h <<_ACEOF
22269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22270 _ACEOF
22273 done
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22284 $as_echo_n "checking for expf declaration... " >&6; }
22285 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22286 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22287 $as_echo_n "(cached) " >&6
22288 else
22291 ac_ext=cpp
22292 ac_cpp='$CXXCPP $CPPFLAGS'
22293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22298 /* end confdefs.h. */
22299 #include <math.h>
22300 #ifdef HAVE_IEEEFP_H
22301 #include <ieeefp.h>
22302 #endif
22305 main ()
22307 expf(0);
22309 return 0;
22311 _ACEOF
22312 if ac_fn_cxx_try_compile "$LINENO"; then :
22313 glibcxx_cv_func_expf_use=yes
22314 else
22315 glibcxx_cv_func_expf_use=no
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 ac_ext=c
22319 ac_cpp='$CPP $CPPFLAGS'
22320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22329 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22331 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22332 for ac_func in expf
22333 do :
22334 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22335 if test "x$ac_cv_func_expf" = x""yes; then :
22336 cat >>confdefs.h <<_ACEOF
22337 #define HAVE_EXPF 1
22338 _ACEOF
22341 done
22343 else
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22346 $as_echo_n "checking for _expf declaration... " >&6; }
22347 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22348 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22349 $as_echo_n "(cached) " >&6
22350 else
22353 ac_ext=cpp
22354 ac_cpp='$CXXCPP $CPPFLAGS'
22355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22361 #include <math.h>
22362 #ifdef HAVE_IEEEFP_H
22363 #include <ieeefp.h>
22364 #endif
22367 main ()
22369 _expf(0);
22371 return 0;
22373 _ACEOF
22374 if ac_fn_cxx_try_compile "$LINENO"; then :
22375 glibcxx_cv_func__expf_use=yes
22376 else
22377 glibcxx_cv_func__expf_use=no
22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 ac_ext=c
22381 ac_cpp='$CPP $CPPFLAGS'
22382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22391 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22393 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22394 for ac_func in _expf
22395 do :
22396 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22397 if test "x$ac_cv_func__expf" = x""yes; then :
22398 cat >>confdefs.h <<_ACEOF
22399 #define HAVE__EXPF 1
22400 _ACEOF
22403 done
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22413 $as_echo_n "checking for isnanf declaration... " >&6; }
22414 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22415 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22416 $as_echo_n "(cached) " >&6
22417 else
22420 ac_ext=cpp
22421 ac_cpp='$CXXCPP $CPPFLAGS'
22422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22428 #include <math.h>
22429 #ifdef HAVE_IEEEFP_H
22430 #include <ieeefp.h>
22431 #endif
22434 main ()
22436 isnanf(0);
22438 return 0;
22440 _ACEOF
22441 if ac_fn_cxx_try_compile "$LINENO"; then :
22442 glibcxx_cv_func_isnanf_use=yes
22443 else
22444 glibcxx_cv_func_isnanf_use=no
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22447 ac_ext=c
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22458 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22460 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22461 for ac_func in isnanf
22462 do :
22463 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22464 if test "x$ac_cv_func_isnanf" = x""yes; then :
22465 cat >>confdefs.h <<_ACEOF
22466 #define HAVE_ISNANF 1
22467 _ACEOF
22470 done
22472 else
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22475 $as_echo_n "checking for _isnanf declaration... " >&6; }
22476 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22477 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22479 else
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22490 #include <math.h>
22491 #ifdef HAVE_IEEEFP_H
22492 #include <ieeefp.h>
22493 #endif
22496 main ()
22498 _isnanf(0);
22500 return 0;
22502 _ACEOF
22503 if ac_fn_cxx_try_compile "$LINENO"; then :
22504 glibcxx_cv_func__isnanf_use=yes
22505 else
22506 glibcxx_cv_func__isnanf_use=no
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 ac_ext=c
22510 ac_cpp='$CPP $CPPFLAGS'
22511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22520 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22522 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22523 for ac_func in _isnanf
22524 do :
22525 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22526 if test "x$ac_cv_func__isnanf" = x""yes; then :
22527 cat >>confdefs.h <<_ACEOF
22528 #define HAVE__ISNANF 1
22529 _ACEOF
22532 done
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22542 $as_echo_n "checking for isinff declaration... " >&6; }
22543 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22544 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22545 $as_echo_n "(cached) " >&6
22546 else
22549 ac_ext=cpp
22550 ac_cpp='$CXXCPP $CPPFLAGS'
22551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22556 /* end confdefs.h. */
22557 #include <math.h>
22558 #ifdef HAVE_IEEEFP_H
22559 #include <ieeefp.h>
22560 #endif
22563 main ()
22565 isinff(0);
22567 return 0;
22569 _ACEOF
22570 if ac_fn_cxx_try_compile "$LINENO"; then :
22571 glibcxx_cv_func_isinff_use=yes
22572 else
22573 glibcxx_cv_func_isinff_use=no
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22576 ac_ext=c
22577 ac_cpp='$CPP $CPPFLAGS'
22578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22587 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22589 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22590 for ac_func in isinff
22591 do :
22592 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22593 if test "x$ac_cv_func_isinff" = x""yes; then :
22594 cat >>confdefs.h <<_ACEOF
22595 #define HAVE_ISINFF 1
22596 _ACEOF
22599 done
22601 else
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22604 $as_echo_n "checking for _isinff declaration... " >&6; }
22605 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22606 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22607 $as_echo_n "(cached) " >&6
22608 else
22611 ac_ext=cpp
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22619 #include <math.h>
22620 #ifdef HAVE_IEEEFP_H
22621 #include <ieeefp.h>
22622 #endif
22625 main ()
22627 _isinff(0);
22629 return 0;
22631 _ACEOF
22632 if ac_fn_cxx_try_compile "$LINENO"; then :
22633 glibcxx_cv_func__isinff_use=yes
22634 else
22635 glibcxx_cv_func__isinff_use=no
22637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22638 ac_ext=c
22639 ac_cpp='$CPP $CPPFLAGS'
22640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22649 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22651 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22652 for ac_func in _isinff
22653 do :
22654 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22655 if test "x$ac_cv_func__isinff" = x""yes; then :
22656 cat >>confdefs.h <<_ACEOF
22657 #define HAVE__ISINFF 1
22658 _ACEOF
22661 done
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22671 $as_echo_n "checking for atan2f declaration... " >&6; }
22672 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22673 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22674 $as_echo_n "(cached) " >&6
22675 else
22678 ac_ext=cpp
22679 ac_cpp='$CXXCPP $CPPFLAGS'
22680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h. */
22686 #include <math.h>
22688 main ()
22690 atan2f(0, 0);
22692 return 0;
22694 _ACEOF
22695 if ac_fn_cxx_try_compile "$LINENO"; then :
22696 glibcxx_cv_func_atan2f_use=yes
22697 else
22698 glibcxx_cv_func_atan2f_use=no
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 ac_ext=c
22702 ac_cpp='$CPP $CPPFLAGS'
22703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22712 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22714 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22715 for ac_func in atan2f
22716 do :
22717 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22718 if test "x$ac_cv_func_atan2f" = x""yes; then :
22719 cat >>confdefs.h <<_ACEOF
22720 #define HAVE_ATAN2F 1
22721 _ACEOF
22724 done
22726 else
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22729 $as_echo_n "checking for _atan2f declaration... " >&6; }
22730 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22731 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22736 ac_ext=cpp
22737 ac_cpp='$CXXCPP $CPPFLAGS'
22738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22743 /* end confdefs.h. */
22744 #include <math.h>
22746 main ()
22748 _atan2f(0, 0);
22750 return 0;
22752 _ACEOF
22753 if ac_fn_cxx_try_compile "$LINENO"; then :
22754 glibcxx_cv_func__atan2f_use=yes
22755 else
22756 glibcxx_cv_func__atan2f_use=no
22758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 ac_ext=c
22760 ac_cpp='$CPP $CPPFLAGS'
22761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22770 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22772 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22773 for ac_func in _atan2f
22774 do :
22775 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22776 if test "x$ac_cv_func__atan2f" = x""yes; then :
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE__ATAN2F 1
22779 _ACEOF
22782 done
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22792 $as_echo_n "checking for fabsf declaration... " >&6; }
22793 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22794 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22795 $as_echo_n "(cached) " >&6
22796 else
22799 ac_ext=cpp
22800 ac_cpp='$CXXCPP $CPPFLAGS'
22801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h. */
22807 #include <math.h>
22808 #ifdef HAVE_IEEEFP_H
22809 #include <ieeefp.h>
22810 #endif
22813 main ()
22815 fabsf(0);
22817 return 0;
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 glibcxx_cv_func_fabsf_use=yes
22822 else
22823 glibcxx_cv_func_fabsf_use=no
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22837 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22839 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22840 for ac_func in fabsf
22841 do :
22842 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22843 if test "x$ac_cv_func_fabsf" = x""yes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define HAVE_FABSF 1
22846 _ACEOF
22849 done
22851 else
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22854 $as_echo_n "checking for _fabsf declaration... " >&6; }
22855 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22856 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22857 $as_echo_n "(cached) " >&6
22858 else
22861 ac_ext=cpp
22862 ac_cpp='$CXXCPP $CPPFLAGS'
22863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22869 #include <math.h>
22870 #ifdef HAVE_IEEEFP_H
22871 #include <ieeefp.h>
22872 #endif
22875 main ()
22877 _fabsf(0);
22879 return 0;
22881 _ACEOF
22882 if ac_fn_cxx_try_compile "$LINENO"; then :
22883 glibcxx_cv_func__fabsf_use=yes
22884 else
22885 glibcxx_cv_func__fabsf_use=no
22887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22888 ac_ext=c
22889 ac_cpp='$CPP $CPPFLAGS'
22890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22899 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22901 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22902 for ac_func in _fabsf
22903 do :
22904 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22905 if test "x$ac_cv_func__fabsf" = x""yes; then :
22906 cat >>confdefs.h <<_ACEOF
22907 #define HAVE__FABSF 1
22908 _ACEOF
22911 done
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22921 $as_echo_n "checking for fmodf declaration... " >&6; }
22922 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22923 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22924 $as_echo_n "(cached) " >&6
22925 else
22928 ac_ext=cpp
22929 ac_cpp='$CXXCPP $CPPFLAGS'
22930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22936 #include <math.h>
22938 main ()
22940 fmodf(0, 0);
22942 return 0;
22944 _ACEOF
22945 if ac_fn_cxx_try_compile "$LINENO"; then :
22946 glibcxx_cv_func_fmodf_use=yes
22947 else
22948 glibcxx_cv_func_fmodf_use=no
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22951 ac_ext=c
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22962 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22964 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22965 for ac_func in fmodf
22966 do :
22967 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22968 if test "x$ac_cv_func_fmodf" = x""yes; then :
22969 cat >>confdefs.h <<_ACEOF
22970 #define HAVE_FMODF 1
22971 _ACEOF
22974 done
22976 else
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22979 $as_echo_n "checking for _fmodf declaration... " >&6; }
22980 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22981 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22982 $as_echo_n "(cached) " >&6
22983 else
22986 ac_ext=cpp
22987 ac_cpp='$CXXCPP $CPPFLAGS'
22988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22993 /* end confdefs.h. */
22994 #include <math.h>
22996 main ()
22998 _fmodf(0, 0);
23000 return 0;
23002 _ACEOF
23003 if ac_fn_cxx_try_compile "$LINENO"; then :
23004 glibcxx_cv_func__fmodf_use=yes
23005 else
23006 glibcxx_cv_func__fmodf_use=no
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 ac_ext=c
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23020 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23022 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23023 for ac_func in _fmodf
23024 do :
23025 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23026 if test "x$ac_cv_func__fmodf" = x""yes; then :
23027 cat >>confdefs.h <<_ACEOF
23028 #define HAVE__FMODF 1
23029 _ACEOF
23032 done
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23042 $as_echo_n "checking for frexpf declaration... " >&6; }
23043 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23044 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23045 $as_echo_n "(cached) " >&6
23046 else
23049 ac_ext=cpp
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h. */
23057 #include <math.h>
23059 main ()
23061 frexpf(0, 0);
23063 return 0;
23065 _ACEOF
23066 if ac_fn_cxx_try_compile "$LINENO"; then :
23067 glibcxx_cv_func_frexpf_use=yes
23068 else
23069 glibcxx_cv_func_frexpf_use=no
23071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072 ac_ext=c
23073 ac_cpp='$CPP $CPPFLAGS'
23074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23083 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23085 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23086 for ac_func in frexpf
23087 do :
23088 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23089 if test "x$ac_cv_func_frexpf" = x""yes; then :
23090 cat >>confdefs.h <<_ACEOF
23091 #define HAVE_FREXPF 1
23092 _ACEOF
23095 done
23097 else
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23100 $as_echo_n "checking for _frexpf declaration... " >&6; }
23101 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23102 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23103 $as_echo_n "(cached) " >&6
23104 else
23107 ac_ext=cpp
23108 ac_cpp='$CXXCPP $CPPFLAGS'
23109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23114 /* end confdefs.h. */
23115 #include <math.h>
23117 main ()
23119 _frexpf(0, 0);
23121 return 0;
23123 _ACEOF
23124 if ac_fn_cxx_try_compile "$LINENO"; then :
23125 glibcxx_cv_func__frexpf_use=yes
23126 else
23127 glibcxx_cv_func__frexpf_use=no
23129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23130 ac_ext=c
23131 ac_cpp='$CPP $CPPFLAGS'
23132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23141 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23143 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23144 for ac_func in _frexpf
23145 do :
23146 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23147 if test "x$ac_cv_func__frexpf" = x""yes; then :
23148 cat >>confdefs.h <<_ACEOF
23149 #define HAVE__FREXPF 1
23150 _ACEOF
23153 done
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23163 $as_echo_n "checking for hypotf declaration... " >&6; }
23164 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23165 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23180 main ()
23182 hypotf(0, 0);
23184 return 0;
23186 _ACEOF
23187 if ac_fn_cxx_try_compile "$LINENO"; then :
23188 glibcxx_cv_func_hypotf_use=yes
23189 else
23190 glibcxx_cv_func_hypotf_use=no
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 ac_ext=c
23194 ac_cpp='$CPP $CPPFLAGS'
23195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23204 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23206 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23207 for ac_func in hypotf
23208 do :
23209 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23210 if test "x$ac_cv_func_hypotf" = x""yes; then :
23211 cat >>confdefs.h <<_ACEOF
23212 #define HAVE_HYPOTF 1
23213 _ACEOF
23216 done
23218 else
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23221 $as_echo_n "checking for _hypotf declaration... " >&6; }
23222 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23223 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23224 $as_echo_n "(cached) " >&6
23225 else
23228 ac_ext=cpp
23229 ac_cpp='$CXXCPP $CPPFLAGS'
23230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23235 /* end confdefs.h. */
23236 #include <math.h>
23238 main ()
23240 _hypotf(0, 0);
23242 return 0;
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246 glibcxx_cv_func__hypotf_use=yes
23247 else
23248 glibcxx_cv_func__hypotf_use=no
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23262 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23264 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23265 for ac_func in _hypotf
23266 do :
23267 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23268 if test "x$ac_cv_func__hypotf" = x""yes; then :
23269 cat >>confdefs.h <<_ACEOF
23270 #define HAVE__HYPOTF 1
23271 _ACEOF
23274 done
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23284 $as_echo_n "checking for ldexpf declaration... " >&6; }
23285 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23286 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23301 main ()
23303 ldexpf(0, 0);
23305 return 0;
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func_ldexpf_use=yes
23310 else
23311 glibcxx_cv_func_ldexpf_use=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23325 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23327 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23328 for ac_func in ldexpf
23329 do :
23330 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23331 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23332 cat >>confdefs.h <<_ACEOF
23333 #define HAVE_LDEXPF 1
23334 _ACEOF
23337 done
23339 else
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23342 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23343 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23344 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23345 $as_echo_n "(cached) " >&6
23346 else
23349 ac_ext=cpp
23350 ac_cpp='$CXXCPP $CPPFLAGS'
23351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h. */
23357 #include <math.h>
23359 main ()
23361 _ldexpf(0, 0);
23363 return 0;
23365 _ACEOF
23366 if ac_fn_cxx_try_compile "$LINENO"; then :
23367 glibcxx_cv_func__ldexpf_use=yes
23368 else
23369 glibcxx_cv_func__ldexpf_use=no
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 ac_ext=c
23373 ac_cpp='$CPP $CPPFLAGS'
23374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23383 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23385 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23386 for ac_func in _ldexpf
23387 do :
23388 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23389 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23390 cat >>confdefs.h <<_ACEOF
23391 #define HAVE__LDEXPF 1
23392 _ACEOF
23395 done
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23405 $as_echo_n "checking for logf declaration... " >&6; }
23406 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23407 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23412 ac_ext=cpp
23413 ac_cpp='$CXXCPP $CPPFLAGS'
23414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23419 /* end confdefs.h. */
23420 #include <math.h>
23421 #ifdef HAVE_IEEEFP_H
23422 #include <ieeefp.h>
23423 #endif
23426 main ()
23428 logf(0);
23430 return 0;
23432 _ACEOF
23433 if ac_fn_cxx_try_compile "$LINENO"; then :
23434 glibcxx_cv_func_logf_use=yes
23435 else
23436 glibcxx_cv_func_logf_use=no
23438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23439 ac_ext=c
23440 ac_cpp='$CPP $CPPFLAGS'
23441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23450 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23452 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23453 for ac_func in logf
23454 do :
23455 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23456 if test "x$ac_cv_func_logf" = x""yes; then :
23457 cat >>confdefs.h <<_ACEOF
23458 #define HAVE_LOGF 1
23459 _ACEOF
23462 done
23464 else
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23467 $as_echo_n "checking for _logf declaration... " >&6; }
23468 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23469 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23470 $as_echo_n "(cached) " >&6
23471 else
23474 ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23482 #include <math.h>
23483 #ifdef HAVE_IEEEFP_H
23484 #include <ieeefp.h>
23485 #endif
23488 main ()
23490 _logf(0);
23492 return 0;
23494 _ACEOF
23495 if ac_fn_cxx_try_compile "$LINENO"; then :
23496 glibcxx_cv_func__logf_use=yes
23497 else
23498 glibcxx_cv_func__logf_use=no
23500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23501 ac_ext=c
23502 ac_cpp='$CPP $CPPFLAGS'
23503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23512 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23514 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23515 for ac_func in _logf
23516 do :
23517 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23518 if test "x$ac_cv_func__logf" = x""yes; then :
23519 cat >>confdefs.h <<_ACEOF
23520 #define HAVE__LOGF 1
23521 _ACEOF
23524 done
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23534 $as_echo_n "checking for log10f declaration... " >&6; }
23535 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23536 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23537 $as_echo_n "(cached) " >&6
23538 else
23541 ac_ext=cpp
23542 ac_cpp='$CXXCPP $CPPFLAGS'
23543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23548 /* end confdefs.h. */
23549 #include <math.h>
23550 #ifdef HAVE_IEEEFP_H
23551 #include <ieeefp.h>
23552 #endif
23555 main ()
23557 log10f(0);
23559 return 0;
23561 _ACEOF
23562 if ac_fn_cxx_try_compile "$LINENO"; then :
23563 glibcxx_cv_func_log10f_use=yes
23564 else
23565 glibcxx_cv_func_log10f_use=no
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23579 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23581 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23582 for ac_func in log10f
23583 do :
23584 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23585 if test "x$ac_cv_func_log10f" = x""yes; then :
23586 cat >>confdefs.h <<_ACEOF
23587 #define HAVE_LOG10F 1
23588 _ACEOF
23591 done
23593 else
23595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23596 $as_echo_n "checking for _log10f declaration... " >&6; }
23597 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23598 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23599 $as_echo_n "(cached) " >&6
23600 else
23603 ac_ext=cpp
23604 ac_cpp='$CXXCPP $CPPFLAGS'
23605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23610 /* end confdefs.h. */
23611 #include <math.h>
23612 #ifdef HAVE_IEEEFP_H
23613 #include <ieeefp.h>
23614 #endif
23617 main ()
23619 _log10f(0);
23621 return 0;
23623 _ACEOF
23624 if ac_fn_cxx_try_compile "$LINENO"; then :
23625 glibcxx_cv_func__log10f_use=yes
23626 else
23627 glibcxx_cv_func__log10f_use=no
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630 ac_ext=c
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23641 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23643 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23644 for ac_func in _log10f
23645 do :
23646 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23647 if test "x$ac_cv_func__log10f" = x""yes; then :
23648 cat >>confdefs.h <<_ACEOF
23649 #define HAVE__LOG10F 1
23650 _ACEOF
23653 done
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23663 $as_echo_n "checking for modff declaration... " >&6; }
23664 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23665 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23666 $as_echo_n "(cached) " >&6
23667 else
23670 ac_ext=cpp
23671 ac_cpp='$CXXCPP $CPPFLAGS'
23672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23677 /* end confdefs.h. */
23678 #include <math.h>
23680 main ()
23682 modff(0, 0);
23684 return 0;
23686 _ACEOF
23687 if ac_fn_cxx_try_compile "$LINENO"; then :
23688 glibcxx_cv_func_modff_use=yes
23689 else
23690 glibcxx_cv_func_modff_use=no
23692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23693 ac_ext=c
23694 ac_cpp='$CPP $CPPFLAGS'
23695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23704 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23706 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23707 for ac_func in modff
23708 do :
23709 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23710 if test "x$ac_cv_func_modff" = x""yes; then :
23711 cat >>confdefs.h <<_ACEOF
23712 #define HAVE_MODFF 1
23713 _ACEOF
23716 done
23718 else
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23721 $as_echo_n "checking for _modff declaration... " >&6; }
23722 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23723 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23724 $as_echo_n "(cached) " >&6
23725 else
23728 ac_ext=cpp
23729 ac_cpp='$CXXCPP $CPPFLAGS'
23730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23735 /* end confdefs.h. */
23736 #include <math.h>
23738 main ()
23740 _modff(0, 0);
23742 return 0;
23744 _ACEOF
23745 if ac_fn_cxx_try_compile "$LINENO"; then :
23746 glibcxx_cv_func__modff_use=yes
23747 else
23748 glibcxx_cv_func__modff_use=no
23750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23751 ac_ext=c
23752 ac_cpp='$CPP $CPPFLAGS'
23753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23762 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23764 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23765 for ac_func in _modff
23766 do :
23767 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23768 if test "x$ac_cv_func__modff" = x""yes; then :
23769 cat >>confdefs.h <<_ACEOF
23770 #define HAVE__MODFF 1
23771 _ACEOF
23774 done
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23784 $as_echo_n "checking for modf declaration... " >&6; }
23785 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23786 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23787 $as_echo_n "(cached) " >&6
23788 else
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23799 #include <math.h>
23801 main ()
23803 modf(0, 0);
23805 return 0;
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func_modf_use=yes
23810 else
23811 glibcxx_cv_func_modf_use=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23825 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23827 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23828 for ac_func in modf
23829 do :
23830 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23831 if test "x$ac_cv_func_modf" = x""yes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE_MODF 1
23834 _ACEOF
23837 done
23839 else
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23842 $as_echo_n "checking for _modf declaration... " >&6; }
23843 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23844 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23845 $as_echo_n "(cached) " >&6
23846 else
23849 ac_ext=cpp
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23856 /* end confdefs.h. */
23857 #include <math.h>
23859 main ()
23861 _modf(0, 0);
23863 return 0;
23865 _ACEOF
23866 if ac_fn_cxx_try_compile "$LINENO"; then :
23867 glibcxx_cv_func__modf_use=yes
23868 else
23869 glibcxx_cv_func__modf_use=no
23871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 ac_ext=c
23873 ac_cpp='$CPP $CPPFLAGS'
23874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23883 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23885 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23886 for ac_func in _modf
23887 do :
23888 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23889 if test "x$ac_cv_func__modf" = x""yes; then :
23890 cat >>confdefs.h <<_ACEOF
23891 #define HAVE__MODF 1
23892 _ACEOF
23895 done
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23905 $as_echo_n "checking for powf declaration... " >&6; }
23906 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23907 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23912 ac_ext=cpp
23913 ac_cpp='$CXXCPP $CPPFLAGS'
23914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920 #include <math.h>
23922 main ()
23924 powf(0, 0);
23926 return 0;
23928 _ACEOF
23929 if ac_fn_cxx_try_compile "$LINENO"; then :
23930 glibcxx_cv_func_powf_use=yes
23931 else
23932 glibcxx_cv_func_powf_use=no
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_ext=c
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23946 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23948 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23949 for ac_func in powf
23950 do :
23951 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23952 if test "x$ac_cv_func_powf" = x""yes; then :
23953 cat >>confdefs.h <<_ACEOF
23954 #define HAVE_POWF 1
23955 _ACEOF
23958 done
23960 else
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23963 $as_echo_n "checking for _powf declaration... " >&6; }
23964 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23965 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23966 $as_echo_n "(cached) " >&6
23967 else
23970 ac_ext=cpp
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h. */
23978 #include <math.h>
23980 main ()
23982 _powf(0, 0);
23984 return 0;
23986 _ACEOF
23987 if ac_fn_cxx_try_compile "$LINENO"; then :
23988 glibcxx_cv_func__powf_use=yes
23989 else
23990 glibcxx_cv_func__powf_use=no
23992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993 ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24004 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24006 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24007 for ac_func in _powf
24008 do :
24009 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24010 if test "x$ac_cv_func__powf" = x""yes; then :
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE__POWF 1
24013 _ACEOF
24016 done
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24026 $as_echo_n "checking for sqrtf declaration... " >&6; }
24027 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24028 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24029 $as_echo_n "(cached) " >&6
24030 else
24033 ac_ext=cpp
24034 ac_cpp='$CXXCPP $CPPFLAGS'
24035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24040 /* end confdefs.h. */
24041 #include <math.h>
24042 #ifdef HAVE_IEEEFP_H
24043 #include <ieeefp.h>
24044 #endif
24047 main ()
24049 sqrtf(0);
24051 return 0;
24053 _ACEOF
24054 if ac_fn_cxx_try_compile "$LINENO"; then :
24055 glibcxx_cv_func_sqrtf_use=yes
24056 else
24057 glibcxx_cv_func_sqrtf_use=no
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 ac_ext=c
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24071 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24073 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24074 for ac_func in sqrtf
24075 do :
24076 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24077 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24078 cat >>confdefs.h <<_ACEOF
24079 #define HAVE_SQRTF 1
24080 _ACEOF
24083 done
24085 else
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24088 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24089 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24090 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24091 $as_echo_n "(cached) " >&6
24092 else
24095 ac_ext=cpp
24096 ac_cpp='$CXXCPP $CPPFLAGS'
24097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h. */
24103 #include <math.h>
24104 #ifdef HAVE_IEEEFP_H
24105 #include <ieeefp.h>
24106 #endif
24109 main ()
24111 _sqrtf(0);
24113 return 0;
24115 _ACEOF
24116 if ac_fn_cxx_try_compile "$LINENO"; then :
24117 glibcxx_cv_func__sqrtf_use=yes
24118 else
24119 glibcxx_cv_func__sqrtf_use=no
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ac_ext=c
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24133 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24135 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24136 for ac_func in _sqrtf
24137 do :
24138 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24139 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24140 cat >>confdefs.h <<_ACEOF
24141 #define HAVE__SQRTF 1
24142 _ACEOF
24145 done
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24155 $as_echo_n "checking for sincosf declaration... " >&6; }
24156 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24157 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24172 main ()
24174 sincosf(0, 0, 0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func_sincosf_use=yes
24181 else
24182 glibcxx_cv_func_sincosf_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24196 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24198 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24199 for ac_func in sincosf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24202 if test "x$ac_cv_func_sincosf" = x""yes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE_SINCOSF 1
24205 _ACEOF
24208 done
24210 else
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24213 $as_echo_n "checking for _sincosf declaration... " >&6; }
24214 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24215 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24216 $as_echo_n "(cached) " >&6
24217 else
24220 ac_ext=cpp
24221 ac_cpp='$CXXCPP $CPPFLAGS'
24222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24227 /* end confdefs.h. */
24228 #include <math.h>
24230 main ()
24232 _sincosf(0, 0, 0);
24234 return 0;
24236 _ACEOF
24237 if ac_fn_cxx_try_compile "$LINENO"; then :
24238 glibcxx_cv_func__sincosf_use=yes
24239 else
24240 glibcxx_cv_func__sincosf_use=no
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 ac_ext=c
24244 ac_cpp='$CPP $CPPFLAGS'
24245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24254 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24256 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24257 for ac_func in _sincosf
24258 do :
24259 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24260 if test "x$ac_cv_func__sincosf" = x""yes; then :
24261 cat >>confdefs.h <<_ACEOF
24262 #define HAVE__SINCOSF 1
24263 _ACEOF
24266 done
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24276 $as_echo_n "checking for finitef declaration... " >&6; }
24277 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24278 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24279 $as_echo_n "(cached) " >&6
24280 else
24283 ac_ext=cpp
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 #include <math.h>
24292 #ifdef HAVE_IEEEFP_H
24293 #include <ieeefp.h>
24294 #endif
24297 main ()
24299 finitef(0);
24301 return 0;
24303 _ACEOF
24304 if ac_fn_cxx_try_compile "$LINENO"; then :
24305 glibcxx_cv_func_finitef_use=yes
24306 else
24307 glibcxx_cv_func_finitef_use=no
24309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24310 ac_ext=c
24311 ac_cpp='$CPP $CPPFLAGS'
24312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24321 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24323 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24324 for ac_func in finitef
24325 do :
24326 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24327 if test "x$ac_cv_func_finitef" = x""yes; then :
24328 cat >>confdefs.h <<_ACEOF
24329 #define HAVE_FINITEF 1
24330 _ACEOF
24333 done
24335 else
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24338 $as_echo_n "checking for _finitef declaration... " >&6; }
24339 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24340 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24341 $as_echo_n "(cached) " >&6
24342 else
24345 ac_ext=cpp
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24353 #include <math.h>
24354 #ifdef HAVE_IEEEFP_H
24355 #include <ieeefp.h>
24356 #endif
24359 main ()
24361 _finitef(0);
24363 return 0;
24365 _ACEOF
24366 if ac_fn_cxx_try_compile "$LINENO"; then :
24367 glibcxx_cv_func__finitef_use=yes
24368 else
24369 glibcxx_cv_func__finitef_use=no
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 ac_ext=c
24373 ac_cpp='$CPP $CPPFLAGS'
24374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24383 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24385 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24386 for ac_func in _finitef
24387 do :
24388 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24389 if test "x$ac_cv_func__finitef" = x""yes; then :
24390 cat >>confdefs.h <<_ACEOF
24391 #define HAVE__FINITEF 1
24392 _ACEOF
24395 done
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24405 $as_echo_n "checking for long double trig functions... " >&6; }
24406 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24407 $as_echo_n "(cached) " >&6
24408 else
24411 ac_ext=cpp
24412 ac_cpp='$CXXCPP $CPPFLAGS'
24413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 /* end confdefs.h. */
24419 #include <math.h>
24421 main ()
24423 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24425 return 0;
24427 _ACEOF
24428 if ac_fn_cxx_try_compile "$LINENO"; then :
24429 glibcxx_cv_func_long_double_trig_use=yes
24430 else
24431 glibcxx_cv_func_long_double_trig_use=no
24433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24434 ac_ext=c
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24443 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24444 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24445 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24446 do :
24447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24449 eval as_val=\$$as_ac_var
24450 if test "x$as_val" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24453 _ACEOF
24456 done
24458 else
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24460 $as_echo_n "checking for _long double trig functions... " >&6; }
24461 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24462 $as_echo_n "(cached) " >&6
24463 else
24466 ac_ext=cpp
24467 ac_cpp='$CXXCPP $CPPFLAGS'
24468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24473 /* end confdefs.h. */
24474 #include <math.h>
24476 main ()
24478 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24480 return 0;
24482 _ACEOF
24483 if ac_fn_cxx_try_compile "$LINENO"; then :
24484 glibcxx_cv_func__long_double_trig_use=yes
24485 else
24486 glibcxx_cv_func__long_double_trig_use=no
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489 ac_ext=c
24490 ac_cpp='$CPP $CPPFLAGS'
24491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24498 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24499 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24500 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24501 do :
24502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24504 eval as_val=\$$as_ac_var
24505 if test "x$as_val" = x""yes; then :
24506 cat >>confdefs.h <<_ACEOF
24507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24508 _ACEOF
24511 done
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24521 $as_echo_n "checking for long double round functions... " >&6; }
24522 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24537 main ()
24539 ceill (0); floorl (0);
24541 return 0;
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func_long_double_round_use=yes
24546 else
24547 glibcxx_cv_func_long_double_round_use=no
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24559 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24560 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24561 for ac_func in ceill floorl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24572 done
24574 else
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24576 $as_echo_n "checking for _long double round functions... " >&6; }
24577 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24578 $as_echo_n "(cached) " >&6
24579 else
24582 ac_ext=cpp
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24589 /* end confdefs.h. */
24590 #include <math.h>
24592 main ()
24594 _ceill (0); _floorl (0);
24596 return 0;
24598 _ACEOF
24599 if ac_fn_cxx_try_compile "$LINENO"; then :
24600 glibcxx_cv_func__long_double_round_use=yes
24601 else
24602 glibcxx_cv_func__long_double_round_use=no
24604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 ac_ext=c
24606 ac_cpp='$CPP $CPPFLAGS'
24607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24614 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24615 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24616 for ac_func in _ceill _floorl
24617 do :
24618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24620 eval as_val=\$$as_ac_var
24621 if test "x$as_val" = x""yes; then :
24622 cat >>confdefs.h <<_ACEOF
24623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24624 _ACEOF
24627 done
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24638 $as_echo_n "checking for isnanl declaration... " >&6; }
24639 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24640 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24641 $as_echo_n "(cached) " >&6
24642 else
24645 ac_ext=cpp
24646 ac_cpp='$CXXCPP $CPPFLAGS'
24647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24652 /* end confdefs.h. */
24653 #include <math.h>
24654 #ifdef HAVE_IEEEFP_H
24655 #include <ieeefp.h>
24656 #endif
24659 main ()
24661 isnanl(0);
24663 return 0;
24665 _ACEOF
24666 if ac_fn_cxx_try_compile "$LINENO"; then :
24667 glibcxx_cv_func_isnanl_use=yes
24668 else
24669 glibcxx_cv_func_isnanl_use=no
24671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24672 ac_ext=c
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24683 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24685 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24686 for ac_func in isnanl
24687 do :
24688 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24689 if test "x$ac_cv_func_isnanl" = x""yes; then :
24690 cat >>confdefs.h <<_ACEOF
24691 #define HAVE_ISNANL 1
24692 _ACEOF
24695 done
24697 else
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24700 $as_echo_n "checking for _isnanl declaration... " >&6; }
24701 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24702 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24703 $as_echo_n "(cached) " >&6
24704 else
24707 ac_ext=cpp
24708 ac_cpp='$CXXCPP $CPPFLAGS'
24709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h. */
24715 #include <math.h>
24716 #ifdef HAVE_IEEEFP_H
24717 #include <ieeefp.h>
24718 #endif
24721 main ()
24723 _isnanl(0);
24725 return 0;
24727 _ACEOF
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729 glibcxx_cv_func__isnanl_use=yes
24730 else
24731 glibcxx_cv_func__isnanl_use=no
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734 ac_ext=c
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24745 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24747 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24748 for ac_func in _isnanl
24749 do :
24750 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24751 if test "x$ac_cv_func__isnanl" = x""yes; then :
24752 cat >>confdefs.h <<_ACEOF
24753 #define HAVE__ISNANL 1
24754 _ACEOF
24757 done
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24767 $as_echo_n "checking for isinfl declaration... " >&6; }
24768 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24769 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24770 $as_echo_n "(cached) " >&6
24771 else
24774 ac_ext=cpp
24775 ac_cpp='$CXXCPP $CPPFLAGS'
24776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24782 #include <math.h>
24783 #ifdef HAVE_IEEEFP_H
24784 #include <ieeefp.h>
24785 #endif
24788 main ()
24790 isinfl(0);
24792 return 0;
24794 _ACEOF
24795 if ac_fn_cxx_try_compile "$LINENO"; then :
24796 glibcxx_cv_func_isinfl_use=yes
24797 else
24798 glibcxx_cv_func_isinfl_use=no
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24801 ac_ext=c
24802 ac_cpp='$CPP $CPPFLAGS'
24803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24812 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24814 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24815 for ac_func in isinfl
24816 do :
24817 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24818 if test "x$ac_cv_func_isinfl" = x""yes; then :
24819 cat >>confdefs.h <<_ACEOF
24820 #define HAVE_ISINFL 1
24821 _ACEOF
24824 done
24826 else
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24829 $as_echo_n "checking for _isinfl declaration... " >&6; }
24830 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24831 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24832 $as_echo_n "(cached) " >&6
24833 else
24836 ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24844 #include <math.h>
24845 #ifdef HAVE_IEEEFP_H
24846 #include <ieeefp.h>
24847 #endif
24850 main ()
24852 _isinfl(0);
24854 return 0;
24856 _ACEOF
24857 if ac_fn_cxx_try_compile "$LINENO"; then :
24858 glibcxx_cv_func__isinfl_use=yes
24859 else
24860 glibcxx_cv_func__isinfl_use=no
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 ac_ext=c
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24874 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24876 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24877 for ac_func in _isinfl
24878 do :
24879 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24880 if test "x$ac_cv_func__isinfl" = x""yes; then :
24881 cat >>confdefs.h <<_ACEOF
24882 #define HAVE__ISINFL 1
24883 _ACEOF
24886 done
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24896 $as_echo_n "checking for atan2l declaration... " >&6; }
24897 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24898 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24899 $as_echo_n "(cached) " >&6
24900 else
24903 ac_ext=cpp
24904 ac_cpp='$CXXCPP $CPPFLAGS'
24905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24910 /* end confdefs.h. */
24911 #include <math.h>
24913 main ()
24915 atan2l(0, 0);
24917 return 0;
24919 _ACEOF
24920 if ac_fn_cxx_try_compile "$LINENO"; then :
24921 glibcxx_cv_func_atan2l_use=yes
24922 else
24923 glibcxx_cv_func_atan2l_use=no
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24926 ac_ext=c
24927 ac_cpp='$CPP $CPPFLAGS'
24928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24937 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24939 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24940 for ac_func in atan2l
24941 do :
24942 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24943 if test "x$ac_cv_func_atan2l" = x""yes; then :
24944 cat >>confdefs.h <<_ACEOF
24945 #define HAVE_ATAN2L 1
24946 _ACEOF
24949 done
24951 else
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24954 $as_echo_n "checking for _atan2l declaration... " >&6; }
24955 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24956 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24957 $as_echo_n "(cached) " >&6
24958 else
24961 ac_ext=cpp
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24968 /* end confdefs.h. */
24969 #include <math.h>
24971 main ()
24973 _atan2l(0, 0);
24975 return 0;
24977 _ACEOF
24978 if ac_fn_cxx_try_compile "$LINENO"; then :
24979 glibcxx_cv_func__atan2l_use=yes
24980 else
24981 glibcxx_cv_func__atan2l_use=no
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 ac_ext=c
24985 ac_cpp='$CPP $CPPFLAGS'
24986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24995 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24997 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24998 for ac_func in _atan2l
24999 do :
25000 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25001 if test "x$ac_cv_func__atan2l" = x""yes; then :
25002 cat >>confdefs.h <<_ACEOF
25003 #define HAVE__ATAN2L 1
25004 _ACEOF
25007 done
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25017 $as_echo_n "checking for expl declaration... " >&6; }
25018 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25019 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25020 $as_echo_n "(cached) " >&6
25021 else
25024 ac_ext=cpp
25025 ac_cpp='$CXXCPP $CPPFLAGS'
25026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25032 #include <math.h>
25033 #ifdef HAVE_IEEEFP_H
25034 #include <ieeefp.h>
25035 #endif
25038 main ()
25040 expl(0);
25042 return 0;
25044 _ACEOF
25045 if ac_fn_cxx_try_compile "$LINENO"; then :
25046 glibcxx_cv_func_expl_use=yes
25047 else
25048 glibcxx_cv_func_expl_use=no
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 ac_ext=c
25052 ac_cpp='$CPP $CPPFLAGS'
25053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25062 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25064 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25065 for ac_func in expl
25066 do :
25067 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25068 if test "x$ac_cv_func_expl" = x""yes; then :
25069 cat >>confdefs.h <<_ACEOF
25070 #define HAVE_EXPL 1
25071 _ACEOF
25074 done
25076 else
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25079 $as_echo_n "checking for _expl declaration... " >&6; }
25080 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25081 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25094 #include <math.h>
25095 #ifdef HAVE_IEEEFP_H
25096 #include <ieeefp.h>
25097 #endif
25100 main ()
25102 _expl(0);
25104 return 0;
25106 _ACEOF
25107 if ac_fn_cxx_try_compile "$LINENO"; then :
25108 glibcxx_cv_func__expl_use=yes
25109 else
25110 glibcxx_cv_func__expl_use=no
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 ac_ext=c
25114 ac_cpp='$CPP $CPPFLAGS'
25115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25124 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25126 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25127 for ac_func in _expl
25128 do :
25129 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25130 if test "x$ac_cv_func__expl" = x""yes; then :
25131 cat >>confdefs.h <<_ACEOF
25132 #define HAVE__EXPL 1
25133 _ACEOF
25136 done
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25146 $as_echo_n "checking for fabsl declaration... " >&6; }
25147 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25148 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25149 $as_echo_n "(cached) " >&6
25150 else
25153 ac_ext=cpp
25154 ac_cpp='$CXXCPP $CPPFLAGS'
25155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h. */
25161 #include <math.h>
25162 #ifdef HAVE_IEEEFP_H
25163 #include <ieeefp.h>
25164 #endif
25167 main ()
25169 fabsl(0);
25171 return 0;
25173 _ACEOF
25174 if ac_fn_cxx_try_compile "$LINENO"; then :
25175 glibcxx_cv_func_fabsl_use=yes
25176 else
25177 glibcxx_cv_func_fabsl_use=no
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25180 ac_ext=c
25181 ac_cpp='$CPP $CPPFLAGS'
25182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25191 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25193 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25194 for ac_func in fabsl
25195 do :
25196 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25197 if test "x$ac_cv_func_fabsl" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define HAVE_FABSL 1
25200 _ACEOF
25203 done
25205 else
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25208 $as_echo_n "checking for _fabsl declaration... " >&6; }
25209 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25210 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25211 $as_echo_n "(cached) " >&6
25212 else
25215 ac_ext=cpp
25216 ac_cpp='$CXXCPP $CPPFLAGS'
25217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25222 /* end confdefs.h. */
25223 #include <math.h>
25224 #ifdef HAVE_IEEEFP_H
25225 #include <ieeefp.h>
25226 #endif
25229 main ()
25231 _fabsl(0);
25233 return 0;
25235 _ACEOF
25236 if ac_fn_cxx_try_compile "$LINENO"; then :
25237 glibcxx_cv_func__fabsl_use=yes
25238 else
25239 glibcxx_cv_func__fabsl_use=no
25241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25242 ac_ext=c
25243 ac_cpp='$CPP $CPPFLAGS'
25244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25253 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25255 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25256 for ac_func in _fabsl
25257 do :
25258 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25259 if test "x$ac_cv_func__fabsl" = x""yes; then :
25260 cat >>confdefs.h <<_ACEOF
25261 #define HAVE__FABSL 1
25262 _ACEOF
25265 done
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25275 $as_echo_n "checking for fmodl declaration... " >&6; }
25276 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25277 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25282 ac_ext=cpp
25283 ac_cpp='$CXXCPP $CPPFLAGS'
25284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25289 /* end confdefs.h. */
25290 #include <math.h>
25292 main ()
25294 fmodl(0, 0);
25296 return 0;
25298 _ACEOF
25299 if ac_fn_cxx_try_compile "$LINENO"; then :
25300 glibcxx_cv_func_fmodl_use=yes
25301 else
25302 glibcxx_cv_func_fmodl_use=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25316 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25318 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25319 for ac_func in fmodl
25320 do :
25321 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25322 if test "x$ac_cv_func_fmodl" = x""yes; then :
25323 cat >>confdefs.h <<_ACEOF
25324 #define HAVE_FMODL 1
25325 _ACEOF
25328 done
25330 else
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25333 $as_echo_n "checking for _fmodl declaration... " >&6; }
25334 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25335 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25336 $as_echo_n "(cached) " >&6
25337 else
25340 ac_ext=cpp
25341 ac_cpp='$CXXCPP $CPPFLAGS'
25342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25347 /* end confdefs.h. */
25348 #include <math.h>
25350 main ()
25352 _fmodl(0, 0);
25354 return 0;
25356 _ACEOF
25357 if ac_fn_cxx_try_compile "$LINENO"; then :
25358 glibcxx_cv_func__fmodl_use=yes
25359 else
25360 glibcxx_cv_func__fmodl_use=no
25362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25363 ac_ext=c
25364 ac_cpp='$CPP $CPPFLAGS'
25365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25374 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25376 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25377 for ac_func in _fmodl
25378 do :
25379 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25380 if test "x$ac_cv_func__fmodl" = x""yes; then :
25381 cat >>confdefs.h <<_ACEOF
25382 #define HAVE__FMODL 1
25383 _ACEOF
25386 done
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25396 $as_echo_n "checking for frexpl declaration... " >&6; }
25397 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25398 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25399 $as_echo_n "(cached) " >&6
25400 else
25403 ac_ext=cpp
25404 ac_cpp='$CXXCPP $CPPFLAGS'
25405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25411 #include <math.h>
25413 main ()
25415 frexpl(0, 0);
25417 return 0;
25419 _ACEOF
25420 if ac_fn_cxx_try_compile "$LINENO"; then :
25421 glibcxx_cv_func_frexpl_use=yes
25422 else
25423 glibcxx_cv_func_frexpl_use=no
25425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 ac_ext=c
25427 ac_cpp='$CPP $CPPFLAGS'
25428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25437 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25439 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25440 for ac_func in frexpl
25441 do :
25442 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25443 if test "x$ac_cv_func_frexpl" = x""yes; then :
25444 cat >>confdefs.h <<_ACEOF
25445 #define HAVE_FREXPL 1
25446 _ACEOF
25449 done
25451 else
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25454 $as_echo_n "checking for _frexpl declaration... " >&6; }
25455 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25456 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25457 $as_echo_n "(cached) " >&6
25458 else
25461 ac_ext=cpp
25462 ac_cpp='$CXXCPP $CPPFLAGS'
25463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25469 #include <math.h>
25471 main ()
25473 _frexpl(0, 0);
25475 return 0;
25477 _ACEOF
25478 if ac_fn_cxx_try_compile "$LINENO"; then :
25479 glibcxx_cv_func__frexpl_use=yes
25480 else
25481 glibcxx_cv_func__frexpl_use=no
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25484 ac_ext=c
25485 ac_cpp='$CPP $CPPFLAGS'
25486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25495 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25497 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25498 for ac_func in _frexpl
25499 do :
25500 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25501 if test "x$ac_cv_func__frexpl" = x""yes; then :
25502 cat >>confdefs.h <<_ACEOF
25503 #define HAVE__FREXPL 1
25504 _ACEOF
25507 done
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25517 $as_echo_n "checking for hypotl declaration... " >&6; }
25518 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25519 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25520 $as_echo_n "(cached) " >&6
25521 else
25524 ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25532 #include <math.h>
25534 main ()
25536 hypotl(0, 0);
25538 return 0;
25540 _ACEOF
25541 if ac_fn_cxx_try_compile "$LINENO"; then :
25542 glibcxx_cv_func_hypotl_use=yes
25543 else
25544 glibcxx_cv_func_hypotl_use=no
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547 ac_ext=c
25548 ac_cpp='$CPP $CPPFLAGS'
25549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25558 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25560 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25561 for ac_func in hypotl
25562 do :
25563 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25564 if test "x$ac_cv_func_hypotl" = x""yes; then :
25565 cat >>confdefs.h <<_ACEOF
25566 #define HAVE_HYPOTL 1
25567 _ACEOF
25570 done
25572 else
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25575 $as_echo_n "checking for _hypotl declaration... " >&6; }
25576 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25577 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25578 $as_echo_n "(cached) " >&6
25579 else
25582 ac_ext=cpp
25583 ac_cpp='$CXXCPP $CPPFLAGS'
25584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25589 /* end confdefs.h. */
25590 #include <math.h>
25592 main ()
25594 _hypotl(0, 0);
25596 return 0;
25598 _ACEOF
25599 if ac_fn_cxx_try_compile "$LINENO"; then :
25600 glibcxx_cv_func__hypotl_use=yes
25601 else
25602 glibcxx_cv_func__hypotl_use=no
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 ac_ext=c
25606 ac_cpp='$CPP $CPPFLAGS'
25607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25616 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25618 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25619 for ac_func in _hypotl
25620 do :
25621 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25622 if test "x$ac_cv_func__hypotl" = x""yes; then :
25623 cat >>confdefs.h <<_ACEOF
25624 #define HAVE__HYPOTL 1
25625 _ACEOF
25628 done
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25638 $as_echo_n "checking for ldexpl declaration... " >&6; }
25639 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25640 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25641 $as_echo_n "(cached) " >&6
25642 else
25645 ac_ext=cpp
25646 ac_cpp='$CXXCPP $CPPFLAGS'
25647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25653 #include <math.h>
25655 main ()
25657 ldexpl(0, 0);
25659 return 0;
25661 _ACEOF
25662 if ac_fn_cxx_try_compile "$LINENO"; then :
25663 glibcxx_cv_func_ldexpl_use=yes
25664 else
25665 glibcxx_cv_func_ldexpl_use=no
25667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25679 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25681 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25682 for ac_func in ldexpl
25683 do :
25684 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25685 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25686 cat >>confdefs.h <<_ACEOF
25687 #define HAVE_LDEXPL 1
25688 _ACEOF
25691 done
25693 else
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25696 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25697 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25698 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25699 $as_echo_n "(cached) " >&6
25700 else
25703 ac_ext=cpp
25704 ac_cpp='$CXXCPP $CPPFLAGS'
25705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25710 /* end confdefs.h. */
25711 #include <math.h>
25713 main ()
25715 _ldexpl(0, 0);
25717 return 0;
25719 _ACEOF
25720 if ac_fn_cxx_try_compile "$LINENO"; then :
25721 glibcxx_cv_func__ldexpl_use=yes
25722 else
25723 glibcxx_cv_func__ldexpl_use=no
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_ext=c
25727 ac_cpp='$CPP $CPPFLAGS'
25728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25737 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25739 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25740 for ac_func in _ldexpl
25741 do :
25742 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25743 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25744 cat >>confdefs.h <<_ACEOF
25745 #define HAVE__LDEXPL 1
25746 _ACEOF
25749 done
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25759 $as_echo_n "checking for logl declaration... " >&6; }
25760 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25761 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25762 $as_echo_n "(cached) " >&6
25763 else
25766 ac_ext=cpp
25767 ac_cpp='$CXXCPP $CPPFLAGS'
25768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25773 /* end confdefs.h. */
25774 #include <math.h>
25775 #ifdef HAVE_IEEEFP_H
25776 #include <ieeefp.h>
25777 #endif
25780 main ()
25782 logl(0);
25784 return 0;
25786 _ACEOF
25787 if ac_fn_cxx_try_compile "$LINENO"; then :
25788 glibcxx_cv_func_logl_use=yes
25789 else
25790 glibcxx_cv_func_logl_use=no
25792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25793 ac_ext=c
25794 ac_cpp='$CPP $CPPFLAGS'
25795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25804 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25806 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25807 for ac_func in logl
25808 do :
25809 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25810 if test "x$ac_cv_func_logl" = x""yes; then :
25811 cat >>confdefs.h <<_ACEOF
25812 #define HAVE_LOGL 1
25813 _ACEOF
25816 done
25818 else
25820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25821 $as_echo_n "checking for _logl declaration... " >&6; }
25822 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25823 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25824 $as_echo_n "(cached) " >&6
25825 else
25828 ac_ext=cpp
25829 ac_cpp='$CXXCPP $CPPFLAGS'
25830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25835 /* end confdefs.h. */
25836 #include <math.h>
25837 #ifdef HAVE_IEEEFP_H
25838 #include <ieeefp.h>
25839 #endif
25842 main ()
25844 _logl(0);
25846 return 0;
25848 _ACEOF
25849 if ac_fn_cxx_try_compile "$LINENO"; then :
25850 glibcxx_cv_func__logl_use=yes
25851 else
25852 glibcxx_cv_func__logl_use=no
25854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855 ac_ext=c
25856 ac_cpp='$CPP $CPPFLAGS'
25857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25866 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25868 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25869 for ac_func in _logl
25870 do :
25871 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25872 if test "x$ac_cv_func__logl" = x""yes; then :
25873 cat >>confdefs.h <<_ACEOF
25874 #define HAVE__LOGL 1
25875 _ACEOF
25878 done
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25888 $as_echo_n "checking for log10l declaration... " >&6; }
25889 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25890 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25891 $as_echo_n "(cached) " >&6
25892 else
25895 ac_ext=cpp
25896 ac_cpp='$CXXCPP $CPPFLAGS'
25897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25903 #include <math.h>
25904 #ifdef HAVE_IEEEFP_H
25905 #include <ieeefp.h>
25906 #endif
25909 main ()
25911 log10l(0);
25913 return 0;
25915 _ACEOF
25916 if ac_fn_cxx_try_compile "$LINENO"; then :
25917 glibcxx_cv_func_log10l_use=yes
25918 else
25919 glibcxx_cv_func_log10l_use=no
25921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25922 ac_ext=c
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25933 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25935 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25936 for ac_func in log10l
25937 do :
25938 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25939 if test "x$ac_cv_func_log10l" = x""yes; then :
25940 cat >>confdefs.h <<_ACEOF
25941 #define HAVE_LOG10L 1
25942 _ACEOF
25945 done
25947 else
25949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25950 $as_echo_n "checking for _log10l declaration... " >&6; }
25951 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25952 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25953 $as_echo_n "(cached) " >&6
25954 else
25957 ac_ext=cpp
25958 ac_cpp='$CXXCPP $CPPFLAGS'
25959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25964 /* end confdefs.h. */
25965 #include <math.h>
25966 #ifdef HAVE_IEEEFP_H
25967 #include <ieeefp.h>
25968 #endif
25971 main ()
25973 _log10l(0);
25975 return 0;
25977 _ACEOF
25978 if ac_fn_cxx_try_compile "$LINENO"; then :
25979 glibcxx_cv_func__log10l_use=yes
25980 else
25981 glibcxx_cv_func__log10l_use=no
25983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25984 ac_ext=c
25985 ac_cpp='$CPP $CPPFLAGS'
25986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25995 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25997 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25998 for ac_func in _log10l
25999 do :
26000 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26001 if test "x$ac_cv_func__log10l" = x""yes; then :
26002 cat >>confdefs.h <<_ACEOF
26003 #define HAVE__LOG10L 1
26004 _ACEOF
26007 done
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26017 $as_echo_n "checking for modfl declaration... " >&6; }
26018 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26019 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26024 ac_ext=cpp
26025 ac_cpp='$CXXCPP $CPPFLAGS'
26026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032 #include <math.h>
26034 main ()
26036 modfl(0, 0);
26038 return 0;
26040 _ACEOF
26041 if ac_fn_cxx_try_compile "$LINENO"; then :
26042 glibcxx_cv_func_modfl_use=yes
26043 else
26044 glibcxx_cv_func_modfl_use=no
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 ac_ext=c
26048 ac_cpp='$CPP $CPPFLAGS'
26049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26058 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26060 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26061 for ac_func in modfl
26062 do :
26063 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26064 if test "x$ac_cv_func_modfl" = x""yes; then :
26065 cat >>confdefs.h <<_ACEOF
26066 #define HAVE_MODFL 1
26067 _ACEOF
26070 done
26072 else
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26075 $as_echo_n "checking for _modfl declaration... " >&6; }
26076 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26077 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26078 $as_echo_n "(cached) " >&6
26079 else
26082 ac_ext=cpp
26083 ac_cpp='$CXXCPP $CPPFLAGS'
26084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h. */
26090 #include <math.h>
26092 main ()
26094 _modfl(0, 0);
26096 return 0;
26098 _ACEOF
26099 if ac_fn_cxx_try_compile "$LINENO"; then :
26100 glibcxx_cv_func__modfl_use=yes
26101 else
26102 glibcxx_cv_func__modfl_use=no
26104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26105 ac_ext=c
26106 ac_cpp='$CPP $CPPFLAGS'
26107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26116 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26118 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26119 for ac_func in _modfl
26120 do :
26121 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26122 if test "x$ac_cv_func__modfl" = x""yes; then :
26123 cat >>confdefs.h <<_ACEOF
26124 #define HAVE__MODFL 1
26125 _ACEOF
26128 done
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26138 $as_echo_n "checking for powl declaration... " >&6; }
26139 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26140 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26141 $as_echo_n "(cached) " >&6
26142 else
26145 ac_ext=cpp
26146 ac_cpp='$CXXCPP $CPPFLAGS'
26147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26152 /* end confdefs.h. */
26153 #include <math.h>
26155 main ()
26157 powl(0, 0);
26159 return 0;
26161 _ACEOF
26162 if ac_fn_cxx_try_compile "$LINENO"; then :
26163 glibcxx_cv_func_powl_use=yes
26164 else
26165 glibcxx_cv_func_powl_use=no
26167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26168 ac_ext=c
26169 ac_cpp='$CPP $CPPFLAGS'
26170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26179 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26181 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26182 for ac_func in powl
26183 do :
26184 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26185 if test "x$ac_cv_func_powl" = x""yes; then :
26186 cat >>confdefs.h <<_ACEOF
26187 #define HAVE_POWL 1
26188 _ACEOF
26191 done
26193 else
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26196 $as_echo_n "checking for _powl declaration... " >&6; }
26197 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26198 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26199 $as_echo_n "(cached) " >&6
26200 else
26203 ac_ext=cpp
26204 ac_cpp='$CXXCPP $CPPFLAGS'
26205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26210 /* end confdefs.h. */
26211 #include <math.h>
26213 main ()
26215 _powl(0, 0);
26217 return 0;
26219 _ACEOF
26220 if ac_fn_cxx_try_compile "$LINENO"; then :
26221 glibcxx_cv_func__powl_use=yes
26222 else
26223 glibcxx_cv_func__powl_use=no
26225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26226 ac_ext=c
26227 ac_cpp='$CPP $CPPFLAGS'
26228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26237 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26239 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26240 for ac_func in _powl
26241 do :
26242 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26243 if test "x$ac_cv_func__powl" = x""yes; then :
26244 cat >>confdefs.h <<_ACEOF
26245 #define HAVE__POWL 1
26246 _ACEOF
26249 done
26258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26259 $as_echo_n "checking for sqrtl declaration... " >&6; }
26260 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26261 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26262 $as_echo_n "(cached) " >&6
26263 else
26266 ac_ext=cpp
26267 ac_cpp='$CXXCPP $CPPFLAGS'
26268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26273 /* end confdefs.h. */
26274 #include <math.h>
26275 #ifdef HAVE_IEEEFP_H
26276 #include <ieeefp.h>
26277 #endif
26280 main ()
26282 sqrtl(0);
26284 return 0;
26286 _ACEOF
26287 if ac_fn_cxx_try_compile "$LINENO"; then :
26288 glibcxx_cv_func_sqrtl_use=yes
26289 else
26290 glibcxx_cv_func_sqrtl_use=no
26292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26293 ac_ext=c
26294 ac_cpp='$CPP $CPPFLAGS'
26295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26304 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26306 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26307 for ac_func in sqrtl
26308 do :
26309 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26310 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26311 cat >>confdefs.h <<_ACEOF
26312 #define HAVE_SQRTL 1
26313 _ACEOF
26316 done
26318 else
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26321 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26322 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26323 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26324 $as_echo_n "(cached) " >&6
26325 else
26328 ac_ext=cpp
26329 ac_cpp='$CXXCPP $CPPFLAGS'
26330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26335 /* end confdefs.h. */
26336 #include <math.h>
26337 #ifdef HAVE_IEEEFP_H
26338 #include <ieeefp.h>
26339 #endif
26342 main ()
26344 _sqrtl(0);
26346 return 0;
26348 _ACEOF
26349 if ac_fn_cxx_try_compile "$LINENO"; then :
26350 glibcxx_cv_func__sqrtl_use=yes
26351 else
26352 glibcxx_cv_func__sqrtl_use=no
26354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26355 ac_ext=c
26356 ac_cpp='$CPP $CPPFLAGS'
26357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26366 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26368 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26369 for ac_func in _sqrtl
26370 do :
26371 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26372 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26373 cat >>confdefs.h <<_ACEOF
26374 #define HAVE__SQRTL 1
26375 _ACEOF
26378 done
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26388 $as_echo_n "checking for sincosl declaration... " >&6; }
26389 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26390 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26391 $as_echo_n "(cached) " >&6
26392 else
26395 ac_ext=cpp
26396 ac_cpp='$CXXCPP $CPPFLAGS'
26397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26402 /* end confdefs.h. */
26403 #include <math.h>
26405 main ()
26407 sincosl(0, 0, 0);
26409 return 0;
26411 _ACEOF
26412 if ac_fn_cxx_try_compile "$LINENO"; then :
26413 glibcxx_cv_func_sincosl_use=yes
26414 else
26415 glibcxx_cv_func_sincosl_use=no
26417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26418 ac_ext=c
26419 ac_cpp='$CPP $CPPFLAGS'
26420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26429 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26431 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26432 for ac_func in sincosl
26433 do :
26434 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26435 if test "x$ac_cv_func_sincosl" = x""yes; then :
26436 cat >>confdefs.h <<_ACEOF
26437 #define HAVE_SINCOSL 1
26438 _ACEOF
26441 done
26443 else
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26446 $as_echo_n "checking for _sincosl declaration... " >&6; }
26447 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26448 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26449 $as_echo_n "(cached) " >&6
26450 else
26453 ac_ext=cpp
26454 ac_cpp='$CXXCPP $CPPFLAGS'
26455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26460 /* end confdefs.h. */
26461 #include <math.h>
26463 main ()
26465 _sincosl(0, 0, 0);
26467 return 0;
26469 _ACEOF
26470 if ac_fn_cxx_try_compile "$LINENO"; then :
26471 glibcxx_cv_func__sincosl_use=yes
26472 else
26473 glibcxx_cv_func__sincosl_use=no
26475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26476 ac_ext=c
26477 ac_cpp='$CPP $CPPFLAGS'
26478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26487 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26489 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26490 for ac_func in _sincosl
26491 do :
26492 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26493 if test "x$ac_cv_func__sincosl" = x""yes; then :
26494 cat >>confdefs.h <<_ACEOF
26495 #define HAVE__SINCOSL 1
26496 _ACEOF
26499 done
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26509 $as_echo_n "checking for finitel declaration... " >&6; }
26510 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26511 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26512 $as_echo_n "(cached) " >&6
26513 else
26516 ac_ext=cpp
26517 ac_cpp='$CXXCPP $CPPFLAGS'
26518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26523 /* end confdefs.h. */
26524 #include <math.h>
26525 #ifdef HAVE_IEEEFP_H
26526 #include <ieeefp.h>
26527 #endif
26530 main ()
26532 finitel(0);
26534 return 0;
26536 _ACEOF
26537 if ac_fn_cxx_try_compile "$LINENO"; then :
26538 glibcxx_cv_func_finitel_use=yes
26539 else
26540 glibcxx_cv_func_finitel_use=no
26542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26543 ac_ext=c
26544 ac_cpp='$CPP $CPPFLAGS'
26545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26554 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26556 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26557 for ac_func in finitel
26558 do :
26559 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26560 if test "x$ac_cv_func_finitel" = x""yes; then :
26561 cat >>confdefs.h <<_ACEOF
26562 #define HAVE_FINITEL 1
26563 _ACEOF
26566 done
26568 else
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26571 $as_echo_n "checking for _finitel declaration... " >&6; }
26572 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26573 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26574 $as_echo_n "(cached) " >&6
26575 else
26578 ac_ext=cpp
26579 ac_cpp='$CXXCPP $CPPFLAGS'
26580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26585 /* end confdefs.h. */
26586 #include <math.h>
26587 #ifdef HAVE_IEEEFP_H
26588 #include <ieeefp.h>
26589 #endif
26592 main ()
26594 _finitel(0);
26596 return 0;
26598 _ACEOF
26599 if ac_fn_cxx_try_compile "$LINENO"; then :
26600 glibcxx_cv_func__finitel_use=yes
26601 else
26602 glibcxx_cv_func__finitel_use=no
26604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26605 ac_ext=c
26606 ac_cpp='$CPP $CPPFLAGS'
26607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26616 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26618 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26619 for ac_func in _finitel
26620 do :
26621 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26622 if test "x$ac_cv_func__finitel" = x""yes; then :
26623 cat >>confdefs.h <<_ACEOF
26624 #define HAVE__FINITEL 1
26625 _ACEOF
26628 done
26636 LIBS="$ac_save_LIBS"
26637 CXXFLAGS="$ac_save_CXXFLAGS"
26640 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26641 ac_save_CXXFLAGS="$CXXFLAGS"
26642 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26646 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26647 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26648 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26649 $as_echo_n "(cached) " >&6
26650 else
26653 ac_ext=cpp
26654 ac_cpp='$CXXCPP $CPPFLAGS'
26655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26660 /* end confdefs.h. */
26661 #include <stdlib.h>
26663 main ()
26665 at_quick_exit(0);
26667 return 0;
26669 _ACEOF
26670 if ac_fn_cxx_try_compile "$LINENO"; then :
26671 glibcxx_cv_func_at_quick_exit_use=yes
26672 else
26673 glibcxx_cv_func_at_quick_exit_use=no
26675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26676 ac_ext=c
26677 ac_cpp='$CPP $CPPFLAGS'
26678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26687 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26688 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26689 for ac_func in at_quick_exit
26690 do :
26691 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26692 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26693 cat >>confdefs.h <<_ACEOF
26694 #define HAVE_AT_QUICK_EXIT 1
26695 _ACEOF
26698 done
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26704 $as_echo_n "checking for quick_exit declaration... " >&6; }
26705 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26706 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26707 $as_echo_n "(cached) " >&6
26708 else
26711 ac_ext=cpp
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26718 /* end confdefs.h. */
26719 #include <stdlib.h>
26721 main ()
26723 quick_exit(0);
26725 return 0;
26727 _ACEOF
26728 if ac_fn_cxx_try_compile "$LINENO"; then :
26729 glibcxx_cv_func_quick_exit_use=yes
26730 else
26731 glibcxx_cv_func_quick_exit_use=no
26733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26734 ac_ext=c
26735 ac_cpp='$CPP $CPPFLAGS'
26736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26745 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26746 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26747 for ac_func in quick_exit
26748 do :
26749 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26750 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26751 cat >>confdefs.h <<_ACEOF
26752 #define HAVE_QUICK_EXIT 1
26753 _ACEOF
26756 done
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26762 $as_echo_n "checking for strtold declaration... " >&6; }
26763 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26764 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26765 $as_echo_n "(cached) " >&6
26766 else
26769 ac_ext=cpp
26770 ac_cpp='$CXXCPP $CPPFLAGS'
26771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 /* end confdefs.h. */
26777 #include <stdlib.h>
26779 main ()
26781 strtold(0, 0);
26783 return 0;
26785 _ACEOF
26786 if ac_fn_cxx_try_compile "$LINENO"; then :
26787 glibcxx_cv_func_strtold_use=yes
26788 else
26789 glibcxx_cv_func_strtold_use=no
26791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26792 ac_ext=c
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26803 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26804 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26805 for ac_func in strtold
26806 do :
26807 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26808 if test "x$ac_cv_func_strtold" = x""yes; then :
26809 cat >>confdefs.h <<_ACEOF
26810 #define HAVE_STRTOLD 1
26811 _ACEOF
26814 done
26821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26822 $as_echo_n "checking for strtof declaration... " >&6; }
26823 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26824 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26825 $as_echo_n "(cached) " >&6
26826 else
26829 ac_ext=cpp
26830 ac_cpp='$CXXCPP $CPPFLAGS'
26831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26836 /* end confdefs.h. */
26837 #include <stdlib.h>
26839 main ()
26841 strtof(0, 0);
26843 return 0;
26845 _ACEOF
26846 if ac_fn_cxx_try_compile "$LINENO"; then :
26847 glibcxx_cv_func_strtof_use=yes
26848 else
26849 glibcxx_cv_func_strtof_use=no
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_ext=c
26853 ac_cpp='$CPP $CPPFLAGS'
26854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26863 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26864 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26865 for ac_func in strtof
26866 do :
26867 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26868 if test "x$ac_cv_func_strtof" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE_STRTOF 1
26871 _ACEOF
26874 done
26881 CXXFLAGS="$ac_save_CXXFLAGS"
26884 # For /dev/random and /dev/urandom for TR1.
26887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26888 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26889 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26890 $as_echo_n "(cached) " >&6
26891 else
26893 if test -r /dev/random && test -r /dev/urandom; then
26894 ## For MSys environment the test above is detect as false-positive
26895 ## on mingw-targets. So disable it explicit for them.
26896 case ${target_os} in
26897 *mingw*) glibcxx_cv_random_tr1=no ;;
26898 *) glibcxx_cv_random_tr1=yes ;;
26899 esac
26900 else
26901 glibcxx_cv_random_tr1=no;
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26907 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26909 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26911 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26917 # For TLS support.
26920 # Check whether --enable-tls was given.
26921 if test "${enable_tls+set}" = set; then :
26922 enableval=$enable_tls;
26923 case "$enableval" in
26924 yes|no) ;;
26925 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26926 esac
26928 else
26929 enable_tls=yes
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26934 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26935 if test "${gcc_cv_have_tls+set}" = set; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26939 if test "$cross_compiling" = yes; then :
26940 if test x$gcc_no_link = xyes; then
26941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26944 /* end confdefs.h. */
26945 __thread int a; int b; int main() { return a = b; }
26946 _ACEOF
26947 if ac_fn_c_try_link "$LINENO"; then :
26948 chktls_save_LDFLAGS="$LDFLAGS"
26949 case $host in
26950 *-*-linux*)
26951 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26953 esac
26954 chktls_save_CFLAGS="$CFLAGS"
26955 CFLAGS="-fPIC $CFLAGS"
26956 if test x$gcc_no_link = xyes; then
26957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961 int f() { return 0; }
26962 _ACEOF
26963 if ac_fn_c_try_link "$LINENO"; then :
26964 if test x$gcc_no_link = xyes; then
26965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26968 /* end confdefs.h. */
26969 __thread int a; int b; int f() { return a = b; }
26970 _ACEOF
26971 if ac_fn_c_try_link "$LINENO"; then :
26972 gcc_cv_have_tls=yes
26973 else
26974 gcc_cv_have_tls=no
26976 rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978 else
26979 gcc_cv_have_tls=yes
26981 rm -f core conftest.err conftest.$ac_objext \
26982 conftest$ac_exeext conftest.$ac_ext
26983 CFLAGS="$chktls_save_CFLAGS"
26984 LDFLAGS="$chktls_save_LDFLAGS"
26985 else
26986 gcc_cv_have_tls=no
26988 rm -f core conftest.err conftest.$ac_objext \
26989 conftest$ac_exeext conftest.$ac_ext
26992 else
26993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26994 /* end confdefs.h. */
26995 __thread int a; int b; int main() { return a = b; }
26996 _ACEOF
26997 if ac_fn_c_try_run "$LINENO"; then :
26998 chktls_save_LDFLAGS="$LDFLAGS"
26999 LDFLAGS="-static $LDFLAGS"
27000 if test x$gcc_no_link = xyes; then
27001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27004 /* end confdefs.h. */
27005 int main() { return 0; }
27006 _ACEOF
27007 if ac_fn_c_try_link "$LINENO"; then :
27008 if test "$cross_compiling" = yes; then :
27009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27011 as_fn_error "cannot run test program while cross compiling
27012 See \`config.log' for more details." "$LINENO" 5; }
27013 else
27014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27015 /* end confdefs.h. */
27016 __thread int a; int b; int main() { return a = b; }
27017 _ACEOF
27018 if ac_fn_c_try_run "$LINENO"; then :
27019 gcc_cv_have_tls=yes
27020 else
27021 gcc_cv_have_tls=no
27023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27024 conftest.$ac_objext conftest.beam conftest.$ac_ext
27027 else
27028 gcc_cv_have_tls=yes
27030 rm -f core conftest.err conftest.$ac_objext \
27031 conftest$ac_exeext conftest.$ac_ext
27032 LDFLAGS="$chktls_save_LDFLAGS"
27033 if test $gcc_cv_have_tls = yes; then
27034 chktls_save_CFLAGS="$CFLAGS"
27035 thread_CFLAGS=failed
27036 for flag in '' '-pthread' '-lpthread'; do
27037 CFLAGS="$flag $chktls_save_CFLAGS"
27038 if test x$gcc_no_link = xyes; then
27039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27042 /* end confdefs.h. */
27043 #include <pthread.h>
27044 void *g(void *d) { return NULL; }
27046 main ()
27048 pthread_t t; pthread_create(&t,NULL,g,NULL);
27050 return 0;
27052 _ACEOF
27053 if ac_fn_c_try_link "$LINENO"; then :
27054 thread_CFLAGS="$flag"
27056 rm -f core conftest.err conftest.$ac_objext \
27057 conftest$ac_exeext conftest.$ac_ext
27058 if test "X$thread_CFLAGS" != Xfailed; then
27059 break
27061 done
27062 CFLAGS="$chktls_save_CFLAGS"
27063 if test "X$thread_CFLAGS" != Xfailed; then
27064 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27065 if test "$cross_compiling" = yes; then :
27066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27068 as_fn_error "cannot run test program while cross compiling
27069 See \`config.log' for more details." "$LINENO" 5; }
27070 else
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <pthread.h>
27074 __thread int a;
27075 static int *volatile a_in_other_thread;
27076 static void *
27077 thread_func (void *arg)
27079 a_in_other_thread = &a;
27080 return (void *)0;
27083 main ()
27085 pthread_t thread;
27086 void *thread_retval;
27087 int *volatile a_in_main_thread;
27088 a_in_main_thread = &a;
27089 if (pthread_create (&thread, (pthread_attr_t *)0,
27090 thread_func, (void *)0))
27091 return 0;
27092 if (pthread_join (thread, &thread_retval))
27093 return 0;
27094 return (a_in_other_thread == a_in_main_thread);
27096 return 0;
27098 _ACEOF
27099 if ac_fn_c_try_run "$LINENO"; then :
27100 gcc_cv_have_tls=yes
27101 else
27102 gcc_cv_have_tls=no
27104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27105 conftest.$ac_objext conftest.beam conftest.$ac_ext
27108 CFLAGS="$chktls_save_CFLAGS"
27111 else
27112 gcc_cv_have_tls=no
27114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27115 conftest.$ac_objext conftest.beam conftest.$ac_ext
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27120 $as_echo "$gcc_cv_have_tls" >&6; }
27121 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27123 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27127 for ac_func in __cxa_thread_atexit_impl
27128 do :
27129 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27130 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27131 cat >>confdefs.h <<_ACEOF
27132 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27133 _ACEOF
27136 done
27139 # For iconv support.
27141 if test "X$prefix" = "XNONE"; then
27142 acl_final_prefix="$ac_default_prefix"
27143 else
27144 acl_final_prefix="$prefix"
27146 if test "X$exec_prefix" = "XNONE"; then
27147 acl_final_exec_prefix='${prefix}'
27148 else
27149 acl_final_exec_prefix="$exec_prefix"
27151 acl_save_prefix="$prefix"
27152 prefix="$acl_final_prefix"
27153 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27154 prefix="$acl_save_prefix"
27157 # Check whether --with-gnu-ld was given.
27158 if test "${with_gnu_ld+set}" = set; then :
27159 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27160 else
27161 with_gnu_ld=no
27164 # Prepare PATH_SEPARATOR.
27165 # The user is always right.
27166 if test "${PATH_SEPARATOR+set}" != set; then
27167 echo "#! /bin/sh" >conf$$.sh
27168 echo "exit 0" >>conf$$.sh
27169 chmod +x conf$$.sh
27170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27171 PATH_SEPARATOR=';'
27172 else
27173 PATH_SEPARATOR=:
27175 rm -f conf$$.sh
27177 ac_prog=ld
27178 if test "$GCC" = yes; then
27179 # Check if gcc -print-prog-name=ld gives a path.
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27181 $as_echo_n "checking for ld used by GCC... " >&6; }
27182 case $host in
27183 *-*-mingw*)
27184 # gcc leaves a trailing carriage return which upsets mingw
27185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27188 esac
27189 case $ac_prog in
27190 # Accept absolute paths.
27191 [\\/]* | [A-Za-z]:[\\/]*)
27192 re_direlt='/[^/][^/]*/\.\./'
27193 # Canonicalize the path of ld
27194 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27195 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27196 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27197 done
27198 test -z "$LD" && LD="$ac_prog"
27201 # If it fails, then pretend we aren't using GCC.
27202 ac_prog=ld
27205 # If it is relative, then search for the first ld in PATH.
27206 with_gnu_ld=unknown
27208 esac
27209 elif test "$with_gnu_ld" = yes; then
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27211 $as_echo_n "checking for GNU ld... " >&6; }
27212 else
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27214 $as_echo_n "checking for non-GNU ld... " >&6; }
27216 if test "${acl_cv_path_LD+set}" = set; then :
27217 $as_echo_n "(cached) " >&6
27218 else
27219 if test -z "$LD"; then
27220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27221 for ac_dir in $PATH; do
27222 test -z "$ac_dir" && ac_dir=.
27223 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27224 acl_cv_path_LD="$ac_dir/$ac_prog"
27225 # Check to see if the program is GNU ld. I'd rather use --version,
27226 # but apparently some GNU ld's only accept -v.
27227 # Break only if it was the GNU/non-GNU ld that we prefer.
27228 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27229 test "$with_gnu_ld" != no && break
27230 else
27231 test "$with_gnu_ld" != yes && break
27234 done
27235 IFS="$ac_save_ifs"
27236 else
27237 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27241 LD="$acl_cv_path_LD"
27242 if test -n "$LD"; then
27243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27244 $as_echo "$LD" >&6; }
27245 else
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27247 $as_echo "no" >&6; }
27249 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27252 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27253 $as_echo_n "(cached) " >&6
27254 else
27255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27256 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27257 acl_cv_prog_gnu_ld=yes
27258 else
27259 acl_cv_prog_gnu_ld=no
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27263 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27264 with_gnu_ld=$acl_cv_prog_gnu_ld
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27269 $as_echo_n "checking for shared library run path origin... " >&6; }
27270 if test "${acl_cv_rpath+set}" = set; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27274 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27275 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27276 . ./conftest.sh
27277 rm -f ./conftest.sh
27278 acl_cv_rpath=done
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27282 $as_echo "$acl_cv_rpath" >&6; }
27283 wl="$acl_cv_wl"
27284 libext="$acl_cv_libext"
27285 shlibext="$acl_cv_shlibext"
27286 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27287 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27288 hardcode_direct="$acl_cv_hardcode_direct"
27289 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27290 # Check whether --enable-rpath was given.
27291 if test "${enable_rpath+set}" = set; then :
27292 enableval=$enable_rpath; :
27293 else
27294 enable_rpath=yes
27304 use_additional=yes
27306 acl_save_prefix="$prefix"
27307 prefix="$acl_final_prefix"
27308 acl_save_exec_prefix="$exec_prefix"
27309 exec_prefix="$acl_final_exec_prefix"
27311 eval additional_includedir=\"$includedir\"
27312 eval additional_libdir=\"$libdir\"
27314 exec_prefix="$acl_save_exec_prefix"
27315 prefix="$acl_save_prefix"
27318 # Check whether --with-libiconv-prefix was given.
27319 if test "${with_libiconv_prefix+set}" = set; then :
27320 withval=$with_libiconv_prefix;
27321 if test "X$withval" = "Xno"; then
27322 use_additional=no
27323 else
27324 if test "X$withval" = "X"; then
27326 acl_save_prefix="$prefix"
27327 prefix="$acl_final_prefix"
27328 acl_save_exec_prefix="$exec_prefix"
27329 exec_prefix="$acl_final_exec_prefix"
27331 eval additional_includedir=\"$includedir\"
27332 eval additional_libdir=\"$libdir\"
27334 exec_prefix="$acl_save_exec_prefix"
27335 prefix="$acl_save_prefix"
27337 else
27338 additional_includedir="$withval/include"
27339 additional_libdir="$withval/lib"
27345 LIBICONV=
27346 LTLIBICONV=
27347 INCICONV=
27348 rpathdirs=
27349 ltrpathdirs=
27350 names_already_handled=
27351 names_next_round='iconv '
27352 while test -n "$names_next_round"; do
27353 names_this_round="$names_next_round"
27354 names_next_round=
27355 for name in $names_this_round; do
27356 already_handled=
27357 for n in $names_already_handled; do
27358 if test "$n" = "$name"; then
27359 already_handled=yes
27360 break
27362 done
27363 if test -z "$already_handled"; then
27364 names_already_handled="$names_already_handled $name"
27365 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27366 eval value=\"\$HAVE_LIB$uppername\"
27367 if test -n "$value"; then
27368 if test "$value" = yes; then
27369 eval value=\"\$LIB$uppername\"
27370 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27371 eval value=\"\$LTLIB$uppername\"
27372 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27373 else
27376 else
27377 found_dir=
27378 found_la=
27379 found_so=
27380 found_a=
27381 if test $use_additional = yes; then
27382 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27383 found_dir="$additional_libdir"
27384 found_so="$additional_libdir/lib$name.$shlibext"
27385 if test -f "$additional_libdir/lib$name.la"; then
27386 found_la="$additional_libdir/lib$name.la"
27388 else
27389 if test -f "$additional_libdir/lib$name.$libext"; then
27390 found_dir="$additional_libdir"
27391 found_a="$additional_libdir/lib$name.$libext"
27392 if test -f "$additional_libdir/lib$name.la"; then
27393 found_la="$additional_libdir/lib$name.la"
27398 if test "X$found_dir" = "X"; then
27399 for x in $LDFLAGS $LTLIBICONV; do
27401 acl_save_prefix="$prefix"
27402 prefix="$acl_final_prefix"
27403 acl_save_exec_prefix="$exec_prefix"
27404 exec_prefix="$acl_final_exec_prefix"
27405 eval x=\"$x\"
27406 exec_prefix="$acl_save_exec_prefix"
27407 prefix="$acl_save_prefix"
27409 case "$x" in
27410 -L*)
27411 dir=`echo "X$x" | sed -e 's/^X-L//'`
27412 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27413 found_dir="$dir"
27414 found_so="$dir/lib$name.$shlibext"
27415 if test -f "$dir/lib$name.la"; then
27416 found_la="$dir/lib$name.la"
27418 else
27419 if test -f "$dir/lib$name.$libext"; then
27420 found_dir="$dir"
27421 found_a="$dir/lib$name.$libext"
27422 if test -f "$dir/lib$name.la"; then
27423 found_la="$dir/lib$name.la"
27428 esac
27429 if test "X$found_dir" != "X"; then
27430 break
27432 done
27434 if test "X$found_dir" != "X"; then
27435 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27436 if test "X$found_so" != "X"; then
27437 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27438 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27439 else
27440 haveit=
27441 for x in $ltrpathdirs; do
27442 if test "X$x" = "X$found_dir"; then
27443 haveit=yes
27444 break
27446 done
27447 if test -z "$haveit"; then
27448 ltrpathdirs="$ltrpathdirs $found_dir"
27450 if test "$hardcode_direct" = yes; then
27451 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27452 else
27453 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27454 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27455 haveit=
27456 for x in $rpathdirs; do
27457 if test "X$x" = "X$found_dir"; then
27458 haveit=yes
27459 break
27461 done
27462 if test -z "$haveit"; then
27463 rpathdirs="$rpathdirs $found_dir"
27465 else
27466 haveit=
27467 for x in $LDFLAGS $LIBICONV; do
27469 acl_save_prefix="$prefix"
27470 prefix="$acl_final_prefix"
27471 acl_save_exec_prefix="$exec_prefix"
27472 exec_prefix="$acl_final_exec_prefix"
27473 eval x=\"$x\"
27474 exec_prefix="$acl_save_exec_prefix"
27475 prefix="$acl_save_prefix"
27477 if test "X$x" = "X-L$found_dir"; then
27478 haveit=yes
27479 break
27481 done
27482 if test -z "$haveit"; then
27483 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27485 if test "$hardcode_minus_L" != no; then
27486 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27487 else
27488 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27493 else
27494 if test "X$found_a" != "X"; then
27495 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27496 else
27497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27500 additional_includedir=
27501 case "$found_dir" in
27502 */lib | */lib/)
27503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27504 additional_includedir="$basedir/include"
27506 esac
27507 if test "X$additional_includedir" != "X"; then
27508 if test "X$additional_includedir" != "X/usr/include"; then
27509 haveit=
27510 if test "X$additional_includedir" = "X/usr/local/include"; then
27511 if test -n "$GCC"; then
27512 case $host_os in
27513 linux*) haveit=yes;;
27514 esac
27517 if test -z "$haveit"; then
27518 for x in $CPPFLAGS $INCICONV; do
27520 acl_save_prefix="$prefix"
27521 prefix="$acl_final_prefix"
27522 acl_save_exec_prefix="$exec_prefix"
27523 exec_prefix="$acl_final_exec_prefix"
27524 eval x=\"$x\"
27525 exec_prefix="$acl_save_exec_prefix"
27526 prefix="$acl_save_prefix"
27528 if test "X$x" = "X-I$additional_includedir"; then
27529 haveit=yes
27530 break
27532 done
27533 if test -z "$haveit"; then
27534 if test -d "$additional_includedir"; then
27535 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27541 if test -n "$found_la"; then
27542 save_libdir="$libdir"
27543 case "$found_la" in
27544 */* | *\\*) . "$found_la" ;;
27545 *) . "./$found_la" ;;
27546 esac
27547 libdir="$save_libdir"
27548 for dep in $dependency_libs; do
27549 case "$dep" in
27550 -L*)
27551 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27552 if test "X$additional_libdir" != "X/usr/lib"; then
27553 haveit=
27554 if test "X$additional_libdir" = "X/usr/local/lib"; then
27555 if test -n "$GCC"; then
27556 case $host_os in
27557 linux*) haveit=yes;;
27558 esac
27561 if test -z "$haveit"; then
27562 haveit=
27563 for x in $LDFLAGS $LIBICONV; do
27565 acl_save_prefix="$prefix"
27566 prefix="$acl_final_prefix"
27567 acl_save_exec_prefix="$exec_prefix"
27568 exec_prefix="$acl_final_exec_prefix"
27569 eval x=\"$x\"
27570 exec_prefix="$acl_save_exec_prefix"
27571 prefix="$acl_save_prefix"
27573 if test "X$x" = "X-L$additional_libdir"; then
27574 haveit=yes
27575 break
27577 done
27578 if test -z "$haveit"; then
27579 if test -d "$additional_libdir"; then
27580 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27583 haveit=
27584 for x in $LDFLAGS $LTLIBICONV; do
27586 acl_save_prefix="$prefix"
27587 prefix="$acl_final_prefix"
27588 acl_save_exec_prefix="$exec_prefix"
27589 exec_prefix="$acl_final_exec_prefix"
27590 eval x=\"$x\"
27591 exec_prefix="$acl_save_exec_prefix"
27592 prefix="$acl_save_prefix"
27594 if test "X$x" = "X-L$additional_libdir"; then
27595 haveit=yes
27596 break
27598 done
27599 if test -z "$haveit"; then
27600 if test -d "$additional_libdir"; then
27601 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27607 -R*)
27608 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27609 if test "$enable_rpath" != no; then
27610 haveit=
27611 for x in $rpathdirs; do
27612 if test "X$x" = "X$dir"; then
27613 haveit=yes
27614 break
27616 done
27617 if test -z "$haveit"; then
27618 rpathdirs="$rpathdirs $dir"
27620 haveit=
27621 for x in $ltrpathdirs; do
27622 if test "X$x" = "X$dir"; then
27623 haveit=yes
27624 break
27626 done
27627 if test -z "$haveit"; then
27628 ltrpathdirs="$ltrpathdirs $dir"
27632 -l*)
27633 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27635 *.la)
27636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27639 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27640 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27642 esac
27643 done
27645 else
27646 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27647 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27651 done
27652 done
27653 if test "X$rpathdirs" != "X"; then
27654 if test -n "$hardcode_libdir_separator"; then
27655 alldirs=
27656 for found_dir in $rpathdirs; do
27657 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27658 done
27659 acl_save_libdir="$libdir"
27660 libdir="$alldirs"
27661 eval flag=\"$hardcode_libdir_flag_spec\"
27662 libdir="$acl_save_libdir"
27663 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27664 else
27665 for found_dir in $rpathdirs; do
27666 acl_save_libdir="$libdir"
27667 libdir="$found_dir"
27668 eval flag=\"$hardcode_libdir_flag_spec\"
27669 libdir="$acl_save_libdir"
27670 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27671 done
27674 if test "X$ltrpathdirs" != "X"; then
27675 for found_dir in $ltrpathdirs; do
27676 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27677 done
27686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27687 $as_echo_n "checking for iconv... " >&6; }
27688 if test "${am_cv_func_iconv+set}" = set; then :
27689 $as_echo_n "(cached) " >&6
27690 else
27692 am_cv_func_iconv="no, consider installing GNU libiconv"
27693 am_cv_lib_iconv=no
27694 am_save_CPPFLAGS="$CPPFLAGS"
27695 CPPFLAGS="$CPPFLAGS $INCICONV"
27696 if test x$gcc_no_link = xyes; then
27697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27701 #include <stdlib.h>
27702 #include <iconv.h>
27704 main ()
27706 iconv_t cd = iconv_open("","");
27707 iconv(cd,NULL,NULL,NULL,NULL);
27708 iconv_close(cd);
27710 return 0;
27712 _ACEOF
27713 if ac_fn_c_try_link "$LINENO"; then :
27714 am_cv_func_iconv=yes
27716 rm -f core conftest.err conftest.$ac_objext \
27717 conftest$ac_exeext conftest.$ac_ext
27718 CPPFLAGS="$am_save_CPPFLAGS"
27720 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
27721 for _libs in .libs _libs; do
27722 am_save_CPPFLAGS="$CPPFLAGS"
27723 am_save_LIBS="$LIBS"
27724 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
27725 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
27726 if test x$gcc_no_link = xyes; then
27727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h. */
27731 #include <stdlib.h>
27732 #include <iconv.h>
27734 main ()
27736 iconv_t cd = iconv_open("","");
27737 iconv(cd,NULL,NULL,NULL,NULL);
27738 iconv_close(cd);
27740 return 0;
27742 _ACEOF
27743 if ac_fn_c_try_link "$LINENO"; then :
27744 INCICONV="-I../libiconv/include"
27745 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
27746 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
27747 am_cv_lib_iconv=yes
27748 am_cv_func_iconv=yes
27750 rm -f core conftest.err conftest.$ac_objext \
27751 conftest$ac_exeext conftest.$ac_ext
27752 CPPFLAGS="$am_save_CPPFLAGS"
27753 LIBS="$am_save_LIBS"
27754 if test "$am_cv_func_iconv" = "yes"; then
27755 break
27757 done
27760 if test "$am_cv_func_iconv" != yes; then
27761 am_save_CPPFLAGS="$CPPFLAGS"
27762 am_save_LIBS="$LIBS"
27763 CPPFLAGS="$LIBS $INCICONV"
27764 LIBS="$LIBS $LIBICONV"
27765 if test x$gcc_no_link = xyes; then
27766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27769 /* end confdefs.h. */
27770 #include <stdlib.h>
27771 #include <iconv.h>
27773 main ()
27775 iconv_t cd = iconv_open("","");
27776 iconv(cd,NULL,NULL,NULL,NULL);
27777 iconv_close(cd);
27779 return 0;
27781 _ACEOF
27782 if ac_fn_c_try_link "$LINENO"; then :
27783 am_cv_lib_iconv=yes
27784 am_cv_func_iconv=yes
27786 rm -f core conftest.err conftest.$ac_objext \
27787 conftest$ac_exeext conftest.$ac_ext
27788 CPPFLAGS="$am_save_CPPFLAGS"
27789 LIBS="$am_save_LIBS"
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27794 $as_echo "$am_cv_func_iconv" >&6; }
27795 if test "$am_cv_func_iconv" = yes; then
27797 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27800 if test "$am_cv_lib_iconv" = yes; then
27802 for element in $INCICONV; do
27803 haveit=
27804 for x in $CPPFLAGS; do
27806 acl_save_prefix="$prefix"
27807 prefix="$acl_final_prefix"
27808 acl_save_exec_prefix="$exec_prefix"
27809 exec_prefix="$acl_final_exec_prefix"
27810 eval x=\"$x\"
27811 exec_prefix="$acl_save_exec_prefix"
27812 prefix="$acl_save_prefix"
27814 if test "X$x" = "X$element"; then
27815 haveit=yes
27816 break
27818 done
27819 if test -z "$haveit"; then
27820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27822 done
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27825 $as_echo_n "checking how to link with libiconv... " >&6; }
27826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27827 $as_echo "$LIBICONV" >&6; }
27828 else
27829 LIBICONV=
27830 LTLIBICONV=
27835 if test "$am_cv_func_iconv" = yes; then
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27837 $as_echo_n "checking for iconv declaration... " >&6; }
27838 if test "${am_cv_proto_iconv+set}" = set; then :
27839 $as_echo_n "(cached) " >&6
27840 else
27842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27843 /* end confdefs.h. */
27845 #include <stdlib.h>
27846 #include <iconv.h>
27847 extern
27848 #ifdef __cplusplus
27850 #endif
27851 #if defined(__STDC__) || defined(__cplusplus)
27852 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27853 #else
27854 size_t iconv();
27855 #endif
27858 main ()
27862 return 0;
27864 _ACEOF
27865 if ac_fn_c_try_compile "$LINENO"; then :
27866 am_cv_proto_iconv_arg1=""
27867 else
27868 am_cv_proto_iconv_arg1="const"
27870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27871 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);"
27874 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27876 }$am_cv_proto_iconv" >&5
27877 $as_echo "${ac_t:-
27878 }$am_cv_proto_iconv" >&6; }
27880 cat >>confdefs.h <<_ACEOF
27881 #define ICONV_CONST $am_cv_proto_iconv_arg1
27882 _ACEOF
27887 else
27889 # This lets us hard-code the functionality we know we'll have in the cross
27890 # target environment. "Let" is a sugar-coated word placed on an especially
27891 # dull and tedious hack, actually.
27893 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27894 # that involve linking, can't be used:
27895 # "cannot open sim-crt0.o"
27896 # "cannot open crt0.o"
27897 # etc. All this is because there currently exists no unified, consistent
27898 # way for top level CC information to be passed down to target directories:
27899 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27900 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27901 # crosses can be removed.
27903 # If Canadian cross, then don't pick up tools from the build directory.
27904 # Used only in GLIBCXX_EXPORT_INCLUDES.
27905 if test -n "$with_cross_host" &&
27906 test x"$build_alias" != x"$with_cross_host" &&
27907 test x"$build" != x"$target";
27908 then
27909 CANADIAN=yes
27910 else
27911 CANADIAN=no
27914 # Construct crosses by hand, eliminating bits that need ld...
27915 # GLIBCXX_CHECK_MATH_SUPPORT
27917 # First, test for "known" system libraries. We may be using newlib even
27918 # on a hosted environment.
27919 if test "x${with_newlib}" = "xyes"; then
27920 os_include_dir="os/newlib"
27921 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27924 # GLIBCXX_CHECK_STDLIB_SUPPORT
27925 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27928 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27930 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27932 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27934 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27936 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27938 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27940 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27942 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27944 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27946 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27948 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27950 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27952 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27954 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27956 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27958 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27960 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27962 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27964 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27966 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27968 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27970 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27973 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27975 else
27977 # Base decisions on target environment.
27978 case "${host}" in
27979 arm*-*-symbianelf*)
27980 # This is a freestanding configuration; there is nothing to do here.
27983 mips*-sde-elf*)
27984 # These definitions are for the SDE C library rather than newlib.
27985 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27988 # All these tests are for C++; save the language and the compiler flags.
27989 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27990 # found in GLIBCXX_CONFIGURE.
27992 ac_ext=cpp
27993 ac_cpp='$CXXCPP $CPPFLAGS'
27994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27998 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27999 ac_save_CXXFLAGS="$CXXFLAGS"
28001 # Check for maintainer-mode bits.
28002 if test x"$USE_MAINTAINER_MODE" = xno; then
28003 WERROR=''
28004 else
28005 WERROR='-Werror'
28008 # Check for -ffunction-sections -fdata-sections
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28010 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28011 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 int foo; void bar() { };
28016 main ()
28020 return 0;
28022 _ACEOF
28023 if ac_fn_cxx_try_compile "$LINENO"; then :
28024 ac_fdsections=yes
28025 else
28026 ac_fdsections=no
28028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28029 if test "$ac_test_CXXFLAGS" = set; then
28030 CXXFLAGS="$ac_save_CXXFLAGS"
28031 else
28032 # this is the suspicious part
28033 CXXFLAGS=''
28035 if test x"$ac_fdsections" = x"yes"; then
28036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28039 $as_echo "$ac_fdsections" >&6; }
28041 ac_ext=c
28042 ac_cpp='$CPP $CPPFLAGS'
28043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28051 # If we're not using GNU ld, then there's no point in even trying these
28052 # tests. Check for that first. We should have already tested for gld
28053 # by now (in libtool), but require it now just to be safe...
28054 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28055 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28059 # The name set by libtool depends on the version of libtool. Shame on us
28060 # for depending on an impl detail, but c'est la vie. Older versions used
28061 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28062 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28063 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28064 # set (hence we're using an older libtool), then set it.
28065 if test x${with_gnu_ld+set} != xset; then
28066 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28067 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28068 with_gnu_ld=no
28069 else
28070 with_gnu_ld=$ac_cv_prog_gnu_ld
28074 # Start by getting the version number. I think the libtool test already
28075 # does some of this, but throws away the result.
28076 glibcxx_ld_is_gold=no
28077 if test x"$with_gnu_ld" = x"yes"; then
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28079 $as_echo_n "checking for ld version... " >&6; }
28081 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28082 glibcxx_ld_is_gold=yes
28084 ldver=`$LD --version 2>/dev/null |
28085 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'`
28087 glibcxx_gnu_ld_version=`echo $ldver | \
28088 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28090 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28093 # Set --gc-sections.
28094 glibcxx_have_gc_sections=no
28095 if test "$glibcxx_ld_is_gold" = "yes"; then
28096 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28097 glibcxx_have_gc_sections=yes
28099 else
28100 glibcxx_gcsections_min_ld=21602
28101 if test x"$with_gnu_ld" = x"yes" &&
28102 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28103 glibcxx_have_gc_sections=yes
28106 if test "$glibcxx_have_gc_sections" = "yes"; then
28107 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28108 # NB: This flag only works reliably after 2.16.1. Configure tests
28109 # for this are difficult, so hard wire a value that should work.
28111 ac_test_CFLAGS="${CFLAGS+set}"
28112 ac_save_CFLAGS="$CFLAGS"
28113 CFLAGS='-Wl,--gc-sections'
28115 # Check for -Wl,--gc-sections
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28117 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28118 if test x$gcc_no_link = xyes; then
28119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28122 /* end confdefs.h. */
28123 int one(void) { return 1; }
28124 int two(void) { return 2; }
28127 main ()
28129 two();
28131 return 0;
28133 _ACEOF
28134 if ac_fn_c_try_link "$LINENO"; then :
28135 ac_gcsections=yes
28136 else
28137 ac_gcsections=no
28139 rm -f core conftest.err conftest.$ac_objext \
28140 conftest$ac_exeext conftest.$ac_ext
28141 if test "$ac_gcsections" = "yes"; then
28142 rm -f conftest.c
28143 touch conftest.c
28144 if $CC -c conftest.c; then
28145 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28146 grep "Warning: gc-sections option ignored" > /dev/null; then
28147 ac_gcsections=no
28150 rm -f conftest.c conftest.o conftest
28152 if test "$ac_gcsections" = "yes"; then
28153 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28156 $as_echo "$ac_gcsections" >&6; }
28158 if test "$ac_test_CFLAGS" = set; then
28159 CFLAGS="$ac_save_CFLAGS"
28160 else
28161 # this is the suspicious part
28162 CFLAGS=''
28166 # Set -z,relro.
28167 # Note this is only for shared objects.
28168 ac_ld_relro=no
28169 if test x"$with_gnu_ld" = x"yes"; then
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28171 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28172 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28173 if test -n "$cxx_z_relo"; then
28174 OPT_LDFLAGS="-Wl,-z,relro"
28175 ac_ld_relro=yes
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28178 $as_echo "$ac_ld_relro" >&6; }
28181 # Set linker optimization flags.
28182 if test x"$with_gnu_ld" = x"yes"; then
28183 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28190 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28191 ac_save_CXXFLAGS="$CXXFLAGS"
28192 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28195 $as_echo_n "checking for sin in -lm... " >&6; }
28196 if test "${ac_cv_lib_m_sin+set}" = set; then :
28197 $as_echo_n "(cached) " >&6
28198 else
28199 ac_check_lib_save_LIBS=$LIBS
28200 LIBS="-lm $LIBS"
28201 if test x$gcc_no_link = xyes; then
28202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28205 /* end confdefs.h. */
28207 /* Override any GCC internal prototype to avoid an error.
28208 Use char because int might match the return type of a GCC
28209 builtin and then its argument prototype would still apply. */
28210 #ifdef __cplusplus
28211 extern "C"
28212 #endif
28213 char sin ();
28215 main ()
28217 return sin ();
28219 return 0;
28221 _ACEOF
28222 if ac_fn_c_try_link "$LINENO"; then :
28223 ac_cv_lib_m_sin=yes
28224 else
28225 ac_cv_lib_m_sin=no
28227 rm -f core conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28229 LIBS=$ac_check_lib_save_LIBS
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28232 $as_echo "$ac_cv_lib_m_sin" >&6; }
28233 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28234 libm="-lm"
28237 ac_save_LIBS="$LIBS"
28238 LIBS="$LIBS $libm"
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28243 $as_echo_n "checking for isinf declaration... " >&6; }
28244 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28245 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28246 $as_echo_n "(cached) " >&6
28247 else
28250 ac_ext=cpp
28251 ac_cpp='$CXXCPP $CPPFLAGS'
28252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28257 /* end confdefs.h. */
28258 #include <math.h>
28259 #ifdef HAVE_IEEEFP_H
28260 #include <ieeefp.h>
28261 #endif
28264 main ()
28266 isinf(0);
28268 return 0;
28270 _ACEOF
28271 if ac_fn_cxx_try_compile "$LINENO"; then :
28272 glibcxx_cv_func_isinf_use=yes
28273 else
28274 glibcxx_cv_func_isinf_use=no
28276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28277 ac_ext=c
28278 ac_cpp='$CPP $CPPFLAGS'
28279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28288 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28290 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28291 for ac_func in isinf
28292 do :
28293 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28294 if test "x$ac_cv_func_isinf" = x""yes; then :
28295 cat >>confdefs.h <<_ACEOF
28296 #define HAVE_ISINF 1
28297 _ACEOF
28300 done
28302 else
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28305 $as_echo_n "checking for _isinf declaration... " >&6; }
28306 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28307 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28308 $as_echo_n "(cached) " >&6
28309 else
28312 ac_ext=cpp
28313 ac_cpp='$CXXCPP $CPPFLAGS'
28314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28319 /* end confdefs.h. */
28320 #include <math.h>
28321 #ifdef HAVE_IEEEFP_H
28322 #include <ieeefp.h>
28323 #endif
28326 main ()
28328 _isinf(0);
28330 return 0;
28332 _ACEOF
28333 if ac_fn_cxx_try_compile "$LINENO"; then :
28334 glibcxx_cv_func__isinf_use=yes
28335 else
28336 glibcxx_cv_func__isinf_use=no
28338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28339 ac_ext=c
28340 ac_cpp='$CPP $CPPFLAGS'
28341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28350 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28352 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28353 for ac_func in _isinf
28354 do :
28355 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28356 if test "x$ac_cv_func__isinf" = x""yes; then :
28357 cat >>confdefs.h <<_ACEOF
28358 #define HAVE__ISINF 1
28359 _ACEOF
28362 done
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28372 $as_echo_n "checking for isnan declaration... " >&6; }
28373 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28374 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28375 $as_echo_n "(cached) " >&6
28376 else
28379 ac_ext=cpp
28380 ac_cpp='$CXXCPP $CPPFLAGS'
28381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h. */
28387 #include <math.h>
28388 #ifdef HAVE_IEEEFP_H
28389 #include <ieeefp.h>
28390 #endif
28393 main ()
28395 isnan(0);
28397 return 0;
28399 _ACEOF
28400 if ac_fn_cxx_try_compile "$LINENO"; then :
28401 glibcxx_cv_func_isnan_use=yes
28402 else
28403 glibcxx_cv_func_isnan_use=no
28405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28406 ac_ext=c
28407 ac_cpp='$CPP $CPPFLAGS'
28408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28417 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28419 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28420 for ac_func in isnan
28421 do :
28422 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28423 if test "x$ac_cv_func_isnan" = x""yes; then :
28424 cat >>confdefs.h <<_ACEOF
28425 #define HAVE_ISNAN 1
28426 _ACEOF
28429 done
28431 else
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28434 $as_echo_n "checking for _isnan declaration... " >&6; }
28435 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28436 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28437 $as_echo_n "(cached) " >&6
28438 else
28441 ac_ext=cpp
28442 ac_cpp='$CXXCPP $CPPFLAGS'
28443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28448 /* end confdefs.h. */
28449 #include <math.h>
28450 #ifdef HAVE_IEEEFP_H
28451 #include <ieeefp.h>
28452 #endif
28455 main ()
28457 _isnan(0);
28459 return 0;
28461 _ACEOF
28462 if ac_fn_cxx_try_compile "$LINENO"; then :
28463 glibcxx_cv_func__isnan_use=yes
28464 else
28465 glibcxx_cv_func__isnan_use=no
28467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28468 ac_ext=c
28469 ac_cpp='$CPP $CPPFLAGS'
28470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28479 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28481 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28482 for ac_func in _isnan
28483 do :
28484 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28485 if test "x$ac_cv_func__isnan" = x""yes; then :
28486 cat >>confdefs.h <<_ACEOF
28487 #define HAVE__ISNAN 1
28488 _ACEOF
28491 done
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28501 $as_echo_n "checking for finite declaration... " >&6; }
28502 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28503 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28504 $as_echo_n "(cached) " >&6
28505 else
28508 ac_ext=cpp
28509 ac_cpp='$CXXCPP $CPPFLAGS'
28510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28515 /* end confdefs.h. */
28516 #include <math.h>
28517 #ifdef HAVE_IEEEFP_H
28518 #include <ieeefp.h>
28519 #endif
28522 main ()
28524 finite(0);
28526 return 0;
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func_finite_use=yes
28531 else
28532 glibcxx_cv_func_finite_use=no
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28546 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28548 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28549 for ac_func in finite
28550 do :
28551 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28552 if test "x$ac_cv_func_finite" = x""yes; then :
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_FINITE 1
28555 _ACEOF
28558 done
28560 else
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28563 $as_echo_n "checking for _finite declaration... " >&6; }
28564 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28565 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28566 $as_echo_n "(cached) " >&6
28567 else
28570 ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h. */
28578 #include <math.h>
28579 #ifdef HAVE_IEEEFP_H
28580 #include <ieeefp.h>
28581 #endif
28584 main ()
28586 _finite(0);
28588 return 0;
28590 _ACEOF
28591 if ac_fn_cxx_try_compile "$LINENO"; then :
28592 glibcxx_cv_func__finite_use=yes
28593 else
28594 glibcxx_cv_func__finite_use=no
28596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 ac_ext=c
28598 ac_cpp='$CPP $CPPFLAGS'
28599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28608 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28610 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28611 for ac_func in _finite
28612 do :
28613 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28614 if test "x$ac_cv_func__finite" = x""yes; then :
28615 cat >>confdefs.h <<_ACEOF
28616 #define HAVE__FINITE 1
28617 _ACEOF
28620 done
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28630 $as_echo_n "checking for sincos declaration... " >&6; }
28631 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28632 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28633 $as_echo_n "(cached) " >&6
28634 else
28637 ac_ext=cpp
28638 ac_cpp='$CXXCPP $CPPFLAGS'
28639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28644 /* end confdefs.h. */
28645 #include <math.h>
28647 main ()
28649 sincos(0, 0, 0);
28651 return 0;
28653 _ACEOF
28654 if ac_fn_cxx_try_compile "$LINENO"; then :
28655 glibcxx_cv_func_sincos_use=yes
28656 else
28657 glibcxx_cv_func_sincos_use=no
28659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28660 ac_ext=c
28661 ac_cpp='$CPP $CPPFLAGS'
28662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28671 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28673 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28674 for ac_func in sincos
28675 do :
28676 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28677 if test "x$ac_cv_func_sincos" = x""yes; then :
28678 cat >>confdefs.h <<_ACEOF
28679 #define HAVE_SINCOS 1
28680 _ACEOF
28683 done
28685 else
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28688 $as_echo_n "checking for _sincos declaration... " >&6; }
28689 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28690 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28695 ac_ext=cpp
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h. */
28703 #include <math.h>
28705 main ()
28707 _sincos(0, 0, 0);
28709 return 0;
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713 glibcxx_cv_func__sincos_use=yes
28714 else
28715 glibcxx_cv_func__sincos_use=no
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28729 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28731 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28732 for ac_func in _sincos
28733 do :
28734 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28735 if test "x$ac_cv_func__sincos" = x""yes; then :
28736 cat >>confdefs.h <<_ACEOF
28737 #define HAVE__SINCOS 1
28738 _ACEOF
28741 done
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28751 $as_echo_n "checking for fpclass declaration... " >&6; }
28752 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28753 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28754 $as_echo_n "(cached) " >&6
28755 else
28758 ac_ext=cpp
28759 ac_cpp='$CXXCPP $CPPFLAGS'
28760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <math.h>
28767 #ifdef HAVE_IEEEFP_H
28768 #include <ieeefp.h>
28769 #endif
28772 main ()
28774 fpclass(0);
28776 return 0;
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780 glibcxx_cv_func_fpclass_use=yes
28781 else
28782 glibcxx_cv_func_fpclass_use=no
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785 ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28796 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28798 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28799 for ac_func in fpclass
28800 do :
28801 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28802 if test "x$ac_cv_func_fpclass" = x""yes; then :
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_FPCLASS 1
28805 _ACEOF
28808 done
28810 else
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28813 $as_echo_n "checking for _fpclass declaration... " >&6; }
28814 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28815 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28834 main ()
28836 _fpclass(0);
28838 return 0;
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842 glibcxx_cv_func__fpclass_use=yes
28843 else
28844 glibcxx_cv_func__fpclass_use=no
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28858 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28860 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28861 for ac_func in _fpclass
28862 do :
28863 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28864 if test "x$ac_cv_func__fpclass" = x""yes; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define HAVE__FPCLASS 1
28867 _ACEOF
28870 done
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28880 $as_echo_n "checking for qfpclass declaration... " >&6; }
28881 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28882 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28887 ac_ext=cpp
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28894 /* end confdefs.h. */
28895 #include <math.h>
28896 #ifdef HAVE_IEEEFP_H
28897 #include <ieeefp.h>
28898 #endif
28901 main ()
28903 qfpclass(0);
28905 return 0;
28907 _ACEOF
28908 if ac_fn_cxx_try_compile "$LINENO"; then :
28909 glibcxx_cv_func_qfpclass_use=yes
28910 else
28911 glibcxx_cv_func_qfpclass_use=no
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914 ac_ext=c
28915 ac_cpp='$CPP $CPPFLAGS'
28916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28925 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28927 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28928 for ac_func in qfpclass
28929 do :
28930 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28931 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28932 cat >>confdefs.h <<_ACEOF
28933 #define HAVE_QFPCLASS 1
28934 _ACEOF
28937 done
28939 else
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28942 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28943 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28944 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28945 $as_echo_n "(cached) " >&6
28946 else
28949 ac_ext=cpp
28950 ac_cpp='$CXXCPP $CPPFLAGS'
28951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28956 /* end confdefs.h. */
28957 #include <math.h>
28958 #ifdef HAVE_IEEEFP_H
28959 #include <ieeefp.h>
28960 #endif
28963 main ()
28965 _qfpclass(0);
28967 return 0;
28969 _ACEOF
28970 if ac_fn_cxx_try_compile "$LINENO"; then :
28971 glibcxx_cv_func__qfpclass_use=yes
28972 else
28973 glibcxx_cv_func__qfpclass_use=no
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976 ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28987 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28989 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28990 for ac_func in _qfpclass
28991 do :
28992 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28993 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28994 cat >>confdefs.h <<_ACEOF
28995 #define HAVE__QFPCLASS 1
28996 _ACEOF
28999 done
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29009 $as_echo_n "checking for hypot declaration... " >&6; }
29010 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29011 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29016 ac_ext=cpp
29017 ac_cpp='$CXXCPP $CPPFLAGS'
29018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29023 /* end confdefs.h. */
29024 #include <math.h>
29026 main ()
29028 hypot(0, 0);
29030 return 0;
29032 _ACEOF
29033 if ac_fn_cxx_try_compile "$LINENO"; then :
29034 glibcxx_cv_func_hypot_use=yes
29035 else
29036 glibcxx_cv_func_hypot_use=no
29038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29039 ac_ext=c
29040 ac_cpp='$CPP $CPPFLAGS'
29041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29050 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29052 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29053 for ac_func in hypot
29054 do :
29055 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29056 if test "x$ac_cv_func_hypot" = x""yes; then :
29057 cat >>confdefs.h <<_ACEOF
29058 #define HAVE_HYPOT 1
29059 _ACEOF
29062 done
29064 else
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29067 $as_echo_n "checking for _hypot declaration... " >&6; }
29068 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29069 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29070 $as_echo_n "(cached) " >&6
29071 else
29074 ac_ext=cpp
29075 ac_cpp='$CXXCPP $CPPFLAGS'
29076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29081 /* end confdefs.h. */
29082 #include <math.h>
29084 main ()
29086 _hypot(0, 0);
29088 return 0;
29090 _ACEOF
29091 if ac_fn_cxx_try_compile "$LINENO"; then :
29092 glibcxx_cv_func__hypot_use=yes
29093 else
29094 glibcxx_cv_func__hypot_use=no
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29097 ac_ext=c
29098 ac_cpp='$CPP $CPPFLAGS'
29099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29108 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29110 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29111 for ac_func in _hypot
29112 do :
29113 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29114 if test "x$ac_cv_func__hypot" = x""yes; then :
29115 cat >>confdefs.h <<_ACEOF
29116 #define HAVE__HYPOT 1
29117 _ACEOF
29120 done
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29130 $as_echo_n "checking for float trig functions... " >&6; }
29131 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29132 $as_echo_n "(cached) " >&6
29133 else
29136 ac_ext=cpp
29137 ac_cpp='$CXXCPP $CPPFLAGS'
29138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143 /* end confdefs.h. */
29144 #include <math.h>
29146 main ()
29148 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29150 return 0;
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func_float_trig_use=yes
29155 else
29156 glibcxx_cv_func_float_trig_use=no
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29168 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29169 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29170 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29171 do :
29172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29174 eval as_val=\$$as_ac_var
29175 if test "x$as_val" = x""yes; then :
29176 cat >>confdefs.h <<_ACEOF
29177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29178 _ACEOF
29181 done
29183 else
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29185 $as_echo_n "checking for _float trig functions... " >&6; }
29186 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29187 $as_echo_n "(cached) " >&6
29188 else
29191 ac_ext=cpp
29192 ac_cpp='$CXXCPP $CPPFLAGS'
29193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29198 /* end confdefs.h. */
29199 #include <math.h>
29201 main ()
29203 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29205 return 0;
29207 _ACEOF
29208 if ac_fn_cxx_try_compile "$LINENO"; then :
29209 glibcxx_cv_func__float_trig_use=yes
29210 else
29211 glibcxx_cv_func__float_trig_use=no
29213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29214 ac_ext=c
29215 ac_cpp='$CPP $CPPFLAGS'
29216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29223 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29224 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29225 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29226 do :
29227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29229 eval as_val=\$$as_ac_var
29230 if test "x$as_val" = x""yes; then :
29231 cat >>confdefs.h <<_ACEOF
29232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29233 _ACEOF
29236 done
29245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29246 $as_echo_n "checking for float round functions... " >&6; }
29247 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29262 main ()
29264 ceilf (0); floorf (0);
29266 return 0;
29268 _ACEOF
29269 if ac_fn_cxx_try_compile "$LINENO"; then :
29270 glibcxx_cv_func_float_round_use=yes
29271 else
29272 glibcxx_cv_func_float_round_use=no
29274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29284 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29285 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29286 for ac_func in ceilf floorf
29287 do :
29288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29290 eval as_val=\$$as_ac_var
29291 if test "x$as_val" = x""yes; then :
29292 cat >>confdefs.h <<_ACEOF
29293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29294 _ACEOF
29297 done
29299 else
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29301 $as_echo_n "checking for _float round functions... " >&6; }
29302 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29303 $as_echo_n "(cached) " >&6
29304 else
29307 ac_ext=cpp
29308 ac_cpp='$CXXCPP $CPPFLAGS'
29309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29314 /* end confdefs.h. */
29315 #include <math.h>
29317 main ()
29319 _ceilf (0); _floorf (0);
29321 return 0;
29323 _ACEOF
29324 if ac_fn_cxx_try_compile "$LINENO"; then :
29325 glibcxx_cv_func__float_round_use=yes
29326 else
29327 glibcxx_cv_func__float_round_use=no
29329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29330 ac_ext=c
29331 ac_cpp='$CPP $CPPFLAGS'
29332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29339 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29340 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29341 for ac_func in _ceilf _floorf
29342 do :
29343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29345 eval as_val=\$$as_ac_var
29346 if test "x$as_val" = x""yes; then :
29347 cat >>confdefs.h <<_ACEOF
29348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29349 _ACEOF
29352 done
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29363 $as_echo_n "checking for expf declaration... " >&6; }
29364 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29365 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29366 $as_echo_n "(cached) " >&6
29367 else
29370 ac_ext=cpp
29371 ac_cpp='$CXXCPP $CPPFLAGS'
29372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29377 /* end confdefs.h. */
29378 #include <math.h>
29379 #ifdef HAVE_IEEEFP_H
29380 #include <ieeefp.h>
29381 #endif
29384 main ()
29386 expf(0);
29388 return 0;
29390 _ACEOF
29391 if ac_fn_cxx_try_compile "$LINENO"; then :
29392 glibcxx_cv_func_expf_use=yes
29393 else
29394 glibcxx_cv_func_expf_use=no
29396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29397 ac_ext=c
29398 ac_cpp='$CPP $CPPFLAGS'
29399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29408 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29410 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29411 for ac_func in expf
29412 do :
29413 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29414 if test "x$ac_cv_func_expf" = x""yes; then :
29415 cat >>confdefs.h <<_ACEOF
29416 #define HAVE_EXPF 1
29417 _ACEOF
29420 done
29422 else
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29425 $as_echo_n "checking for _expf declaration... " >&6; }
29426 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29427 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29428 $as_echo_n "(cached) " >&6
29429 else
29432 ac_ext=cpp
29433 ac_cpp='$CXXCPP $CPPFLAGS'
29434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h. */
29440 #include <math.h>
29441 #ifdef HAVE_IEEEFP_H
29442 #include <ieeefp.h>
29443 #endif
29446 main ()
29448 _expf(0);
29450 return 0;
29452 _ACEOF
29453 if ac_fn_cxx_try_compile "$LINENO"; then :
29454 glibcxx_cv_func__expf_use=yes
29455 else
29456 glibcxx_cv_func__expf_use=no
29458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29459 ac_ext=c
29460 ac_cpp='$CPP $CPPFLAGS'
29461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29470 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29472 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29473 for ac_func in _expf
29474 do :
29475 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29476 if test "x$ac_cv_func__expf" = x""yes; then :
29477 cat >>confdefs.h <<_ACEOF
29478 #define HAVE__EXPF 1
29479 _ACEOF
29482 done
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29492 $as_echo_n "checking for isnanf declaration... " >&6; }
29493 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29494 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29495 $as_echo_n "(cached) " >&6
29496 else
29499 ac_ext=cpp
29500 ac_cpp='$CXXCPP $CPPFLAGS'
29501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29506 /* end confdefs.h. */
29507 #include <math.h>
29508 #ifdef HAVE_IEEEFP_H
29509 #include <ieeefp.h>
29510 #endif
29513 main ()
29515 isnanf(0);
29517 return 0;
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521 glibcxx_cv_func_isnanf_use=yes
29522 else
29523 glibcxx_cv_func_isnanf_use=no
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526 ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29537 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29539 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29540 for ac_func in isnanf
29541 do :
29542 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29543 if test "x$ac_cv_func_isnanf" = x""yes; then :
29544 cat >>confdefs.h <<_ACEOF
29545 #define HAVE_ISNANF 1
29546 _ACEOF
29549 done
29551 else
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29554 $as_echo_n "checking for _isnanf declaration... " >&6; }
29555 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29556 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29557 $as_echo_n "(cached) " >&6
29558 else
29561 ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29569 #include <math.h>
29570 #ifdef HAVE_IEEEFP_H
29571 #include <ieeefp.h>
29572 #endif
29575 main ()
29577 _isnanf(0);
29579 return 0;
29581 _ACEOF
29582 if ac_fn_cxx_try_compile "$LINENO"; then :
29583 glibcxx_cv_func__isnanf_use=yes
29584 else
29585 glibcxx_cv_func__isnanf_use=no
29587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29588 ac_ext=c
29589 ac_cpp='$CPP $CPPFLAGS'
29590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29599 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29601 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29602 for ac_func in _isnanf
29603 do :
29604 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29605 if test "x$ac_cv_func__isnanf" = x""yes; then :
29606 cat >>confdefs.h <<_ACEOF
29607 #define HAVE__ISNANF 1
29608 _ACEOF
29611 done
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29621 $as_echo_n "checking for isinff declaration... " >&6; }
29622 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29623 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29624 $as_echo_n "(cached) " >&6
29625 else
29628 ac_ext=cpp
29629 ac_cpp='$CXXCPP $CPPFLAGS'
29630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h. */
29636 #include <math.h>
29637 #ifdef HAVE_IEEEFP_H
29638 #include <ieeefp.h>
29639 #endif
29642 main ()
29644 isinff(0);
29646 return 0;
29648 _ACEOF
29649 if ac_fn_cxx_try_compile "$LINENO"; then :
29650 glibcxx_cv_func_isinff_use=yes
29651 else
29652 glibcxx_cv_func_isinff_use=no
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29655 ac_ext=c
29656 ac_cpp='$CPP $CPPFLAGS'
29657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29666 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29668 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29669 for ac_func in isinff
29670 do :
29671 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29672 if test "x$ac_cv_func_isinff" = x""yes; then :
29673 cat >>confdefs.h <<_ACEOF
29674 #define HAVE_ISINFF 1
29675 _ACEOF
29678 done
29680 else
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29683 $as_echo_n "checking for _isinff declaration... " >&6; }
29684 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29685 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29686 $as_echo_n "(cached) " >&6
29687 else
29690 ac_ext=cpp
29691 ac_cpp='$CXXCPP $CPPFLAGS'
29692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29697 /* end confdefs.h. */
29698 #include <math.h>
29699 #ifdef HAVE_IEEEFP_H
29700 #include <ieeefp.h>
29701 #endif
29704 main ()
29706 _isinff(0);
29708 return 0;
29710 _ACEOF
29711 if ac_fn_cxx_try_compile "$LINENO"; then :
29712 glibcxx_cv_func__isinff_use=yes
29713 else
29714 glibcxx_cv_func__isinff_use=no
29716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29717 ac_ext=c
29718 ac_cpp='$CPP $CPPFLAGS'
29719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29728 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29730 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29731 for ac_func in _isinff
29732 do :
29733 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29734 if test "x$ac_cv_func__isinff" = x""yes; then :
29735 cat >>confdefs.h <<_ACEOF
29736 #define HAVE__ISINFF 1
29737 _ACEOF
29740 done
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29750 $as_echo_n "checking for atan2f declaration... " >&6; }
29751 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29752 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29753 $as_echo_n "(cached) " >&6
29754 else
29757 ac_ext=cpp
29758 ac_cpp='$CXXCPP $CPPFLAGS'
29759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29765 #include <math.h>
29767 main ()
29769 atan2f(0, 0);
29771 return 0;
29773 _ACEOF
29774 if ac_fn_cxx_try_compile "$LINENO"; then :
29775 glibcxx_cv_func_atan2f_use=yes
29776 else
29777 glibcxx_cv_func_atan2f_use=no
29779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29780 ac_ext=c
29781 ac_cpp='$CPP $CPPFLAGS'
29782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29791 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29793 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29794 for ac_func in atan2f
29795 do :
29796 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29797 if test "x$ac_cv_func_atan2f" = x""yes; then :
29798 cat >>confdefs.h <<_ACEOF
29799 #define HAVE_ATAN2F 1
29800 _ACEOF
29803 done
29805 else
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29808 $as_echo_n "checking for _atan2f declaration... " >&6; }
29809 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29810 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29811 $as_echo_n "(cached) " >&6
29812 else
29815 ac_ext=cpp
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29822 /* end confdefs.h. */
29823 #include <math.h>
29825 main ()
29827 _atan2f(0, 0);
29829 return 0;
29831 _ACEOF
29832 if ac_fn_cxx_try_compile "$LINENO"; then :
29833 glibcxx_cv_func__atan2f_use=yes
29834 else
29835 glibcxx_cv_func__atan2f_use=no
29837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29838 ac_ext=c
29839 ac_cpp='$CPP $CPPFLAGS'
29840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29849 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29851 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29852 for ac_func in _atan2f
29853 do :
29854 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29855 if test "x$ac_cv_func__atan2f" = x""yes; then :
29856 cat >>confdefs.h <<_ACEOF
29857 #define HAVE__ATAN2F 1
29858 _ACEOF
29861 done
29870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29871 $as_echo_n "checking for fabsf declaration... " >&6; }
29872 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29873 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29874 $as_echo_n "(cached) " >&6
29875 else
29878 ac_ext=cpp
29879 ac_cpp='$CXXCPP $CPPFLAGS'
29880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29885 /* end confdefs.h. */
29886 #include <math.h>
29887 #ifdef HAVE_IEEEFP_H
29888 #include <ieeefp.h>
29889 #endif
29892 main ()
29894 fabsf(0);
29896 return 0;
29898 _ACEOF
29899 if ac_fn_cxx_try_compile "$LINENO"; then :
29900 glibcxx_cv_func_fabsf_use=yes
29901 else
29902 glibcxx_cv_func_fabsf_use=no
29904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29905 ac_ext=c
29906 ac_cpp='$CPP $CPPFLAGS'
29907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29916 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29918 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29919 for ac_func in fabsf
29920 do :
29921 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29922 if test "x$ac_cv_func_fabsf" = x""yes; then :
29923 cat >>confdefs.h <<_ACEOF
29924 #define HAVE_FABSF 1
29925 _ACEOF
29928 done
29930 else
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29933 $as_echo_n "checking for _fabsf declaration... " >&6; }
29934 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29935 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29936 $as_echo_n "(cached) " >&6
29937 else
29940 ac_ext=cpp
29941 ac_cpp='$CXXCPP $CPPFLAGS'
29942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29947 /* end confdefs.h. */
29948 #include <math.h>
29949 #ifdef HAVE_IEEEFP_H
29950 #include <ieeefp.h>
29951 #endif
29954 main ()
29956 _fabsf(0);
29958 return 0;
29960 _ACEOF
29961 if ac_fn_cxx_try_compile "$LINENO"; then :
29962 glibcxx_cv_func__fabsf_use=yes
29963 else
29964 glibcxx_cv_func__fabsf_use=no
29966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29967 ac_ext=c
29968 ac_cpp='$CPP $CPPFLAGS'
29969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29978 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29980 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29981 for ac_func in _fabsf
29982 do :
29983 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29984 if test "x$ac_cv_func__fabsf" = x""yes; then :
29985 cat >>confdefs.h <<_ACEOF
29986 #define HAVE__FABSF 1
29987 _ACEOF
29990 done
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30000 $as_echo_n "checking for fmodf declaration... " >&6; }
30001 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30002 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30003 $as_echo_n "(cached) " >&6
30004 else
30007 ac_ext=cpp
30008 ac_cpp='$CXXCPP $CPPFLAGS'
30009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30014 /* end confdefs.h. */
30015 #include <math.h>
30017 main ()
30019 fmodf(0, 0);
30021 return 0;
30023 _ACEOF
30024 if ac_fn_cxx_try_compile "$LINENO"; then :
30025 glibcxx_cv_func_fmodf_use=yes
30026 else
30027 glibcxx_cv_func_fmodf_use=no
30029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30030 ac_ext=c
30031 ac_cpp='$CPP $CPPFLAGS'
30032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30041 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30043 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30044 for ac_func in fmodf
30045 do :
30046 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30047 if test "x$ac_cv_func_fmodf" = x""yes; then :
30048 cat >>confdefs.h <<_ACEOF
30049 #define HAVE_FMODF 1
30050 _ACEOF
30053 done
30055 else
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30058 $as_echo_n "checking for _fmodf declaration... " >&6; }
30059 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30060 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30061 $as_echo_n "(cached) " >&6
30062 else
30065 ac_ext=cpp
30066 ac_cpp='$CXXCPP $CPPFLAGS'
30067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30072 /* end confdefs.h. */
30073 #include <math.h>
30075 main ()
30077 _fmodf(0, 0);
30079 return 0;
30081 _ACEOF
30082 if ac_fn_cxx_try_compile "$LINENO"; then :
30083 glibcxx_cv_func__fmodf_use=yes
30084 else
30085 glibcxx_cv_func__fmodf_use=no
30087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30088 ac_ext=c
30089 ac_cpp='$CPP $CPPFLAGS'
30090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30099 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30101 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30102 for ac_func in _fmodf
30103 do :
30104 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30105 if test "x$ac_cv_func__fmodf" = x""yes; then :
30106 cat >>confdefs.h <<_ACEOF
30107 #define HAVE__FMODF 1
30108 _ACEOF
30111 done
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30121 $as_echo_n "checking for frexpf declaration... " >&6; }
30122 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30123 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30128 ac_ext=cpp
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30135 /* end confdefs.h. */
30136 #include <math.h>
30138 main ()
30140 frexpf(0, 0);
30142 return 0;
30144 _ACEOF
30145 if ac_fn_cxx_try_compile "$LINENO"; then :
30146 glibcxx_cv_func_frexpf_use=yes
30147 else
30148 glibcxx_cv_func_frexpf_use=no
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151 ac_ext=c
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30162 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30164 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30165 for ac_func in frexpf
30166 do :
30167 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30168 if test "x$ac_cv_func_frexpf" = x""yes; then :
30169 cat >>confdefs.h <<_ACEOF
30170 #define HAVE_FREXPF 1
30171 _ACEOF
30174 done
30176 else
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30179 $as_echo_n "checking for _frexpf declaration... " >&6; }
30180 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30181 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30182 $as_echo_n "(cached) " >&6
30183 else
30186 ac_ext=cpp
30187 ac_cpp='$CXXCPP $CPPFLAGS'
30188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30193 /* end confdefs.h. */
30194 #include <math.h>
30196 main ()
30198 _frexpf(0, 0);
30200 return 0;
30202 _ACEOF
30203 if ac_fn_cxx_try_compile "$LINENO"; then :
30204 glibcxx_cv_func__frexpf_use=yes
30205 else
30206 glibcxx_cv_func__frexpf_use=no
30208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30209 ac_ext=c
30210 ac_cpp='$CPP $CPPFLAGS'
30211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30220 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30222 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30223 for ac_func in _frexpf
30224 do :
30225 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30226 if test "x$ac_cv_func__frexpf" = x""yes; then :
30227 cat >>confdefs.h <<_ACEOF
30228 #define HAVE__FREXPF 1
30229 _ACEOF
30232 done
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30242 $as_echo_n "checking for hypotf declaration... " >&6; }
30243 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30244 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30245 $as_echo_n "(cached) " >&6
30246 else
30249 ac_ext=cpp
30250 ac_cpp='$CXXCPP $CPPFLAGS'
30251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30256 /* end confdefs.h. */
30257 #include <math.h>
30259 main ()
30261 hypotf(0, 0);
30263 return 0;
30265 _ACEOF
30266 if ac_fn_cxx_try_compile "$LINENO"; then :
30267 glibcxx_cv_func_hypotf_use=yes
30268 else
30269 glibcxx_cv_func_hypotf_use=no
30271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30272 ac_ext=c
30273 ac_cpp='$CPP $CPPFLAGS'
30274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30283 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30285 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30286 for ac_func in hypotf
30287 do :
30288 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30289 if test "x$ac_cv_func_hypotf" = x""yes; then :
30290 cat >>confdefs.h <<_ACEOF
30291 #define HAVE_HYPOTF 1
30292 _ACEOF
30295 done
30297 else
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30300 $as_echo_n "checking for _hypotf declaration... " >&6; }
30301 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30302 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30303 $as_echo_n "(cached) " >&6
30304 else
30307 ac_ext=cpp
30308 ac_cpp='$CXXCPP $CPPFLAGS'
30309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30314 /* end confdefs.h. */
30315 #include <math.h>
30317 main ()
30319 _hypotf(0, 0);
30321 return 0;
30323 _ACEOF
30324 if ac_fn_cxx_try_compile "$LINENO"; then :
30325 glibcxx_cv_func__hypotf_use=yes
30326 else
30327 glibcxx_cv_func__hypotf_use=no
30329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30330 ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30341 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30343 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30344 for ac_func in _hypotf
30345 do :
30346 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30347 if test "x$ac_cv_func__hypotf" = x""yes; then :
30348 cat >>confdefs.h <<_ACEOF
30349 #define HAVE__HYPOTF 1
30350 _ACEOF
30353 done
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30363 $as_echo_n "checking for ldexpf declaration... " >&6; }
30364 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30365 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30380 main ()
30382 ldexpf(0, 0);
30384 return 0;
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func_ldexpf_use=yes
30389 else
30390 glibcxx_cv_func_ldexpf_use=no
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30404 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30406 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30407 for ac_func in ldexpf
30408 do :
30409 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30410 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE_LDEXPF 1
30413 _ACEOF
30416 done
30418 else
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30421 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30422 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30423 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30428 ac_ext=cpp
30429 ac_cpp='$CXXCPP $CPPFLAGS'
30430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30435 /* end confdefs.h. */
30436 #include <math.h>
30438 main ()
30440 _ldexpf(0, 0);
30442 return 0;
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446 glibcxx_cv_func__ldexpf_use=yes
30447 else
30448 glibcxx_cv_func__ldexpf_use=no
30450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30451 ac_ext=c
30452 ac_cpp='$CPP $CPPFLAGS'
30453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30462 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30464 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30465 for ac_func in _ldexpf
30466 do :
30467 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30468 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30469 cat >>confdefs.h <<_ACEOF
30470 #define HAVE__LDEXPF 1
30471 _ACEOF
30474 done
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30484 $as_echo_n "checking for logf declaration... " >&6; }
30485 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30486 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30487 $as_echo_n "(cached) " >&6
30488 else
30491 ac_ext=cpp
30492 ac_cpp='$CXXCPP $CPPFLAGS'
30493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30498 /* end confdefs.h. */
30499 #include <math.h>
30500 #ifdef HAVE_IEEEFP_H
30501 #include <ieeefp.h>
30502 #endif
30505 main ()
30507 logf(0);
30509 return 0;
30511 _ACEOF
30512 if ac_fn_cxx_try_compile "$LINENO"; then :
30513 glibcxx_cv_func_logf_use=yes
30514 else
30515 glibcxx_cv_func_logf_use=no
30517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30518 ac_ext=c
30519 ac_cpp='$CPP $CPPFLAGS'
30520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30529 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30531 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30532 for ac_func in logf
30533 do :
30534 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30535 if test "x$ac_cv_func_logf" = x""yes; then :
30536 cat >>confdefs.h <<_ACEOF
30537 #define HAVE_LOGF 1
30538 _ACEOF
30541 done
30543 else
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30546 $as_echo_n "checking for _logf declaration... " >&6; }
30547 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30548 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30549 $as_echo_n "(cached) " >&6
30550 else
30553 ac_ext=cpp
30554 ac_cpp='$CXXCPP $CPPFLAGS'
30555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30560 /* end confdefs.h. */
30561 #include <math.h>
30562 #ifdef HAVE_IEEEFP_H
30563 #include <ieeefp.h>
30564 #endif
30567 main ()
30569 _logf(0);
30571 return 0;
30573 _ACEOF
30574 if ac_fn_cxx_try_compile "$LINENO"; then :
30575 glibcxx_cv_func__logf_use=yes
30576 else
30577 glibcxx_cv_func__logf_use=no
30579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30580 ac_ext=c
30581 ac_cpp='$CPP $CPPFLAGS'
30582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30591 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30593 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30594 for ac_func in _logf
30595 do :
30596 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30597 if test "x$ac_cv_func__logf" = x""yes; then :
30598 cat >>confdefs.h <<_ACEOF
30599 #define HAVE__LOGF 1
30600 _ACEOF
30603 done
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30613 $as_echo_n "checking for log10f declaration... " >&6; }
30614 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30615 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30616 $as_echo_n "(cached) " >&6
30617 else
30620 ac_ext=cpp
30621 ac_cpp='$CXXCPP $CPPFLAGS'
30622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30627 /* end confdefs.h. */
30628 #include <math.h>
30629 #ifdef HAVE_IEEEFP_H
30630 #include <ieeefp.h>
30631 #endif
30634 main ()
30636 log10f(0);
30638 return 0;
30640 _ACEOF
30641 if ac_fn_cxx_try_compile "$LINENO"; then :
30642 glibcxx_cv_func_log10f_use=yes
30643 else
30644 glibcxx_cv_func_log10f_use=no
30646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30647 ac_ext=c
30648 ac_cpp='$CPP $CPPFLAGS'
30649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30658 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30660 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30661 for ac_func in log10f
30662 do :
30663 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30664 if test "x$ac_cv_func_log10f" = x""yes; then :
30665 cat >>confdefs.h <<_ACEOF
30666 #define HAVE_LOG10F 1
30667 _ACEOF
30670 done
30672 else
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30675 $as_echo_n "checking for _log10f declaration... " >&6; }
30676 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30677 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30678 $as_echo_n "(cached) " >&6
30679 else
30682 ac_ext=cpp
30683 ac_cpp='$CXXCPP $CPPFLAGS'
30684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30689 /* end confdefs.h. */
30690 #include <math.h>
30691 #ifdef HAVE_IEEEFP_H
30692 #include <ieeefp.h>
30693 #endif
30696 main ()
30698 _log10f(0);
30700 return 0;
30702 _ACEOF
30703 if ac_fn_cxx_try_compile "$LINENO"; then :
30704 glibcxx_cv_func__log10f_use=yes
30705 else
30706 glibcxx_cv_func__log10f_use=no
30708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30709 ac_ext=c
30710 ac_cpp='$CPP $CPPFLAGS'
30711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30720 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30722 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30723 for ac_func in _log10f
30724 do :
30725 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30726 if test "x$ac_cv_func__log10f" = x""yes; then :
30727 cat >>confdefs.h <<_ACEOF
30728 #define HAVE__LOG10F 1
30729 _ACEOF
30732 done
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30742 $as_echo_n "checking for modff declaration... " >&6; }
30743 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30744 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30745 $as_echo_n "(cached) " >&6
30746 else
30749 ac_ext=cpp
30750 ac_cpp='$CXXCPP $CPPFLAGS'
30751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30756 /* end confdefs.h. */
30757 #include <math.h>
30759 main ()
30761 modff(0, 0);
30763 return 0;
30765 _ACEOF
30766 if ac_fn_cxx_try_compile "$LINENO"; then :
30767 glibcxx_cv_func_modff_use=yes
30768 else
30769 glibcxx_cv_func_modff_use=no
30771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30783 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30785 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30786 for ac_func in modff
30787 do :
30788 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30789 if test "x$ac_cv_func_modff" = x""yes; then :
30790 cat >>confdefs.h <<_ACEOF
30791 #define HAVE_MODFF 1
30792 _ACEOF
30795 done
30797 else
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30800 $as_echo_n "checking for _modff declaration... " >&6; }
30801 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30802 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30803 $as_echo_n "(cached) " >&6
30804 else
30807 ac_ext=cpp
30808 ac_cpp='$CXXCPP $CPPFLAGS'
30809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30815 #include <math.h>
30817 main ()
30819 _modff(0, 0);
30821 return 0;
30823 _ACEOF
30824 if ac_fn_cxx_try_compile "$LINENO"; then :
30825 glibcxx_cv_func__modff_use=yes
30826 else
30827 glibcxx_cv_func__modff_use=no
30829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30830 ac_ext=c
30831 ac_cpp='$CPP $CPPFLAGS'
30832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30841 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30843 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30844 for ac_func in _modff
30845 do :
30846 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30847 if test "x$ac_cv_func__modff" = x""yes; then :
30848 cat >>confdefs.h <<_ACEOF
30849 #define HAVE__MODFF 1
30850 _ACEOF
30853 done
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30863 $as_echo_n "checking for modf declaration... " >&6; }
30864 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30865 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30866 $as_echo_n "(cached) " >&6
30867 else
30870 ac_ext=cpp
30871 ac_cpp='$CXXCPP $CPPFLAGS'
30872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30877 /* end confdefs.h. */
30878 #include <math.h>
30880 main ()
30882 modf(0, 0);
30884 return 0;
30886 _ACEOF
30887 if ac_fn_cxx_try_compile "$LINENO"; then :
30888 glibcxx_cv_func_modf_use=yes
30889 else
30890 glibcxx_cv_func_modf_use=no
30892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30893 ac_ext=c
30894 ac_cpp='$CPP $CPPFLAGS'
30895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30904 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30906 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30907 for ac_func in modf
30908 do :
30909 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30910 if test "x$ac_cv_func_modf" = x""yes; then :
30911 cat >>confdefs.h <<_ACEOF
30912 #define HAVE_MODF 1
30913 _ACEOF
30916 done
30918 else
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30921 $as_echo_n "checking for _modf declaration... " >&6; }
30922 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30923 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30924 $as_echo_n "(cached) " >&6
30925 else
30928 ac_ext=cpp
30929 ac_cpp='$CXXCPP $CPPFLAGS'
30930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30935 /* end confdefs.h. */
30936 #include <math.h>
30938 main ()
30940 _modf(0, 0);
30942 return 0;
30944 _ACEOF
30945 if ac_fn_cxx_try_compile "$LINENO"; then :
30946 glibcxx_cv_func__modf_use=yes
30947 else
30948 glibcxx_cv_func__modf_use=no
30950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30951 ac_ext=c
30952 ac_cpp='$CPP $CPPFLAGS'
30953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30962 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30964 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30965 for ac_func in _modf
30966 do :
30967 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30968 if test "x$ac_cv_func__modf" = x""yes; then :
30969 cat >>confdefs.h <<_ACEOF
30970 #define HAVE__MODF 1
30971 _ACEOF
30974 done
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30984 $as_echo_n "checking for powf declaration... " >&6; }
30985 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30986 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30987 $as_echo_n "(cached) " >&6
30988 else
30991 ac_ext=cpp
30992 ac_cpp='$CXXCPP $CPPFLAGS'
30993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30998 /* end confdefs.h. */
30999 #include <math.h>
31001 main ()
31003 powf(0, 0);
31005 return 0;
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func_powf_use=yes
31010 else
31011 glibcxx_cv_func_powf_use=no
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31025 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31027 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31028 for ac_func in powf
31029 do :
31030 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31031 if test "x$ac_cv_func_powf" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE_POWF 1
31034 _ACEOF
31037 done
31039 else
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31042 $as_echo_n "checking for _powf declaration... " >&6; }
31043 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31044 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31045 $as_echo_n "(cached) " >&6
31046 else
31049 ac_ext=cpp
31050 ac_cpp='$CXXCPP $CPPFLAGS'
31051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31056 /* end confdefs.h. */
31057 #include <math.h>
31059 main ()
31061 _powf(0, 0);
31063 return 0;
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067 glibcxx_cv_func__powf_use=yes
31068 else
31069 glibcxx_cv_func__powf_use=no
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31083 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31085 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31086 for ac_func in _powf
31087 do :
31088 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31089 if test "x$ac_cv_func__powf" = x""yes; then :
31090 cat >>confdefs.h <<_ACEOF
31091 #define HAVE__POWF 1
31092 _ACEOF
31095 done
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31105 $as_echo_n "checking for sqrtf declaration... " >&6; }
31106 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31107 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31121 #ifdef HAVE_IEEEFP_H
31122 #include <ieeefp.h>
31123 #endif
31126 main ()
31128 sqrtf(0);
31130 return 0;
31132 _ACEOF
31133 if ac_fn_cxx_try_compile "$LINENO"; then :
31134 glibcxx_cv_func_sqrtf_use=yes
31135 else
31136 glibcxx_cv_func_sqrtf_use=no
31138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31150 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31152 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31153 for ac_func in sqrtf
31154 do :
31155 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31156 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31157 cat >>confdefs.h <<_ACEOF
31158 #define HAVE_SQRTF 1
31159 _ACEOF
31162 done
31164 else
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31167 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31168 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31169 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31183 #ifdef HAVE_IEEEFP_H
31184 #include <ieeefp.h>
31185 #endif
31188 main ()
31190 _sqrtf(0);
31192 return 0;
31194 _ACEOF
31195 if ac_fn_cxx_try_compile "$LINENO"; then :
31196 glibcxx_cv_func__sqrtf_use=yes
31197 else
31198 glibcxx_cv_func__sqrtf_use=no
31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201 ac_ext=c
31202 ac_cpp='$CPP $CPPFLAGS'
31203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31212 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31214 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31215 for ac_func in _sqrtf
31216 do :
31217 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31218 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31219 cat >>confdefs.h <<_ACEOF
31220 #define HAVE__SQRTF 1
31221 _ACEOF
31224 done
31233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31234 $as_echo_n "checking for sincosf declaration... " >&6; }
31235 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31236 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31237 $as_echo_n "(cached) " >&6
31238 else
31241 ac_ext=cpp
31242 ac_cpp='$CXXCPP $CPPFLAGS'
31243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31248 /* end confdefs.h. */
31249 #include <math.h>
31251 main ()
31253 sincosf(0, 0, 0);
31255 return 0;
31257 _ACEOF
31258 if ac_fn_cxx_try_compile "$LINENO"; then :
31259 glibcxx_cv_func_sincosf_use=yes
31260 else
31261 glibcxx_cv_func_sincosf_use=no
31263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31264 ac_ext=c
31265 ac_cpp='$CPP $CPPFLAGS'
31266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31275 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31277 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31278 for ac_func in sincosf
31279 do :
31280 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31281 if test "x$ac_cv_func_sincosf" = x""yes; then :
31282 cat >>confdefs.h <<_ACEOF
31283 #define HAVE_SINCOSF 1
31284 _ACEOF
31287 done
31289 else
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31292 $as_echo_n "checking for _sincosf declaration... " >&6; }
31293 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31294 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31295 $as_echo_n "(cached) " >&6
31296 else
31299 ac_ext=cpp
31300 ac_cpp='$CXXCPP $CPPFLAGS'
31301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31306 /* end confdefs.h. */
31307 #include <math.h>
31309 main ()
31311 _sincosf(0, 0, 0);
31313 return 0;
31315 _ACEOF
31316 if ac_fn_cxx_try_compile "$LINENO"; then :
31317 glibcxx_cv_func__sincosf_use=yes
31318 else
31319 glibcxx_cv_func__sincosf_use=no
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31322 ac_ext=c
31323 ac_cpp='$CPP $CPPFLAGS'
31324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31333 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31335 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31336 for ac_func in _sincosf
31337 do :
31338 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31339 if test "x$ac_cv_func__sincosf" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define HAVE__SINCOSF 1
31342 _ACEOF
31345 done
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31355 $as_echo_n "checking for finitef declaration... " >&6; }
31356 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31357 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31358 $as_echo_n "(cached) " >&6
31359 else
31362 ac_ext=cpp
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h. */
31370 #include <math.h>
31371 #ifdef HAVE_IEEEFP_H
31372 #include <ieeefp.h>
31373 #endif
31376 main ()
31378 finitef(0);
31380 return 0;
31382 _ACEOF
31383 if ac_fn_cxx_try_compile "$LINENO"; then :
31384 glibcxx_cv_func_finitef_use=yes
31385 else
31386 glibcxx_cv_func_finitef_use=no
31388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ac_ext=c
31390 ac_cpp='$CPP $CPPFLAGS'
31391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31400 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31402 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31403 for ac_func in finitef
31404 do :
31405 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31406 if test "x$ac_cv_func_finitef" = x""yes; then :
31407 cat >>confdefs.h <<_ACEOF
31408 #define HAVE_FINITEF 1
31409 _ACEOF
31412 done
31414 else
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31417 $as_echo_n "checking for _finitef declaration... " >&6; }
31418 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31419 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31424 ac_ext=cpp
31425 ac_cpp='$CXXCPP $CPPFLAGS'
31426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h. */
31432 #include <math.h>
31433 #ifdef HAVE_IEEEFP_H
31434 #include <ieeefp.h>
31435 #endif
31438 main ()
31440 _finitef(0);
31442 return 0;
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446 glibcxx_cv_func__finitef_use=yes
31447 else
31448 glibcxx_cv_func__finitef_use=no
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31462 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31464 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31465 for ac_func in _finitef
31466 do :
31467 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31468 if test "x$ac_cv_func__finitef" = x""yes; then :
31469 cat >>confdefs.h <<_ACEOF
31470 #define HAVE__FINITEF 1
31471 _ACEOF
31474 done
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31484 $as_echo_n "checking for long double trig functions... " >&6; }
31485 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31486 $as_echo_n "(cached) " >&6
31487 else
31490 ac_ext=cpp
31491 ac_cpp='$CXXCPP $CPPFLAGS'
31492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31497 /* end confdefs.h. */
31498 #include <math.h>
31500 main ()
31502 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31504 return 0;
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func_long_double_trig_use=yes
31509 else
31510 glibcxx_cv_func_long_double_trig_use=no
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31522 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31523 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31524 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31525 do :
31526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31528 eval as_val=\$$as_ac_var
31529 if test "x$as_val" = x""yes; then :
31530 cat >>confdefs.h <<_ACEOF
31531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31532 _ACEOF
31535 done
31537 else
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31539 $as_echo_n "checking for _long double trig functions... " >&6; }
31540 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31541 $as_echo_n "(cached) " >&6
31542 else
31545 ac_ext=cpp
31546 ac_cpp='$CXXCPP $CPPFLAGS'
31547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h. */
31553 #include <math.h>
31555 main ()
31557 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31559 return 0;
31561 _ACEOF
31562 if ac_fn_cxx_try_compile "$LINENO"; then :
31563 glibcxx_cv_func__long_double_trig_use=yes
31564 else
31565 glibcxx_cv_func__long_double_trig_use=no
31567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31568 ac_ext=c
31569 ac_cpp='$CPP $CPPFLAGS'
31570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31577 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31578 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31579 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31580 do :
31581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31583 eval as_val=\$$as_ac_var
31584 if test "x$as_val" = x""yes; then :
31585 cat >>confdefs.h <<_ACEOF
31586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31587 _ACEOF
31590 done
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31600 $as_echo_n "checking for long double round functions... " >&6; }
31601 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31616 main ()
31618 ceill (0); floorl (0);
31620 return 0;
31622 _ACEOF
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func_long_double_round_use=yes
31625 else
31626 glibcxx_cv_func_long_double_round_use=no
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31629 ac_ext=c
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31638 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31639 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31640 for ac_func in ceill floorl
31641 do :
31642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31644 eval as_val=\$$as_ac_var
31645 if test "x$as_val" = x""yes; then :
31646 cat >>confdefs.h <<_ACEOF
31647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31648 _ACEOF
31651 done
31653 else
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31655 $as_echo_n "checking for _long double round functions... " >&6; }
31656 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31657 $as_echo_n "(cached) " >&6
31658 else
31661 ac_ext=cpp
31662 ac_cpp='$CXXCPP $CPPFLAGS'
31663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31668 /* end confdefs.h. */
31669 #include <math.h>
31671 main ()
31673 _ceill (0); _floorl (0);
31675 return 0;
31677 _ACEOF
31678 if ac_fn_cxx_try_compile "$LINENO"; then :
31679 glibcxx_cv_func__long_double_round_use=yes
31680 else
31681 glibcxx_cv_func__long_double_round_use=no
31683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31684 ac_ext=c
31685 ac_cpp='$CPP $CPPFLAGS'
31686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31693 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31694 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31695 for ac_func in _ceill _floorl
31696 do :
31697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31699 eval as_val=\$$as_ac_var
31700 if test "x$as_val" = x""yes; then :
31701 cat >>confdefs.h <<_ACEOF
31702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31703 _ACEOF
31706 done
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31717 $as_echo_n "checking for isnanl declaration... " >&6; }
31718 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31719 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31720 $as_echo_n "(cached) " >&6
31721 else
31724 ac_ext=cpp
31725 ac_cpp='$CXXCPP $CPPFLAGS'
31726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31731 /* end confdefs.h. */
31732 #include <math.h>
31733 #ifdef HAVE_IEEEFP_H
31734 #include <ieeefp.h>
31735 #endif
31738 main ()
31740 isnanl(0);
31742 return 0;
31744 _ACEOF
31745 if ac_fn_cxx_try_compile "$LINENO"; then :
31746 glibcxx_cv_func_isnanl_use=yes
31747 else
31748 glibcxx_cv_func_isnanl_use=no
31750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31751 ac_ext=c
31752 ac_cpp='$CPP $CPPFLAGS'
31753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31762 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31764 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31765 for ac_func in isnanl
31766 do :
31767 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31768 if test "x$ac_cv_func_isnanl" = x""yes; then :
31769 cat >>confdefs.h <<_ACEOF
31770 #define HAVE_ISNANL 1
31771 _ACEOF
31774 done
31776 else
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31779 $as_echo_n "checking for _isnanl declaration... " >&6; }
31780 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31781 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31782 $as_echo_n "(cached) " >&6
31783 else
31786 ac_ext=cpp
31787 ac_cpp='$CXXCPP $CPPFLAGS'
31788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31793 /* end confdefs.h. */
31794 #include <math.h>
31795 #ifdef HAVE_IEEEFP_H
31796 #include <ieeefp.h>
31797 #endif
31800 main ()
31802 _isnanl(0);
31804 return 0;
31806 _ACEOF
31807 if ac_fn_cxx_try_compile "$LINENO"; then :
31808 glibcxx_cv_func__isnanl_use=yes
31809 else
31810 glibcxx_cv_func__isnanl_use=no
31812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31813 ac_ext=c
31814 ac_cpp='$CPP $CPPFLAGS'
31815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31824 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31826 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31827 for ac_func in _isnanl
31828 do :
31829 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31830 if test "x$ac_cv_func__isnanl" = x""yes; then :
31831 cat >>confdefs.h <<_ACEOF
31832 #define HAVE__ISNANL 1
31833 _ACEOF
31836 done
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31846 $as_echo_n "checking for isinfl declaration... " >&6; }
31847 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31848 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31849 $as_echo_n "(cached) " >&6
31850 else
31853 ac_ext=cpp
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860 /* end confdefs.h. */
31861 #include <math.h>
31862 #ifdef HAVE_IEEEFP_H
31863 #include <ieeefp.h>
31864 #endif
31867 main ()
31869 isinfl(0);
31871 return 0;
31873 _ACEOF
31874 if ac_fn_cxx_try_compile "$LINENO"; then :
31875 glibcxx_cv_func_isinfl_use=yes
31876 else
31877 glibcxx_cv_func_isinfl_use=no
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880 ac_ext=c
31881 ac_cpp='$CPP $CPPFLAGS'
31882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31891 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31893 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31894 for ac_func in isinfl
31895 do :
31896 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31897 if test "x$ac_cv_func_isinfl" = x""yes; then :
31898 cat >>confdefs.h <<_ACEOF
31899 #define HAVE_ISINFL 1
31900 _ACEOF
31903 done
31905 else
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31908 $as_echo_n "checking for _isinfl declaration... " >&6; }
31909 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31910 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31924 #ifdef HAVE_IEEEFP_H
31925 #include <ieeefp.h>
31926 #endif
31929 main ()
31931 _isinfl(0);
31933 return 0;
31935 _ACEOF
31936 if ac_fn_cxx_try_compile "$LINENO"; then :
31937 glibcxx_cv_func__isinfl_use=yes
31938 else
31939 glibcxx_cv_func__isinfl_use=no
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942 ac_ext=c
31943 ac_cpp='$CPP $CPPFLAGS'
31944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31953 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31955 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31956 for ac_func in _isinfl
31957 do :
31958 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31959 if test "x$ac_cv_func__isinfl" = x""yes; then :
31960 cat >>confdefs.h <<_ACEOF
31961 #define HAVE__ISINFL 1
31962 _ACEOF
31965 done
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31975 $as_echo_n "checking for atan2l declaration... " >&6; }
31976 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31977 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31978 $as_echo_n "(cached) " >&6
31979 else
31982 ac_ext=cpp
31983 ac_cpp='$CXXCPP $CPPFLAGS'
31984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31989 /* end confdefs.h. */
31990 #include <math.h>
31992 main ()
31994 atan2l(0, 0);
31996 return 0;
31998 _ACEOF
31999 if ac_fn_cxx_try_compile "$LINENO"; then :
32000 glibcxx_cv_func_atan2l_use=yes
32001 else
32002 glibcxx_cv_func_atan2l_use=no
32004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32005 ac_ext=c
32006 ac_cpp='$CPP $CPPFLAGS'
32007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32016 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32018 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32019 for ac_func in atan2l
32020 do :
32021 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32022 if test "x$ac_cv_func_atan2l" = x""yes; then :
32023 cat >>confdefs.h <<_ACEOF
32024 #define HAVE_ATAN2L 1
32025 _ACEOF
32028 done
32030 else
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32033 $as_echo_n "checking for _atan2l declaration... " >&6; }
32034 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32035 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32036 $as_echo_n "(cached) " >&6
32037 else
32040 ac_ext=cpp
32041 ac_cpp='$CXXCPP $CPPFLAGS'
32042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32047 /* end confdefs.h. */
32048 #include <math.h>
32050 main ()
32052 _atan2l(0, 0);
32054 return 0;
32056 _ACEOF
32057 if ac_fn_cxx_try_compile "$LINENO"; then :
32058 glibcxx_cv_func__atan2l_use=yes
32059 else
32060 glibcxx_cv_func__atan2l_use=no
32062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32063 ac_ext=c
32064 ac_cpp='$CPP $CPPFLAGS'
32065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32074 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32076 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32077 for ac_func in _atan2l
32078 do :
32079 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32080 if test "x$ac_cv_func__atan2l" = x""yes; then :
32081 cat >>confdefs.h <<_ACEOF
32082 #define HAVE__ATAN2L 1
32083 _ACEOF
32086 done
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32096 $as_echo_n "checking for expl declaration... " >&6; }
32097 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32098 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32099 $as_echo_n "(cached) " >&6
32100 else
32103 ac_ext=cpp
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32110 /* end confdefs.h. */
32111 #include <math.h>
32112 #ifdef HAVE_IEEEFP_H
32113 #include <ieeefp.h>
32114 #endif
32117 main ()
32119 expl(0);
32121 return 0;
32123 _ACEOF
32124 if ac_fn_cxx_try_compile "$LINENO"; then :
32125 glibcxx_cv_func_expl_use=yes
32126 else
32127 glibcxx_cv_func_expl_use=no
32129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32130 ac_ext=c
32131 ac_cpp='$CPP $CPPFLAGS'
32132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32141 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32143 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32144 for ac_func in expl
32145 do :
32146 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32147 if test "x$ac_cv_func_expl" = x""yes; then :
32148 cat >>confdefs.h <<_ACEOF
32149 #define HAVE_EXPL 1
32150 _ACEOF
32153 done
32155 else
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32158 $as_echo_n "checking for _expl declaration... " >&6; }
32159 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32160 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32161 $as_echo_n "(cached) " >&6
32162 else
32165 ac_ext=cpp
32166 ac_cpp='$CXXCPP $CPPFLAGS'
32167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32172 /* end confdefs.h. */
32173 #include <math.h>
32174 #ifdef HAVE_IEEEFP_H
32175 #include <ieeefp.h>
32176 #endif
32179 main ()
32181 _expl(0);
32183 return 0;
32185 _ACEOF
32186 if ac_fn_cxx_try_compile "$LINENO"; then :
32187 glibcxx_cv_func__expl_use=yes
32188 else
32189 glibcxx_cv_func__expl_use=no
32191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 ac_ext=c
32193 ac_cpp='$CPP $CPPFLAGS'
32194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32203 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32205 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32206 for ac_func in _expl
32207 do :
32208 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32209 if test "x$ac_cv_func__expl" = x""yes; then :
32210 cat >>confdefs.h <<_ACEOF
32211 #define HAVE__EXPL 1
32212 _ACEOF
32215 done
32224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32225 $as_echo_n "checking for fabsl declaration... " >&6; }
32226 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32227 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32228 $as_echo_n "(cached) " >&6
32229 else
32232 ac_ext=cpp
32233 ac_cpp='$CXXCPP $CPPFLAGS'
32234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32239 /* end confdefs.h. */
32240 #include <math.h>
32241 #ifdef HAVE_IEEEFP_H
32242 #include <ieeefp.h>
32243 #endif
32246 main ()
32248 fabsl(0);
32250 return 0;
32252 _ACEOF
32253 if ac_fn_cxx_try_compile "$LINENO"; then :
32254 glibcxx_cv_func_fabsl_use=yes
32255 else
32256 glibcxx_cv_func_fabsl_use=no
32258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32259 ac_ext=c
32260 ac_cpp='$CPP $CPPFLAGS'
32261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32270 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32272 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32273 for ac_func in fabsl
32274 do :
32275 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32276 if test "x$ac_cv_func_fabsl" = x""yes; then :
32277 cat >>confdefs.h <<_ACEOF
32278 #define HAVE_FABSL 1
32279 _ACEOF
32282 done
32284 else
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32287 $as_echo_n "checking for _fabsl declaration... " >&6; }
32288 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32289 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32290 $as_echo_n "(cached) " >&6
32291 else
32294 ac_ext=cpp
32295 ac_cpp='$CXXCPP $CPPFLAGS'
32296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32301 /* end confdefs.h. */
32302 #include <math.h>
32303 #ifdef HAVE_IEEEFP_H
32304 #include <ieeefp.h>
32305 #endif
32308 main ()
32310 _fabsl(0);
32312 return 0;
32314 _ACEOF
32315 if ac_fn_cxx_try_compile "$LINENO"; then :
32316 glibcxx_cv_func__fabsl_use=yes
32317 else
32318 glibcxx_cv_func__fabsl_use=no
32320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32321 ac_ext=c
32322 ac_cpp='$CPP $CPPFLAGS'
32323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32332 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32334 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32335 for ac_func in _fabsl
32336 do :
32337 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32338 if test "x$ac_cv_func__fabsl" = x""yes; then :
32339 cat >>confdefs.h <<_ACEOF
32340 #define HAVE__FABSL 1
32341 _ACEOF
32344 done
32353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32354 $as_echo_n "checking for fmodl declaration... " >&6; }
32355 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32356 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32357 $as_echo_n "(cached) " >&6
32358 else
32361 ac_ext=cpp
32362 ac_cpp='$CXXCPP $CPPFLAGS'
32363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32368 /* end confdefs.h. */
32369 #include <math.h>
32371 main ()
32373 fmodl(0, 0);
32375 return 0;
32377 _ACEOF
32378 if ac_fn_cxx_try_compile "$LINENO"; then :
32379 glibcxx_cv_func_fmodl_use=yes
32380 else
32381 glibcxx_cv_func_fmodl_use=no
32383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 ac_ext=c
32385 ac_cpp='$CPP $CPPFLAGS'
32386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32395 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32397 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32398 for ac_func in fmodl
32399 do :
32400 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32401 if test "x$ac_cv_func_fmodl" = x""yes; then :
32402 cat >>confdefs.h <<_ACEOF
32403 #define HAVE_FMODL 1
32404 _ACEOF
32407 done
32409 else
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32412 $as_echo_n "checking for _fmodl declaration... " >&6; }
32413 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32414 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32415 $as_echo_n "(cached) " >&6
32416 else
32419 ac_ext=cpp
32420 ac_cpp='$CXXCPP $CPPFLAGS'
32421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32426 /* end confdefs.h. */
32427 #include <math.h>
32429 main ()
32431 _fmodl(0, 0);
32433 return 0;
32435 _ACEOF
32436 if ac_fn_cxx_try_compile "$LINENO"; then :
32437 glibcxx_cv_func__fmodl_use=yes
32438 else
32439 glibcxx_cv_func__fmodl_use=no
32441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32442 ac_ext=c
32443 ac_cpp='$CPP $CPPFLAGS'
32444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32453 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32455 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32456 for ac_func in _fmodl
32457 do :
32458 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32459 if test "x$ac_cv_func__fmodl" = x""yes; then :
32460 cat >>confdefs.h <<_ACEOF
32461 #define HAVE__FMODL 1
32462 _ACEOF
32465 done
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32475 $as_echo_n "checking for frexpl declaration... " >&6; }
32476 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32477 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32478 $as_echo_n "(cached) " >&6
32479 else
32482 ac_ext=cpp
32483 ac_cpp='$CXXCPP $CPPFLAGS'
32484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32489 /* end confdefs.h. */
32490 #include <math.h>
32492 main ()
32494 frexpl(0, 0);
32496 return 0;
32498 _ACEOF
32499 if ac_fn_cxx_try_compile "$LINENO"; then :
32500 glibcxx_cv_func_frexpl_use=yes
32501 else
32502 glibcxx_cv_func_frexpl_use=no
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505 ac_ext=c
32506 ac_cpp='$CPP $CPPFLAGS'
32507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32516 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32518 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32519 for ac_func in frexpl
32520 do :
32521 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32522 if test "x$ac_cv_func_frexpl" = x""yes; then :
32523 cat >>confdefs.h <<_ACEOF
32524 #define HAVE_FREXPL 1
32525 _ACEOF
32528 done
32530 else
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32533 $as_echo_n "checking for _frexpl declaration... " >&6; }
32534 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32535 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32536 $as_echo_n "(cached) " >&6
32537 else
32540 ac_ext=cpp
32541 ac_cpp='$CXXCPP $CPPFLAGS'
32542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32547 /* end confdefs.h. */
32548 #include <math.h>
32550 main ()
32552 _frexpl(0, 0);
32554 return 0;
32556 _ACEOF
32557 if ac_fn_cxx_try_compile "$LINENO"; then :
32558 glibcxx_cv_func__frexpl_use=yes
32559 else
32560 glibcxx_cv_func__frexpl_use=no
32562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32563 ac_ext=c
32564 ac_cpp='$CPP $CPPFLAGS'
32565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32574 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32576 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32577 for ac_func in _frexpl
32578 do :
32579 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32580 if test "x$ac_cv_func__frexpl" = x""yes; then :
32581 cat >>confdefs.h <<_ACEOF
32582 #define HAVE__FREXPL 1
32583 _ACEOF
32586 done
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32596 $as_echo_n "checking for hypotl declaration... " >&6; }
32597 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32598 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32599 $as_echo_n "(cached) " >&6
32600 else
32603 ac_ext=cpp
32604 ac_cpp='$CXXCPP $CPPFLAGS'
32605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32611 #include <math.h>
32613 main ()
32615 hypotl(0, 0);
32617 return 0;
32619 _ACEOF
32620 if ac_fn_cxx_try_compile "$LINENO"; then :
32621 glibcxx_cv_func_hypotl_use=yes
32622 else
32623 glibcxx_cv_func_hypotl_use=no
32625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32626 ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32637 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32639 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32640 for ac_func in hypotl
32641 do :
32642 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32643 if test "x$ac_cv_func_hypotl" = x""yes; then :
32644 cat >>confdefs.h <<_ACEOF
32645 #define HAVE_HYPOTL 1
32646 _ACEOF
32649 done
32651 else
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32654 $as_echo_n "checking for _hypotl declaration... " >&6; }
32655 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32656 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32657 $as_echo_n "(cached) " >&6
32658 else
32661 ac_ext=cpp
32662 ac_cpp='$CXXCPP $CPPFLAGS'
32663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32668 /* end confdefs.h. */
32669 #include <math.h>
32671 main ()
32673 _hypotl(0, 0);
32675 return 0;
32677 _ACEOF
32678 if ac_fn_cxx_try_compile "$LINENO"; then :
32679 glibcxx_cv_func__hypotl_use=yes
32680 else
32681 glibcxx_cv_func__hypotl_use=no
32683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32684 ac_ext=c
32685 ac_cpp='$CPP $CPPFLAGS'
32686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32695 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32697 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32698 for ac_func in _hypotl
32699 do :
32700 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32701 if test "x$ac_cv_func__hypotl" = x""yes; then :
32702 cat >>confdefs.h <<_ACEOF
32703 #define HAVE__HYPOTL 1
32704 _ACEOF
32707 done
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32717 $as_echo_n "checking for ldexpl declaration... " >&6; }
32718 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32719 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32720 $as_echo_n "(cached) " >&6
32721 else
32724 ac_ext=cpp
32725 ac_cpp='$CXXCPP $CPPFLAGS'
32726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32731 /* end confdefs.h. */
32732 #include <math.h>
32734 main ()
32736 ldexpl(0, 0);
32738 return 0;
32740 _ACEOF
32741 if ac_fn_cxx_try_compile "$LINENO"; then :
32742 glibcxx_cv_func_ldexpl_use=yes
32743 else
32744 glibcxx_cv_func_ldexpl_use=no
32746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32747 ac_ext=c
32748 ac_cpp='$CPP $CPPFLAGS'
32749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32758 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32760 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32761 for ac_func in ldexpl
32762 do :
32763 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32764 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32765 cat >>confdefs.h <<_ACEOF
32766 #define HAVE_LDEXPL 1
32767 _ACEOF
32770 done
32772 else
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32775 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32776 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32777 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32778 $as_echo_n "(cached) " >&6
32779 else
32782 ac_ext=cpp
32783 ac_cpp='$CXXCPP $CPPFLAGS'
32784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32789 /* end confdefs.h. */
32790 #include <math.h>
32792 main ()
32794 _ldexpl(0, 0);
32796 return 0;
32798 _ACEOF
32799 if ac_fn_cxx_try_compile "$LINENO"; then :
32800 glibcxx_cv_func__ldexpl_use=yes
32801 else
32802 glibcxx_cv_func__ldexpl_use=no
32804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32805 ac_ext=c
32806 ac_cpp='$CPP $CPPFLAGS'
32807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32816 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32818 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32819 for ac_func in _ldexpl
32820 do :
32821 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32822 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32823 cat >>confdefs.h <<_ACEOF
32824 #define HAVE__LDEXPL 1
32825 _ACEOF
32828 done
32837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32838 $as_echo_n "checking for logl declaration... " >&6; }
32839 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32840 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32841 $as_echo_n "(cached) " >&6
32842 else
32845 ac_ext=cpp
32846 ac_cpp='$CXXCPP $CPPFLAGS'
32847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32852 /* end confdefs.h. */
32853 #include <math.h>
32854 #ifdef HAVE_IEEEFP_H
32855 #include <ieeefp.h>
32856 #endif
32859 main ()
32861 logl(0);
32863 return 0;
32865 _ACEOF
32866 if ac_fn_cxx_try_compile "$LINENO"; then :
32867 glibcxx_cv_func_logl_use=yes
32868 else
32869 glibcxx_cv_func_logl_use=no
32871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32872 ac_ext=c
32873 ac_cpp='$CPP $CPPFLAGS'
32874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32883 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32885 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32886 for ac_func in logl
32887 do :
32888 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32889 if test "x$ac_cv_func_logl" = x""yes; then :
32890 cat >>confdefs.h <<_ACEOF
32891 #define HAVE_LOGL 1
32892 _ACEOF
32895 done
32897 else
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32900 $as_echo_n "checking for _logl declaration... " >&6; }
32901 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32902 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32903 $as_echo_n "(cached) " >&6
32904 else
32907 ac_ext=cpp
32908 ac_cpp='$CXXCPP $CPPFLAGS'
32909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32914 /* end confdefs.h. */
32915 #include <math.h>
32916 #ifdef HAVE_IEEEFP_H
32917 #include <ieeefp.h>
32918 #endif
32921 main ()
32923 _logl(0);
32925 return 0;
32927 _ACEOF
32928 if ac_fn_cxx_try_compile "$LINENO"; then :
32929 glibcxx_cv_func__logl_use=yes
32930 else
32931 glibcxx_cv_func__logl_use=no
32933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32934 ac_ext=c
32935 ac_cpp='$CPP $CPPFLAGS'
32936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32945 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32947 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32948 for ac_func in _logl
32949 do :
32950 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32951 if test "x$ac_cv_func__logl" = x""yes; then :
32952 cat >>confdefs.h <<_ACEOF
32953 #define HAVE__LOGL 1
32954 _ACEOF
32957 done
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32967 $as_echo_n "checking for log10l declaration... " >&6; }
32968 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32969 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32970 $as_echo_n "(cached) " >&6
32971 else
32974 ac_ext=cpp
32975 ac_cpp='$CXXCPP $CPPFLAGS'
32976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32981 /* end confdefs.h. */
32982 #include <math.h>
32983 #ifdef HAVE_IEEEFP_H
32984 #include <ieeefp.h>
32985 #endif
32988 main ()
32990 log10l(0);
32992 return 0;
32994 _ACEOF
32995 if ac_fn_cxx_try_compile "$LINENO"; then :
32996 glibcxx_cv_func_log10l_use=yes
32997 else
32998 glibcxx_cv_func_log10l_use=no
33000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001 ac_ext=c
33002 ac_cpp='$CPP $CPPFLAGS'
33003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33012 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33014 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33015 for ac_func in log10l
33016 do :
33017 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33018 if test "x$ac_cv_func_log10l" = x""yes; then :
33019 cat >>confdefs.h <<_ACEOF
33020 #define HAVE_LOG10L 1
33021 _ACEOF
33024 done
33026 else
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33029 $as_echo_n "checking for _log10l declaration... " >&6; }
33030 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33031 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33032 $as_echo_n "(cached) " >&6
33033 else
33036 ac_ext=cpp
33037 ac_cpp='$CXXCPP $CPPFLAGS'
33038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33043 /* end confdefs.h. */
33044 #include <math.h>
33045 #ifdef HAVE_IEEEFP_H
33046 #include <ieeefp.h>
33047 #endif
33050 main ()
33052 _log10l(0);
33054 return 0;
33056 _ACEOF
33057 if ac_fn_cxx_try_compile "$LINENO"; then :
33058 glibcxx_cv_func__log10l_use=yes
33059 else
33060 glibcxx_cv_func__log10l_use=no
33062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33063 ac_ext=c
33064 ac_cpp='$CPP $CPPFLAGS'
33065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33074 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33076 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33077 for ac_func in _log10l
33078 do :
33079 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33080 if test "x$ac_cv_func__log10l" = x""yes; then :
33081 cat >>confdefs.h <<_ACEOF
33082 #define HAVE__LOG10L 1
33083 _ACEOF
33086 done
33095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33096 $as_echo_n "checking for modfl declaration... " >&6; }
33097 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33098 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33099 $as_echo_n "(cached) " >&6
33100 else
33103 ac_ext=cpp
33104 ac_cpp='$CXXCPP $CPPFLAGS'
33105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33110 /* end confdefs.h. */
33111 #include <math.h>
33113 main ()
33115 modfl(0, 0);
33117 return 0;
33119 _ACEOF
33120 if ac_fn_cxx_try_compile "$LINENO"; then :
33121 glibcxx_cv_func_modfl_use=yes
33122 else
33123 glibcxx_cv_func_modfl_use=no
33125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33126 ac_ext=c
33127 ac_cpp='$CPP $CPPFLAGS'
33128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33137 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33139 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33140 for ac_func in modfl
33141 do :
33142 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33143 if test "x$ac_cv_func_modfl" = x""yes; then :
33144 cat >>confdefs.h <<_ACEOF
33145 #define HAVE_MODFL 1
33146 _ACEOF
33149 done
33151 else
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33154 $as_echo_n "checking for _modfl declaration... " >&6; }
33155 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33156 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33157 $as_echo_n "(cached) " >&6
33158 else
33161 ac_ext=cpp
33162 ac_cpp='$CXXCPP $CPPFLAGS'
33163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33168 /* end confdefs.h. */
33169 #include <math.h>
33171 main ()
33173 _modfl(0, 0);
33175 return 0;
33177 _ACEOF
33178 if ac_fn_cxx_try_compile "$LINENO"; then :
33179 glibcxx_cv_func__modfl_use=yes
33180 else
33181 glibcxx_cv_func__modfl_use=no
33183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33184 ac_ext=c
33185 ac_cpp='$CPP $CPPFLAGS'
33186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33195 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33197 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33198 for ac_func in _modfl
33199 do :
33200 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33201 if test "x$ac_cv_func__modfl" = x""yes; then :
33202 cat >>confdefs.h <<_ACEOF
33203 #define HAVE__MODFL 1
33204 _ACEOF
33207 done
33216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33217 $as_echo_n "checking for powl declaration... " >&6; }
33218 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33219 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33220 $as_echo_n "(cached) " >&6
33221 else
33224 ac_ext=cpp
33225 ac_cpp='$CXXCPP $CPPFLAGS'
33226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h. */
33232 #include <math.h>
33234 main ()
33236 powl(0, 0);
33238 return 0;
33240 _ACEOF
33241 if ac_fn_cxx_try_compile "$LINENO"; then :
33242 glibcxx_cv_func_powl_use=yes
33243 else
33244 glibcxx_cv_func_powl_use=no
33246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33247 ac_ext=c
33248 ac_cpp='$CPP $CPPFLAGS'
33249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33258 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33260 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33261 for ac_func in powl
33262 do :
33263 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33264 if test "x$ac_cv_func_powl" = x""yes; then :
33265 cat >>confdefs.h <<_ACEOF
33266 #define HAVE_POWL 1
33267 _ACEOF
33270 done
33272 else
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33275 $as_echo_n "checking for _powl declaration... " >&6; }
33276 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33277 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33278 $as_echo_n "(cached) " >&6
33279 else
33282 ac_ext=cpp
33283 ac_cpp='$CXXCPP $CPPFLAGS'
33284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33289 /* end confdefs.h. */
33290 #include <math.h>
33292 main ()
33294 _powl(0, 0);
33296 return 0;
33298 _ACEOF
33299 if ac_fn_cxx_try_compile "$LINENO"; then :
33300 glibcxx_cv_func__powl_use=yes
33301 else
33302 glibcxx_cv_func__powl_use=no
33304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33305 ac_ext=c
33306 ac_cpp='$CPP $CPPFLAGS'
33307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33316 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33318 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33319 for ac_func in _powl
33320 do :
33321 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33322 if test "x$ac_cv_func__powl" = x""yes; then :
33323 cat >>confdefs.h <<_ACEOF
33324 #define HAVE__POWL 1
33325 _ACEOF
33328 done
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33338 $as_echo_n "checking for sqrtl declaration... " >&6; }
33339 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33340 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33341 $as_echo_n "(cached) " >&6
33342 else
33345 ac_ext=cpp
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33352 /* end confdefs.h. */
33353 #include <math.h>
33354 #ifdef HAVE_IEEEFP_H
33355 #include <ieeefp.h>
33356 #endif
33359 main ()
33361 sqrtl(0);
33363 return 0;
33365 _ACEOF
33366 if ac_fn_cxx_try_compile "$LINENO"; then :
33367 glibcxx_cv_func_sqrtl_use=yes
33368 else
33369 glibcxx_cv_func_sqrtl_use=no
33371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33372 ac_ext=c
33373 ac_cpp='$CPP $CPPFLAGS'
33374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33383 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33385 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33386 for ac_func in sqrtl
33387 do :
33388 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33389 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33390 cat >>confdefs.h <<_ACEOF
33391 #define HAVE_SQRTL 1
33392 _ACEOF
33395 done
33397 else
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33400 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33401 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33402 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33403 $as_echo_n "(cached) " >&6
33404 else
33407 ac_ext=cpp
33408 ac_cpp='$CXXCPP $CPPFLAGS'
33409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33414 /* end confdefs.h. */
33415 #include <math.h>
33416 #ifdef HAVE_IEEEFP_H
33417 #include <ieeefp.h>
33418 #endif
33421 main ()
33423 _sqrtl(0);
33425 return 0;
33427 _ACEOF
33428 if ac_fn_cxx_try_compile "$LINENO"; then :
33429 glibcxx_cv_func__sqrtl_use=yes
33430 else
33431 glibcxx_cv_func__sqrtl_use=no
33433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33434 ac_ext=c
33435 ac_cpp='$CPP $CPPFLAGS'
33436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33445 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33447 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33448 for ac_func in _sqrtl
33449 do :
33450 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33451 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33452 cat >>confdefs.h <<_ACEOF
33453 #define HAVE__SQRTL 1
33454 _ACEOF
33457 done
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33467 $as_echo_n "checking for sincosl declaration... " >&6; }
33468 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33469 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33470 $as_echo_n "(cached) " >&6
33471 else
33474 ac_ext=cpp
33475 ac_cpp='$CXXCPP $CPPFLAGS'
33476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33481 /* end confdefs.h. */
33482 #include <math.h>
33484 main ()
33486 sincosl(0, 0, 0);
33488 return 0;
33490 _ACEOF
33491 if ac_fn_cxx_try_compile "$LINENO"; then :
33492 glibcxx_cv_func_sincosl_use=yes
33493 else
33494 glibcxx_cv_func_sincosl_use=no
33496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33497 ac_ext=c
33498 ac_cpp='$CPP $CPPFLAGS'
33499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33508 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33510 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33511 for ac_func in sincosl
33512 do :
33513 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33514 if test "x$ac_cv_func_sincosl" = x""yes; then :
33515 cat >>confdefs.h <<_ACEOF
33516 #define HAVE_SINCOSL 1
33517 _ACEOF
33520 done
33522 else
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33525 $as_echo_n "checking for _sincosl declaration... " >&6; }
33526 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33527 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33528 $as_echo_n "(cached) " >&6
33529 else
33532 ac_ext=cpp
33533 ac_cpp='$CXXCPP $CPPFLAGS'
33534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33539 /* end confdefs.h. */
33540 #include <math.h>
33542 main ()
33544 _sincosl(0, 0, 0);
33546 return 0;
33548 _ACEOF
33549 if ac_fn_cxx_try_compile "$LINENO"; then :
33550 glibcxx_cv_func__sincosl_use=yes
33551 else
33552 glibcxx_cv_func__sincosl_use=no
33554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33555 ac_ext=c
33556 ac_cpp='$CPP $CPPFLAGS'
33557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33566 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33568 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33569 for ac_func in _sincosl
33570 do :
33571 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33572 if test "x$ac_cv_func__sincosl" = x""yes; then :
33573 cat >>confdefs.h <<_ACEOF
33574 #define HAVE__SINCOSL 1
33575 _ACEOF
33578 done
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33588 $as_echo_n "checking for finitel declaration... " >&6; }
33589 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33590 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33591 $as_echo_n "(cached) " >&6
33592 else
33595 ac_ext=cpp
33596 ac_cpp='$CXXCPP $CPPFLAGS'
33597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33602 /* end confdefs.h. */
33603 #include <math.h>
33604 #ifdef HAVE_IEEEFP_H
33605 #include <ieeefp.h>
33606 #endif
33609 main ()
33611 finitel(0);
33613 return 0;
33615 _ACEOF
33616 if ac_fn_cxx_try_compile "$LINENO"; then :
33617 glibcxx_cv_func_finitel_use=yes
33618 else
33619 glibcxx_cv_func_finitel_use=no
33621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33622 ac_ext=c
33623 ac_cpp='$CPP $CPPFLAGS'
33624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33633 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33635 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33636 for ac_func in finitel
33637 do :
33638 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33639 if test "x$ac_cv_func_finitel" = x""yes; then :
33640 cat >>confdefs.h <<_ACEOF
33641 #define HAVE_FINITEL 1
33642 _ACEOF
33645 done
33647 else
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33650 $as_echo_n "checking for _finitel declaration... " >&6; }
33651 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33652 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33653 $as_echo_n "(cached) " >&6
33654 else
33657 ac_ext=cpp
33658 ac_cpp='$CXXCPP $CPPFLAGS'
33659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33664 /* end confdefs.h. */
33665 #include <math.h>
33666 #ifdef HAVE_IEEEFP_H
33667 #include <ieeefp.h>
33668 #endif
33671 main ()
33673 _finitel(0);
33675 return 0;
33677 _ACEOF
33678 if ac_fn_cxx_try_compile "$LINENO"; then :
33679 glibcxx_cv_func__finitel_use=yes
33680 else
33681 glibcxx_cv_func__finitel_use=no
33683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33684 ac_ext=c
33685 ac_cpp='$CPP $CPPFLAGS'
33686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33695 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33697 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33698 for ac_func in _finitel
33699 do :
33700 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33701 if test "x$ac_cv_func__finitel" = x""yes; then :
33702 cat >>confdefs.h <<_ACEOF
33703 #define HAVE__FINITEL 1
33704 _ACEOF
33707 done
33715 LIBS="$ac_save_LIBS"
33716 CXXFLAGS="$ac_save_CXXFLAGS"
33719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33720 ac_save_CXXFLAGS="$CXXFLAGS"
33721 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33725 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33726 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33727 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33728 $as_echo_n "(cached) " >&6
33729 else
33732 ac_ext=cpp
33733 ac_cpp='$CXXCPP $CPPFLAGS'
33734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33739 /* end confdefs.h. */
33740 #include <stdlib.h>
33742 main ()
33744 at_quick_exit(0);
33746 return 0;
33748 _ACEOF
33749 if ac_fn_cxx_try_compile "$LINENO"; then :
33750 glibcxx_cv_func_at_quick_exit_use=yes
33751 else
33752 glibcxx_cv_func_at_quick_exit_use=no
33754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33755 ac_ext=c
33756 ac_cpp='$CPP $CPPFLAGS'
33757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33766 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33767 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33768 for ac_func in at_quick_exit
33769 do :
33770 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33771 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE_AT_QUICK_EXIT 1
33774 _ACEOF
33777 done
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33783 $as_echo_n "checking for quick_exit declaration... " >&6; }
33784 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33785 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33786 $as_echo_n "(cached) " >&6
33787 else
33790 ac_ext=cpp
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33797 /* end confdefs.h. */
33798 #include <stdlib.h>
33800 main ()
33802 quick_exit(0);
33804 return 0;
33806 _ACEOF
33807 if ac_fn_cxx_try_compile "$LINENO"; then :
33808 glibcxx_cv_func_quick_exit_use=yes
33809 else
33810 glibcxx_cv_func_quick_exit_use=no
33812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33813 ac_ext=c
33814 ac_cpp='$CPP $CPPFLAGS'
33815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33824 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33825 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33826 for ac_func in quick_exit
33827 do :
33828 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33829 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33830 cat >>confdefs.h <<_ACEOF
33831 #define HAVE_QUICK_EXIT 1
33832 _ACEOF
33835 done
33840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33841 $as_echo_n "checking for strtold declaration... " >&6; }
33842 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33843 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33844 $as_echo_n "(cached) " >&6
33845 else
33848 ac_ext=cpp
33849 ac_cpp='$CXXCPP $CPPFLAGS'
33850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33855 /* end confdefs.h. */
33856 #include <stdlib.h>
33858 main ()
33860 strtold(0, 0);
33862 return 0;
33864 _ACEOF
33865 if ac_fn_cxx_try_compile "$LINENO"; then :
33866 glibcxx_cv_func_strtold_use=yes
33867 else
33868 glibcxx_cv_func_strtold_use=no
33870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33871 ac_ext=c
33872 ac_cpp='$CPP $CPPFLAGS'
33873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33882 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33883 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33884 for ac_func in strtold
33885 do :
33886 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33887 if test "x$ac_cv_func_strtold" = x""yes; then :
33888 cat >>confdefs.h <<_ACEOF
33889 #define HAVE_STRTOLD 1
33890 _ACEOF
33893 done
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33901 $as_echo_n "checking for strtof declaration... " >&6; }
33902 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33903 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33904 $as_echo_n "(cached) " >&6
33905 else
33908 ac_ext=cpp
33909 ac_cpp='$CXXCPP $CPPFLAGS'
33910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33915 /* end confdefs.h. */
33916 #include <stdlib.h>
33918 main ()
33920 strtof(0, 0);
33922 return 0;
33924 _ACEOF
33925 if ac_fn_cxx_try_compile "$LINENO"; then :
33926 glibcxx_cv_func_strtof_use=yes
33927 else
33928 glibcxx_cv_func_strtof_use=no
33930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33931 ac_ext=c
33932 ac_cpp='$CPP $CPPFLAGS'
33933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33942 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33943 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33944 for ac_func in strtof
33945 do :
33946 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33947 if test "x$ac_cv_func_strtof" = x""yes; then :
33948 cat >>confdefs.h <<_ACEOF
33949 #define HAVE_STRTOF 1
33950 _ACEOF
33953 done
33960 CXXFLAGS="$ac_save_CXXFLAGS"
33963 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33965 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33967 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33969 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33972 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33974 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33976 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33980 spu-*-elf*)
33982 # All these tests are for C++; save the language and the compiler flags.
33983 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33984 # found in GLIBCXX_CONFIGURE.
33986 ac_ext=cpp
33987 ac_cpp='$CXXCPP $CPPFLAGS'
33988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33992 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33993 ac_save_CXXFLAGS="$CXXFLAGS"
33995 # Check for maintainer-mode bits.
33996 if test x"$USE_MAINTAINER_MODE" = xno; then
33997 WERROR=''
33998 else
33999 WERROR='-Werror'
34002 # Check for -ffunction-sections -fdata-sections
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34004 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34005 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 int foo; void bar() { };
34010 main ()
34014 return 0;
34016 _ACEOF
34017 if ac_fn_cxx_try_compile "$LINENO"; then :
34018 ac_fdsections=yes
34019 else
34020 ac_fdsections=no
34022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 if test "$ac_test_CXXFLAGS" = set; then
34024 CXXFLAGS="$ac_save_CXXFLAGS"
34025 else
34026 # this is the suspicious part
34027 CXXFLAGS=''
34029 if test x"$ac_fdsections" = x"yes"; then
34030 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34033 $as_echo "$ac_fdsections" >&6; }
34035 ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34045 # If we're not using GNU ld, then there's no point in even trying these
34046 # tests. Check for that first. We should have already tested for gld
34047 # by now (in libtool), but require it now just to be safe...
34048 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34049 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34053 # The name set by libtool depends on the version of libtool. Shame on us
34054 # for depending on an impl detail, but c'est la vie. Older versions used
34055 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34056 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34057 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34058 # set (hence we're using an older libtool), then set it.
34059 if test x${with_gnu_ld+set} != xset; then
34060 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34061 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34062 with_gnu_ld=no
34063 else
34064 with_gnu_ld=$ac_cv_prog_gnu_ld
34068 # Start by getting the version number. I think the libtool test already
34069 # does some of this, but throws away the result.
34070 glibcxx_ld_is_gold=no
34071 if test x"$with_gnu_ld" = x"yes"; then
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34073 $as_echo_n "checking for ld version... " >&6; }
34075 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34076 glibcxx_ld_is_gold=yes
34078 ldver=`$LD --version 2>/dev/null |
34079 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'`
34081 glibcxx_gnu_ld_version=`echo $ldver | \
34082 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34084 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34087 # Set --gc-sections.
34088 glibcxx_have_gc_sections=no
34089 if test "$glibcxx_ld_is_gold" = "yes"; then
34090 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34091 glibcxx_have_gc_sections=yes
34093 else
34094 glibcxx_gcsections_min_ld=21602
34095 if test x"$with_gnu_ld" = x"yes" &&
34096 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34097 glibcxx_have_gc_sections=yes
34100 if test "$glibcxx_have_gc_sections" = "yes"; then
34101 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34102 # NB: This flag only works reliably after 2.16.1. Configure tests
34103 # for this are difficult, so hard wire a value that should work.
34105 ac_test_CFLAGS="${CFLAGS+set}"
34106 ac_save_CFLAGS="$CFLAGS"
34107 CFLAGS='-Wl,--gc-sections'
34109 # Check for -Wl,--gc-sections
34110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34111 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34112 if test x$gcc_no_link = xyes; then
34113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 int one(void) { return 1; }
34118 int two(void) { return 2; }
34121 main ()
34123 two();
34125 return 0;
34127 _ACEOF
34128 if ac_fn_c_try_link "$LINENO"; then :
34129 ac_gcsections=yes
34130 else
34131 ac_gcsections=no
34133 rm -f core conftest.err conftest.$ac_objext \
34134 conftest$ac_exeext conftest.$ac_ext
34135 if test "$ac_gcsections" = "yes"; then
34136 rm -f conftest.c
34137 touch conftest.c
34138 if $CC -c conftest.c; then
34139 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34140 grep "Warning: gc-sections option ignored" > /dev/null; then
34141 ac_gcsections=no
34144 rm -f conftest.c conftest.o conftest
34146 if test "$ac_gcsections" = "yes"; then
34147 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34150 $as_echo "$ac_gcsections" >&6; }
34152 if test "$ac_test_CFLAGS" = set; then
34153 CFLAGS="$ac_save_CFLAGS"
34154 else
34155 # this is the suspicious part
34156 CFLAGS=''
34160 # Set -z,relro.
34161 # Note this is only for shared objects.
34162 ac_ld_relro=no
34163 if test x"$with_gnu_ld" = x"yes"; then
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34165 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34166 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34167 if test -n "$cxx_z_relo"; then
34168 OPT_LDFLAGS="-Wl,-z,relro"
34169 ac_ld_relro=yes
34171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34172 $as_echo "$ac_ld_relro" >&6; }
34175 # Set linker optimization flags.
34176 if test x"$with_gnu_ld" = x"yes"; then
34177 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34184 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34185 ac_save_CXXFLAGS="$CXXFLAGS"
34186 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34189 $as_echo_n "checking for sin in -lm... " >&6; }
34190 if test "${ac_cv_lib_m_sin+set}" = set; then :
34191 $as_echo_n "(cached) " >&6
34192 else
34193 ac_check_lib_save_LIBS=$LIBS
34194 LIBS="-lm $LIBS"
34195 if test x$gcc_no_link = xyes; then
34196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34199 /* end confdefs.h. */
34201 /* Override any GCC internal prototype to avoid an error.
34202 Use char because int might match the return type of a GCC
34203 builtin and then its argument prototype would still apply. */
34204 #ifdef __cplusplus
34205 extern "C"
34206 #endif
34207 char sin ();
34209 main ()
34211 return sin ();
34213 return 0;
34215 _ACEOF
34216 if ac_fn_c_try_link "$LINENO"; then :
34217 ac_cv_lib_m_sin=yes
34218 else
34219 ac_cv_lib_m_sin=no
34221 rm -f core conftest.err conftest.$ac_objext \
34222 conftest$ac_exeext conftest.$ac_ext
34223 LIBS=$ac_check_lib_save_LIBS
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34226 $as_echo "$ac_cv_lib_m_sin" >&6; }
34227 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34228 libm="-lm"
34231 ac_save_LIBS="$LIBS"
34232 LIBS="$LIBS $libm"
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34237 $as_echo_n "checking for isinf declaration... " >&6; }
34238 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34239 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34258 main ()
34260 isinf(0);
34262 return 0;
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func_isinf_use=yes
34267 else
34268 glibcxx_cv_func_isinf_use=no
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34282 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34284 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34285 for ac_func in isinf
34286 do :
34287 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34288 if test "x$ac_cv_func_isinf" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE_ISINF 1
34291 _ACEOF
34294 done
34296 else
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34299 $as_echo_n "checking for _isinf declaration... " >&6; }
34300 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34301 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34302 $as_echo_n "(cached) " >&6
34303 else
34306 ac_ext=cpp
34307 ac_cpp='$CXXCPP $CPPFLAGS'
34308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34313 /* end confdefs.h. */
34314 #include <math.h>
34315 #ifdef HAVE_IEEEFP_H
34316 #include <ieeefp.h>
34317 #endif
34320 main ()
34322 _isinf(0);
34324 return 0;
34326 _ACEOF
34327 if ac_fn_cxx_try_compile "$LINENO"; then :
34328 glibcxx_cv_func__isinf_use=yes
34329 else
34330 glibcxx_cv_func__isinf_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__isinf_use" >&5
34344 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34346 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34347 for ac_func in _isinf
34348 do :
34349 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34350 if test "x$ac_cv_func__isinf" = x""yes; then :
34351 cat >>confdefs.h <<_ACEOF
34352 #define HAVE__ISINF 1
34353 _ACEOF
34356 done
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34366 $as_echo_n "checking for isnan declaration... " >&6; }
34367 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34368 if test "${glibcxx_cv_func_isnan_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 isnan(0);
34391 return 0;
34393 _ACEOF
34394 if ac_fn_cxx_try_compile "$LINENO"; then :
34395 glibcxx_cv_func_isnan_use=yes
34396 else
34397 glibcxx_cv_func_isnan_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_isnan_use" >&5
34411 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34413 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34414 for ac_func in isnan
34415 do :
34416 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34417 if test "x$ac_cv_func_isnan" = x""yes; then :
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE_ISNAN 1
34420 _ACEOF
34423 done
34425 else
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34428 $as_echo_n "checking for _isnan declaration... " >&6; }
34429 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34430 if test "${glibcxx_cv_func__isnan_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 _isnan(0);
34453 return 0;
34455 _ACEOF
34456 if ac_fn_cxx_try_compile "$LINENO"; then :
34457 glibcxx_cv_func__isnan_use=yes
34458 else
34459 glibcxx_cv_func__isnan_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__isnan_use" >&5
34473 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34475 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34476 for ac_func in _isnan
34477 do :
34478 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34479 if test "x$ac_cv_func__isnan" = x""yes; then :
34480 cat >>confdefs.h <<_ACEOF
34481 #define HAVE__ISNAN 1
34482 _ACEOF
34485 done
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34495 $as_echo_n "checking for finite declaration... " >&6; }
34496 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34497 if test "${glibcxx_cv_func_finite_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>
34511 #ifdef HAVE_IEEEFP_H
34512 #include <ieeefp.h>
34513 #endif
34516 main ()
34518 finite(0);
34520 return 0;
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func_finite_use=yes
34525 else
34526 glibcxx_cv_func_finite_use=no
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34540 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34542 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34543 for ac_func in finite
34544 do :
34545 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34546 if test "x$ac_cv_func_finite" = x""yes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE_FINITE 1
34549 _ACEOF
34552 done
34554 else
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34557 $as_echo_n "checking for _finite declaration... " >&6; }
34558 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34559 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34560 $as_echo_n "(cached) " >&6
34561 else
34564 ac_ext=cpp
34565 ac_cpp='$CXXCPP $CPPFLAGS'
34566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34571 /* end confdefs.h. */
34572 #include <math.h>
34573 #ifdef HAVE_IEEEFP_H
34574 #include <ieeefp.h>
34575 #endif
34578 main ()
34580 _finite(0);
34582 return 0;
34584 _ACEOF
34585 if ac_fn_cxx_try_compile "$LINENO"; then :
34586 glibcxx_cv_func__finite_use=yes
34587 else
34588 glibcxx_cv_func__finite_use=no
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_ext=c
34592 ac_cpp='$CPP $CPPFLAGS'
34593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34602 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34604 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34605 for ac_func in _finite
34606 do :
34607 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34608 if test "x$ac_cv_func__finite" = x""yes; then :
34609 cat >>confdefs.h <<_ACEOF
34610 #define HAVE__FINITE 1
34611 _ACEOF
34614 done
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34624 $as_echo_n "checking for sincos declaration... " >&6; }
34625 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34626 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34627 $as_echo_n "(cached) " >&6
34628 else
34631 ac_ext=cpp
34632 ac_cpp='$CXXCPP $CPPFLAGS'
34633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34638 /* end confdefs.h. */
34639 #include <math.h>
34641 main ()
34643 sincos(0, 0, 0);
34645 return 0;
34647 _ACEOF
34648 if ac_fn_cxx_try_compile "$LINENO"; then :
34649 glibcxx_cv_func_sincos_use=yes
34650 else
34651 glibcxx_cv_func_sincos_use=no
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654 ac_ext=c
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34665 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34667 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34668 for ac_func in sincos
34669 do :
34670 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34671 if test "x$ac_cv_func_sincos" = x""yes; then :
34672 cat >>confdefs.h <<_ACEOF
34673 #define HAVE_SINCOS 1
34674 _ACEOF
34677 done
34679 else
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34682 $as_echo_n "checking for _sincos declaration... " >&6; }
34683 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34684 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34685 $as_echo_n "(cached) " >&6
34686 else
34689 ac_ext=cpp
34690 ac_cpp='$CXXCPP $CPPFLAGS'
34691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34696 /* end confdefs.h. */
34697 #include <math.h>
34699 main ()
34701 _sincos(0, 0, 0);
34703 return 0;
34705 _ACEOF
34706 if ac_fn_cxx_try_compile "$LINENO"; then :
34707 glibcxx_cv_func__sincos_use=yes
34708 else
34709 glibcxx_cv_func__sincos_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__sincos_use" >&5
34723 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34725 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34726 for ac_func in _sincos
34727 do :
34728 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34729 if test "x$ac_cv_func__sincos" = x""yes; then :
34730 cat >>confdefs.h <<_ACEOF
34731 #define HAVE__SINCOS 1
34732 _ACEOF
34735 done
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34745 $as_echo_n "checking for fpclass declaration... " >&6; }
34746 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34747 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34748 $as_echo_n "(cached) " >&6
34749 else
34752 ac_ext=cpp
34753 ac_cpp='$CXXCPP $CPPFLAGS'
34754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34759 /* end confdefs.h. */
34760 #include <math.h>
34761 #ifdef HAVE_IEEEFP_H
34762 #include <ieeefp.h>
34763 #endif
34766 main ()
34768 fpclass(0);
34770 return 0;
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func_fpclass_use=yes
34775 else
34776 glibcxx_cv_func_fpclass_use=no
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34790 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34792 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34793 for ac_func in fpclass
34794 do :
34795 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34796 if test "x$ac_cv_func_fpclass" = x""yes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE_FPCLASS 1
34799 _ACEOF
34802 done
34804 else
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34807 $as_echo_n "checking for _fpclass declaration... " >&6; }
34808 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34809 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34810 $as_echo_n "(cached) " >&6
34811 else
34814 ac_ext=cpp
34815 ac_cpp='$CXXCPP $CPPFLAGS'
34816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34821 /* end confdefs.h. */
34822 #include <math.h>
34823 #ifdef HAVE_IEEEFP_H
34824 #include <ieeefp.h>
34825 #endif
34828 main ()
34830 _fpclass(0);
34832 return 0;
34834 _ACEOF
34835 if ac_fn_cxx_try_compile "$LINENO"; then :
34836 glibcxx_cv_func__fpclass_use=yes
34837 else
34838 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
34852 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34854 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34855 for ac_func in _fpclass
34856 do :
34857 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34858 if test "x$ac_cv_func__fpclass" = x""yes; then :
34859 cat >>confdefs.h <<_ACEOF
34860 #define HAVE__FPCLASS 1
34861 _ACEOF
34864 done
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34874 $as_echo_n "checking for qfpclass declaration... " >&6; }
34875 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34876 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34877 $as_echo_n "(cached) " >&6
34878 else
34881 ac_ext=cpp
34882 ac_cpp='$CXXCPP $CPPFLAGS'
34883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34888 /* end confdefs.h. */
34889 #include <math.h>
34890 #ifdef HAVE_IEEEFP_H
34891 #include <ieeefp.h>
34892 #endif
34895 main ()
34897 qfpclass(0);
34899 return 0;
34901 _ACEOF
34902 if ac_fn_cxx_try_compile "$LINENO"; then :
34903 glibcxx_cv_func_qfpclass_use=yes
34904 else
34905 glibcxx_cv_func_qfpclass_use=no
34907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_ext=c
34909 ac_cpp='$CPP $CPPFLAGS'
34910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34919 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34921 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34922 for ac_func in qfpclass
34923 do :
34924 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34925 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34926 cat >>confdefs.h <<_ACEOF
34927 #define HAVE_QFPCLASS 1
34928 _ACEOF
34931 done
34933 else
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34936 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34937 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34938 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34939 $as_echo_n "(cached) " >&6
34940 else
34943 ac_ext=cpp
34944 ac_cpp='$CXXCPP $CPPFLAGS'
34945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34950 /* end confdefs.h. */
34951 #include <math.h>
34952 #ifdef HAVE_IEEEFP_H
34953 #include <ieeefp.h>
34954 #endif
34957 main ()
34959 _qfpclass(0);
34961 return 0;
34963 _ACEOF
34964 if ac_fn_cxx_try_compile "$LINENO"; then :
34965 glibcxx_cv_func__qfpclass_use=yes
34966 else
34967 glibcxx_cv_func__qfpclass_use=no
34969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34970 ac_ext=c
34971 ac_cpp='$CPP $CPPFLAGS'
34972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34981 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34983 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34984 for ac_func in _qfpclass
34985 do :
34986 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34987 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34988 cat >>confdefs.h <<_ACEOF
34989 #define HAVE__QFPCLASS 1
34990 _ACEOF
34993 done
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35003 $as_echo_n "checking for hypot declaration... " >&6; }
35004 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35005 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35006 $as_echo_n "(cached) " >&6
35007 else
35010 ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h. */
35018 #include <math.h>
35020 main ()
35022 hypot(0, 0);
35024 return 0;
35026 _ACEOF
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028 glibcxx_cv_func_hypot_use=yes
35029 else
35030 glibcxx_cv_func_hypot_use=no
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 ac_ext=c
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35044 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35046 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35047 for ac_func in hypot
35048 do :
35049 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35050 if test "x$ac_cv_func_hypot" = x""yes; then :
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE_HYPOT 1
35053 _ACEOF
35056 done
35058 else
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35061 $as_echo_n "checking for _hypot declaration... " >&6; }
35062 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35063 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35064 $as_echo_n "(cached) " >&6
35065 else
35068 ac_ext=cpp
35069 ac_cpp='$CXXCPP $CPPFLAGS'
35070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35075 /* end confdefs.h. */
35076 #include <math.h>
35078 main ()
35080 _hypot(0, 0);
35082 return 0;
35084 _ACEOF
35085 if ac_fn_cxx_try_compile "$LINENO"; then :
35086 glibcxx_cv_func__hypot_use=yes
35087 else
35088 glibcxx_cv_func__hypot_use=no
35090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35091 ac_ext=c
35092 ac_cpp='$CPP $CPPFLAGS'
35093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35102 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35104 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35105 for ac_func in _hypot
35106 do :
35107 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35108 if test "x$ac_cv_func__hypot" = x""yes; then :
35109 cat >>confdefs.h <<_ACEOF
35110 #define HAVE__HYPOT 1
35111 _ACEOF
35114 done
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35124 $as_echo_n "checking for float trig functions... " >&6; }
35125 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35126 $as_echo_n "(cached) " >&6
35127 else
35130 ac_ext=cpp
35131 ac_cpp='$CXXCPP $CPPFLAGS'
35132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35137 /* end confdefs.h. */
35138 #include <math.h>
35140 main ()
35142 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35144 return 0;
35146 _ACEOF
35147 if ac_fn_cxx_try_compile "$LINENO"; then :
35148 glibcxx_cv_func_float_trig_use=yes
35149 else
35150 glibcxx_cv_func_float_trig_use=no
35152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35153 ac_ext=c
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35162 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35163 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35164 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35165 do :
35166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35168 eval as_val=\$$as_ac_var
35169 if test "x$as_val" = x""yes; then :
35170 cat >>confdefs.h <<_ACEOF
35171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35172 _ACEOF
35175 done
35177 else
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35179 $as_echo_n "checking for _float trig functions... " >&6; }
35180 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35181 $as_echo_n "(cached) " >&6
35182 else
35185 ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h. */
35193 #include <math.h>
35195 main ()
35197 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35199 return 0;
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203 glibcxx_cv_func__float_trig_use=yes
35204 else
35205 glibcxx_cv_func__float_trig_use=no
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35217 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35218 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35219 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35220 do :
35221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35223 eval as_val=\$$as_ac_var
35224 if test "x$as_val" = x""yes; then :
35225 cat >>confdefs.h <<_ACEOF
35226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35227 _ACEOF
35230 done
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35240 $as_echo_n "checking for float round functions... " >&6; }
35241 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35242 $as_echo_n "(cached) " >&6
35243 else
35246 ac_ext=cpp
35247 ac_cpp='$CXXCPP $CPPFLAGS'
35248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35253 /* end confdefs.h. */
35254 #include <math.h>
35256 main ()
35258 ceilf (0); floorf (0);
35260 return 0;
35262 _ACEOF
35263 if ac_fn_cxx_try_compile "$LINENO"; then :
35264 glibcxx_cv_func_float_round_use=yes
35265 else
35266 glibcxx_cv_func_float_round_use=no
35268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35269 ac_ext=c
35270 ac_cpp='$CPP $CPPFLAGS'
35271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35278 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35279 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35280 for ac_func in ceilf floorf
35281 do :
35282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35284 eval as_val=\$$as_ac_var
35285 if test "x$as_val" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35288 _ACEOF
35291 done
35293 else
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35295 $as_echo_n "checking for _float round functions... " >&6; }
35296 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35311 main ()
35313 _ceilf (0); _floorf (0);
35315 return 0;
35317 _ACEOF
35318 if ac_fn_cxx_try_compile "$LINENO"; then :
35319 glibcxx_cv_func__float_round_use=yes
35320 else
35321 glibcxx_cv_func__float_round_use=no
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35324 ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35333 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35334 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35335 for ac_func in _ceilf _floorf
35336 do :
35337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35339 eval as_val=\$$as_ac_var
35340 if test "x$as_val" = x""yes; then :
35341 cat >>confdefs.h <<_ACEOF
35342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35343 _ACEOF
35346 done
35356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35357 $as_echo_n "checking for expf declaration... " >&6; }
35358 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35359 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35360 $as_echo_n "(cached) " >&6
35361 else
35364 ac_ext=cpp
35365 ac_cpp='$CXXCPP $CPPFLAGS'
35366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35371 /* end confdefs.h. */
35372 #include <math.h>
35373 #ifdef HAVE_IEEEFP_H
35374 #include <ieeefp.h>
35375 #endif
35378 main ()
35380 expf(0);
35382 return 0;
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func_expf_use=yes
35387 else
35388 glibcxx_cv_func_expf_use=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35402 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35404 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35405 for ac_func in expf
35406 do :
35407 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35408 if test "x$ac_cv_func_expf" = x""yes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE_EXPF 1
35411 _ACEOF
35414 done
35416 else
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35419 $as_echo_n "checking for _expf declaration... " >&6; }
35420 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35421 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35422 $as_echo_n "(cached) " >&6
35423 else
35426 ac_ext=cpp
35427 ac_cpp='$CXXCPP $CPPFLAGS'
35428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35433 /* end confdefs.h. */
35434 #include <math.h>
35435 #ifdef HAVE_IEEEFP_H
35436 #include <ieeefp.h>
35437 #endif
35440 main ()
35442 _expf(0);
35444 return 0;
35446 _ACEOF
35447 if ac_fn_cxx_try_compile "$LINENO"; then :
35448 glibcxx_cv_func__expf_use=yes
35449 else
35450 glibcxx_cv_func__expf_use=no
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35464 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35466 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35467 for ac_func in _expf
35468 do :
35469 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35470 if test "x$ac_cv_func__expf" = x""yes; then :
35471 cat >>confdefs.h <<_ACEOF
35472 #define HAVE__EXPF 1
35473 _ACEOF
35476 done
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35486 $as_echo_n "checking for isnanf declaration... " >&6; }
35487 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35488 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35489 $as_echo_n "(cached) " >&6
35490 else
35493 ac_ext=cpp
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35500 /* end confdefs.h. */
35501 #include <math.h>
35502 #ifdef HAVE_IEEEFP_H
35503 #include <ieeefp.h>
35504 #endif
35507 main ()
35509 isnanf(0);
35511 return 0;
35513 _ACEOF
35514 if ac_fn_cxx_try_compile "$LINENO"; then :
35515 glibcxx_cv_func_isnanf_use=yes
35516 else
35517 glibcxx_cv_func_isnanf_use=no
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35531 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35533 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35534 for ac_func in isnanf
35535 do :
35536 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35537 if test "x$ac_cv_func_isnanf" = x""yes; then :
35538 cat >>confdefs.h <<_ACEOF
35539 #define HAVE_ISNANF 1
35540 _ACEOF
35543 done
35545 else
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35548 $as_echo_n "checking for _isnanf declaration... " >&6; }
35549 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35550 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35551 $as_echo_n "(cached) " >&6
35552 else
35555 ac_ext=cpp
35556 ac_cpp='$CXXCPP $CPPFLAGS'
35557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35562 /* end confdefs.h. */
35563 #include <math.h>
35564 #ifdef HAVE_IEEEFP_H
35565 #include <ieeefp.h>
35566 #endif
35569 main ()
35571 _isnanf(0);
35573 return 0;
35575 _ACEOF
35576 if ac_fn_cxx_try_compile "$LINENO"; then :
35577 glibcxx_cv_func__isnanf_use=yes
35578 else
35579 glibcxx_cv_func__isnanf_use=no
35581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35582 ac_ext=c
35583 ac_cpp='$CPP $CPPFLAGS'
35584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35593 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35595 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35596 for ac_func in _isnanf
35597 do :
35598 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35599 if test "x$ac_cv_func__isnanf" = x""yes; then :
35600 cat >>confdefs.h <<_ACEOF
35601 #define HAVE__ISNANF 1
35602 _ACEOF
35605 done
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35615 $as_echo_n "checking for isinff declaration... " >&6; }
35616 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35617 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35618 $as_echo_n "(cached) " >&6
35619 else
35622 ac_ext=cpp
35623 ac_cpp='$CXXCPP $CPPFLAGS'
35624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35630 #include <math.h>
35631 #ifdef HAVE_IEEEFP_H
35632 #include <ieeefp.h>
35633 #endif
35636 main ()
35638 isinff(0);
35640 return 0;
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func_isinff_use=yes
35645 else
35646 glibcxx_cv_func_isinff_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35660 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35662 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35663 for ac_func in isinff
35664 do :
35665 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35666 if test "x$ac_cv_func_isinff" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE_ISINFF 1
35669 _ACEOF
35672 done
35674 else
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35677 $as_echo_n "checking for _isinff declaration... " >&6; }
35678 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35679 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35680 $as_echo_n "(cached) " >&6
35681 else
35684 ac_ext=cpp
35685 ac_cpp='$CXXCPP $CPPFLAGS'
35686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35691 /* end confdefs.h. */
35692 #include <math.h>
35693 #ifdef HAVE_IEEEFP_H
35694 #include <ieeefp.h>
35695 #endif
35698 main ()
35700 _isinff(0);
35702 return 0;
35704 _ACEOF
35705 if ac_fn_cxx_try_compile "$LINENO"; then :
35706 glibcxx_cv_func__isinff_use=yes
35707 else
35708 glibcxx_cv_func__isinff_use=no
35710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35711 ac_ext=c
35712 ac_cpp='$CPP $CPPFLAGS'
35713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35722 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35724 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35725 for ac_func in _isinff
35726 do :
35727 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35728 if test "x$ac_cv_func__isinff" = x""yes; then :
35729 cat >>confdefs.h <<_ACEOF
35730 #define HAVE__ISINFF 1
35731 _ACEOF
35734 done
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35744 $as_echo_n "checking for atan2f declaration... " >&6; }
35745 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35746 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35747 $as_echo_n "(cached) " >&6
35748 else
35751 ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35759 #include <math.h>
35761 main ()
35763 atan2f(0, 0);
35765 return 0;
35767 _ACEOF
35768 if ac_fn_cxx_try_compile "$LINENO"; then :
35769 glibcxx_cv_func_atan2f_use=yes
35770 else
35771 glibcxx_cv_func_atan2f_use=no
35773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35785 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35787 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35788 for ac_func in atan2f
35789 do :
35790 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35791 if test "x$ac_cv_func_atan2f" = x""yes; then :
35792 cat >>confdefs.h <<_ACEOF
35793 #define HAVE_ATAN2F 1
35794 _ACEOF
35797 done
35799 else
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35802 $as_echo_n "checking for _atan2f declaration... " >&6; }
35803 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35804 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35805 $as_echo_n "(cached) " >&6
35806 else
35809 ac_ext=cpp
35810 ac_cpp='$CXXCPP $CPPFLAGS'
35811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35816 /* end confdefs.h. */
35817 #include <math.h>
35819 main ()
35821 _atan2f(0, 0);
35823 return 0;
35825 _ACEOF
35826 if ac_fn_cxx_try_compile "$LINENO"; then :
35827 glibcxx_cv_func__atan2f_use=yes
35828 else
35829 glibcxx_cv_func__atan2f_use=no
35831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35832 ac_ext=c
35833 ac_cpp='$CPP $CPPFLAGS'
35834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35843 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35845 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35846 for ac_func in _atan2f
35847 do :
35848 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35849 if test "x$ac_cv_func__atan2f" = x""yes; then :
35850 cat >>confdefs.h <<_ACEOF
35851 #define HAVE__ATAN2F 1
35852 _ACEOF
35855 done
35864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35865 $as_echo_n "checking for fabsf declaration... " >&6; }
35866 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35867 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35868 $as_echo_n "(cached) " >&6
35869 else
35872 ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h. */
35880 #include <math.h>
35881 #ifdef HAVE_IEEEFP_H
35882 #include <ieeefp.h>
35883 #endif
35886 main ()
35888 fabsf(0);
35890 return 0;
35892 _ACEOF
35893 if ac_fn_cxx_try_compile "$LINENO"; then :
35894 glibcxx_cv_func_fabsf_use=yes
35895 else
35896 glibcxx_cv_func_fabsf_use=no
35898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35899 ac_ext=c
35900 ac_cpp='$CPP $CPPFLAGS'
35901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35910 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35912 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35913 for ac_func in fabsf
35914 do :
35915 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35916 if test "x$ac_cv_func_fabsf" = x""yes; then :
35917 cat >>confdefs.h <<_ACEOF
35918 #define HAVE_FABSF 1
35919 _ACEOF
35922 done
35924 else
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35927 $as_echo_n "checking for _fabsf declaration... " >&6; }
35928 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35929 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35930 $as_echo_n "(cached) " >&6
35931 else
35934 ac_ext=cpp
35935 ac_cpp='$CXXCPP $CPPFLAGS'
35936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35941 /* end confdefs.h. */
35942 #include <math.h>
35943 #ifdef HAVE_IEEEFP_H
35944 #include <ieeefp.h>
35945 #endif
35948 main ()
35950 _fabsf(0);
35952 return 0;
35954 _ACEOF
35955 if ac_fn_cxx_try_compile "$LINENO"; then :
35956 glibcxx_cv_func__fabsf_use=yes
35957 else
35958 glibcxx_cv_func__fabsf_use=no
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35972 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35974 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35975 for ac_func in _fabsf
35976 do :
35977 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35978 if test "x$ac_cv_func__fabsf" = x""yes; then :
35979 cat >>confdefs.h <<_ACEOF
35980 #define HAVE__FABSF 1
35981 _ACEOF
35984 done
35993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35994 $as_echo_n "checking for fmodf declaration... " >&6; }
35995 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35996 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35997 $as_echo_n "(cached) " >&6
35998 else
36001 ac_ext=cpp
36002 ac_cpp='$CXXCPP $CPPFLAGS'
36003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36008 /* end confdefs.h. */
36009 #include <math.h>
36011 main ()
36013 fmodf(0, 0);
36015 return 0;
36017 _ACEOF
36018 if ac_fn_cxx_try_compile "$LINENO"; then :
36019 glibcxx_cv_func_fmodf_use=yes
36020 else
36021 glibcxx_cv_func_fmodf_use=no
36023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36024 ac_ext=c
36025 ac_cpp='$CPP $CPPFLAGS'
36026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36035 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36037 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36038 for ac_func in fmodf
36039 do :
36040 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36041 if test "x$ac_cv_func_fmodf" = x""yes; then :
36042 cat >>confdefs.h <<_ACEOF
36043 #define HAVE_FMODF 1
36044 _ACEOF
36047 done
36049 else
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36052 $as_echo_n "checking for _fmodf declaration... " >&6; }
36053 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36054 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36055 $as_echo_n "(cached) " >&6
36056 else
36059 ac_ext=cpp
36060 ac_cpp='$CXXCPP $CPPFLAGS'
36061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36066 /* end confdefs.h. */
36067 #include <math.h>
36069 main ()
36071 _fmodf(0, 0);
36073 return 0;
36075 _ACEOF
36076 if ac_fn_cxx_try_compile "$LINENO"; then :
36077 glibcxx_cv_func__fmodf_use=yes
36078 else
36079 glibcxx_cv_func__fmodf_use=no
36081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36082 ac_ext=c
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36093 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36095 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36096 for ac_func in _fmodf
36097 do :
36098 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36099 if test "x$ac_cv_func__fmodf" = x""yes; then :
36100 cat >>confdefs.h <<_ACEOF
36101 #define HAVE__FMODF 1
36102 _ACEOF
36105 done
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36115 $as_echo_n "checking for frexpf declaration... " >&6; }
36116 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36117 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36118 $as_echo_n "(cached) " >&6
36119 else
36122 ac_ext=cpp
36123 ac_cpp='$CXXCPP $CPPFLAGS'
36124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36129 /* end confdefs.h. */
36130 #include <math.h>
36132 main ()
36134 frexpf(0, 0);
36136 return 0;
36138 _ACEOF
36139 if ac_fn_cxx_try_compile "$LINENO"; then :
36140 glibcxx_cv_func_frexpf_use=yes
36141 else
36142 glibcxx_cv_func_frexpf_use=no
36144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36145 ac_ext=c
36146 ac_cpp='$CPP $CPPFLAGS'
36147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36156 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36158 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36159 for ac_func in frexpf
36160 do :
36161 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36162 if test "x$ac_cv_func_frexpf" = x""yes; then :
36163 cat >>confdefs.h <<_ACEOF
36164 #define HAVE_FREXPF 1
36165 _ACEOF
36168 done
36170 else
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36173 $as_echo_n "checking for _frexpf declaration... " >&6; }
36174 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36175 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36176 $as_echo_n "(cached) " >&6
36177 else
36180 ac_ext=cpp
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h. */
36188 #include <math.h>
36190 main ()
36192 _frexpf(0, 0);
36194 return 0;
36196 _ACEOF
36197 if ac_fn_cxx_try_compile "$LINENO"; then :
36198 glibcxx_cv_func__frexpf_use=yes
36199 else
36200 glibcxx_cv_func__frexpf_use=no
36202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36203 ac_ext=c
36204 ac_cpp='$CPP $CPPFLAGS'
36205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36214 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36216 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36217 for ac_func in _frexpf
36218 do :
36219 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36220 if test "x$ac_cv_func__frexpf" = x""yes; then :
36221 cat >>confdefs.h <<_ACEOF
36222 #define HAVE__FREXPF 1
36223 _ACEOF
36226 done
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36236 $as_echo_n "checking for hypotf declaration... " >&6; }
36237 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36238 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36239 $as_echo_n "(cached) " >&6
36240 else
36243 ac_ext=cpp
36244 ac_cpp='$CXXCPP $CPPFLAGS'
36245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36250 /* end confdefs.h. */
36251 #include <math.h>
36253 main ()
36255 hypotf(0, 0);
36257 return 0;
36259 _ACEOF
36260 if ac_fn_cxx_try_compile "$LINENO"; then :
36261 glibcxx_cv_func_hypotf_use=yes
36262 else
36263 glibcxx_cv_func_hypotf_use=no
36265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36266 ac_ext=c
36267 ac_cpp='$CPP $CPPFLAGS'
36268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36277 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36279 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36280 for ac_func in hypotf
36281 do :
36282 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36283 if test "x$ac_cv_func_hypotf" = x""yes; then :
36284 cat >>confdefs.h <<_ACEOF
36285 #define HAVE_HYPOTF 1
36286 _ACEOF
36289 done
36291 else
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36294 $as_echo_n "checking for _hypotf declaration... " >&6; }
36295 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36296 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36297 $as_echo_n "(cached) " >&6
36298 else
36301 ac_ext=cpp
36302 ac_cpp='$CXXCPP $CPPFLAGS'
36303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36308 /* end confdefs.h. */
36309 #include <math.h>
36311 main ()
36313 _hypotf(0, 0);
36315 return 0;
36317 _ACEOF
36318 if ac_fn_cxx_try_compile "$LINENO"; then :
36319 glibcxx_cv_func__hypotf_use=yes
36320 else
36321 glibcxx_cv_func__hypotf_use=no
36323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36324 ac_ext=c
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36335 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36337 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36338 for ac_func in _hypotf
36339 do :
36340 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36341 if test "x$ac_cv_func__hypotf" = x""yes; then :
36342 cat >>confdefs.h <<_ACEOF
36343 #define HAVE__HYPOTF 1
36344 _ACEOF
36347 done
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36357 $as_echo_n "checking for ldexpf declaration... " >&6; }
36358 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36359 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36360 $as_echo_n "(cached) " >&6
36361 else
36364 ac_ext=cpp
36365 ac_cpp='$CXXCPP $CPPFLAGS'
36366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371 /* end confdefs.h. */
36372 #include <math.h>
36374 main ()
36376 ldexpf(0, 0);
36378 return 0;
36380 _ACEOF
36381 if ac_fn_cxx_try_compile "$LINENO"; then :
36382 glibcxx_cv_func_ldexpf_use=yes
36383 else
36384 glibcxx_cv_func_ldexpf_use=no
36386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36387 ac_ext=c
36388 ac_cpp='$CPP $CPPFLAGS'
36389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36398 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36400 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36401 for ac_func in ldexpf
36402 do :
36403 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36404 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36405 cat >>confdefs.h <<_ACEOF
36406 #define HAVE_LDEXPF 1
36407 _ACEOF
36410 done
36412 else
36414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36415 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36416 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36417 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36418 $as_echo_n "(cached) " >&6
36419 else
36422 ac_ext=cpp
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36429 /* end confdefs.h. */
36430 #include <math.h>
36432 main ()
36434 _ldexpf(0, 0);
36436 return 0;
36438 _ACEOF
36439 if ac_fn_cxx_try_compile "$LINENO"; then :
36440 glibcxx_cv_func__ldexpf_use=yes
36441 else
36442 glibcxx_cv_func__ldexpf_use=no
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445 ac_ext=c
36446 ac_cpp='$CPP $CPPFLAGS'
36447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36456 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36458 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36459 for ac_func in _ldexpf
36460 do :
36461 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36462 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36463 cat >>confdefs.h <<_ACEOF
36464 #define HAVE__LDEXPF 1
36465 _ACEOF
36468 done
36477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36478 $as_echo_n "checking for logf declaration... " >&6; }
36479 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36480 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36481 $as_echo_n "(cached) " >&6
36482 else
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36492 /* end confdefs.h. */
36493 #include <math.h>
36494 #ifdef HAVE_IEEEFP_H
36495 #include <ieeefp.h>
36496 #endif
36499 main ()
36501 logf(0);
36503 return 0;
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func_logf_use=yes
36508 else
36509 glibcxx_cv_func_logf_use=no
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36523 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36525 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36526 for ac_func in logf
36527 do :
36528 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36529 if test "x$ac_cv_func_logf" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE_LOGF 1
36532 _ACEOF
36535 done
36537 else
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36540 $as_echo_n "checking for _logf declaration... " >&6; }
36541 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36542 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36543 $as_echo_n "(cached) " >&6
36544 else
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36554 /* end confdefs.h. */
36555 #include <math.h>
36556 #ifdef HAVE_IEEEFP_H
36557 #include <ieeefp.h>
36558 #endif
36561 main ()
36563 _logf(0);
36565 return 0;
36567 _ACEOF
36568 if ac_fn_cxx_try_compile "$LINENO"; then :
36569 glibcxx_cv_func__logf_use=yes
36570 else
36571 glibcxx_cv_func__logf_use=no
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36574 ac_ext=c
36575 ac_cpp='$CPP $CPPFLAGS'
36576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36585 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36587 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36588 for ac_func in _logf
36589 do :
36590 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36591 if test "x$ac_cv_func__logf" = x""yes; then :
36592 cat >>confdefs.h <<_ACEOF
36593 #define HAVE__LOGF 1
36594 _ACEOF
36597 done
36606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36607 $as_echo_n "checking for log10f declaration... " >&6; }
36608 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36609 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36610 $as_echo_n "(cached) " >&6
36611 else
36614 ac_ext=cpp
36615 ac_cpp='$CXXCPP $CPPFLAGS'
36616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36621 /* end confdefs.h. */
36622 #include <math.h>
36623 #ifdef HAVE_IEEEFP_H
36624 #include <ieeefp.h>
36625 #endif
36628 main ()
36630 log10f(0);
36632 return 0;
36634 _ACEOF
36635 if ac_fn_cxx_try_compile "$LINENO"; then :
36636 glibcxx_cv_func_log10f_use=yes
36637 else
36638 glibcxx_cv_func_log10f_use=no
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641 ac_ext=c
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36652 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36654 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36655 for ac_func in log10f
36656 do :
36657 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36658 if test "x$ac_cv_func_log10f" = x""yes; then :
36659 cat >>confdefs.h <<_ACEOF
36660 #define HAVE_LOG10F 1
36661 _ACEOF
36664 done
36666 else
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36669 $as_echo_n "checking for _log10f declaration... " >&6; }
36670 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36671 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36672 $as_echo_n "(cached) " >&6
36673 else
36676 ac_ext=cpp
36677 ac_cpp='$CXXCPP $CPPFLAGS'
36678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36683 /* end confdefs.h. */
36684 #include <math.h>
36685 #ifdef HAVE_IEEEFP_H
36686 #include <ieeefp.h>
36687 #endif
36690 main ()
36692 _log10f(0);
36694 return 0;
36696 _ACEOF
36697 if ac_fn_cxx_try_compile "$LINENO"; then :
36698 glibcxx_cv_func__log10f_use=yes
36699 else
36700 glibcxx_cv_func__log10f_use=no
36702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36703 ac_ext=c
36704 ac_cpp='$CPP $CPPFLAGS'
36705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36714 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36716 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36717 for ac_func in _log10f
36718 do :
36719 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36720 if test "x$ac_cv_func__log10f" = x""yes; then :
36721 cat >>confdefs.h <<_ACEOF
36722 #define HAVE__LOG10F 1
36723 _ACEOF
36726 done
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36736 $as_echo_n "checking for modff declaration... " >&6; }
36737 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36738 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36739 $as_echo_n "(cached) " >&6
36740 else
36743 ac_ext=cpp
36744 ac_cpp='$CXXCPP $CPPFLAGS'
36745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36750 /* end confdefs.h. */
36751 #include <math.h>
36753 main ()
36755 modff(0, 0);
36757 return 0;
36759 _ACEOF
36760 if ac_fn_cxx_try_compile "$LINENO"; then :
36761 glibcxx_cv_func_modff_use=yes
36762 else
36763 glibcxx_cv_func_modff_use=no
36765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36766 ac_ext=c
36767 ac_cpp='$CPP $CPPFLAGS'
36768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36777 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36779 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36780 for ac_func in modff
36781 do :
36782 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36783 if test "x$ac_cv_func_modff" = x""yes; then :
36784 cat >>confdefs.h <<_ACEOF
36785 #define HAVE_MODFF 1
36786 _ACEOF
36789 done
36791 else
36793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36794 $as_echo_n "checking for _modff declaration... " >&6; }
36795 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36796 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36797 $as_echo_n "(cached) " >&6
36798 else
36801 ac_ext=cpp
36802 ac_cpp='$CXXCPP $CPPFLAGS'
36803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36808 /* end confdefs.h. */
36809 #include <math.h>
36811 main ()
36813 _modff(0, 0);
36815 return 0;
36817 _ACEOF
36818 if ac_fn_cxx_try_compile "$LINENO"; then :
36819 glibcxx_cv_func__modff_use=yes
36820 else
36821 glibcxx_cv_func__modff_use=no
36823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36824 ac_ext=c
36825 ac_cpp='$CPP $CPPFLAGS'
36826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36835 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36837 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36838 for ac_func in _modff
36839 do :
36840 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36841 if test "x$ac_cv_func__modff" = x""yes; then :
36842 cat >>confdefs.h <<_ACEOF
36843 #define HAVE__MODFF 1
36844 _ACEOF
36847 done
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36857 $as_echo_n "checking for modf declaration... " >&6; }
36858 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36859 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36860 $as_echo_n "(cached) " >&6
36861 else
36864 ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36871 /* end confdefs.h. */
36872 #include <math.h>
36874 main ()
36876 modf(0, 0);
36878 return 0;
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func_modf_use=yes
36883 else
36884 glibcxx_cv_func_modf_use=no
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36898 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36900 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36901 for ac_func in modf
36902 do :
36903 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36904 if test "x$ac_cv_func_modf" = x""yes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE_MODF 1
36907 _ACEOF
36910 done
36912 else
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36915 $as_echo_n "checking for _modf declaration... " >&6; }
36916 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36917 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36918 $as_echo_n "(cached) " >&6
36919 else
36922 ac_ext=cpp
36923 ac_cpp='$CXXCPP $CPPFLAGS'
36924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36929 /* end confdefs.h. */
36930 #include <math.h>
36932 main ()
36934 _modf(0, 0);
36936 return 0;
36938 _ACEOF
36939 if ac_fn_cxx_try_compile "$LINENO"; then :
36940 glibcxx_cv_func__modf_use=yes
36941 else
36942 glibcxx_cv_func__modf_use=no
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945 ac_ext=c
36946 ac_cpp='$CPP $CPPFLAGS'
36947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36956 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36958 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36959 for ac_func in _modf
36960 do :
36961 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36962 if test "x$ac_cv_func__modf" = x""yes; then :
36963 cat >>confdefs.h <<_ACEOF
36964 #define HAVE__MODF 1
36965 _ACEOF
36968 done
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36978 $as_echo_n "checking for powf declaration... " >&6; }
36979 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36980 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36981 $as_echo_n "(cached) " >&6
36982 else
36985 ac_ext=cpp
36986 ac_cpp='$CXXCPP $CPPFLAGS'
36987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36992 /* end confdefs.h. */
36993 #include <math.h>
36995 main ()
36997 powf(0, 0);
36999 return 0;
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func_powf_use=yes
37004 else
37005 glibcxx_cv_func_powf_use=no
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37019 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37021 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37022 for ac_func in powf
37023 do :
37024 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37025 if test "x$ac_cv_func_powf" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE_POWF 1
37028 _ACEOF
37031 done
37033 else
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37036 $as_echo_n "checking for _powf declaration... " >&6; }
37037 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37038 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37039 $as_echo_n "(cached) " >&6
37040 else
37043 ac_ext=cpp
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050 /* end confdefs.h. */
37051 #include <math.h>
37053 main ()
37055 _powf(0, 0);
37057 return 0;
37059 _ACEOF
37060 if ac_fn_cxx_try_compile "$LINENO"; then :
37061 glibcxx_cv_func__powf_use=yes
37062 else
37063 glibcxx_cv_func__powf_use=no
37065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37066 ac_ext=c
37067 ac_cpp='$CPP $CPPFLAGS'
37068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37077 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37079 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37080 for ac_func in _powf
37081 do :
37082 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37083 if test "x$ac_cv_func__powf" = x""yes; then :
37084 cat >>confdefs.h <<_ACEOF
37085 #define HAVE__POWF 1
37086 _ACEOF
37089 done
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37099 $as_echo_n "checking for sqrtf declaration... " >&6; }
37100 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37101 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37102 $as_echo_n "(cached) " >&6
37103 else
37106 ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h. */
37114 #include <math.h>
37115 #ifdef HAVE_IEEEFP_H
37116 #include <ieeefp.h>
37117 #endif
37120 main ()
37122 sqrtf(0);
37124 return 0;
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func_sqrtf_use=yes
37129 else
37130 glibcxx_cv_func_sqrtf_use=no
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37144 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37146 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37147 for ac_func in sqrtf
37148 do :
37149 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37150 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE_SQRTF 1
37153 _ACEOF
37156 done
37158 else
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37161 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37162 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37163 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37164 $as_echo_n "(cached) " >&6
37165 else
37168 ac_ext=cpp
37169 ac_cpp='$CXXCPP $CPPFLAGS'
37170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37175 /* end confdefs.h. */
37176 #include <math.h>
37177 #ifdef HAVE_IEEEFP_H
37178 #include <ieeefp.h>
37179 #endif
37182 main ()
37184 _sqrtf(0);
37186 return 0;
37188 _ACEOF
37189 if ac_fn_cxx_try_compile "$LINENO"; then :
37190 glibcxx_cv_func__sqrtf_use=yes
37191 else
37192 glibcxx_cv_func__sqrtf_use=no
37194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37206 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37208 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37209 for ac_func in _sqrtf
37210 do :
37211 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37212 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37213 cat >>confdefs.h <<_ACEOF
37214 #define HAVE__SQRTF 1
37215 _ACEOF
37218 done
37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37228 $as_echo_n "checking for sincosf declaration... " >&6; }
37229 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37230 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37231 $as_echo_n "(cached) " >&6
37232 else
37235 ac_ext=cpp
37236 ac_cpp='$CXXCPP $CPPFLAGS'
37237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37242 /* end confdefs.h. */
37243 #include <math.h>
37245 main ()
37247 sincosf(0, 0, 0);
37249 return 0;
37251 _ACEOF
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253 glibcxx_cv_func_sincosf_use=yes
37254 else
37255 glibcxx_cv_func_sincosf_use=no
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258 ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37269 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37271 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37272 for ac_func in sincosf
37273 do :
37274 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37275 if test "x$ac_cv_func_sincosf" = x""yes; then :
37276 cat >>confdefs.h <<_ACEOF
37277 #define HAVE_SINCOSF 1
37278 _ACEOF
37281 done
37283 else
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37286 $as_echo_n "checking for _sincosf declaration... " >&6; }
37287 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37288 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37289 $as_echo_n "(cached) " >&6
37290 else
37293 ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h. */
37301 #include <math.h>
37303 main ()
37305 _sincosf(0, 0, 0);
37307 return 0;
37309 _ACEOF
37310 if ac_fn_cxx_try_compile "$LINENO"; then :
37311 glibcxx_cv_func__sincosf_use=yes
37312 else
37313 glibcxx_cv_func__sincosf_use=no
37315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37316 ac_ext=c
37317 ac_cpp='$CPP $CPPFLAGS'
37318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37327 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37329 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37330 for ac_func in _sincosf
37331 do :
37332 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37333 if test "x$ac_cv_func__sincosf" = x""yes; then :
37334 cat >>confdefs.h <<_ACEOF
37335 #define HAVE__SINCOSF 1
37336 _ACEOF
37339 done
37348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37349 $as_echo_n "checking for finitef declaration... " >&6; }
37350 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37351 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37352 $as_echo_n "(cached) " >&6
37353 else
37356 ac_ext=cpp
37357 ac_cpp='$CXXCPP $CPPFLAGS'
37358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 /* end confdefs.h. */
37364 #include <math.h>
37365 #ifdef HAVE_IEEEFP_H
37366 #include <ieeefp.h>
37367 #endif
37370 main ()
37372 finitef(0);
37374 return 0;
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func_finitef_use=yes
37379 else
37380 glibcxx_cv_func_finitef_use=no
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37394 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37396 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37397 for ac_func in finitef
37398 do :
37399 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37400 if test "x$ac_cv_func_finitef" = x""yes; then :
37401 cat >>confdefs.h <<_ACEOF
37402 #define HAVE_FINITEF 1
37403 _ACEOF
37406 done
37408 else
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37411 $as_echo_n "checking for _finitef declaration... " >&6; }
37412 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37413 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37414 $as_echo_n "(cached) " >&6
37415 else
37418 ac_ext=cpp
37419 ac_cpp='$CXXCPP $CPPFLAGS'
37420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37425 /* end confdefs.h. */
37426 #include <math.h>
37427 #ifdef HAVE_IEEEFP_H
37428 #include <ieeefp.h>
37429 #endif
37432 main ()
37434 _finitef(0);
37436 return 0;
37438 _ACEOF
37439 if ac_fn_cxx_try_compile "$LINENO"; then :
37440 glibcxx_cv_func__finitef_use=yes
37441 else
37442 glibcxx_cv_func__finitef_use=no
37444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37445 ac_ext=c
37446 ac_cpp='$CPP $CPPFLAGS'
37447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37456 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37458 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37459 for ac_func in _finitef
37460 do :
37461 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37462 if test "x$ac_cv_func__finitef" = x""yes; then :
37463 cat >>confdefs.h <<_ACEOF
37464 #define HAVE__FINITEF 1
37465 _ACEOF
37468 done
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37478 $as_echo_n "checking for long double trig functions... " >&6; }
37479 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37480 $as_echo_n "(cached) " >&6
37481 else
37484 ac_ext=cpp
37485 ac_cpp='$CXXCPP $CPPFLAGS'
37486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37491 /* end confdefs.h. */
37492 #include <math.h>
37494 main ()
37496 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37498 return 0;
37500 _ACEOF
37501 if ac_fn_cxx_try_compile "$LINENO"; then :
37502 glibcxx_cv_func_long_double_trig_use=yes
37503 else
37504 glibcxx_cv_func_long_double_trig_use=no
37506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37507 ac_ext=c
37508 ac_cpp='$CPP $CPPFLAGS'
37509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37516 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37517 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37518 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37519 do :
37520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37522 eval as_val=\$$as_ac_var
37523 if test "x$as_val" = x""yes; then :
37524 cat >>confdefs.h <<_ACEOF
37525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37526 _ACEOF
37529 done
37531 else
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37533 $as_echo_n "checking for _long double trig functions... " >&6; }
37534 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37535 $as_echo_n "(cached) " >&6
37536 else
37539 ac_ext=cpp
37540 ac_cpp='$CXXCPP $CPPFLAGS'
37541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 /* end confdefs.h. */
37547 #include <math.h>
37549 main ()
37551 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37553 return 0;
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557 glibcxx_cv_func__long_double_trig_use=yes
37558 else
37559 glibcxx_cv_func__long_double_trig_use=no
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562 ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37571 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37572 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37573 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37574 do :
37575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37577 eval as_val=\$$as_ac_var
37578 if test "x$as_val" = x""yes; then :
37579 cat >>confdefs.h <<_ACEOF
37580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37581 _ACEOF
37584 done
37593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37594 $as_echo_n "checking for long double round functions... " >&6; }
37595 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37596 $as_echo_n "(cached) " >&6
37597 else
37600 ac_ext=cpp
37601 ac_cpp='$CXXCPP $CPPFLAGS'
37602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37607 /* end confdefs.h. */
37608 #include <math.h>
37610 main ()
37612 ceill (0); floorl (0);
37614 return 0;
37616 _ACEOF
37617 if ac_fn_cxx_try_compile "$LINENO"; then :
37618 glibcxx_cv_func_long_double_round_use=yes
37619 else
37620 glibcxx_cv_func_long_double_round_use=no
37622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37623 ac_ext=c
37624 ac_cpp='$CPP $CPPFLAGS'
37625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37632 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37633 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37634 for ac_func in ceill floorl
37635 do :
37636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37638 eval as_val=\$$as_ac_var
37639 if test "x$as_val" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37642 _ACEOF
37645 done
37647 else
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37649 $as_echo_n "checking for _long double round functions... " >&6; }
37650 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37665 main ()
37667 _ceill (0); _floorl (0);
37669 return 0;
37671 _ACEOF
37672 if ac_fn_cxx_try_compile "$LINENO"; then :
37673 glibcxx_cv_func__long_double_round_use=yes
37674 else
37675 glibcxx_cv_func__long_double_round_use=no
37677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37678 ac_ext=c
37679 ac_cpp='$CPP $CPPFLAGS'
37680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37687 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37688 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37689 for ac_func in _ceill _floorl
37690 do :
37691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37693 eval as_val=\$$as_ac_var
37694 if test "x$as_val" = x""yes; then :
37695 cat >>confdefs.h <<_ACEOF
37696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37697 _ACEOF
37700 done
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37711 $as_echo_n "checking for isnanl declaration... " >&6; }
37712 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37713 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37714 $as_echo_n "(cached) " >&6
37715 else
37718 ac_ext=cpp
37719 ac_cpp='$CXXCPP $CPPFLAGS'
37720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37725 /* end confdefs.h. */
37726 #include <math.h>
37727 #ifdef HAVE_IEEEFP_H
37728 #include <ieeefp.h>
37729 #endif
37732 main ()
37734 isnanl(0);
37736 return 0;
37738 _ACEOF
37739 if ac_fn_cxx_try_compile "$LINENO"; then :
37740 glibcxx_cv_func_isnanl_use=yes
37741 else
37742 glibcxx_cv_func_isnanl_use=no
37744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37745 ac_ext=c
37746 ac_cpp='$CPP $CPPFLAGS'
37747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37756 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37758 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37759 for ac_func in isnanl
37760 do :
37761 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37762 if test "x$ac_cv_func_isnanl" = x""yes; then :
37763 cat >>confdefs.h <<_ACEOF
37764 #define HAVE_ISNANL 1
37765 _ACEOF
37768 done
37770 else
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37773 $as_echo_n "checking for _isnanl declaration... " >&6; }
37774 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37775 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37776 $as_echo_n "(cached) " >&6
37777 else
37780 ac_ext=cpp
37781 ac_cpp='$CXXCPP $CPPFLAGS'
37782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37787 /* end confdefs.h. */
37788 #include <math.h>
37789 #ifdef HAVE_IEEEFP_H
37790 #include <ieeefp.h>
37791 #endif
37794 main ()
37796 _isnanl(0);
37798 return 0;
37800 _ACEOF
37801 if ac_fn_cxx_try_compile "$LINENO"; then :
37802 glibcxx_cv_func__isnanl_use=yes
37803 else
37804 glibcxx_cv_func__isnanl_use=no
37806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 ac_ext=c
37808 ac_cpp='$CPP $CPPFLAGS'
37809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37818 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37820 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37821 for ac_func in _isnanl
37822 do :
37823 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37824 if test "x$ac_cv_func__isnanl" = x""yes; then :
37825 cat >>confdefs.h <<_ACEOF
37826 #define HAVE__ISNANL 1
37827 _ACEOF
37830 done
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37840 $as_echo_n "checking for isinfl declaration... " >&6; }
37841 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37842 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37843 $as_echo_n "(cached) " >&6
37844 else
37847 ac_ext=cpp
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 /* end confdefs.h. */
37855 #include <math.h>
37856 #ifdef HAVE_IEEEFP_H
37857 #include <ieeefp.h>
37858 #endif
37861 main ()
37863 isinfl(0);
37865 return 0;
37867 _ACEOF
37868 if ac_fn_cxx_try_compile "$LINENO"; then :
37869 glibcxx_cv_func_isinfl_use=yes
37870 else
37871 glibcxx_cv_func_isinfl_use=no
37873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37874 ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37885 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37887 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37888 for ac_func in isinfl
37889 do :
37890 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37891 if test "x$ac_cv_func_isinfl" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_ISINFL 1
37894 _ACEOF
37897 done
37899 else
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37902 $as_echo_n "checking for _isinfl declaration... " >&6; }
37903 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37904 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37905 $as_echo_n "(cached) " >&6
37906 else
37909 ac_ext=cpp
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37916 /* end confdefs.h. */
37917 #include <math.h>
37918 #ifdef HAVE_IEEEFP_H
37919 #include <ieeefp.h>
37920 #endif
37923 main ()
37925 _isinfl(0);
37927 return 0;
37929 _ACEOF
37930 if ac_fn_cxx_try_compile "$LINENO"; then :
37931 glibcxx_cv_func__isinfl_use=yes
37932 else
37933 glibcxx_cv_func__isinfl_use=no
37935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37936 ac_ext=c
37937 ac_cpp='$CPP $CPPFLAGS'
37938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37947 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37949 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37950 for ac_func in _isinfl
37951 do :
37952 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37953 if test "x$ac_cv_func__isinfl" = x""yes; then :
37954 cat >>confdefs.h <<_ACEOF
37955 #define HAVE__ISINFL 1
37956 _ACEOF
37959 done
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37969 $as_echo_n "checking for atan2l declaration... " >&6; }
37970 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37971 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37972 $as_echo_n "(cached) " >&6
37973 else
37976 ac_ext=cpp
37977 ac_cpp='$CXXCPP $CPPFLAGS'
37978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37983 /* end confdefs.h. */
37984 #include <math.h>
37986 main ()
37988 atan2l(0, 0);
37990 return 0;
37992 _ACEOF
37993 if ac_fn_cxx_try_compile "$LINENO"; then :
37994 glibcxx_cv_func_atan2l_use=yes
37995 else
37996 glibcxx_cv_func_atan2l_use=no
37998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37999 ac_ext=c
38000 ac_cpp='$CPP $CPPFLAGS'
38001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38010 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38012 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38013 for ac_func in atan2l
38014 do :
38015 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38016 if test "x$ac_cv_func_atan2l" = x""yes; then :
38017 cat >>confdefs.h <<_ACEOF
38018 #define HAVE_ATAN2L 1
38019 _ACEOF
38022 done
38024 else
38026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38027 $as_echo_n "checking for _atan2l declaration... " >&6; }
38028 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38029 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38030 $as_echo_n "(cached) " >&6
38031 else
38034 ac_ext=cpp
38035 ac_cpp='$CXXCPP $CPPFLAGS'
38036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38041 /* end confdefs.h. */
38042 #include <math.h>
38044 main ()
38046 _atan2l(0, 0);
38048 return 0;
38050 _ACEOF
38051 if ac_fn_cxx_try_compile "$LINENO"; then :
38052 glibcxx_cv_func__atan2l_use=yes
38053 else
38054 glibcxx_cv_func__atan2l_use=no
38056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38057 ac_ext=c
38058 ac_cpp='$CPP $CPPFLAGS'
38059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38068 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38070 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38071 for ac_func in _atan2l
38072 do :
38073 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38074 if test "x$ac_cv_func__atan2l" = x""yes; then :
38075 cat >>confdefs.h <<_ACEOF
38076 #define HAVE__ATAN2L 1
38077 _ACEOF
38080 done
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38090 $as_echo_n "checking for expl declaration... " >&6; }
38091 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38092 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38093 $as_echo_n "(cached) " >&6
38094 else
38097 ac_ext=cpp
38098 ac_cpp='$CXXCPP $CPPFLAGS'
38099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38104 /* end confdefs.h. */
38105 #include <math.h>
38106 #ifdef HAVE_IEEEFP_H
38107 #include <ieeefp.h>
38108 #endif
38111 main ()
38113 expl(0);
38115 return 0;
38117 _ACEOF
38118 if ac_fn_cxx_try_compile "$LINENO"; then :
38119 glibcxx_cv_func_expl_use=yes
38120 else
38121 glibcxx_cv_func_expl_use=no
38123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38124 ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38135 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38137 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38138 for ac_func in expl
38139 do :
38140 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38141 if test "x$ac_cv_func_expl" = x""yes; then :
38142 cat >>confdefs.h <<_ACEOF
38143 #define HAVE_EXPL 1
38144 _ACEOF
38147 done
38149 else
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38152 $as_echo_n "checking for _expl declaration... " >&6; }
38153 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38154 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38155 $as_echo_n "(cached) " >&6
38156 else
38159 ac_ext=cpp
38160 ac_cpp='$CXXCPP $CPPFLAGS'
38161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38166 /* end confdefs.h. */
38167 #include <math.h>
38168 #ifdef HAVE_IEEEFP_H
38169 #include <ieeefp.h>
38170 #endif
38173 main ()
38175 _expl(0);
38177 return 0;
38179 _ACEOF
38180 if ac_fn_cxx_try_compile "$LINENO"; then :
38181 glibcxx_cv_func__expl_use=yes
38182 else
38183 glibcxx_cv_func__expl_use=no
38185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38186 ac_ext=c
38187 ac_cpp='$CPP $CPPFLAGS'
38188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38197 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38199 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38200 for ac_func in _expl
38201 do :
38202 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38203 if test "x$ac_cv_func__expl" = x""yes; then :
38204 cat >>confdefs.h <<_ACEOF
38205 #define HAVE__EXPL 1
38206 _ACEOF
38209 done
38218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38219 $as_echo_n "checking for fabsl declaration... " >&6; }
38220 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38221 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38222 $as_echo_n "(cached) " >&6
38223 else
38226 ac_ext=cpp
38227 ac_cpp='$CXXCPP $CPPFLAGS'
38228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38233 /* end confdefs.h. */
38234 #include <math.h>
38235 #ifdef HAVE_IEEEFP_H
38236 #include <ieeefp.h>
38237 #endif
38240 main ()
38242 fabsl(0);
38244 return 0;
38246 _ACEOF
38247 if ac_fn_cxx_try_compile "$LINENO"; then :
38248 glibcxx_cv_func_fabsl_use=yes
38249 else
38250 glibcxx_cv_func_fabsl_use=no
38252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253 ac_ext=c
38254 ac_cpp='$CPP $CPPFLAGS'
38255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38264 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38266 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38267 for ac_func in fabsl
38268 do :
38269 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38270 if test "x$ac_cv_func_fabsl" = x""yes; then :
38271 cat >>confdefs.h <<_ACEOF
38272 #define HAVE_FABSL 1
38273 _ACEOF
38276 done
38278 else
38280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38281 $as_echo_n "checking for _fabsl declaration... " >&6; }
38282 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38283 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38284 $as_echo_n "(cached) " >&6
38285 else
38288 ac_ext=cpp
38289 ac_cpp='$CXXCPP $CPPFLAGS'
38290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38296 #include <math.h>
38297 #ifdef HAVE_IEEEFP_H
38298 #include <ieeefp.h>
38299 #endif
38302 main ()
38304 _fabsl(0);
38306 return 0;
38308 _ACEOF
38309 if ac_fn_cxx_try_compile "$LINENO"; then :
38310 glibcxx_cv_func__fabsl_use=yes
38311 else
38312 glibcxx_cv_func__fabsl_use=no
38314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38315 ac_ext=c
38316 ac_cpp='$CPP $CPPFLAGS'
38317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38326 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38328 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38329 for ac_func in _fabsl
38330 do :
38331 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38332 if test "x$ac_cv_func__fabsl" = x""yes; then :
38333 cat >>confdefs.h <<_ACEOF
38334 #define HAVE__FABSL 1
38335 _ACEOF
38338 done
38347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38348 $as_echo_n "checking for fmodl declaration... " >&6; }
38349 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38350 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38351 $as_echo_n "(cached) " >&6
38352 else
38355 ac_ext=cpp
38356 ac_cpp='$CXXCPP $CPPFLAGS'
38357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38362 /* end confdefs.h. */
38363 #include <math.h>
38365 main ()
38367 fmodl(0, 0);
38369 return 0;
38371 _ACEOF
38372 if ac_fn_cxx_try_compile "$LINENO"; then :
38373 glibcxx_cv_func_fmodl_use=yes
38374 else
38375 glibcxx_cv_func_fmodl_use=no
38377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38378 ac_ext=c
38379 ac_cpp='$CPP $CPPFLAGS'
38380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38389 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38391 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38392 for ac_func in fmodl
38393 do :
38394 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38395 if test "x$ac_cv_func_fmodl" = x""yes; then :
38396 cat >>confdefs.h <<_ACEOF
38397 #define HAVE_FMODL 1
38398 _ACEOF
38401 done
38403 else
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38406 $as_echo_n "checking for _fmodl declaration... " >&6; }
38407 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38408 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38409 $as_echo_n "(cached) " >&6
38410 else
38413 ac_ext=cpp
38414 ac_cpp='$CXXCPP $CPPFLAGS'
38415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38420 /* end confdefs.h. */
38421 #include <math.h>
38423 main ()
38425 _fmodl(0, 0);
38427 return 0;
38429 _ACEOF
38430 if ac_fn_cxx_try_compile "$LINENO"; then :
38431 glibcxx_cv_func__fmodl_use=yes
38432 else
38433 glibcxx_cv_func__fmodl_use=no
38435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38436 ac_ext=c
38437 ac_cpp='$CPP $CPPFLAGS'
38438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38447 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38449 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38450 for ac_func in _fmodl
38451 do :
38452 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38453 if test "x$ac_cv_func__fmodl" = x""yes; then :
38454 cat >>confdefs.h <<_ACEOF
38455 #define HAVE__FMODL 1
38456 _ACEOF
38459 done
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38469 $as_echo_n "checking for frexpl declaration... " >&6; }
38470 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38471 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38472 $as_echo_n "(cached) " >&6
38473 else
38476 ac_ext=cpp
38477 ac_cpp='$CXXCPP $CPPFLAGS'
38478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38483 /* end confdefs.h. */
38484 #include <math.h>
38486 main ()
38488 frexpl(0, 0);
38490 return 0;
38492 _ACEOF
38493 if ac_fn_cxx_try_compile "$LINENO"; then :
38494 glibcxx_cv_func_frexpl_use=yes
38495 else
38496 glibcxx_cv_func_frexpl_use=no
38498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38499 ac_ext=c
38500 ac_cpp='$CPP $CPPFLAGS'
38501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38510 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38512 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38513 for ac_func in frexpl
38514 do :
38515 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38516 if test "x$ac_cv_func_frexpl" = x""yes; then :
38517 cat >>confdefs.h <<_ACEOF
38518 #define HAVE_FREXPL 1
38519 _ACEOF
38522 done
38524 else
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38527 $as_echo_n "checking for _frexpl declaration... " >&6; }
38528 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38529 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38530 $as_echo_n "(cached) " >&6
38531 else
38534 ac_ext=cpp
38535 ac_cpp='$CXXCPP $CPPFLAGS'
38536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38541 /* end confdefs.h. */
38542 #include <math.h>
38544 main ()
38546 _frexpl(0, 0);
38548 return 0;
38550 _ACEOF
38551 if ac_fn_cxx_try_compile "$LINENO"; then :
38552 glibcxx_cv_func__frexpl_use=yes
38553 else
38554 glibcxx_cv_func__frexpl_use=no
38556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38557 ac_ext=c
38558 ac_cpp='$CPP $CPPFLAGS'
38559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38568 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38570 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38571 for ac_func in _frexpl
38572 do :
38573 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38574 if test "x$ac_cv_func__frexpl" = x""yes; then :
38575 cat >>confdefs.h <<_ACEOF
38576 #define HAVE__FREXPL 1
38577 _ACEOF
38580 done
38589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38590 $as_echo_n "checking for hypotl declaration... " >&6; }
38591 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38592 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38593 $as_echo_n "(cached) " >&6
38594 else
38597 ac_ext=cpp
38598 ac_cpp='$CXXCPP $CPPFLAGS'
38599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38604 /* end confdefs.h. */
38605 #include <math.h>
38607 main ()
38609 hypotl(0, 0);
38611 return 0;
38613 _ACEOF
38614 if ac_fn_cxx_try_compile "$LINENO"; then :
38615 glibcxx_cv_func_hypotl_use=yes
38616 else
38617 glibcxx_cv_func_hypotl_use=no
38619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38620 ac_ext=c
38621 ac_cpp='$CPP $CPPFLAGS'
38622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38631 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38633 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38634 for ac_func in hypotl
38635 do :
38636 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38637 if test "x$ac_cv_func_hypotl" = x""yes; then :
38638 cat >>confdefs.h <<_ACEOF
38639 #define HAVE_HYPOTL 1
38640 _ACEOF
38643 done
38645 else
38647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38648 $as_echo_n "checking for _hypotl declaration... " >&6; }
38649 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38650 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38651 $as_echo_n "(cached) " >&6
38652 else
38655 ac_ext=cpp
38656 ac_cpp='$CXXCPP $CPPFLAGS'
38657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38662 /* end confdefs.h. */
38663 #include <math.h>
38665 main ()
38667 _hypotl(0, 0);
38669 return 0;
38671 _ACEOF
38672 if ac_fn_cxx_try_compile "$LINENO"; then :
38673 glibcxx_cv_func__hypotl_use=yes
38674 else
38675 glibcxx_cv_func__hypotl_use=no
38677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38678 ac_ext=c
38679 ac_cpp='$CPP $CPPFLAGS'
38680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38689 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38691 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38692 for ac_func in _hypotl
38693 do :
38694 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38695 if test "x$ac_cv_func__hypotl" = x""yes; then :
38696 cat >>confdefs.h <<_ACEOF
38697 #define HAVE__HYPOTL 1
38698 _ACEOF
38701 done
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38711 $as_echo_n "checking for ldexpl declaration... " >&6; }
38712 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38713 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38714 $as_echo_n "(cached) " >&6
38715 else
38718 ac_ext=cpp
38719 ac_cpp='$CXXCPP $CPPFLAGS'
38720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h. */
38726 #include <math.h>
38728 main ()
38730 ldexpl(0, 0);
38732 return 0;
38734 _ACEOF
38735 if ac_fn_cxx_try_compile "$LINENO"; then :
38736 glibcxx_cv_func_ldexpl_use=yes
38737 else
38738 glibcxx_cv_func_ldexpl_use=no
38740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38741 ac_ext=c
38742 ac_cpp='$CPP $CPPFLAGS'
38743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38752 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38754 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38755 for ac_func in ldexpl
38756 do :
38757 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38758 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38759 cat >>confdefs.h <<_ACEOF
38760 #define HAVE_LDEXPL 1
38761 _ACEOF
38764 done
38766 else
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38769 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38770 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38771 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38772 $as_echo_n "(cached) " >&6
38773 else
38776 ac_ext=cpp
38777 ac_cpp='$CXXCPP $CPPFLAGS'
38778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783 /* end confdefs.h. */
38784 #include <math.h>
38786 main ()
38788 _ldexpl(0, 0);
38790 return 0;
38792 _ACEOF
38793 if ac_fn_cxx_try_compile "$LINENO"; then :
38794 glibcxx_cv_func__ldexpl_use=yes
38795 else
38796 glibcxx_cv_func__ldexpl_use=no
38798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38799 ac_ext=c
38800 ac_cpp='$CPP $CPPFLAGS'
38801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38810 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38812 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38813 for ac_func in _ldexpl
38814 do :
38815 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38816 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38817 cat >>confdefs.h <<_ACEOF
38818 #define HAVE__LDEXPL 1
38819 _ACEOF
38822 done
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38832 $as_echo_n "checking for logl declaration... " >&6; }
38833 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38834 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <math.h>
38848 #ifdef HAVE_IEEEFP_H
38849 #include <ieeefp.h>
38850 #endif
38853 main ()
38855 logl(0);
38857 return 0;
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func_logl_use=yes
38862 else
38863 glibcxx_cv_func_logl_use=no
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38877 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38879 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38880 for ac_func in logl
38881 do :
38882 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38883 if test "x$ac_cv_func_logl" = x""yes; then :
38884 cat >>confdefs.h <<_ACEOF
38885 #define HAVE_LOGL 1
38886 _ACEOF
38889 done
38891 else
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38894 $as_echo_n "checking for _logl declaration... " >&6; }
38895 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38896 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38897 $as_echo_n "(cached) " >&6
38898 else
38901 ac_ext=cpp
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38908 /* end confdefs.h. */
38909 #include <math.h>
38910 #ifdef HAVE_IEEEFP_H
38911 #include <ieeefp.h>
38912 #endif
38915 main ()
38917 _logl(0);
38919 return 0;
38921 _ACEOF
38922 if ac_fn_cxx_try_compile "$LINENO"; then :
38923 glibcxx_cv_func__logl_use=yes
38924 else
38925 glibcxx_cv_func__logl_use=no
38927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38928 ac_ext=c
38929 ac_cpp='$CPP $CPPFLAGS'
38930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38939 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38941 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38942 for ac_func in _logl
38943 do :
38944 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38945 if test "x$ac_cv_func__logl" = x""yes; then :
38946 cat >>confdefs.h <<_ACEOF
38947 #define HAVE__LOGL 1
38948 _ACEOF
38951 done
38960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38961 $as_echo_n "checking for log10l declaration... " >&6; }
38962 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38963 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38964 $as_echo_n "(cached) " >&6
38965 else
38968 ac_ext=cpp
38969 ac_cpp='$CXXCPP $CPPFLAGS'
38970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38975 /* end confdefs.h. */
38976 #include <math.h>
38977 #ifdef HAVE_IEEEFP_H
38978 #include <ieeefp.h>
38979 #endif
38982 main ()
38984 log10l(0);
38986 return 0;
38988 _ACEOF
38989 if ac_fn_cxx_try_compile "$LINENO"; then :
38990 glibcxx_cv_func_log10l_use=yes
38991 else
38992 glibcxx_cv_func_log10l_use=no
38994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38995 ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39006 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39008 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39009 for ac_func in log10l
39010 do :
39011 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39012 if test "x$ac_cv_func_log10l" = x""yes; then :
39013 cat >>confdefs.h <<_ACEOF
39014 #define HAVE_LOG10L 1
39015 _ACEOF
39018 done
39020 else
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39023 $as_echo_n "checking for _log10l declaration... " >&6; }
39024 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39025 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39026 $as_echo_n "(cached) " >&6
39027 else
39030 ac_ext=cpp
39031 ac_cpp='$CXXCPP $CPPFLAGS'
39032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39037 /* end confdefs.h. */
39038 #include <math.h>
39039 #ifdef HAVE_IEEEFP_H
39040 #include <ieeefp.h>
39041 #endif
39044 main ()
39046 _log10l(0);
39048 return 0;
39050 _ACEOF
39051 if ac_fn_cxx_try_compile "$LINENO"; then :
39052 glibcxx_cv_func__log10l_use=yes
39053 else
39054 glibcxx_cv_func__log10l_use=no
39056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057 ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39068 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39070 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39071 for ac_func in _log10l
39072 do :
39073 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39074 if test "x$ac_cv_func__log10l" = x""yes; then :
39075 cat >>confdefs.h <<_ACEOF
39076 #define HAVE__LOG10L 1
39077 _ACEOF
39080 done
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39090 $as_echo_n "checking for modfl declaration... " >&6; }
39091 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39092 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39093 $as_echo_n "(cached) " >&6
39094 else
39097 ac_ext=cpp
39098 ac_cpp='$CXXCPP $CPPFLAGS'
39099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h. */
39105 #include <math.h>
39107 main ()
39109 modfl(0, 0);
39111 return 0;
39113 _ACEOF
39114 if ac_fn_cxx_try_compile "$LINENO"; then :
39115 glibcxx_cv_func_modfl_use=yes
39116 else
39117 glibcxx_cv_func_modfl_use=no
39119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39120 ac_ext=c
39121 ac_cpp='$CPP $CPPFLAGS'
39122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39131 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39133 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39134 for ac_func in modfl
39135 do :
39136 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39137 if test "x$ac_cv_func_modfl" = x""yes; then :
39138 cat >>confdefs.h <<_ACEOF
39139 #define HAVE_MODFL 1
39140 _ACEOF
39143 done
39145 else
39147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39148 $as_echo_n "checking for _modfl declaration... " >&6; }
39149 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39150 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39151 $as_echo_n "(cached) " >&6
39152 else
39155 ac_ext=cpp
39156 ac_cpp='$CXXCPP $CPPFLAGS'
39157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39162 /* end confdefs.h. */
39163 #include <math.h>
39165 main ()
39167 _modfl(0, 0);
39169 return 0;
39171 _ACEOF
39172 if ac_fn_cxx_try_compile "$LINENO"; then :
39173 glibcxx_cv_func__modfl_use=yes
39174 else
39175 glibcxx_cv_func__modfl_use=no
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39178 ac_ext=c
39179 ac_cpp='$CPP $CPPFLAGS'
39180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39189 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39191 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39192 for ac_func in _modfl
39193 do :
39194 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39195 if test "x$ac_cv_func__modfl" = x""yes; then :
39196 cat >>confdefs.h <<_ACEOF
39197 #define HAVE__MODFL 1
39198 _ACEOF
39201 done
39210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39211 $as_echo_n "checking for powl declaration... " >&6; }
39212 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39213 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39214 $as_echo_n "(cached) " >&6
39215 else
39218 ac_ext=cpp
39219 ac_cpp='$CXXCPP $CPPFLAGS'
39220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39225 /* end confdefs.h. */
39226 #include <math.h>
39228 main ()
39230 powl(0, 0);
39232 return 0;
39234 _ACEOF
39235 if ac_fn_cxx_try_compile "$LINENO"; then :
39236 glibcxx_cv_func_powl_use=yes
39237 else
39238 glibcxx_cv_func_powl_use=no
39240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39241 ac_ext=c
39242 ac_cpp='$CPP $CPPFLAGS'
39243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39252 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39254 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39255 for ac_func in powl
39256 do :
39257 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39258 if test "x$ac_cv_func_powl" = x""yes; then :
39259 cat >>confdefs.h <<_ACEOF
39260 #define HAVE_POWL 1
39261 _ACEOF
39264 done
39266 else
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39269 $as_echo_n "checking for _powl declaration... " >&6; }
39270 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39271 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39272 $as_echo_n "(cached) " >&6
39273 else
39276 ac_ext=cpp
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283 /* end confdefs.h. */
39284 #include <math.h>
39286 main ()
39288 _powl(0, 0);
39290 return 0;
39292 _ACEOF
39293 if ac_fn_cxx_try_compile "$LINENO"; then :
39294 glibcxx_cv_func__powl_use=yes
39295 else
39296 glibcxx_cv_func__powl_use=no
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39310 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39312 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39313 for ac_func in _powl
39314 do :
39315 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39316 if test "x$ac_cv_func__powl" = x""yes; then :
39317 cat >>confdefs.h <<_ACEOF
39318 #define HAVE__POWL 1
39319 _ACEOF
39322 done
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39332 $as_echo_n "checking for sqrtl declaration... " >&6; }
39333 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39334 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39335 $as_echo_n "(cached) " >&6
39336 else
39339 ac_ext=cpp
39340 ac_cpp='$CXXCPP $CPPFLAGS'
39341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39346 /* end confdefs.h. */
39347 #include <math.h>
39348 #ifdef HAVE_IEEEFP_H
39349 #include <ieeefp.h>
39350 #endif
39353 main ()
39355 sqrtl(0);
39357 return 0;
39359 _ACEOF
39360 if ac_fn_cxx_try_compile "$LINENO"; then :
39361 glibcxx_cv_func_sqrtl_use=yes
39362 else
39363 glibcxx_cv_func_sqrtl_use=no
39365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39366 ac_ext=c
39367 ac_cpp='$CPP $CPPFLAGS'
39368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39377 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39379 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39380 for ac_func in sqrtl
39381 do :
39382 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39383 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39384 cat >>confdefs.h <<_ACEOF
39385 #define HAVE_SQRTL 1
39386 _ACEOF
39389 done
39391 else
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39394 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39395 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39396 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39397 $as_echo_n "(cached) " >&6
39398 else
39401 ac_ext=cpp
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39408 /* end confdefs.h. */
39409 #include <math.h>
39410 #ifdef HAVE_IEEEFP_H
39411 #include <ieeefp.h>
39412 #endif
39415 main ()
39417 _sqrtl(0);
39419 return 0;
39421 _ACEOF
39422 if ac_fn_cxx_try_compile "$LINENO"; then :
39423 glibcxx_cv_func__sqrtl_use=yes
39424 else
39425 glibcxx_cv_func__sqrtl_use=no
39427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39428 ac_ext=c
39429 ac_cpp='$CPP $CPPFLAGS'
39430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39439 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39441 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39442 for ac_func in _sqrtl
39443 do :
39444 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39445 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39446 cat >>confdefs.h <<_ACEOF
39447 #define HAVE__SQRTL 1
39448 _ACEOF
39451 done
39460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39461 $as_echo_n "checking for sincosl declaration... " >&6; }
39462 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39463 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39464 $as_echo_n "(cached) " >&6
39465 else
39468 ac_ext=cpp
39469 ac_cpp='$CXXCPP $CPPFLAGS'
39470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39475 /* end confdefs.h. */
39476 #include <math.h>
39478 main ()
39480 sincosl(0, 0, 0);
39482 return 0;
39484 _ACEOF
39485 if ac_fn_cxx_try_compile "$LINENO"; then :
39486 glibcxx_cv_func_sincosl_use=yes
39487 else
39488 glibcxx_cv_func_sincosl_use=no
39490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39491 ac_ext=c
39492 ac_cpp='$CPP $CPPFLAGS'
39493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39502 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39504 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39505 for ac_func in sincosl
39506 do :
39507 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39508 if test "x$ac_cv_func_sincosl" = x""yes; then :
39509 cat >>confdefs.h <<_ACEOF
39510 #define HAVE_SINCOSL 1
39511 _ACEOF
39514 done
39516 else
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39519 $as_echo_n "checking for _sincosl declaration... " >&6; }
39520 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39521 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39522 $as_echo_n "(cached) " >&6
39523 else
39526 ac_ext=cpp
39527 ac_cpp='$CXXCPP $CPPFLAGS'
39528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39533 /* end confdefs.h. */
39534 #include <math.h>
39536 main ()
39538 _sincosl(0, 0, 0);
39540 return 0;
39542 _ACEOF
39543 if ac_fn_cxx_try_compile "$LINENO"; then :
39544 glibcxx_cv_func__sincosl_use=yes
39545 else
39546 glibcxx_cv_func__sincosl_use=no
39548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39549 ac_ext=c
39550 ac_cpp='$CPP $CPPFLAGS'
39551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39560 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39562 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39563 for ac_func in _sincosl
39564 do :
39565 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39566 if test "x$ac_cv_func__sincosl" = x""yes; then :
39567 cat >>confdefs.h <<_ACEOF
39568 #define HAVE__SINCOSL 1
39569 _ACEOF
39572 done
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39582 $as_echo_n "checking for finitel declaration... " >&6; }
39583 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39584 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39603 main ()
39605 finitel(0);
39607 return 0;
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func_finitel_use=yes
39612 else
39613 glibcxx_cv_func_finitel_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39627 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39629 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39630 for ac_func in finitel
39631 do :
39632 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39633 if test "x$ac_cv_func_finitel" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_FINITEL 1
39636 _ACEOF
39639 done
39641 else
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39644 $as_echo_n "checking for _finitel declaration... " >&6; }
39645 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39646 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39647 $as_echo_n "(cached) " >&6
39648 else
39651 ac_ext=cpp
39652 ac_cpp='$CXXCPP $CPPFLAGS'
39653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39659 #include <math.h>
39660 #ifdef HAVE_IEEEFP_H
39661 #include <ieeefp.h>
39662 #endif
39665 main ()
39667 _finitel(0);
39669 return 0;
39671 _ACEOF
39672 if ac_fn_cxx_try_compile "$LINENO"; then :
39673 glibcxx_cv_func__finitel_use=yes
39674 else
39675 glibcxx_cv_func__finitel_use=no
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39678 ac_ext=c
39679 ac_cpp='$CPP $CPPFLAGS'
39680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39689 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39691 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39692 for ac_func in _finitel
39693 do :
39694 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39695 if test "x$ac_cv_func__finitel" = x""yes; then :
39696 cat >>confdefs.h <<_ACEOF
39697 #define HAVE__FINITEL 1
39698 _ACEOF
39701 done
39709 LIBS="$ac_save_LIBS"
39710 CXXFLAGS="$ac_save_CXXFLAGS"
39713 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39714 ac_save_CXXFLAGS="$CXXFLAGS"
39715 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39719 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39720 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39721 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39722 $as_echo_n "(cached) " >&6
39723 else
39726 ac_ext=cpp
39727 ac_cpp='$CXXCPP $CPPFLAGS'
39728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39733 /* end confdefs.h. */
39734 #include <stdlib.h>
39736 main ()
39738 at_quick_exit(0);
39740 return 0;
39742 _ACEOF
39743 if ac_fn_cxx_try_compile "$LINENO"; then :
39744 glibcxx_cv_func_at_quick_exit_use=yes
39745 else
39746 glibcxx_cv_func_at_quick_exit_use=no
39748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39749 ac_ext=c
39750 ac_cpp='$CPP $CPPFLAGS'
39751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39760 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39761 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39762 for ac_func in at_quick_exit
39763 do :
39764 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39765 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39766 cat >>confdefs.h <<_ACEOF
39767 #define HAVE_AT_QUICK_EXIT 1
39768 _ACEOF
39771 done
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39777 $as_echo_n "checking for quick_exit declaration... " >&6; }
39778 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39779 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <stdlib.h>
39794 main ()
39796 quick_exit(0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_quick_exit_use=yes
39803 else
39804 glibcxx_cv_func_quick_exit_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39818 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39819 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39820 for ac_func in quick_exit
39821 do :
39822 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39823 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_QUICK_EXIT 1
39826 _ACEOF
39829 done
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39835 $as_echo_n "checking for strtold declaration... " >&6; }
39836 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39837 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39838 $as_echo_n "(cached) " >&6
39839 else
39842 ac_ext=cpp
39843 ac_cpp='$CXXCPP $CPPFLAGS'
39844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39849 /* end confdefs.h. */
39850 #include <stdlib.h>
39852 main ()
39854 strtold(0, 0);
39856 return 0;
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860 glibcxx_cv_func_strtold_use=yes
39861 else
39862 glibcxx_cv_func_strtold_use=no
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865 ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39876 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39877 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39878 for ac_func in strtold
39879 do :
39880 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39881 if test "x$ac_cv_func_strtold" = x""yes; then :
39882 cat >>confdefs.h <<_ACEOF
39883 #define HAVE_STRTOLD 1
39884 _ACEOF
39887 done
39894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39895 $as_echo_n "checking for strtof declaration... " >&6; }
39896 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39897 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39898 $as_echo_n "(cached) " >&6
39899 else
39902 ac_ext=cpp
39903 ac_cpp='$CXXCPP $CPPFLAGS'
39904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39909 /* end confdefs.h. */
39910 #include <stdlib.h>
39912 main ()
39914 strtof(0, 0);
39916 return 0;
39918 _ACEOF
39919 if ac_fn_cxx_try_compile "$LINENO"; then :
39920 glibcxx_cv_func_strtof_use=yes
39921 else
39922 glibcxx_cv_func_strtof_use=no
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925 ac_ext=c
39926 ac_cpp='$CPP $CPPFLAGS'
39927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39936 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39937 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39938 for ac_func in strtof
39939 do :
39940 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39941 if test "x$ac_cv_func_strtof" = x""yes; then :
39942 cat >>confdefs.h <<_ACEOF
39943 #define HAVE_STRTOF 1
39944 _ACEOF
39947 done
39954 CXXFLAGS="$ac_save_CXXFLAGS"
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39962 $as_echo_n "checking for iconv... " >&6; }
39963 if test "${am_cv_func_iconv+set}" = set; then :
39964 $as_echo_n "(cached) " >&6
39965 else
39967 am_cv_func_iconv="no, consider installing GNU libiconv"
39968 am_cv_lib_iconv=no
39969 am_save_CPPFLAGS="$CPPFLAGS"
39970 CPPFLAGS="$CPPFLAGS $INCICONV"
39971 if test x$gcc_no_link = xyes; then
39972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39975 /* end confdefs.h. */
39976 #include <stdlib.h>
39977 #include <iconv.h>
39979 main ()
39981 iconv_t cd = iconv_open("","");
39982 iconv(cd,NULL,NULL,NULL,NULL);
39983 iconv_close(cd);
39985 return 0;
39987 _ACEOF
39988 if ac_fn_c_try_link "$LINENO"; then :
39989 am_cv_func_iconv=yes
39991 rm -f core conftest.err conftest.$ac_objext \
39992 conftest$ac_exeext conftest.$ac_ext
39993 CPPFLAGS="$am_save_CPPFLAGS"
39995 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
39996 for _libs in .libs _libs; do
39997 am_save_CPPFLAGS="$CPPFLAGS"
39998 am_save_LIBS="$LIBS"
39999 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40000 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40001 if test x$gcc_no_link = xyes; then
40002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40005 /* end confdefs.h. */
40006 #include <stdlib.h>
40007 #include <iconv.h>
40009 main ()
40011 iconv_t cd = iconv_open("","");
40012 iconv(cd,NULL,NULL,NULL,NULL);
40013 iconv_close(cd);
40015 return 0;
40017 _ACEOF
40018 if ac_fn_c_try_link "$LINENO"; then :
40019 INCICONV="-I../libiconv/include"
40020 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40021 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40022 am_cv_lib_iconv=yes
40023 am_cv_func_iconv=yes
40025 rm -f core conftest.err conftest.$ac_objext \
40026 conftest$ac_exeext conftest.$ac_ext
40027 CPPFLAGS="$am_save_CPPFLAGS"
40028 LIBS="$am_save_LIBS"
40029 if test "$am_cv_func_iconv" = "yes"; then
40030 break
40032 done
40035 if test "$am_cv_func_iconv" != yes; then
40036 am_save_CPPFLAGS="$CPPFLAGS"
40037 am_save_LIBS="$LIBS"
40038 CPPFLAGS="$LIBS $INCICONV"
40039 LIBS="$LIBS $LIBICONV"
40040 if test x$gcc_no_link = xyes; then
40041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h. */
40045 #include <stdlib.h>
40046 #include <iconv.h>
40048 main ()
40050 iconv_t cd = iconv_open("","");
40051 iconv(cd,NULL,NULL,NULL,NULL);
40052 iconv_close(cd);
40054 return 0;
40056 _ACEOF
40057 if ac_fn_c_try_link "$LINENO"; then :
40058 am_cv_lib_iconv=yes
40059 am_cv_func_iconv=yes
40061 rm -f core conftest.err conftest.$ac_objext \
40062 conftest$ac_exeext conftest.$ac_ext
40063 CPPFLAGS="$am_save_CPPFLAGS"
40064 LIBS="$am_save_LIBS"
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40069 $as_echo "$am_cv_func_iconv" >&6; }
40070 if test "$am_cv_func_iconv" = yes; then
40072 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40075 if test "$am_cv_lib_iconv" = yes; then
40077 for element in $INCICONV; do
40078 haveit=
40079 for x in $CPPFLAGS; do
40081 acl_save_prefix="$prefix"
40082 prefix="$acl_final_prefix"
40083 acl_save_exec_prefix="$exec_prefix"
40084 exec_prefix="$acl_final_exec_prefix"
40085 eval x=\"$x\"
40086 exec_prefix="$acl_save_exec_prefix"
40087 prefix="$acl_save_prefix"
40089 if test "X$x" = "X$element"; then
40090 haveit=yes
40091 break
40093 done
40094 if test -z "$haveit"; then
40095 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40097 done
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40100 $as_echo_n "checking how to link with libiconv... " >&6; }
40101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40102 $as_echo "$LIBICONV" >&6; }
40103 else
40104 LIBICONV=
40105 LTLIBICONV=
40110 if test "$am_cv_func_iconv" = yes; then
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40112 $as_echo_n "checking for iconv declaration... " >&6; }
40113 if test "${am_cv_proto_iconv+set}" = set; then :
40114 $as_echo_n "(cached) " >&6
40115 else
40117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40118 /* end confdefs.h. */
40120 #include <stdlib.h>
40121 #include <iconv.h>
40122 extern
40123 #ifdef __cplusplus
40125 #endif
40126 #if defined(__STDC__) || defined(__cplusplus)
40127 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40128 #else
40129 size_t iconv();
40130 #endif
40133 main ()
40137 return 0;
40139 _ACEOF
40140 if ac_fn_c_try_compile "$LINENO"; then :
40141 am_cv_proto_iconv_arg1=""
40142 else
40143 am_cv_proto_iconv_arg1="const"
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146 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);"
40149 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40151 }$am_cv_proto_iconv" >&5
40152 $as_echo "${ac_t:-
40153 }$am_cv_proto_iconv" >&6; }
40155 cat >>confdefs.h <<_ACEOF
40156 #define ICONV_CONST $am_cv_proto_iconv_arg1
40157 _ACEOF
40163 *-aix*)
40165 # If we're not using GNU ld, then there's no point in even trying these
40166 # tests. Check for that first. We should have already tested for gld
40167 # by now (in libtool), but require it now just to be safe...
40168 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40169 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40173 # The name set by libtool depends on the version of libtool. Shame on us
40174 # for depending on an impl detail, but c'est la vie. Older versions used
40175 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40176 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40177 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40178 # set (hence we're using an older libtool), then set it.
40179 if test x${with_gnu_ld+set} != xset; then
40180 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40181 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40182 with_gnu_ld=no
40183 else
40184 with_gnu_ld=$ac_cv_prog_gnu_ld
40188 # Start by getting the version number. I think the libtool test already
40189 # does some of this, but throws away the result.
40190 glibcxx_ld_is_gold=no
40191 if test x"$with_gnu_ld" = x"yes"; then
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40193 $as_echo_n "checking for ld version... " >&6; }
40195 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40196 glibcxx_ld_is_gold=yes
40198 ldver=`$LD --version 2>/dev/null |
40199 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'`
40201 glibcxx_gnu_ld_version=`echo $ldver | \
40202 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40204 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40207 # Set --gc-sections.
40208 glibcxx_have_gc_sections=no
40209 if test "$glibcxx_ld_is_gold" = "yes"; then
40210 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40211 glibcxx_have_gc_sections=yes
40213 else
40214 glibcxx_gcsections_min_ld=21602
40215 if test x"$with_gnu_ld" = x"yes" &&
40216 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40217 glibcxx_have_gc_sections=yes
40220 if test "$glibcxx_have_gc_sections" = "yes"; then
40221 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40222 # NB: This flag only works reliably after 2.16.1. Configure tests
40223 # for this are difficult, so hard wire a value that should work.
40225 ac_test_CFLAGS="${CFLAGS+set}"
40226 ac_save_CFLAGS="$CFLAGS"
40227 CFLAGS='-Wl,--gc-sections'
40229 # Check for -Wl,--gc-sections
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40231 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40232 if test x$gcc_no_link = xyes; then
40233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40236 /* end confdefs.h. */
40237 int one(void) { return 1; }
40238 int two(void) { return 2; }
40241 main ()
40243 two();
40245 return 0;
40247 _ACEOF
40248 if ac_fn_c_try_link "$LINENO"; then :
40249 ac_gcsections=yes
40250 else
40251 ac_gcsections=no
40253 rm -f core conftest.err conftest.$ac_objext \
40254 conftest$ac_exeext conftest.$ac_ext
40255 if test "$ac_gcsections" = "yes"; then
40256 rm -f conftest.c
40257 touch conftest.c
40258 if $CC -c conftest.c; then
40259 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40260 grep "Warning: gc-sections option ignored" > /dev/null; then
40261 ac_gcsections=no
40264 rm -f conftest.c conftest.o conftest
40266 if test "$ac_gcsections" = "yes"; then
40267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40270 $as_echo "$ac_gcsections" >&6; }
40272 if test "$ac_test_CFLAGS" = set; then
40273 CFLAGS="$ac_save_CFLAGS"
40274 else
40275 # this is the suspicious part
40276 CFLAGS=''
40280 # Set -z,relro.
40281 # Note this is only for shared objects.
40282 ac_ld_relro=no
40283 if test x"$with_gnu_ld" = x"yes"; then
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40285 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40286 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40287 if test -n "$cxx_z_relo"; then
40288 OPT_LDFLAGS="-Wl,-z,relro"
40289 ac_ld_relro=yes
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40292 $as_echo "$ac_ld_relro" >&6; }
40295 # Set linker optimization flags.
40296 if test x"$with_gnu_ld" = x"yes"; then
40297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40305 ac_save_CXXFLAGS="$CXXFLAGS"
40306 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40309 $as_echo_n "checking for sin in -lm... " >&6; }
40310 if test "${ac_cv_lib_m_sin+set}" = set; then :
40311 $as_echo_n "(cached) " >&6
40312 else
40313 ac_check_lib_save_LIBS=$LIBS
40314 LIBS="-lm $LIBS"
40315 if test x$gcc_no_link = xyes; then
40316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40319 /* end confdefs.h. */
40321 /* Override any GCC internal prototype to avoid an error.
40322 Use char because int might match the return type of a GCC
40323 builtin and then its argument prototype would still apply. */
40324 #ifdef __cplusplus
40325 extern "C"
40326 #endif
40327 char sin ();
40329 main ()
40331 return sin ();
40333 return 0;
40335 _ACEOF
40336 if ac_fn_c_try_link "$LINENO"; then :
40337 ac_cv_lib_m_sin=yes
40338 else
40339 ac_cv_lib_m_sin=no
40341 rm -f core conftest.err conftest.$ac_objext \
40342 conftest$ac_exeext conftest.$ac_ext
40343 LIBS=$ac_check_lib_save_LIBS
40345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40346 $as_echo "$ac_cv_lib_m_sin" >&6; }
40347 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40348 libm="-lm"
40351 ac_save_LIBS="$LIBS"
40352 LIBS="$LIBS $libm"
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40357 $as_echo_n "checking for isinf declaration... " >&6; }
40358 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40359 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40360 $as_echo_n "(cached) " >&6
40361 else
40364 ac_ext=cpp
40365 ac_cpp='$CXXCPP $CPPFLAGS'
40366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40371 /* end confdefs.h. */
40372 #include <math.h>
40373 #ifdef HAVE_IEEEFP_H
40374 #include <ieeefp.h>
40375 #endif
40378 main ()
40380 isinf(0);
40382 return 0;
40384 _ACEOF
40385 if ac_fn_cxx_try_compile "$LINENO"; then :
40386 glibcxx_cv_func_isinf_use=yes
40387 else
40388 glibcxx_cv_func_isinf_use=no
40390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40391 ac_ext=c
40392 ac_cpp='$CPP $CPPFLAGS'
40393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40402 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40404 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40405 for ac_func in isinf
40406 do :
40407 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40408 if test "x$ac_cv_func_isinf" = x""yes; then :
40409 cat >>confdefs.h <<_ACEOF
40410 #define HAVE_ISINF 1
40411 _ACEOF
40414 done
40416 else
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40419 $as_echo_n "checking for _isinf declaration... " >&6; }
40420 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40421 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40422 $as_echo_n "(cached) " >&6
40423 else
40426 ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h. */
40434 #include <math.h>
40435 #ifdef HAVE_IEEEFP_H
40436 #include <ieeefp.h>
40437 #endif
40440 main ()
40442 _isinf(0);
40444 return 0;
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func__isinf_use=yes
40449 else
40450 glibcxx_cv_func__isinf_use=no
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40464 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40466 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40467 for ac_func in _isinf
40468 do :
40469 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40470 if test "x$ac_cv_func__isinf" = x""yes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE__ISINF 1
40473 _ACEOF
40476 done
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40486 $as_echo_n "checking for isnan declaration... " >&6; }
40487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40489 $as_echo_n "(cached) " >&6
40490 else
40493 ac_ext=cpp
40494 ac_cpp='$CXXCPP $CPPFLAGS'
40495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40500 /* end confdefs.h. */
40501 #include <math.h>
40502 #ifdef HAVE_IEEEFP_H
40503 #include <ieeefp.h>
40504 #endif
40507 main ()
40509 isnan(0);
40511 return 0;
40513 _ACEOF
40514 if ac_fn_cxx_try_compile "$LINENO"; then :
40515 glibcxx_cv_func_isnan_use=yes
40516 else
40517 glibcxx_cv_func_isnan_use=no
40519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40531 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40533 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40534 for ac_func in isnan
40535 do :
40536 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40537 if test "x$ac_cv_func_isnan" = x""yes; then :
40538 cat >>confdefs.h <<_ACEOF
40539 #define HAVE_ISNAN 1
40540 _ACEOF
40543 done
40545 else
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40548 $as_echo_n "checking for _isnan declaration... " >&6; }
40549 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40550 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40551 $as_echo_n "(cached) " >&6
40552 else
40555 ac_ext=cpp
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40562 /* end confdefs.h. */
40563 #include <math.h>
40564 #ifdef HAVE_IEEEFP_H
40565 #include <ieeefp.h>
40566 #endif
40569 main ()
40571 _isnan(0);
40573 return 0;
40575 _ACEOF
40576 if ac_fn_cxx_try_compile "$LINENO"; then :
40577 glibcxx_cv_func__isnan_use=yes
40578 else
40579 glibcxx_cv_func__isnan_use=no
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40582 ac_ext=c
40583 ac_cpp='$CPP $CPPFLAGS'
40584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40593 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40595 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40596 for ac_func in _isnan
40597 do :
40598 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40599 if test "x$ac_cv_func__isnan" = x""yes; then :
40600 cat >>confdefs.h <<_ACEOF
40601 #define HAVE__ISNAN 1
40602 _ACEOF
40605 done
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40615 $as_echo_n "checking for finite declaration... " >&6; }
40616 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40617 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40618 $as_echo_n "(cached) " >&6
40619 else
40622 ac_ext=cpp
40623 ac_cpp='$CXXCPP $CPPFLAGS'
40624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40629 /* end confdefs.h. */
40630 #include <math.h>
40631 #ifdef HAVE_IEEEFP_H
40632 #include <ieeefp.h>
40633 #endif
40636 main ()
40638 finite(0);
40640 return 0;
40642 _ACEOF
40643 if ac_fn_cxx_try_compile "$LINENO"; then :
40644 glibcxx_cv_func_finite_use=yes
40645 else
40646 glibcxx_cv_func_finite_use=no
40648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40649 ac_ext=c
40650 ac_cpp='$CPP $CPPFLAGS'
40651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40660 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40662 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40663 for ac_func in finite
40664 do :
40665 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40666 if test "x$ac_cv_func_finite" = x""yes; then :
40667 cat >>confdefs.h <<_ACEOF
40668 #define HAVE_FINITE 1
40669 _ACEOF
40672 done
40674 else
40676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40677 $as_echo_n "checking for _finite declaration... " >&6; }
40678 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40679 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40680 $as_echo_n "(cached) " >&6
40681 else
40684 ac_ext=cpp
40685 ac_cpp='$CXXCPP $CPPFLAGS'
40686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40691 /* end confdefs.h. */
40692 #include <math.h>
40693 #ifdef HAVE_IEEEFP_H
40694 #include <ieeefp.h>
40695 #endif
40698 main ()
40700 _finite(0);
40702 return 0;
40704 _ACEOF
40705 if ac_fn_cxx_try_compile "$LINENO"; then :
40706 glibcxx_cv_func__finite_use=yes
40707 else
40708 glibcxx_cv_func__finite_use=no
40710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40711 ac_ext=c
40712 ac_cpp='$CPP $CPPFLAGS'
40713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40722 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40724 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40725 for ac_func in _finite
40726 do :
40727 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40728 if test "x$ac_cv_func__finite" = x""yes; then :
40729 cat >>confdefs.h <<_ACEOF
40730 #define HAVE__FINITE 1
40731 _ACEOF
40734 done
40743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40744 $as_echo_n "checking for sincos declaration... " >&6; }
40745 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40746 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40747 $as_echo_n "(cached) " >&6
40748 else
40751 ac_ext=cpp
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40758 /* end confdefs.h. */
40759 #include <math.h>
40761 main ()
40763 sincos(0, 0, 0);
40765 return 0;
40767 _ACEOF
40768 if ac_fn_cxx_try_compile "$LINENO"; then :
40769 glibcxx_cv_func_sincos_use=yes
40770 else
40771 glibcxx_cv_func_sincos_use=no
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40774 ac_ext=c
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40785 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40787 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40788 for ac_func in sincos
40789 do :
40790 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40791 if test "x$ac_cv_func_sincos" = x""yes; then :
40792 cat >>confdefs.h <<_ACEOF
40793 #define HAVE_SINCOS 1
40794 _ACEOF
40797 done
40799 else
40801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40802 $as_echo_n "checking for _sincos declaration... " >&6; }
40803 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40804 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40805 $as_echo_n "(cached) " >&6
40806 else
40809 ac_ext=cpp
40810 ac_cpp='$CXXCPP $CPPFLAGS'
40811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40816 /* end confdefs.h. */
40817 #include <math.h>
40819 main ()
40821 _sincos(0, 0, 0);
40823 return 0;
40825 _ACEOF
40826 if ac_fn_cxx_try_compile "$LINENO"; then :
40827 glibcxx_cv_func__sincos_use=yes
40828 else
40829 glibcxx_cv_func__sincos_use=no
40831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40832 ac_ext=c
40833 ac_cpp='$CPP $CPPFLAGS'
40834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40843 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40845 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40846 for ac_func in _sincos
40847 do :
40848 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40849 if test "x$ac_cv_func__sincos" = x""yes; then :
40850 cat >>confdefs.h <<_ACEOF
40851 #define HAVE__SINCOS 1
40852 _ACEOF
40855 done
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40865 $as_echo_n "checking for fpclass declaration... " >&6; }
40866 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40867 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40868 $as_echo_n "(cached) " >&6
40869 else
40872 ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h. */
40880 #include <math.h>
40881 #ifdef HAVE_IEEEFP_H
40882 #include <ieeefp.h>
40883 #endif
40886 main ()
40888 fpclass(0);
40890 return 0;
40892 _ACEOF
40893 if ac_fn_cxx_try_compile "$LINENO"; then :
40894 glibcxx_cv_func_fpclass_use=yes
40895 else
40896 glibcxx_cv_func_fpclass_use=no
40898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40899 ac_ext=c
40900 ac_cpp='$CPP $CPPFLAGS'
40901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40910 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40912 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40913 for ac_func in fpclass
40914 do :
40915 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40916 if test "x$ac_cv_func_fpclass" = x""yes; then :
40917 cat >>confdefs.h <<_ACEOF
40918 #define HAVE_FPCLASS 1
40919 _ACEOF
40922 done
40924 else
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40927 $as_echo_n "checking for _fpclass declaration... " >&6; }
40928 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40929 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40930 $as_echo_n "(cached) " >&6
40931 else
40934 ac_ext=cpp
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40941 /* end confdefs.h. */
40942 #include <math.h>
40943 #ifdef HAVE_IEEEFP_H
40944 #include <ieeefp.h>
40945 #endif
40948 main ()
40950 _fpclass(0);
40952 return 0;
40954 _ACEOF
40955 if ac_fn_cxx_try_compile "$LINENO"; then :
40956 glibcxx_cv_func__fpclass_use=yes
40957 else
40958 glibcxx_cv_func__fpclass_use=no
40960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40961 ac_ext=c
40962 ac_cpp='$CPP $CPPFLAGS'
40963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40972 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40974 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40975 for ac_func in _fpclass
40976 do :
40977 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40978 if test "x$ac_cv_func__fpclass" = x""yes; then :
40979 cat >>confdefs.h <<_ACEOF
40980 #define HAVE__FPCLASS 1
40981 _ACEOF
40984 done
40993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40994 $as_echo_n "checking for qfpclass declaration... " >&6; }
40995 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40996 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40997 $as_echo_n "(cached) " >&6
40998 else
41001 ac_ext=cpp
41002 ac_cpp='$CXXCPP $CPPFLAGS'
41003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41008 /* end confdefs.h. */
41009 #include <math.h>
41010 #ifdef HAVE_IEEEFP_H
41011 #include <ieeefp.h>
41012 #endif
41015 main ()
41017 qfpclass(0);
41019 return 0;
41021 _ACEOF
41022 if ac_fn_cxx_try_compile "$LINENO"; then :
41023 glibcxx_cv_func_qfpclass_use=yes
41024 else
41025 glibcxx_cv_func_qfpclass_use=no
41027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41028 ac_ext=c
41029 ac_cpp='$CPP $CPPFLAGS'
41030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41039 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41041 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41042 for ac_func in qfpclass
41043 do :
41044 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41045 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41046 cat >>confdefs.h <<_ACEOF
41047 #define HAVE_QFPCLASS 1
41048 _ACEOF
41051 done
41053 else
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41056 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41057 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41058 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41059 $as_echo_n "(cached) " >&6
41060 else
41063 ac_ext=cpp
41064 ac_cpp='$CXXCPP $CPPFLAGS'
41065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41070 /* end confdefs.h. */
41071 #include <math.h>
41072 #ifdef HAVE_IEEEFP_H
41073 #include <ieeefp.h>
41074 #endif
41077 main ()
41079 _qfpclass(0);
41081 return 0;
41083 _ACEOF
41084 if ac_fn_cxx_try_compile "$LINENO"; then :
41085 glibcxx_cv_func__qfpclass_use=yes
41086 else
41087 glibcxx_cv_func__qfpclass_use=no
41089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41090 ac_ext=c
41091 ac_cpp='$CPP $CPPFLAGS'
41092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41101 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41103 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41104 for ac_func in _qfpclass
41105 do :
41106 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41107 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define HAVE__QFPCLASS 1
41110 _ACEOF
41113 done
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41123 $as_echo_n "checking for hypot declaration... " >&6; }
41124 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41125 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41126 $as_echo_n "(cached) " >&6
41127 else
41130 ac_ext=cpp
41131 ac_cpp='$CXXCPP $CPPFLAGS'
41132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41137 /* end confdefs.h. */
41138 #include <math.h>
41140 main ()
41142 hypot(0, 0);
41144 return 0;
41146 _ACEOF
41147 if ac_fn_cxx_try_compile "$LINENO"; then :
41148 glibcxx_cv_func_hypot_use=yes
41149 else
41150 glibcxx_cv_func_hypot_use=no
41152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41153 ac_ext=c
41154 ac_cpp='$CPP $CPPFLAGS'
41155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41164 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41166 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41167 for ac_func in hypot
41168 do :
41169 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41170 if test "x$ac_cv_func_hypot" = x""yes; then :
41171 cat >>confdefs.h <<_ACEOF
41172 #define HAVE_HYPOT 1
41173 _ACEOF
41176 done
41178 else
41180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41181 $as_echo_n "checking for _hypot declaration... " >&6; }
41182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41183 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41184 $as_echo_n "(cached) " >&6
41185 else
41188 ac_ext=cpp
41189 ac_cpp='$CXXCPP $CPPFLAGS'
41190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41195 /* end confdefs.h. */
41196 #include <math.h>
41198 main ()
41200 _hypot(0, 0);
41202 return 0;
41204 _ACEOF
41205 if ac_fn_cxx_try_compile "$LINENO"; then :
41206 glibcxx_cv_func__hypot_use=yes
41207 else
41208 glibcxx_cv_func__hypot_use=no
41210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41211 ac_ext=c
41212 ac_cpp='$CPP $CPPFLAGS'
41213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41222 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41224 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41225 for ac_func in _hypot
41226 do :
41227 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41228 if test "x$ac_cv_func__hypot" = x""yes; then :
41229 cat >>confdefs.h <<_ACEOF
41230 #define HAVE__HYPOT 1
41231 _ACEOF
41234 done
41243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41244 $as_echo_n "checking for float trig functions... " >&6; }
41245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41246 $as_echo_n "(cached) " >&6
41247 else
41250 ac_ext=cpp
41251 ac_cpp='$CXXCPP $CPPFLAGS'
41252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41257 /* end confdefs.h. */
41258 #include <math.h>
41260 main ()
41262 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41264 return 0;
41266 _ACEOF
41267 if ac_fn_cxx_try_compile "$LINENO"; then :
41268 glibcxx_cv_func_float_trig_use=yes
41269 else
41270 glibcxx_cv_func_float_trig_use=no
41272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41273 ac_ext=c
41274 ac_cpp='$CPP $CPPFLAGS'
41275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41282 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41283 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41284 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41285 do :
41286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41288 eval as_val=\$$as_ac_var
41289 if test "x$as_val" = x""yes; then :
41290 cat >>confdefs.h <<_ACEOF
41291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41292 _ACEOF
41295 done
41297 else
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41299 $as_echo_n "checking for _float trig functions... " >&6; }
41300 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41301 $as_echo_n "(cached) " >&6
41302 else
41305 ac_ext=cpp
41306 ac_cpp='$CXXCPP $CPPFLAGS'
41307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <math.h>
41315 main ()
41317 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41319 return 0;
41321 _ACEOF
41322 if ac_fn_cxx_try_compile "$LINENO"; then :
41323 glibcxx_cv_func__float_trig_use=yes
41324 else
41325 glibcxx_cv_func__float_trig_use=no
41327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41328 ac_ext=c
41329 ac_cpp='$CPP $CPPFLAGS'
41330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41337 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41338 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41339 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41340 do :
41341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41343 eval as_val=\$$as_ac_var
41344 if test "x$as_val" = x""yes; then :
41345 cat >>confdefs.h <<_ACEOF
41346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41347 _ACEOF
41350 done
41359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41360 $as_echo_n "checking for float round functions... " >&6; }
41361 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41362 $as_echo_n "(cached) " >&6
41363 else
41366 ac_ext=cpp
41367 ac_cpp='$CXXCPP $CPPFLAGS'
41368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41373 /* end confdefs.h. */
41374 #include <math.h>
41376 main ()
41378 ceilf (0); floorf (0);
41380 return 0;
41382 _ACEOF
41383 if ac_fn_cxx_try_compile "$LINENO"; then :
41384 glibcxx_cv_func_float_round_use=yes
41385 else
41386 glibcxx_cv_func_float_round_use=no
41388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41389 ac_ext=c
41390 ac_cpp='$CPP $CPPFLAGS'
41391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41398 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41399 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41400 for ac_func in ceilf floorf
41401 do :
41402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41404 eval as_val=\$$as_ac_var
41405 if test "x$as_val" = x""yes; then :
41406 cat >>confdefs.h <<_ACEOF
41407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41408 _ACEOF
41411 done
41413 else
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41415 $as_echo_n "checking for _float round functions... " >&6; }
41416 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41417 $as_echo_n "(cached) " >&6
41418 else
41421 ac_ext=cpp
41422 ac_cpp='$CXXCPP $CPPFLAGS'
41423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428 /* end confdefs.h. */
41429 #include <math.h>
41431 main ()
41433 _ceilf (0); _floorf (0);
41435 return 0;
41437 _ACEOF
41438 if ac_fn_cxx_try_compile "$LINENO"; then :
41439 glibcxx_cv_func__float_round_use=yes
41440 else
41441 glibcxx_cv_func__float_round_use=no
41443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41444 ac_ext=c
41445 ac_cpp='$CPP $CPPFLAGS'
41446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41453 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41454 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41455 for ac_func in _ceilf _floorf
41456 do :
41457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41459 eval as_val=\$$as_ac_var
41460 if test "x$as_val" = x""yes; then :
41461 cat >>confdefs.h <<_ACEOF
41462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41463 _ACEOF
41466 done
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41477 $as_echo_n "checking for expf declaration... " >&6; }
41478 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41479 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41480 $as_echo_n "(cached) " >&6
41481 else
41484 ac_ext=cpp
41485 ac_cpp='$CXXCPP $CPPFLAGS'
41486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41491 /* end confdefs.h. */
41492 #include <math.h>
41493 #ifdef HAVE_IEEEFP_H
41494 #include <ieeefp.h>
41495 #endif
41498 main ()
41500 expf(0);
41502 return 0;
41504 _ACEOF
41505 if ac_fn_cxx_try_compile "$LINENO"; then :
41506 glibcxx_cv_func_expf_use=yes
41507 else
41508 glibcxx_cv_func_expf_use=no
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41511 ac_ext=c
41512 ac_cpp='$CPP $CPPFLAGS'
41513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41522 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41524 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41525 for ac_func in expf
41526 do :
41527 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41528 if test "x$ac_cv_func_expf" = x""yes; then :
41529 cat >>confdefs.h <<_ACEOF
41530 #define HAVE_EXPF 1
41531 _ACEOF
41534 done
41536 else
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41539 $as_echo_n "checking for _expf declaration... " >&6; }
41540 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41541 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41542 $as_echo_n "(cached) " >&6
41543 else
41546 ac_ext=cpp
41547 ac_cpp='$CXXCPP $CPPFLAGS'
41548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41553 /* end confdefs.h. */
41554 #include <math.h>
41555 #ifdef HAVE_IEEEFP_H
41556 #include <ieeefp.h>
41557 #endif
41560 main ()
41562 _expf(0);
41564 return 0;
41566 _ACEOF
41567 if ac_fn_cxx_try_compile "$LINENO"; then :
41568 glibcxx_cv_func__expf_use=yes
41569 else
41570 glibcxx_cv_func__expf_use=no
41572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41573 ac_ext=c
41574 ac_cpp='$CPP $CPPFLAGS'
41575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41584 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41586 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41587 for ac_func in _expf
41588 do :
41589 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41590 if test "x$ac_cv_func__expf" = x""yes; then :
41591 cat >>confdefs.h <<_ACEOF
41592 #define HAVE__EXPF 1
41593 _ACEOF
41596 done
41605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41606 $as_echo_n "checking for isnanf declaration... " >&6; }
41607 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41608 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41609 $as_echo_n "(cached) " >&6
41610 else
41613 ac_ext=cpp
41614 ac_cpp='$CXXCPP $CPPFLAGS'
41615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41620 /* end confdefs.h. */
41621 #include <math.h>
41622 #ifdef HAVE_IEEEFP_H
41623 #include <ieeefp.h>
41624 #endif
41627 main ()
41629 isnanf(0);
41631 return 0;
41633 _ACEOF
41634 if ac_fn_cxx_try_compile "$LINENO"; then :
41635 glibcxx_cv_func_isnanf_use=yes
41636 else
41637 glibcxx_cv_func_isnanf_use=no
41639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41640 ac_ext=c
41641 ac_cpp='$CPP $CPPFLAGS'
41642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41651 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41653 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41654 for ac_func in isnanf
41655 do :
41656 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41657 if test "x$ac_cv_func_isnanf" = x""yes; then :
41658 cat >>confdefs.h <<_ACEOF
41659 #define HAVE_ISNANF 1
41660 _ACEOF
41663 done
41665 else
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41668 $as_echo_n "checking for _isnanf declaration... " >&6; }
41669 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41670 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41671 $as_echo_n "(cached) " >&6
41672 else
41675 ac_ext=cpp
41676 ac_cpp='$CXXCPP $CPPFLAGS'
41677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41682 /* end confdefs.h. */
41683 #include <math.h>
41684 #ifdef HAVE_IEEEFP_H
41685 #include <ieeefp.h>
41686 #endif
41689 main ()
41691 _isnanf(0);
41693 return 0;
41695 _ACEOF
41696 if ac_fn_cxx_try_compile "$LINENO"; then :
41697 glibcxx_cv_func__isnanf_use=yes
41698 else
41699 glibcxx_cv_func__isnanf_use=no
41701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41702 ac_ext=c
41703 ac_cpp='$CPP $CPPFLAGS'
41704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41713 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41716 for ac_func in _isnanf
41717 do :
41718 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41719 if test "x$ac_cv_func__isnanf" = x""yes; then :
41720 cat >>confdefs.h <<_ACEOF
41721 #define HAVE__ISNANF 1
41722 _ACEOF
41725 done
41734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41735 $as_echo_n "checking for isinff declaration... " >&6; }
41736 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41737 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41738 $as_echo_n "(cached) " >&6
41739 else
41742 ac_ext=cpp
41743 ac_cpp='$CXXCPP $CPPFLAGS'
41744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41749 /* end confdefs.h. */
41750 #include <math.h>
41751 #ifdef HAVE_IEEEFP_H
41752 #include <ieeefp.h>
41753 #endif
41756 main ()
41758 isinff(0);
41760 return 0;
41762 _ACEOF
41763 if ac_fn_cxx_try_compile "$LINENO"; then :
41764 glibcxx_cv_func_isinff_use=yes
41765 else
41766 glibcxx_cv_func_isinff_use=no
41768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 ac_ext=c
41770 ac_cpp='$CPP $CPPFLAGS'
41771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41780 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41782 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41783 for ac_func in isinff
41784 do :
41785 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41786 if test "x$ac_cv_func_isinff" = x""yes; then :
41787 cat >>confdefs.h <<_ACEOF
41788 #define HAVE_ISINFF 1
41789 _ACEOF
41792 done
41794 else
41796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41797 $as_echo_n "checking for _isinff declaration... " >&6; }
41798 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41799 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41800 $as_echo_n "(cached) " >&6
41801 else
41804 ac_ext=cpp
41805 ac_cpp='$CXXCPP $CPPFLAGS'
41806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41811 /* end confdefs.h. */
41812 #include <math.h>
41813 #ifdef HAVE_IEEEFP_H
41814 #include <ieeefp.h>
41815 #endif
41818 main ()
41820 _isinff(0);
41822 return 0;
41824 _ACEOF
41825 if ac_fn_cxx_try_compile "$LINENO"; then :
41826 glibcxx_cv_func__isinff_use=yes
41827 else
41828 glibcxx_cv_func__isinff_use=no
41830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41831 ac_ext=c
41832 ac_cpp='$CPP $CPPFLAGS'
41833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41842 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41845 for ac_func in _isinff
41846 do :
41847 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41848 if test "x$ac_cv_func__isinff" = x""yes; then :
41849 cat >>confdefs.h <<_ACEOF
41850 #define HAVE__ISINFF 1
41851 _ACEOF
41854 done
41863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41864 $as_echo_n "checking for atan2f declaration... " >&6; }
41865 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41866 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41867 $as_echo_n "(cached) " >&6
41868 else
41871 ac_ext=cpp
41872 ac_cpp='$CXXCPP $CPPFLAGS'
41873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41878 /* end confdefs.h. */
41879 #include <math.h>
41881 main ()
41883 atan2f(0, 0);
41885 return 0;
41887 _ACEOF
41888 if ac_fn_cxx_try_compile "$LINENO"; then :
41889 glibcxx_cv_func_atan2f_use=yes
41890 else
41891 glibcxx_cv_func_atan2f_use=no
41893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41894 ac_ext=c
41895 ac_cpp='$CPP $CPPFLAGS'
41896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41905 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41907 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41908 for ac_func in atan2f
41909 do :
41910 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41911 if test "x$ac_cv_func_atan2f" = x""yes; then :
41912 cat >>confdefs.h <<_ACEOF
41913 #define HAVE_ATAN2F 1
41914 _ACEOF
41917 done
41919 else
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41922 $as_echo_n "checking for _atan2f declaration... " >&6; }
41923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41924 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41925 $as_echo_n "(cached) " >&6
41926 else
41929 ac_ext=cpp
41930 ac_cpp='$CXXCPP $CPPFLAGS'
41931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41936 /* end confdefs.h. */
41937 #include <math.h>
41939 main ()
41941 _atan2f(0, 0);
41943 return 0;
41945 _ACEOF
41946 if ac_fn_cxx_try_compile "$LINENO"; then :
41947 glibcxx_cv_func__atan2f_use=yes
41948 else
41949 glibcxx_cv_func__atan2f_use=no
41951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41952 ac_ext=c
41953 ac_cpp='$CPP $CPPFLAGS'
41954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41963 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41965 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41966 for ac_func in _atan2f
41967 do :
41968 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41969 if test "x$ac_cv_func__atan2f" = x""yes; then :
41970 cat >>confdefs.h <<_ACEOF
41971 #define HAVE__ATAN2F 1
41972 _ACEOF
41975 done
41984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41985 $as_echo_n "checking for fabsf declaration... " >&6; }
41986 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41987 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41988 $as_echo_n "(cached) " >&6
41989 else
41992 ac_ext=cpp
41993 ac_cpp='$CXXCPP $CPPFLAGS'
41994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41999 /* end confdefs.h. */
42000 #include <math.h>
42001 #ifdef HAVE_IEEEFP_H
42002 #include <ieeefp.h>
42003 #endif
42006 main ()
42008 fabsf(0);
42010 return 0;
42012 _ACEOF
42013 if ac_fn_cxx_try_compile "$LINENO"; then :
42014 glibcxx_cv_func_fabsf_use=yes
42015 else
42016 glibcxx_cv_func_fabsf_use=no
42018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42019 ac_ext=c
42020 ac_cpp='$CPP $CPPFLAGS'
42021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42030 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42032 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42033 for ac_func in fabsf
42034 do :
42035 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42036 if test "x$ac_cv_func_fabsf" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define HAVE_FABSF 1
42039 _ACEOF
42042 done
42044 else
42046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42047 $as_echo_n "checking for _fabsf declaration... " >&6; }
42048 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42049 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42050 $as_echo_n "(cached) " >&6
42051 else
42054 ac_ext=cpp
42055 ac_cpp='$CXXCPP $CPPFLAGS'
42056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42061 /* end confdefs.h. */
42062 #include <math.h>
42063 #ifdef HAVE_IEEEFP_H
42064 #include <ieeefp.h>
42065 #endif
42068 main ()
42070 _fabsf(0);
42072 return 0;
42074 _ACEOF
42075 if ac_fn_cxx_try_compile "$LINENO"; then :
42076 glibcxx_cv_func__fabsf_use=yes
42077 else
42078 glibcxx_cv_func__fabsf_use=no
42080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42081 ac_ext=c
42082 ac_cpp='$CPP $CPPFLAGS'
42083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42092 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42094 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42095 for ac_func in _fabsf
42096 do :
42097 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42098 if test "x$ac_cv_func__fabsf" = x""yes; then :
42099 cat >>confdefs.h <<_ACEOF
42100 #define HAVE__FABSF 1
42101 _ACEOF
42104 done
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42114 $as_echo_n "checking for fmodf declaration... " >&6; }
42115 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42116 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42117 $as_echo_n "(cached) " >&6
42118 else
42121 ac_ext=cpp
42122 ac_cpp='$CXXCPP $CPPFLAGS'
42123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42128 /* end confdefs.h. */
42129 #include <math.h>
42131 main ()
42133 fmodf(0, 0);
42135 return 0;
42137 _ACEOF
42138 if ac_fn_cxx_try_compile "$LINENO"; then :
42139 glibcxx_cv_func_fmodf_use=yes
42140 else
42141 glibcxx_cv_func_fmodf_use=no
42143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42155 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42158 for ac_func in fmodf
42159 do :
42160 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42161 if test "x$ac_cv_func_fmodf" = x""yes; then :
42162 cat >>confdefs.h <<_ACEOF
42163 #define HAVE_FMODF 1
42164 _ACEOF
42167 done
42169 else
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42172 $as_echo_n "checking for _fmodf declaration... " >&6; }
42173 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42174 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42175 $as_echo_n "(cached) " >&6
42176 else
42179 ac_ext=cpp
42180 ac_cpp='$CXXCPP $CPPFLAGS'
42181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42186 /* end confdefs.h. */
42187 #include <math.h>
42189 main ()
42191 _fmodf(0, 0);
42193 return 0;
42195 _ACEOF
42196 if ac_fn_cxx_try_compile "$LINENO"; then :
42197 glibcxx_cv_func__fmodf_use=yes
42198 else
42199 glibcxx_cv_func__fmodf_use=no
42201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42202 ac_ext=c
42203 ac_cpp='$CPP $CPPFLAGS'
42204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42213 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42215 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42216 for ac_func in _fmodf
42217 do :
42218 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42219 if test "x$ac_cv_func__fmodf" = x""yes; then :
42220 cat >>confdefs.h <<_ACEOF
42221 #define HAVE__FMODF 1
42222 _ACEOF
42225 done
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42235 $as_echo_n "checking for frexpf declaration... " >&6; }
42236 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42237 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42238 $as_echo_n "(cached) " >&6
42239 else
42242 ac_ext=cpp
42243 ac_cpp='$CXXCPP $CPPFLAGS'
42244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42249 /* end confdefs.h. */
42250 #include <math.h>
42252 main ()
42254 frexpf(0, 0);
42256 return 0;
42258 _ACEOF
42259 if ac_fn_cxx_try_compile "$LINENO"; then :
42260 glibcxx_cv_func_frexpf_use=yes
42261 else
42262 glibcxx_cv_func_frexpf_use=no
42264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42265 ac_ext=c
42266 ac_cpp='$CPP $CPPFLAGS'
42267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42276 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42279 for ac_func in frexpf
42280 do :
42281 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42282 if test "x$ac_cv_func_frexpf" = x""yes; then :
42283 cat >>confdefs.h <<_ACEOF
42284 #define HAVE_FREXPF 1
42285 _ACEOF
42288 done
42290 else
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42293 $as_echo_n "checking for _frexpf declaration... " >&6; }
42294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42296 $as_echo_n "(cached) " >&6
42297 else
42300 ac_ext=cpp
42301 ac_cpp='$CXXCPP $CPPFLAGS'
42302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42307 /* end confdefs.h. */
42308 #include <math.h>
42310 main ()
42312 _frexpf(0, 0);
42314 return 0;
42316 _ACEOF
42317 if ac_fn_cxx_try_compile "$LINENO"; then :
42318 glibcxx_cv_func__frexpf_use=yes
42319 else
42320 glibcxx_cv_func__frexpf_use=no
42322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42323 ac_ext=c
42324 ac_cpp='$CPP $CPPFLAGS'
42325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42334 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42336 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42337 for ac_func in _frexpf
42338 do :
42339 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42340 if test "x$ac_cv_func__frexpf" = x""yes; then :
42341 cat >>confdefs.h <<_ACEOF
42342 #define HAVE__FREXPF 1
42343 _ACEOF
42346 done
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42356 $as_echo_n "checking for hypotf declaration... " >&6; }
42357 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42358 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42359 $as_echo_n "(cached) " >&6
42360 else
42363 ac_ext=cpp
42364 ac_cpp='$CXXCPP $CPPFLAGS'
42365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42370 /* end confdefs.h. */
42371 #include <math.h>
42373 main ()
42375 hypotf(0, 0);
42377 return 0;
42379 _ACEOF
42380 if ac_fn_cxx_try_compile "$LINENO"; then :
42381 glibcxx_cv_func_hypotf_use=yes
42382 else
42383 glibcxx_cv_func_hypotf_use=no
42385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42386 ac_ext=c
42387 ac_cpp='$CPP $CPPFLAGS'
42388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42397 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42399 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42400 for ac_func in hypotf
42401 do :
42402 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42403 if test "x$ac_cv_func_hypotf" = x""yes; then :
42404 cat >>confdefs.h <<_ACEOF
42405 #define HAVE_HYPOTF 1
42406 _ACEOF
42409 done
42411 else
42413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42414 $as_echo_n "checking for _hypotf declaration... " >&6; }
42415 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42416 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42417 $as_echo_n "(cached) " >&6
42418 else
42421 ac_ext=cpp
42422 ac_cpp='$CXXCPP $CPPFLAGS'
42423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42428 /* end confdefs.h. */
42429 #include <math.h>
42431 main ()
42433 _hypotf(0, 0);
42435 return 0;
42437 _ACEOF
42438 if ac_fn_cxx_try_compile "$LINENO"; then :
42439 glibcxx_cv_func__hypotf_use=yes
42440 else
42441 glibcxx_cv_func__hypotf_use=no
42443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42444 ac_ext=c
42445 ac_cpp='$CPP $CPPFLAGS'
42446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42455 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42457 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42458 for ac_func in _hypotf
42459 do :
42460 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42461 if test "x$ac_cv_func__hypotf" = x""yes; then :
42462 cat >>confdefs.h <<_ACEOF
42463 #define HAVE__HYPOTF 1
42464 _ACEOF
42467 done
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42477 $as_echo_n "checking for ldexpf declaration... " >&6; }
42478 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42479 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42480 $as_echo_n "(cached) " >&6
42481 else
42484 ac_ext=cpp
42485 ac_cpp='$CXXCPP $CPPFLAGS'
42486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42491 /* end confdefs.h. */
42492 #include <math.h>
42494 main ()
42496 ldexpf(0, 0);
42498 return 0;
42500 _ACEOF
42501 if ac_fn_cxx_try_compile "$LINENO"; then :
42502 glibcxx_cv_func_ldexpf_use=yes
42503 else
42504 glibcxx_cv_func_ldexpf_use=no
42506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42507 ac_ext=c
42508 ac_cpp='$CPP $CPPFLAGS'
42509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42518 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42520 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42521 for ac_func in ldexpf
42522 do :
42523 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42524 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42525 cat >>confdefs.h <<_ACEOF
42526 #define HAVE_LDEXPF 1
42527 _ACEOF
42530 done
42532 else
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42535 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42536 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42537 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42538 $as_echo_n "(cached) " >&6
42539 else
42542 ac_ext=cpp
42543 ac_cpp='$CXXCPP $CPPFLAGS'
42544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42549 /* end confdefs.h. */
42550 #include <math.h>
42552 main ()
42554 _ldexpf(0, 0);
42556 return 0;
42558 _ACEOF
42559 if ac_fn_cxx_try_compile "$LINENO"; then :
42560 glibcxx_cv_func__ldexpf_use=yes
42561 else
42562 glibcxx_cv_func__ldexpf_use=no
42564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42565 ac_ext=c
42566 ac_cpp='$CPP $CPPFLAGS'
42567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42576 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42578 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42579 for ac_func in _ldexpf
42580 do :
42581 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42582 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42583 cat >>confdefs.h <<_ACEOF
42584 #define HAVE__LDEXPF 1
42585 _ACEOF
42588 done
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42598 $as_echo_n "checking for logf declaration... " >&6; }
42599 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42600 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42601 $as_echo_n "(cached) " >&6
42602 else
42605 ac_ext=cpp
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h. */
42613 #include <math.h>
42614 #ifdef HAVE_IEEEFP_H
42615 #include <ieeefp.h>
42616 #endif
42619 main ()
42621 logf(0);
42623 return 0;
42625 _ACEOF
42626 if ac_fn_cxx_try_compile "$LINENO"; then :
42627 glibcxx_cv_func_logf_use=yes
42628 else
42629 glibcxx_cv_func_logf_use=no
42631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42632 ac_ext=c
42633 ac_cpp='$CPP $CPPFLAGS'
42634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42643 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42645 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42646 for ac_func in logf
42647 do :
42648 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42649 if test "x$ac_cv_func_logf" = x""yes; then :
42650 cat >>confdefs.h <<_ACEOF
42651 #define HAVE_LOGF 1
42652 _ACEOF
42655 done
42657 else
42659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42660 $as_echo_n "checking for _logf declaration... " >&6; }
42661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42662 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42663 $as_echo_n "(cached) " >&6
42664 else
42667 ac_ext=cpp
42668 ac_cpp='$CXXCPP $CPPFLAGS'
42669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42674 /* end confdefs.h. */
42675 #include <math.h>
42676 #ifdef HAVE_IEEEFP_H
42677 #include <ieeefp.h>
42678 #endif
42681 main ()
42683 _logf(0);
42685 return 0;
42687 _ACEOF
42688 if ac_fn_cxx_try_compile "$LINENO"; then :
42689 glibcxx_cv_func__logf_use=yes
42690 else
42691 glibcxx_cv_func__logf_use=no
42693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42694 ac_ext=c
42695 ac_cpp='$CPP $CPPFLAGS'
42696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42705 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42708 for ac_func in _logf
42709 do :
42710 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42711 if test "x$ac_cv_func__logf" = x""yes; then :
42712 cat >>confdefs.h <<_ACEOF
42713 #define HAVE__LOGF 1
42714 _ACEOF
42717 done
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42727 $as_echo_n "checking for log10f declaration... " >&6; }
42728 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42729 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42730 $as_echo_n "(cached) " >&6
42731 else
42734 ac_ext=cpp
42735 ac_cpp='$CXXCPP $CPPFLAGS'
42736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42741 /* end confdefs.h. */
42742 #include <math.h>
42743 #ifdef HAVE_IEEEFP_H
42744 #include <ieeefp.h>
42745 #endif
42748 main ()
42750 log10f(0);
42752 return 0;
42754 _ACEOF
42755 if ac_fn_cxx_try_compile "$LINENO"; then :
42756 glibcxx_cv_func_log10f_use=yes
42757 else
42758 glibcxx_cv_func_log10f_use=no
42760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42761 ac_ext=c
42762 ac_cpp='$CPP $CPPFLAGS'
42763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42772 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42774 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42775 for ac_func in log10f
42776 do :
42777 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42778 if test "x$ac_cv_func_log10f" = x""yes; then :
42779 cat >>confdefs.h <<_ACEOF
42780 #define HAVE_LOG10F 1
42781 _ACEOF
42784 done
42786 else
42788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42789 $as_echo_n "checking for _log10f declaration... " >&6; }
42790 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42791 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42792 $as_echo_n "(cached) " >&6
42793 else
42796 ac_ext=cpp
42797 ac_cpp='$CXXCPP $CPPFLAGS'
42798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42803 /* end confdefs.h. */
42804 #include <math.h>
42805 #ifdef HAVE_IEEEFP_H
42806 #include <ieeefp.h>
42807 #endif
42810 main ()
42812 _log10f(0);
42814 return 0;
42816 _ACEOF
42817 if ac_fn_cxx_try_compile "$LINENO"; then :
42818 glibcxx_cv_func__log10f_use=yes
42819 else
42820 glibcxx_cv_func__log10f_use=no
42822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42823 ac_ext=c
42824 ac_cpp='$CPP $CPPFLAGS'
42825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42834 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42836 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42837 for ac_func in _log10f
42838 do :
42839 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42840 if test "x$ac_cv_func__log10f" = x""yes; then :
42841 cat >>confdefs.h <<_ACEOF
42842 #define HAVE__LOG10F 1
42843 _ACEOF
42846 done
42855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42856 $as_echo_n "checking for modff declaration... " >&6; }
42857 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42858 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42859 $as_echo_n "(cached) " >&6
42860 else
42863 ac_ext=cpp
42864 ac_cpp='$CXXCPP $CPPFLAGS'
42865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42870 /* end confdefs.h. */
42871 #include <math.h>
42873 main ()
42875 modff(0, 0);
42877 return 0;
42879 _ACEOF
42880 if ac_fn_cxx_try_compile "$LINENO"; then :
42881 glibcxx_cv_func_modff_use=yes
42882 else
42883 glibcxx_cv_func_modff_use=no
42885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42886 ac_ext=c
42887 ac_cpp='$CPP $CPPFLAGS'
42888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42897 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42899 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42900 for ac_func in modff
42901 do :
42902 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42903 if test "x$ac_cv_func_modff" = x""yes; then :
42904 cat >>confdefs.h <<_ACEOF
42905 #define HAVE_MODFF 1
42906 _ACEOF
42909 done
42911 else
42913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42914 $as_echo_n "checking for _modff declaration... " >&6; }
42915 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42916 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42917 $as_echo_n "(cached) " >&6
42918 else
42921 ac_ext=cpp
42922 ac_cpp='$CXXCPP $CPPFLAGS'
42923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42928 /* end confdefs.h. */
42929 #include <math.h>
42931 main ()
42933 _modff(0, 0);
42935 return 0;
42937 _ACEOF
42938 if ac_fn_cxx_try_compile "$LINENO"; then :
42939 glibcxx_cv_func__modff_use=yes
42940 else
42941 glibcxx_cv_func__modff_use=no
42943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42944 ac_ext=c
42945 ac_cpp='$CPP $CPPFLAGS'
42946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42955 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42957 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42958 for ac_func in _modff
42959 do :
42960 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42961 if test "x$ac_cv_func__modff" = x""yes; then :
42962 cat >>confdefs.h <<_ACEOF
42963 #define HAVE__MODFF 1
42964 _ACEOF
42967 done
42976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42977 $as_echo_n "checking for modf declaration... " >&6; }
42978 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42979 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42980 $as_echo_n "(cached) " >&6
42981 else
42984 ac_ext=cpp
42985 ac_cpp='$CXXCPP $CPPFLAGS'
42986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42991 /* end confdefs.h. */
42992 #include <math.h>
42994 main ()
42996 modf(0, 0);
42998 return 0;
43000 _ACEOF
43001 if ac_fn_cxx_try_compile "$LINENO"; then :
43002 glibcxx_cv_func_modf_use=yes
43003 else
43004 glibcxx_cv_func_modf_use=no
43006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43007 ac_ext=c
43008 ac_cpp='$CPP $CPPFLAGS'
43009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43018 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43020 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43021 for ac_func in modf
43022 do :
43023 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43024 if test "x$ac_cv_func_modf" = x""yes; then :
43025 cat >>confdefs.h <<_ACEOF
43026 #define HAVE_MODF 1
43027 _ACEOF
43030 done
43032 else
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43035 $as_echo_n "checking for _modf declaration... " >&6; }
43036 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43037 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43038 $as_echo_n "(cached) " >&6
43039 else
43042 ac_ext=cpp
43043 ac_cpp='$CXXCPP $CPPFLAGS'
43044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43049 /* end confdefs.h. */
43050 #include <math.h>
43052 main ()
43054 _modf(0, 0);
43056 return 0;
43058 _ACEOF
43059 if ac_fn_cxx_try_compile "$LINENO"; then :
43060 glibcxx_cv_func__modf_use=yes
43061 else
43062 glibcxx_cv_func__modf_use=no
43064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43065 ac_ext=c
43066 ac_cpp='$CPP $CPPFLAGS'
43067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43076 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43078 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43079 for ac_func in _modf
43080 do :
43081 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43082 if test "x$ac_cv_func__modf" = x""yes; then :
43083 cat >>confdefs.h <<_ACEOF
43084 #define HAVE__MODF 1
43085 _ACEOF
43088 done
43097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43098 $as_echo_n "checking for powf declaration... " >&6; }
43099 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43100 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43101 $as_echo_n "(cached) " >&6
43102 else
43105 ac_ext=cpp
43106 ac_cpp='$CXXCPP $CPPFLAGS'
43107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43112 /* end confdefs.h. */
43113 #include <math.h>
43115 main ()
43117 powf(0, 0);
43119 return 0;
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func_powf_use=yes
43124 else
43125 glibcxx_cv_func_powf_use=no
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43139 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43141 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43142 for ac_func in powf
43143 do :
43144 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43145 if test "x$ac_cv_func_powf" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE_POWF 1
43148 _ACEOF
43151 done
43153 else
43155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43156 $as_echo_n "checking for _powf declaration... " >&6; }
43157 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43158 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43159 $as_echo_n "(cached) " >&6
43160 else
43163 ac_ext=cpp
43164 ac_cpp='$CXXCPP $CPPFLAGS'
43165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43170 /* end confdefs.h. */
43171 #include <math.h>
43173 main ()
43175 _powf(0, 0);
43177 return 0;
43179 _ACEOF
43180 if ac_fn_cxx_try_compile "$LINENO"; then :
43181 glibcxx_cv_func__powf_use=yes
43182 else
43183 glibcxx_cv_func__powf_use=no
43185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43186 ac_ext=c
43187 ac_cpp='$CPP $CPPFLAGS'
43188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43197 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43199 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43200 for ac_func in _powf
43201 do :
43202 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43203 if test "x$ac_cv_func__powf" = x""yes; then :
43204 cat >>confdefs.h <<_ACEOF
43205 #define HAVE__POWF 1
43206 _ACEOF
43209 done
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43219 $as_echo_n "checking for sqrtf declaration... " >&6; }
43220 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43221 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 #ifdef HAVE_IEEEFP_H
43236 #include <ieeefp.h>
43237 #endif
43240 main ()
43242 sqrtf(0);
43244 return 0;
43246 _ACEOF
43247 if ac_fn_cxx_try_compile "$LINENO"; then :
43248 glibcxx_cv_func_sqrtf_use=yes
43249 else
43250 glibcxx_cv_func_sqrtf_use=no
43252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43253 ac_ext=c
43254 ac_cpp='$CPP $CPPFLAGS'
43255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43264 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43266 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43267 for ac_func in sqrtf
43268 do :
43269 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43270 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43271 cat >>confdefs.h <<_ACEOF
43272 #define HAVE_SQRTF 1
43273 _ACEOF
43276 done
43278 else
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43281 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43282 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43283 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43284 $as_echo_n "(cached) " >&6
43285 else
43288 ac_ext=cpp
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43295 /* end confdefs.h. */
43296 #include <math.h>
43297 #ifdef HAVE_IEEEFP_H
43298 #include <ieeefp.h>
43299 #endif
43302 main ()
43304 _sqrtf(0);
43306 return 0;
43308 _ACEOF
43309 if ac_fn_cxx_try_compile "$LINENO"; then :
43310 glibcxx_cv_func__sqrtf_use=yes
43311 else
43312 glibcxx_cv_func__sqrtf_use=no
43314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43315 ac_ext=c
43316 ac_cpp='$CPP $CPPFLAGS'
43317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43326 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43328 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43329 for ac_func in _sqrtf
43330 do :
43331 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43332 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43333 cat >>confdefs.h <<_ACEOF
43334 #define HAVE__SQRTF 1
43335 _ACEOF
43338 done
43347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43348 $as_echo_n "checking for sincosf declaration... " >&6; }
43349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43350 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43351 $as_echo_n "(cached) " >&6
43352 else
43355 ac_ext=cpp
43356 ac_cpp='$CXXCPP $CPPFLAGS'
43357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43362 /* end confdefs.h. */
43363 #include <math.h>
43365 main ()
43367 sincosf(0, 0, 0);
43369 return 0;
43371 _ACEOF
43372 if ac_fn_cxx_try_compile "$LINENO"; then :
43373 glibcxx_cv_func_sincosf_use=yes
43374 else
43375 glibcxx_cv_func_sincosf_use=no
43377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43378 ac_ext=c
43379 ac_cpp='$CPP $CPPFLAGS'
43380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43389 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43391 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43392 for ac_func in sincosf
43393 do :
43394 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43395 if test "x$ac_cv_func_sincosf" = x""yes; then :
43396 cat >>confdefs.h <<_ACEOF
43397 #define HAVE_SINCOSF 1
43398 _ACEOF
43401 done
43403 else
43405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43406 $as_echo_n "checking for _sincosf declaration... " >&6; }
43407 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43408 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43409 $as_echo_n "(cached) " >&6
43410 else
43413 ac_ext=cpp
43414 ac_cpp='$CXXCPP $CPPFLAGS'
43415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43420 /* end confdefs.h. */
43421 #include <math.h>
43423 main ()
43425 _sincosf(0, 0, 0);
43427 return 0;
43429 _ACEOF
43430 if ac_fn_cxx_try_compile "$LINENO"; then :
43431 glibcxx_cv_func__sincosf_use=yes
43432 else
43433 glibcxx_cv_func__sincosf_use=no
43435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43436 ac_ext=c
43437 ac_cpp='$CPP $CPPFLAGS'
43438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43447 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43450 for ac_func in _sincosf
43451 do :
43452 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43453 if test "x$ac_cv_func__sincosf" = x""yes; then :
43454 cat >>confdefs.h <<_ACEOF
43455 #define HAVE__SINCOSF 1
43456 _ACEOF
43459 done
43468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43469 $as_echo_n "checking for finitef declaration... " >&6; }
43470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43471 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43472 $as_echo_n "(cached) " >&6
43473 else
43476 ac_ext=cpp
43477 ac_cpp='$CXXCPP $CPPFLAGS'
43478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43483 /* end confdefs.h. */
43484 #include <math.h>
43485 #ifdef HAVE_IEEEFP_H
43486 #include <ieeefp.h>
43487 #endif
43490 main ()
43492 finitef(0);
43494 return 0;
43496 _ACEOF
43497 if ac_fn_cxx_try_compile "$LINENO"; then :
43498 glibcxx_cv_func_finitef_use=yes
43499 else
43500 glibcxx_cv_func_finitef_use=no
43502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43503 ac_ext=c
43504 ac_cpp='$CPP $CPPFLAGS'
43505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43514 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43517 for ac_func in finitef
43518 do :
43519 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43520 if test "x$ac_cv_func_finitef" = x""yes; then :
43521 cat >>confdefs.h <<_ACEOF
43522 #define HAVE_FINITEF 1
43523 _ACEOF
43526 done
43528 else
43530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43531 $as_echo_n "checking for _finitef declaration... " >&6; }
43532 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43533 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43534 $as_echo_n "(cached) " >&6
43535 else
43538 ac_ext=cpp
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43545 /* end confdefs.h. */
43546 #include <math.h>
43547 #ifdef HAVE_IEEEFP_H
43548 #include <ieeefp.h>
43549 #endif
43552 main ()
43554 _finitef(0);
43556 return 0;
43558 _ACEOF
43559 if ac_fn_cxx_try_compile "$LINENO"; then :
43560 glibcxx_cv_func__finitef_use=yes
43561 else
43562 glibcxx_cv_func__finitef_use=no
43564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43565 ac_ext=c
43566 ac_cpp='$CPP $CPPFLAGS'
43567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43576 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43578 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43579 for ac_func in _finitef
43580 do :
43581 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43582 if test "x$ac_cv_func__finitef" = x""yes; then :
43583 cat >>confdefs.h <<_ACEOF
43584 #define HAVE__FINITEF 1
43585 _ACEOF
43588 done
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43598 $as_echo_n "checking for long double trig functions... " >&6; }
43599 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43600 $as_echo_n "(cached) " >&6
43601 else
43604 ac_ext=cpp
43605 ac_cpp='$CXXCPP $CPPFLAGS'
43606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43611 /* end confdefs.h. */
43612 #include <math.h>
43614 main ()
43616 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43618 return 0;
43620 _ACEOF
43621 if ac_fn_cxx_try_compile "$LINENO"; then :
43622 glibcxx_cv_func_long_double_trig_use=yes
43623 else
43624 glibcxx_cv_func_long_double_trig_use=no
43626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43636 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43637 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43638 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43639 do :
43640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43642 eval as_val=\$$as_ac_var
43643 if test "x$as_val" = x""yes; then :
43644 cat >>confdefs.h <<_ACEOF
43645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43646 _ACEOF
43649 done
43651 else
43652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43653 $as_echo_n "checking for _long double trig functions... " >&6; }
43654 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43655 $as_echo_n "(cached) " >&6
43656 else
43659 ac_ext=cpp
43660 ac_cpp='$CXXCPP $CPPFLAGS'
43661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43666 /* end confdefs.h. */
43667 #include <math.h>
43669 main ()
43671 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43673 return 0;
43675 _ACEOF
43676 if ac_fn_cxx_try_compile "$LINENO"; then :
43677 glibcxx_cv_func__long_double_trig_use=yes
43678 else
43679 glibcxx_cv_func__long_double_trig_use=no
43681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43682 ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43691 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43692 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43693 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43694 do :
43695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43697 eval as_val=\$$as_ac_var
43698 if test "x$as_val" = x""yes; then :
43699 cat >>confdefs.h <<_ACEOF
43700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43701 _ACEOF
43704 done
43713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43714 $as_echo_n "checking for long double round functions... " >&6; }
43715 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43716 $as_echo_n "(cached) " >&6
43717 else
43720 ac_ext=cpp
43721 ac_cpp='$CXXCPP $CPPFLAGS'
43722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43727 /* end confdefs.h. */
43728 #include <math.h>
43730 main ()
43732 ceill (0); floorl (0);
43734 return 0;
43736 _ACEOF
43737 if ac_fn_cxx_try_compile "$LINENO"; then :
43738 glibcxx_cv_func_long_double_round_use=yes
43739 else
43740 glibcxx_cv_func_long_double_round_use=no
43742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43743 ac_ext=c
43744 ac_cpp='$CPP $CPPFLAGS'
43745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43754 for ac_func in ceill floorl
43755 do :
43756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43758 eval as_val=\$$as_ac_var
43759 if test "x$as_val" = x""yes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43762 _ACEOF
43765 done
43767 else
43768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43769 $as_echo_n "checking for _long double round functions... " >&6; }
43770 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43771 $as_echo_n "(cached) " >&6
43772 else
43775 ac_ext=cpp
43776 ac_cpp='$CXXCPP $CPPFLAGS'
43777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43782 /* end confdefs.h. */
43783 #include <math.h>
43785 main ()
43787 _ceill (0); _floorl (0);
43789 return 0;
43791 _ACEOF
43792 if ac_fn_cxx_try_compile "$LINENO"; then :
43793 glibcxx_cv_func__long_double_round_use=yes
43794 else
43795 glibcxx_cv_func__long_double_round_use=no
43797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43798 ac_ext=c
43799 ac_cpp='$CPP $CPPFLAGS'
43800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43807 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43808 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43809 for ac_func in _ceill _floorl
43810 do :
43811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43813 eval as_val=\$$as_ac_var
43814 if test "x$as_val" = x""yes; then :
43815 cat >>confdefs.h <<_ACEOF
43816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43817 _ACEOF
43820 done
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43831 $as_echo_n "checking for isnanl declaration... " >&6; }
43832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43833 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43834 $as_echo_n "(cached) " >&6
43835 else
43838 ac_ext=cpp
43839 ac_cpp='$CXXCPP $CPPFLAGS'
43840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43845 /* end confdefs.h. */
43846 #include <math.h>
43847 #ifdef HAVE_IEEEFP_H
43848 #include <ieeefp.h>
43849 #endif
43852 main ()
43854 isnanl(0);
43856 return 0;
43858 _ACEOF
43859 if ac_fn_cxx_try_compile "$LINENO"; then :
43860 glibcxx_cv_func_isnanl_use=yes
43861 else
43862 glibcxx_cv_func_isnanl_use=no
43864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43865 ac_ext=c
43866 ac_cpp='$CPP $CPPFLAGS'
43867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43879 for ac_func in isnanl
43880 do :
43881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43882 if test "x$ac_cv_func_isnanl" = x""yes; then :
43883 cat >>confdefs.h <<_ACEOF
43884 #define HAVE_ISNANL 1
43885 _ACEOF
43888 done
43890 else
43892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43893 $as_echo_n "checking for _isnanl declaration... " >&6; }
43894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43895 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43896 $as_echo_n "(cached) " >&6
43897 else
43900 ac_ext=cpp
43901 ac_cpp='$CXXCPP $CPPFLAGS'
43902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43907 /* end confdefs.h. */
43908 #include <math.h>
43909 #ifdef HAVE_IEEEFP_H
43910 #include <ieeefp.h>
43911 #endif
43914 main ()
43916 _isnanl(0);
43918 return 0;
43920 _ACEOF
43921 if ac_fn_cxx_try_compile "$LINENO"; then :
43922 glibcxx_cv_func__isnanl_use=yes
43923 else
43924 glibcxx_cv_func__isnanl_use=no
43926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43927 ac_ext=c
43928 ac_cpp='$CPP $CPPFLAGS'
43929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43941 for ac_func in _isnanl
43942 do :
43943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43944 if test "x$ac_cv_func__isnanl" = x""yes; then :
43945 cat >>confdefs.h <<_ACEOF
43946 #define HAVE__ISNANL 1
43947 _ACEOF
43950 done
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43960 $as_echo_n "checking for isinfl declaration... " >&6; }
43961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43962 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43963 $as_echo_n "(cached) " >&6
43964 else
43967 ac_ext=cpp
43968 ac_cpp='$CXXCPP $CPPFLAGS'
43969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43974 /* end confdefs.h. */
43975 #include <math.h>
43976 #ifdef HAVE_IEEEFP_H
43977 #include <ieeefp.h>
43978 #endif
43981 main ()
43983 isinfl(0);
43985 return 0;
43987 _ACEOF
43988 if ac_fn_cxx_try_compile "$LINENO"; then :
43989 glibcxx_cv_func_isinfl_use=yes
43990 else
43991 glibcxx_cv_func_isinfl_use=no
43993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43994 ac_ext=c
43995 ac_cpp='$CPP $CPPFLAGS'
43996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44008 for ac_func in isinfl
44009 do :
44010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44011 if test "x$ac_cv_func_isinfl" = x""yes; then :
44012 cat >>confdefs.h <<_ACEOF
44013 #define HAVE_ISINFL 1
44014 _ACEOF
44017 done
44019 else
44021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44022 $as_echo_n "checking for _isinfl declaration... " >&6; }
44023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44024 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44025 $as_echo_n "(cached) " >&6
44026 else
44029 ac_ext=cpp
44030 ac_cpp='$CXXCPP $CPPFLAGS'
44031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44036 /* end confdefs.h. */
44037 #include <math.h>
44038 #ifdef HAVE_IEEEFP_H
44039 #include <ieeefp.h>
44040 #endif
44043 main ()
44045 _isinfl(0);
44047 return 0;
44049 _ACEOF
44050 if ac_fn_cxx_try_compile "$LINENO"; then :
44051 glibcxx_cv_func__isinfl_use=yes
44052 else
44053 glibcxx_cv_func__isinfl_use=no
44055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44056 ac_ext=c
44057 ac_cpp='$CPP $CPPFLAGS'
44058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44070 for ac_func in _isinfl
44071 do :
44072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44073 if test "x$ac_cv_func__isinfl" = x""yes; then :
44074 cat >>confdefs.h <<_ACEOF
44075 #define HAVE__ISINFL 1
44076 _ACEOF
44079 done
44088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44089 $as_echo_n "checking for atan2l declaration... " >&6; }
44090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44091 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44092 $as_echo_n "(cached) " >&6
44093 else
44096 ac_ext=cpp
44097 ac_cpp='$CXXCPP $CPPFLAGS'
44098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44103 /* end confdefs.h. */
44104 #include <math.h>
44106 main ()
44108 atan2l(0, 0);
44110 return 0;
44112 _ACEOF
44113 if ac_fn_cxx_try_compile "$LINENO"; then :
44114 glibcxx_cv_func_atan2l_use=yes
44115 else
44116 glibcxx_cv_func_atan2l_use=no
44118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44119 ac_ext=c
44120 ac_cpp='$CPP $CPPFLAGS'
44121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44133 for ac_func in atan2l
44134 do :
44135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44136 if test "x$ac_cv_func_atan2l" = x""yes; then :
44137 cat >>confdefs.h <<_ACEOF
44138 #define HAVE_ATAN2L 1
44139 _ACEOF
44142 done
44144 else
44146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44147 $as_echo_n "checking for _atan2l declaration... " >&6; }
44148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44149 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44150 $as_echo_n "(cached) " >&6
44151 else
44154 ac_ext=cpp
44155 ac_cpp='$CXXCPP $CPPFLAGS'
44156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44161 /* end confdefs.h. */
44162 #include <math.h>
44164 main ()
44166 _atan2l(0, 0);
44168 return 0;
44170 _ACEOF
44171 if ac_fn_cxx_try_compile "$LINENO"; then :
44172 glibcxx_cv_func__atan2l_use=yes
44173 else
44174 glibcxx_cv_func__atan2l_use=no
44176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44177 ac_ext=c
44178 ac_cpp='$CPP $CPPFLAGS'
44179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44191 for ac_func in _atan2l
44192 do :
44193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44194 if test "x$ac_cv_func__atan2l" = x""yes; then :
44195 cat >>confdefs.h <<_ACEOF
44196 #define HAVE__ATAN2L 1
44197 _ACEOF
44200 done
44209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44210 $as_echo_n "checking for expl declaration... " >&6; }
44211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44212 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44213 $as_echo_n "(cached) " >&6
44214 else
44217 ac_ext=cpp
44218 ac_cpp='$CXXCPP $CPPFLAGS'
44219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44224 /* end confdefs.h. */
44225 #include <math.h>
44226 #ifdef HAVE_IEEEFP_H
44227 #include <ieeefp.h>
44228 #endif
44231 main ()
44233 expl(0);
44235 return 0;
44237 _ACEOF
44238 if ac_fn_cxx_try_compile "$LINENO"; then :
44239 glibcxx_cv_func_expl_use=yes
44240 else
44241 glibcxx_cv_func_expl_use=no
44243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44244 ac_ext=c
44245 ac_cpp='$CPP $CPPFLAGS'
44246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44258 for ac_func in expl
44259 do :
44260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44261 if test "x$ac_cv_func_expl" = x""yes; then :
44262 cat >>confdefs.h <<_ACEOF
44263 #define HAVE_EXPL 1
44264 _ACEOF
44267 done
44269 else
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44272 $as_echo_n "checking for _expl declaration... " >&6; }
44273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44274 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44275 $as_echo_n "(cached) " >&6
44276 else
44279 ac_ext=cpp
44280 ac_cpp='$CXXCPP $CPPFLAGS'
44281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44286 /* end confdefs.h. */
44287 #include <math.h>
44288 #ifdef HAVE_IEEEFP_H
44289 #include <ieeefp.h>
44290 #endif
44293 main ()
44295 _expl(0);
44297 return 0;
44299 _ACEOF
44300 if ac_fn_cxx_try_compile "$LINENO"; then :
44301 glibcxx_cv_func__expl_use=yes
44302 else
44303 glibcxx_cv_func__expl_use=no
44305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44306 ac_ext=c
44307 ac_cpp='$CPP $CPPFLAGS'
44308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44320 for ac_func in _expl
44321 do :
44322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44323 if test "x$ac_cv_func__expl" = x""yes; then :
44324 cat >>confdefs.h <<_ACEOF
44325 #define HAVE__EXPL 1
44326 _ACEOF
44329 done
44338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44339 $as_echo_n "checking for fabsl declaration... " >&6; }
44340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44341 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44342 $as_echo_n "(cached) " >&6
44343 else
44346 ac_ext=cpp
44347 ac_cpp='$CXXCPP $CPPFLAGS'
44348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44353 /* end confdefs.h. */
44354 #include <math.h>
44355 #ifdef HAVE_IEEEFP_H
44356 #include <ieeefp.h>
44357 #endif
44360 main ()
44362 fabsl(0);
44364 return 0;
44366 _ACEOF
44367 if ac_fn_cxx_try_compile "$LINENO"; then :
44368 glibcxx_cv_func_fabsl_use=yes
44369 else
44370 glibcxx_cv_func_fabsl_use=no
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373 ac_ext=c
44374 ac_cpp='$CPP $CPPFLAGS'
44375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44387 for ac_func in fabsl
44388 do :
44389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44390 if test "x$ac_cv_func_fabsl" = x""yes; then :
44391 cat >>confdefs.h <<_ACEOF
44392 #define HAVE_FABSL 1
44393 _ACEOF
44396 done
44398 else
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44401 $as_echo_n "checking for _fabsl declaration... " >&6; }
44402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44403 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44404 $as_echo_n "(cached) " >&6
44405 else
44408 ac_ext=cpp
44409 ac_cpp='$CXXCPP $CPPFLAGS'
44410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44415 /* end confdefs.h. */
44416 #include <math.h>
44417 #ifdef HAVE_IEEEFP_H
44418 #include <ieeefp.h>
44419 #endif
44422 main ()
44424 _fabsl(0);
44426 return 0;
44428 _ACEOF
44429 if ac_fn_cxx_try_compile "$LINENO"; then :
44430 glibcxx_cv_func__fabsl_use=yes
44431 else
44432 glibcxx_cv_func__fabsl_use=no
44434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44449 for ac_func in _fabsl
44450 do :
44451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44452 if test "x$ac_cv_func__fabsl" = x""yes; then :
44453 cat >>confdefs.h <<_ACEOF
44454 #define HAVE__FABSL 1
44455 _ACEOF
44458 done
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44468 $as_echo_n "checking for fmodl declaration... " >&6; }
44469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44470 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44471 $as_echo_n "(cached) " >&6
44472 else
44475 ac_ext=cpp
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44482 /* end confdefs.h. */
44483 #include <math.h>
44485 main ()
44487 fmodl(0, 0);
44489 return 0;
44491 _ACEOF
44492 if ac_fn_cxx_try_compile "$LINENO"; then :
44493 glibcxx_cv_func_fmodl_use=yes
44494 else
44495 glibcxx_cv_func_fmodl_use=no
44497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44498 ac_ext=c
44499 ac_cpp='$CPP $CPPFLAGS'
44500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44512 for ac_func in fmodl
44513 do :
44514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44515 if test "x$ac_cv_func_fmodl" = x""yes; then :
44516 cat >>confdefs.h <<_ACEOF
44517 #define HAVE_FMODL 1
44518 _ACEOF
44521 done
44523 else
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44526 $as_echo_n "checking for _fmodl declaration... " >&6; }
44527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44528 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44529 $as_echo_n "(cached) " >&6
44530 else
44533 ac_ext=cpp
44534 ac_cpp='$CXXCPP $CPPFLAGS'
44535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44540 /* end confdefs.h. */
44541 #include <math.h>
44543 main ()
44545 _fmodl(0, 0);
44547 return 0;
44549 _ACEOF
44550 if ac_fn_cxx_try_compile "$LINENO"; then :
44551 glibcxx_cv_func__fmodl_use=yes
44552 else
44553 glibcxx_cv_func__fmodl_use=no
44555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44556 ac_ext=c
44557 ac_cpp='$CPP $CPPFLAGS'
44558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44570 for ac_func in _fmodl
44571 do :
44572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44573 if test "x$ac_cv_func__fmodl" = x""yes; then :
44574 cat >>confdefs.h <<_ACEOF
44575 #define HAVE__FMODL 1
44576 _ACEOF
44579 done
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44589 $as_echo_n "checking for frexpl declaration... " >&6; }
44590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44591 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44592 $as_echo_n "(cached) " >&6
44593 else
44596 ac_ext=cpp
44597 ac_cpp='$CXXCPP $CPPFLAGS'
44598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44603 /* end confdefs.h. */
44604 #include <math.h>
44606 main ()
44608 frexpl(0, 0);
44610 return 0;
44612 _ACEOF
44613 if ac_fn_cxx_try_compile "$LINENO"; then :
44614 glibcxx_cv_func_frexpl_use=yes
44615 else
44616 glibcxx_cv_func_frexpl_use=no
44618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44619 ac_ext=c
44620 ac_cpp='$CPP $CPPFLAGS'
44621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44633 for ac_func in frexpl
44634 do :
44635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44636 if test "x$ac_cv_func_frexpl" = x""yes; then :
44637 cat >>confdefs.h <<_ACEOF
44638 #define HAVE_FREXPL 1
44639 _ACEOF
44642 done
44644 else
44646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44647 $as_echo_n "checking for _frexpl declaration... " >&6; }
44648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44649 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44650 $as_echo_n "(cached) " >&6
44651 else
44654 ac_ext=cpp
44655 ac_cpp='$CXXCPP $CPPFLAGS'
44656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44661 /* end confdefs.h. */
44662 #include <math.h>
44664 main ()
44666 _frexpl(0, 0);
44668 return 0;
44670 _ACEOF
44671 if ac_fn_cxx_try_compile "$LINENO"; then :
44672 glibcxx_cv_func__frexpl_use=yes
44673 else
44674 glibcxx_cv_func__frexpl_use=no
44676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44677 ac_ext=c
44678 ac_cpp='$CPP $CPPFLAGS'
44679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44691 for ac_func in _frexpl
44692 do :
44693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44694 if test "x$ac_cv_func__frexpl" = x""yes; then :
44695 cat >>confdefs.h <<_ACEOF
44696 #define HAVE__FREXPL 1
44697 _ACEOF
44700 done
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44710 $as_echo_n "checking for hypotl declaration... " >&6; }
44711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44712 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44713 $as_echo_n "(cached) " >&6
44714 else
44717 ac_ext=cpp
44718 ac_cpp='$CXXCPP $CPPFLAGS'
44719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44724 /* end confdefs.h. */
44725 #include <math.h>
44727 main ()
44729 hypotl(0, 0);
44731 return 0;
44733 _ACEOF
44734 if ac_fn_cxx_try_compile "$LINENO"; then :
44735 glibcxx_cv_func_hypotl_use=yes
44736 else
44737 glibcxx_cv_func_hypotl_use=no
44739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44740 ac_ext=c
44741 ac_cpp='$CPP $CPPFLAGS'
44742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44754 for ac_func in hypotl
44755 do :
44756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44757 if test "x$ac_cv_func_hypotl" = x""yes; then :
44758 cat >>confdefs.h <<_ACEOF
44759 #define HAVE_HYPOTL 1
44760 _ACEOF
44763 done
44765 else
44767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44768 $as_echo_n "checking for _hypotl declaration... " >&6; }
44769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44770 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44771 $as_echo_n "(cached) " >&6
44772 else
44775 ac_ext=cpp
44776 ac_cpp='$CXXCPP $CPPFLAGS'
44777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44782 /* end confdefs.h. */
44783 #include <math.h>
44785 main ()
44787 _hypotl(0, 0);
44789 return 0;
44791 _ACEOF
44792 if ac_fn_cxx_try_compile "$LINENO"; then :
44793 glibcxx_cv_func__hypotl_use=yes
44794 else
44795 glibcxx_cv_func__hypotl_use=no
44797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798 ac_ext=c
44799 ac_cpp='$CPP $CPPFLAGS'
44800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44812 for ac_func in _hypotl
44813 do :
44814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44815 if test "x$ac_cv_func__hypotl" = x""yes; then :
44816 cat >>confdefs.h <<_ACEOF
44817 #define HAVE__HYPOTL 1
44818 _ACEOF
44821 done
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44831 $as_echo_n "checking for ldexpl declaration... " >&6; }
44832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44833 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44834 $as_echo_n "(cached) " >&6
44835 else
44838 ac_ext=cpp
44839 ac_cpp='$CXXCPP $CPPFLAGS'
44840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44845 /* end confdefs.h. */
44846 #include <math.h>
44848 main ()
44850 ldexpl(0, 0);
44852 return 0;
44854 _ACEOF
44855 if ac_fn_cxx_try_compile "$LINENO"; then :
44856 glibcxx_cv_func_ldexpl_use=yes
44857 else
44858 glibcxx_cv_func_ldexpl_use=no
44860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44861 ac_ext=c
44862 ac_cpp='$CPP $CPPFLAGS'
44863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44875 for ac_func in ldexpl
44876 do :
44877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44878 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44879 cat >>confdefs.h <<_ACEOF
44880 #define HAVE_LDEXPL 1
44881 _ACEOF
44884 done
44886 else
44888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44891 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44892 $as_echo_n "(cached) " >&6
44893 else
44896 ac_ext=cpp
44897 ac_cpp='$CXXCPP $CPPFLAGS'
44898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44903 /* end confdefs.h. */
44904 #include <math.h>
44906 main ()
44908 _ldexpl(0, 0);
44910 return 0;
44912 _ACEOF
44913 if ac_fn_cxx_try_compile "$LINENO"; then :
44914 glibcxx_cv_func__ldexpl_use=yes
44915 else
44916 glibcxx_cv_func__ldexpl_use=no
44918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44919 ac_ext=c
44920 ac_cpp='$CPP $CPPFLAGS'
44921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44933 for ac_func in _ldexpl
44934 do :
44935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44936 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44937 cat >>confdefs.h <<_ACEOF
44938 #define HAVE__LDEXPL 1
44939 _ACEOF
44942 done
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44952 $as_echo_n "checking for logl declaration... " >&6; }
44953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44954 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44955 $as_echo_n "(cached) " >&6
44956 else
44959 ac_ext=cpp
44960 ac_cpp='$CXXCPP $CPPFLAGS'
44961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44966 /* end confdefs.h. */
44967 #include <math.h>
44968 #ifdef HAVE_IEEEFP_H
44969 #include <ieeefp.h>
44970 #endif
44973 main ()
44975 logl(0);
44977 return 0;
44979 _ACEOF
44980 if ac_fn_cxx_try_compile "$LINENO"; then :
44981 glibcxx_cv_func_logl_use=yes
44982 else
44983 glibcxx_cv_func_logl_use=no
44985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44986 ac_ext=c
44987 ac_cpp='$CPP $CPPFLAGS'
44988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45000 for ac_func in logl
45001 do :
45002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45003 if test "x$ac_cv_func_logl" = x""yes; then :
45004 cat >>confdefs.h <<_ACEOF
45005 #define HAVE_LOGL 1
45006 _ACEOF
45009 done
45011 else
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45014 $as_echo_n "checking for _logl declaration... " >&6; }
45015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45016 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45017 $as_echo_n "(cached) " >&6
45018 else
45021 ac_ext=cpp
45022 ac_cpp='$CXXCPP $CPPFLAGS'
45023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028 /* end confdefs.h. */
45029 #include <math.h>
45030 #ifdef HAVE_IEEEFP_H
45031 #include <ieeefp.h>
45032 #endif
45035 main ()
45037 _logl(0);
45039 return 0;
45041 _ACEOF
45042 if ac_fn_cxx_try_compile "$LINENO"; then :
45043 glibcxx_cv_func__logl_use=yes
45044 else
45045 glibcxx_cv_func__logl_use=no
45047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45048 ac_ext=c
45049 ac_cpp='$CPP $CPPFLAGS'
45050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45062 for ac_func in _logl
45063 do :
45064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45065 if test "x$ac_cv_func__logl" = x""yes; then :
45066 cat >>confdefs.h <<_ACEOF
45067 #define HAVE__LOGL 1
45068 _ACEOF
45071 done
45080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45081 $as_echo_n "checking for log10l declaration... " >&6; }
45082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45083 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45084 $as_echo_n "(cached) " >&6
45085 else
45088 ac_ext=cpp
45089 ac_cpp='$CXXCPP $CPPFLAGS'
45090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45095 /* end confdefs.h. */
45096 #include <math.h>
45097 #ifdef HAVE_IEEEFP_H
45098 #include <ieeefp.h>
45099 #endif
45102 main ()
45104 log10l(0);
45106 return 0;
45108 _ACEOF
45109 if ac_fn_cxx_try_compile "$LINENO"; then :
45110 glibcxx_cv_func_log10l_use=yes
45111 else
45112 glibcxx_cv_func_log10l_use=no
45114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45115 ac_ext=c
45116 ac_cpp='$CPP $CPPFLAGS'
45117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45129 for ac_func in log10l
45130 do :
45131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45132 if test "x$ac_cv_func_log10l" = x""yes; then :
45133 cat >>confdefs.h <<_ACEOF
45134 #define HAVE_LOG10L 1
45135 _ACEOF
45138 done
45140 else
45142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45143 $as_echo_n "checking for _log10l declaration... " >&6; }
45144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45145 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45146 $as_echo_n "(cached) " >&6
45147 else
45150 ac_ext=cpp
45151 ac_cpp='$CXXCPP $CPPFLAGS'
45152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45157 /* end confdefs.h. */
45158 #include <math.h>
45159 #ifdef HAVE_IEEEFP_H
45160 #include <ieeefp.h>
45161 #endif
45164 main ()
45166 _log10l(0);
45168 return 0;
45170 _ACEOF
45171 if ac_fn_cxx_try_compile "$LINENO"; then :
45172 glibcxx_cv_func__log10l_use=yes
45173 else
45174 glibcxx_cv_func__log10l_use=no
45176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45177 ac_ext=c
45178 ac_cpp='$CPP $CPPFLAGS'
45179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45191 for ac_func in _log10l
45192 do :
45193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45194 if test "x$ac_cv_func__log10l" = x""yes; then :
45195 cat >>confdefs.h <<_ACEOF
45196 #define HAVE__LOG10L 1
45197 _ACEOF
45200 done
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45210 $as_echo_n "checking for modfl declaration... " >&6; }
45211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45212 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45213 $as_echo_n "(cached) " >&6
45214 else
45217 ac_ext=cpp
45218 ac_cpp='$CXXCPP $CPPFLAGS'
45219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45224 /* end confdefs.h. */
45225 #include <math.h>
45227 main ()
45229 modfl(0, 0);
45231 return 0;
45233 _ACEOF
45234 if ac_fn_cxx_try_compile "$LINENO"; then :
45235 glibcxx_cv_func_modfl_use=yes
45236 else
45237 glibcxx_cv_func_modfl_use=no
45239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45240 ac_ext=c
45241 ac_cpp='$CPP $CPPFLAGS'
45242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45254 for ac_func in modfl
45255 do :
45256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45257 if test "x$ac_cv_func_modfl" = x""yes; then :
45258 cat >>confdefs.h <<_ACEOF
45259 #define HAVE_MODFL 1
45260 _ACEOF
45263 done
45265 else
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45268 $as_echo_n "checking for _modfl declaration... " >&6; }
45269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45270 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45271 $as_echo_n "(cached) " >&6
45272 else
45275 ac_ext=cpp
45276 ac_cpp='$CXXCPP $CPPFLAGS'
45277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45282 /* end confdefs.h. */
45283 #include <math.h>
45285 main ()
45287 _modfl(0, 0);
45289 return 0;
45291 _ACEOF
45292 if ac_fn_cxx_try_compile "$LINENO"; then :
45293 glibcxx_cv_func__modfl_use=yes
45294 else
45295 glibcxx_cv_func__modfl_use=no
45297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45298 ac_ext=c
45299 ac_cpp='$CPP $CPPFLAGS'
45300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45312 for ac_func in _modfl
45313 do :
45314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45315 if test "x$ac_cv_func__modfl" = x""yes; then :
45316 cat >>confdefs.h <<_ACEOF
45317 #define HAVE__MODFL 1
45318 _ACEOF
45321 done
45330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45331 $as_echo_n "checking for powl declaration... " >&6; }
45332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45333 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45334 $as_echo_n "(cached) " >&6
45335 else
45338 ac_ext=cpp
45339 ac_cpp='$CXXCPP $CPPFLAGS'
45340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45345 /* end confdefs.h. */
45346 #include <math.h>
45348 main ()
45350 powl(0, 0);
45352 return 0;
45354 _ACEOF
45355 if ac_fn_cxx_try_compile "$LINENO"; then :
45356 glibcxx_cv_func_powl_use=yes
45357 else
45358 glibcxx_cv_func_powl_use=no
45360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45361 ac_ext=c
45362 ac_cpp='$CPP $CPPFLAGS'
45363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45375 for ac_func in powl
45376 do :
45377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45378 if test "x$ac_cv_func_powl" = x""yes; then :
45379 cat >>confdefs.h <<_ACEOF
45380 #define HAVE_POWL 1
45381 _ACEOF
45384 done
45386 else
45388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45389 $as_echo_n "checking for _powl declaration... " >&6; }
45390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45391 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45392 $as_echo_n "(cached) " >&6
45393 else
45396 ac_ext=cpp
45397 ac_cpp='$CXXCPP $CPPFLAGS'
45398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45403 /* end confdefs.h. */
45404 #include <math.h>
45406 main ()
45408 _powl(0, 0);
45410 return 0;
45412 _ACEOF
45413 if ac_fn_cxx_try_compile "$LINENO"; then :
45414 glibcxx_cv_func__powl_use=yes
45415 else
45416 glibcxx_cv_func__powl_use=no
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 ac_ext=c
45420 ac_cpp='$CPP $CPPFLAGS'
45421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45433 for ac_func in _powl
45434 do :
45435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45436 if test "x$ac_cv_func__powl" = x""yes; then :
45437 cat >>confdefs.h <<_ACEOF
45438 #define HAVE__POWL 1
45439 _ACEOF
45442 done
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45452 $as_echo_n "checking for sqrtl declaration... " >&6; }
45453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45454 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45455 $as_echo_n "(cached) " >&6
45456 else
45459 ac_ext=cpp
45460 ac_cpp='$CXXCPP $CPPFLAGS'
45461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45466 /* end confdefs.h. */
45467 #include <math.h>
45468 #ifdef HAVE_IEEEFP_H
45469 #include <ieeefp.h>
45470 #endif
45473 main ()
45475 sqrtl(0);
45477 return 0;
45479 _ACEOF
45480 if ac_fn_cxx_try_compile "$LINENO"; then :
45481 glibcxx_cv_func_sqrtl_use=yes
45482 else
45483 glibcxx_cv_func_sqrtl_use=no
45485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45486 ac_ext=c
45487 ac_cpp='$CPP $CPPFLAGS'
45488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45500 for ac_func in sqrtl
45501 do :
45502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45503 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45504 cat >>confdefs.h <<_ACEOF
45505 #define HAVE_SQRTL 1
45506 _ACEOF
45509 done
45511 else
45513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45516 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45517 $as_echo_n "(cached) " >&6
45518 else
45521 ac_ext=cpp
45522 ac_cpp='$CXXCPP $CPPFLAGS'
45523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45528 /* end confdefs.h. */
45529 #include <math.h>
45530 #ifdef HAVE_IEEEFP_H
45531 #include <ieeefp.h>
45532 #endif
45535 main ()
45537 _sqrtl(0);
45539 return 0;
45541 _ACEOF
45542 if ac_fn_cxx_try_compile "$LINENO"; then :
45543 glibcxx_cv_func__sqrtl_use=yes
45544 else
45545 glibcxx_cv_func__sqrtl_use=no
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45548 ac_ext=c
45549 ac_cpp='$CPP $CPPFLAGS'
45550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45562 for ac_func in _sqrtl
45563 do :
45564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45565 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45566 cat >>confdefs.h <<_ACEOF
45567 #define HAVE__SQRTL 1
45568 _ACEOF
45571 done
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45581 $as_echo_n "checking for sincosl declaration... " >&6; }
45582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45583 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45584 $as_echo_n "(cached) " >&6
45585 else
45588 ac_ext=cpp
45589 ac_cpp='$CXXCPP $CPPFLAGS'
45590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45595 /* end confdefs.h. */
45596 #include <math.h>
45598 main ()
45600 sincosl(0, 0, 0);
45602 return 0;
45604 _ACEOF
45605 if ac_fn_cxx_try_compile "$LINENO"; then :
45606 glibcxx_cv_func_sincosl_use=yes
45607 else
45608 glibcxx_cv_func_sincosl_use=no
45610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45611 ac_ext=c
45612 ac_cpp='$CPP $CPPFLAGS'
45613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45625 for ac_func in sincosl
45626 do :
45627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45628 if test "x$ac_cv_func_sincosl" = x""yes; then :
45629 cat >>confdefs.h <<_ACEOF
45630 #define HAVE_SINCOSL 1
45631 _ACEOF
45634 done
45636 else
45638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45639 $as_echo_n "checking for _sincosl declaration... " >&6; }
45640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45641 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45642 $as_echo_n "(cached) " >&6
45643 else
45646 ac_ext=cpp
45647 ac_cpp='$CXXCPP $CPPFLAGS'
45648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45653 /* end confdefs.h. */
45654 #include <math.h>
45656 main ()
45658 _sincosl(0, 0, 0);
45660 return 0;
45662 _ACEOF
45663 if ac_fn_cxx_try_compile "$LINENO"; then :
45664 glibcxx_cv_func__sincosl_use=yes
45665 else
45666 glibcxx_cv_func__sincosl_use=no
45668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45683 for ac_func in _sincosl
45684 do :
45685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45686 if test "x$ac_cv_func__sincosl" = x""yes; then :
45687 cat >>confdefs.h <<_ACEOF
45688 #define HAVE__SINCOSL 1
45689 _ACEOF
45692 done
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45702 $as_echo_n "checking for finitel declaration... " >&6; }
45703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45704 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45705 $as_echo_n "(cached) " >&6
45706 else
45709 ac_ext=cpp
45710 ac_cpp='$CXXCPP $CPPFLAGS'
45711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45716 /* end confdefs.h. */
45717 #include <math.h>
45718 #ifdef HAVE_IEEEFP_H
45719 #include <ieeefp.h>
45720 #endif
45723 main ()
45725 finitel(0);
45727 return 0;
45729 _ACEOF
45730 if ac_fn_cxx_try_compile "$LINENO"; then :
45731 glibcxx_cv_func_finitel_use=yes
45732 else
45733 glibcxx_cv_func_finitel_use=no
45735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45736 ac_ext=c
45737 ac_cpp='$CPP $CPPFLAGS'
45738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45750 for ac_func in finitel
45751 do :
45752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45753 if test "x$ac_cv_func_finitel" = x""yes; then :
45754 cat >>confdefs.h <<_ACEOF
45755 #define HAVE_FINITEL 1
45756 _ACEOF
45759 done
45761 else
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45764 $as_echo_n "checking for _finitel declaration... " >&6; }
45765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45766 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45767 $as_echo_n "(cached) " >&6
45768 else
45771 ac_ext=cpp
45772 ac_cpp='$CXXCPP $CPPFLAGS'
45773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45778 /* end confdefs.h. */
45779 #include <math.h>
45780 #ifdef HAVE_IEEEFP_H
45781 #include <ieeefp.h>
45782 #endif
45785 main ()
45787 _finitel(0);
45789 return 0;
45791 _ACEOF
45792 if ac_fn_cxx_try_compile "$LINENO"; then :
45793 glibcxx_cv_func__finitel_use=yes
45794 else
45795 glibcxx_cv_func__finitel_use=no
45797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45798 ac_ext=c
45799 ac_cpp='$CPP $CPPFLAGS'
45800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45812 for ac_func in _finitel
45813 do :
45814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45815 if test "x$ac_cv_func__finitel" = x""yes; then :
45816 cat >>confdefs.h <<_ACEOF
45817 #define HAVE__FINITEL 1
45818 _ACEOF
45821 done
45829 LIBS="$ac_save_LIBS"
45830 CXXFLAGS="$ac_save_CXXFLAGS"
45833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45834 ac_save_CXXFLAGS="$CXXFLAGS"
45835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45841 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45843 else
45846 ac_ext=cpp
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45854 #include <stdlib.h>
45856 main ()
45858 at_quick_exit(0);
45860 return 0;
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_at_quick_exit_use=yes
45865 else
45866 glibcxx_cv_func_at_quick_exit_use=no
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45882 for ac_func in at_quick_exit
45883 do :
45884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45885 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define HAVE_AT_QUICK_EXIT 1
45888 _ACEOF
45891 done
45896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45897 $as_echo_n "checking for quick_exit declaration... " >&6; }
45898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45899 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45900 $as_echo_n "(cached) " >&6
45901 else
45904 ac_ext=cpp
45905 ac_cpp='$CXXCPP $CPPFLAGS'
45906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45911 /* end confdefs.h. */
45912 #include <stdlib.h>
45914 main ()
45916 quick_exit(0);
45918 return 0;
45920 _ACEOF
45921 if ac_fn_cxx_try_compile "$LINENO"; then :
45922 glibcxx_cv_func_quick_exit_use=yes
45923 else
45924 glibcxx_cv_func_quick_exit_use=no
45926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45927 ac_ext=c
45928 ac_cpp='$CPP $CPPFLAGS'
45929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45940 for ac_func in quick_exit
45941 do :
45942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45943 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45944 cat >>confdefs.h <<_ACEOF
45945 #define HAVE_QUICK_EXIT 1
45946 _ACEOF
45949 done
45954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45955 $as_echo_n "checking for strtold declaration... " >&6; }
45956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45957 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45958 $as_echo_n "(cached) " >&6
45959 else
45962 ac_ext=cpp
45963 ac_cpp='$CXXCPP $CPPFLAGS'
45964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45969 /* end confdefs.h. */
45970 #include <stdlib.h>
45972 main ()
45974 strtold(0, 0);
45976 return 0;
45978 _ACEOF
45979 if ac_fn_cxx_try_compile "$LINENO"; then :
45980 glibcxx_cv_func_strtold_use=yes
45981 else
45982 glibcxx_cv_func_strtold_use=no
45984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45985 ac_ext=c
45986 ac_cpp='$CPP $CPPFLAGS'
45987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45998 for ac_func in strtold
45999 do :
46000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46001 if test "x$ac_cv_func_strtold" = x""yes; then :
46002 cat >>confdefs.h <<_ACEOF
46003 #define HAVE_STRTOLD 1
46004 _ACEOF
46007 done
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46015 $as_echo_n "checking for strtof declaration... " >&6; }
46016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <stdlib.h>
46032 main ()
46034 strtof(0, 0);
46036 return 0;
46038 _ACEOF
46039 if ac_fn_cxx_try_compile "$LINENO"; then :
46040 glibcxx_cv_func_strtof_use=yes
46041 else
46042 glibcxx_cv_func_strtof_use=no
46044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46045 ac_ext=c
46046 ac_cpp='$CPP $CPPFLAGS'
46047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46058 for ac_func in strtof
46059 do :
46060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46061 if test "x$ac_cv_func_strtof" = x""yes; then :
46062 cat >>confdefs.h <<_ACEOF
46063 #define HAVE_STRTOF 1
46064 _ACEOF
46067 done
46074 CXXFLAGS="$ac_save_CXXFLAGS"
46076 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46078 # We don't yet support AIX's TLS ABI.
46079 #GCC_CHECK_TLS
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46086 $as_echo_n "checking for iconv... " >&6; }
46087 if test "${am_cv_func_iconv+set}" = set; then :
46088 $as_echo_n "(cached) " >&6
46089 else
46091 am_cv_func_iconv="no, consider installing GNU libiconv"
46092 am_cv_lib_iconv=no
46093 am_save_CPPFLAGS="$CPPFLAGS"
46094 CPPFLAGS="$CPPFLAGS $INCICONV"
46095 if test x$gcc_no_link = xyes; then
46096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46099 /* end confdefs.h. */
46100 #include <stdlib.h>
46101 #include <iconv.h>
46103 main ()
46105 iconv_t cd = iconv_open("","");
46106 iconv(cd,NULL,NULL,NULL,NULL);
46107 iconv_close(cd);
46109 return 0;
46111 _ACEOF
46112 if ac_fn_c_try_link "$LINENO"; then :
46113 am_cv_func_iconv=yes
46115 rm -f core conftest.err conftest.$ac_objext \
46116 conftest$ac_exeext conftest.$ac_ext
46117 CPPFLAGS="$am_save_CPPFLAGS"
46119 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46120 for _libs in .libs _libs; do
46121 am_save_CPPFLAGS="$CPPFLAGS"
46122 am_save_LIBS="$LIBS"
46123 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46124 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46125 if test x$gcc_no_link = xyes; then
46126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46129 /* end confdefs.h. */
46130 #include <stdlib.h>
46131 #include <iconv.h>
46133 main ()
46135 iconv_t cd = iconv_open("","");
46136 iconv(cd,NULL,NULL,NULL,NULL);
46137 iconv_close(cd);
46139 return 0;
46141 _ACEOF
46142 if ac_fn_c_try_link "$LINENO"; then :
46143 INCICONV="-I../libiconv/include"
46144 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46145 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46146 am_cv_lib_iconv=yes
46147 am_cv_func_iconv=yes
46149 rm -f core conftest.err conftest.$ac_objext \
46150 conftest$ac_exeext conftest.$ac_ext
46151 CPPFLAGS="$am_save_CPPFLAGS"
46152 LIBS="$am_save_LIBS"
46153 if test "$am_cv_func_iconv" = "yes"; then
46154 break
46156 done
46159 if test "$am_cv_func_iconv" != yes; then
46160 am_save_CPPFLAGS="$CPPFLAGS"
46161 am_save_LIBS="$LIBS"
46162 CPPFLAGS="$LIBS $INCICONV"
46163 LIBS="$LIBS $LIBICONV"
46164 if test x$gcc_no_link = xyes; then
46165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46168 /* end confdefs.h. */
46169 #include <stdlib.h>
46170 #include <iconv.h>
46172 main ()
46174 iconv_t cd = iconv_open("","");
46175 iconv(cd,NULL,NULL,NULL,NULL);
46176 iconv_close(cd);
46178 return 0;
46180 _ACEOF
46181 if ac_fn_c_try_link "$LINENO"; then :
46182 am_cv_lib_iconv=yes
46183 am_cv_func_iconv=yes
46185 rm -f core conftest.err conftest.$ac_objext \
46186 conftest$ac_exeext conftest.$ac_ext
46187 CPPFLAGS="$am_save_CPPFLAGS"
46188 LIBS="$am_save_LIBS"
46192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46193 $as_echo "$am_cv_func_iconv" >&6; }
46194 if test "$am_cv_func_iconv" = yes; then
46196 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46199 if test "$am_cv_lib_iconv" = yes; then
46201 for element in $INCICONV; do
46202 haveit=
46203 for x in $CPPFLAGS; do
46205 acl_save_prefix="$prefix"
46206 prefix="$acl_final_prefix"
46207 acl_save_exec_prefix="$exec_prefix"
46208 exec_prefix="$acl_final_exec_prefix"
46209 eval x=\"$x\"
46210 exec_prefix="$acl_save_exec_prefix"
46211 prefix="$acl_save_prefix"
46213 if test "X$x" = "X$element"; then
46214 haveit=yes
46215 break
46217 done
46218 if test -z "$haveit"; then
46219 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46221 done
46223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46224 $as_echo_n "checking how to link with libiconv... " >&6; }
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46226 $as_echo "$LIBICONV" >&6; }
46227 else
46228 LIBICONV=
46229 LTLIBICONV=
46234 if test "$am_cv_func_iconv" = yes; then
46235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46236 $as_echo_n "checking for iconv declaration... " >&6; }
46237 if test "${am_cv_proto_iconv+set}" = set; then :
46238 $as_echo_n "(cached) " >&6
46239 else
46241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46242 /* end confdefs.h. */
46244 #include <stdlib.h>
46245 #include <iconv.h>
46246 extern
46247 #ifdef __cplusplus
46249 #endif
46250 #if defined(__STDC__) || defined(__cplusplus)
46251 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46252 #else
46253 size_t iconv();
46254 #endif
46257 main ()
46261 return 0;
46263 _ACEOF
46264 if ac_fn_c_try_compile "$LINENO"; then :
46265 am_cv_proto_iconv_arg1=""
46266 else
46267 am_cv_proto_iconv_arg1="const"
46269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46270 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);"
46273 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46275 }$am_cv_proto_iconv" >&5
46276 $as_echo "${ac_t:-
46277 }$am_cv_proto_iconv" >&6; }
46279 cat >>confdefs.h <<_ACEOF
46280 #define ICONV_CONST $am_cv_proto_iconv_arg1
46281 _ACEOF
46287 *-darwin*)
46288 # Darwin versions vary, but the linker should work in a cross environment,
46289 # so we just check for all the features here.
46290 # Check for available headers.
46292 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46294 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46295 ac_save_CXXFLAGS="$CXXFLAGS"
46296 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46299 $as_echo_n "checking for sin in -lm... " >&6; }
46300 if test "${ac_cv_lib_m_sin+set}" = set; then :
46301 $as_echo_n "(cached) " >&6
46302 else
46303 ac_check_lib_save_LIBS=$LIBS
46304 LIBS="-lm $LIBS"
46305 if test x$gcc_no_link = xyes; then
46306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46309 /* end confdefs.h. */
46311 /* Override any GCC internal prototype to avoid an error.
46312 Use char because int might match the return type of a GCC
46313 builtin and then its argument prototype would still apply. */
46314 #ifdef __cplusplus
46315 extern "C"
46316 #endif
46317 char sin ();
46319 main ()
46321 return sin ();
46323 return 0;
46325 _ACEOF
46326 if ac_fn_c_try_link "$LINENO"; then :
46327 ac_cv_lib_m_sin=yes
46328 else
46329 ac_cv_lib_m_sin=no
46331 rm -f core conftest.err conftest.$ac_objext \
46332 conftest$ac_exeext conftest.$ac_ext
46333 LIBS=$ac_check_lib_save_LIBS
46335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46336 $as_echo "$ac_cv_lib_m_sin" >&6; }
46337 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46338 libm="-lm"
46341 ac_save_LIBS="$LIBS"
46342 LIBS="$LIBS $libm"
46346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46347 $as_echo_n "checking for isinf declaration... " >&6; }
46348 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46349 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46350 $as_echo_n "(cached) " >&6
46351 else
46354 ac_ext=cpp
46355 ac_cpp='$CXXCPP $CPPFLAGS'
46356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46361 /* end confdefs.h. */
46362 #include <math.h>
46363 #ifdef HAVE_IEEEFP_H
46364 #include <ieeefp.h>
46365 #endif
46368 main ()
46370 isinf(0);
46372 return 0;
46374 _ACEOF
46375 if ac_fn_cxx_try_compile "$LINENO"; then :
46376 glibcxx_cv_func_isinf_use=yes
46377 else
46378 glibcxx_cv_func_isinf_use=no
46380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46381 ac_ext=c
46382 ac_cpp='$CPP $CPPFLAGS'
46383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46392 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46394 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46395 for ac_func in isinf
46396 do :
46397 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46398 if test "x$ac_cv_func_isinf" = x""yes; then :
46399 cat >>confdefs.h <<_ACEOF
46400 #define HAVE_ISINF 1
46401 _ACEOF
46404 done
46406 else
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46409 $as_echo_n "checking for _isinf declaration... " >&6; }
46410 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46411 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46412 $as_echo_n "(cached) " >&6
46413 else
46416 ac_ext=cpp
46417 ac_cpp='$CXXCPP $CPPFLAGS'
46418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46423 /* end confdefs.h. */
46424 #include <math.h>
46425 #ifdef HAVE_IEEEFP_H
46426 #include <ieeefp.h>
46427 #endif
46430 main ()
46432 _isinf(0);
46434 return 0;
46436 _ACEOF
46437 if ac_fn_cxx_try_compile "$LINENO"; then :
46438 glibcxx_cv_func__isinf_use=yes
46439 else
46440 glibcxx_cv_func__isinf_use=no
46442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46443 ac_ext=c
46444 ac_cpp='$CPP $CPPFLAGS'
46445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46454 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46456 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46457 for ac_func in _isinf
46458 do :
46459 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46460 if test "x$ac_cv_func__isinf" = x""yes; then :
46461 cat >>confdefs.h <<_ACEOF
46462 #define HAVE__ISINF 1
46463 _ACEOF
46466 done
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46476 $as_echo_n "checking for isnan declaration... " >&6; }
46477 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46478 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46492 #ifdef HAVE_IEEEFP_H
46493 #include <ieeefp.h>
46494 #endif
46497 main ()
46499 isnan(0);
46501 return 0;
46503 _ACEOF
46504 if ac_fn_cxx_try_compile "$LINENO"; then :
46505 glibcxx_cv_func_isnan_use=yes
46506 else
46507 glibcxx_cv_func_isnan_use=no
46509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46510 ac_ext=c
46511 ac_cpp='$CPP $CPPFLAGS'
46512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46521 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46523 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46524 for ac_func in isnan
46525 do :
46526 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46527 if test "x$ac_cv_func_isnan" = x""yes; then :
46528 cat >>confdefs.h <<_ACEOF
46529 #define HAVE_ISNAN 1
46530 _ACEOF
46533 done
46535 else
46537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46538 $as_echo_n "checking for _isnan declaration... " >&6; }
46539 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46540 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46541 $as_echo_n "(cached) " >&6
46542 else
46545 ac_ext=cpp
46546 ac_cpp='$CXXCPP $CPPFLAGS'
46547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46552 /* end confdefs.h. */
46553 #include <math.h>
46554 #ifdef HAVE_IEEEFP_H
46555 #include <ieeefp.h>
46556 #endif
46559 main ()
46561 _isnan(0);
46563 return 0;
46565 _ACEOF
46566 if ac_fn_cxx_try_compile "$LINENO"; then :
46567 glibcxx_cv_func__isnan_use=yes
46568 else
46569 glibcxx_cv_func__isnan_use=no
46571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46572 ac_ext=c
46573 ac_cpp='$CPP $CPPFLAGS'
46574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46583 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46585 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46586 for ac_func in _isnan
46587 do :
46588 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46589 if test "x$ac_cv_func__isnan" = x""yes; then :
46590 cat >>confdefs.h <<_ACEOF
46591 #define HAVE__ISNAN 1
46592 _ACEOF
46595 done
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46605 $as_echo_n "checking for finite declaration... " >&6; }
46606 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46607 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46608 $as_echo_n "(cached) " >&6
46609 else
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46619 /* end confdefs.h. */
46620 #include <math.h>
46621 #ifdef HAVE_IEEEFP_H
46622 #include <ieeefp.h>
46623 #endif
46626 main ()
46628 finite(0);
46630 return 0;
46632 _ACEOF
46633 if ac_fn_cxx_try_compile "$LINENO"; then :
46634 glibcxx_cv_func_finite_use=yes
46635 else
46636 glibcxx_cv_func_finite_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_finite_use" >&5
46650 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46652 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46653 for ac_func in finite
46654 do :
46655 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46656 if test "x$ac_cv_func_finite" = x""yes; then :
46657 cat >>confdefs.h <<_ACEOF
46658 #define HAVE_FINITE 1
46659 _ACEOF
46662 done
46664 else
46666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46667 $as_echo_n "checking for _finite declaration... " >&6; }
46668 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46669 if test "${glibcxx_cv_func__finite_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>
46683 #ifdef HAVE_IEEEFP_H
46684 #include <ieeefp.h>
46685 #endif
46688 main ()
46690 _finite(0);
46692 return 0;
46694 _ACEOF
46695 if ac_fn_cxx_try_compile "$LINENO"; then :
46696 glibcxx_cv_func__finite_use=yes
46697 else
46698 glibcxx_cv_func__finite_use=no
46700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46701 ac_ext=c
46702 ac_cpp='$CPP $CPPFLAGS'
46703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46712 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46714 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46715 for ac_func in _finite
46716 do :
46717 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46718 if test "x$ac_cv_func__finite" = x""yes; then :
46719 cat >>confdefs.h <<_ACEOF
46720 #define HAVE__FINITE 1
46721 _ACEOF
46724 done
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46734 $as_echo_n "checking for sincos declaration... " >&6; }
46735 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46736 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <math.h>
46751 main ()
46753 sincos(0, 0, 0);
46755 return 0;
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func_sincos_use=yes
46760 else
46761 glibcxx_cv_func_sincos_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_sincos_use" >&5
46775 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46777 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46778 for ac_func in sincos
46779 do :
46780 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46781 if test "x$ac_cv_func_sincos" = x""yes; then :
46782 cat >>confdefs.h <<_ACEOF
46783 #define HAVE_SINCOS 1
46784 _ACEOF
46787 done
46789 else
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46792 $as_echo_n "checking for _sincos declaration... " >&6; }
46793 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46794 if test "${glibcxx_cv_func__sincos_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>
46809 main ()
46811 _sincos(0, 0, 0);
46813 return 0;
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func__sincos_use=yes
46818 else
46819 glibcxx_cv_func__sincos_use=no
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46833 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46835 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46836 for ac_func in _sincos
46837 do :
46838 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46839 if test "x$ac_cv_func__sincos" = x""yes; then :
46840 cat >>confdefs.h <<_ACEOF
46841 #define HAVE__SINCOS 1
46842 _ACEOF
46845 done
46854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46855 $as_echo_n "checking for fpclass declaration... " >&6; }
46856 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46857 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46858 $as_echo_n "(cached) " >&6
46859 else
46862 ac_ext=cpp
46863 ac_cpp='$CXXCPP $CPPFLAGS'
46864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46869 /* end confdefs.h. */
46870 #include <math.h>
46871 #ifdef HAVE_IEEEFP_H
46872 #include <ieeefp.h>
46873 #endif
46876 main ()
46878 fpclass(0);
46880 return 0;
46882 _ACEOF
46883 if ac_fn_cxx_try_compile "$LINENO"; then :
46884 glibcxx_cv_func_fpclass_use=yes
46885 else
46886 glibcxx_cv_func_fpclass_use=no
46888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46889 ac_ext=c
46890 ac_cpp='$CPP $CPPFLAGS'
46891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46900 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46902 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46903 for ac_func in fpclass
46904 do :
46905 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46906 if test "x$ac_cv_func_fpclass" = x""yes; then :
46907 cat >>confdefs.h <<_ACEOF
46908 #define HAVE_FPCLASS 1
46909 _ACEOF
46912 done
46914 else
46916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46917 $as_echo_n "checking for _fpclass declaration... " >&6; }
46918 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46919 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46920 $as_echo_n "(cached) " >&6
46921 else
46924 ac_ext=cpp
46925 ac_cpp='$CXXCPP $CPPFLAGS'
46926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46931 /* end confdefs.h. */
46932 #include <math.h>
46933 #ifdef HAVE_IEEEFP_H
46934 #include <ieeefp.h>
46935 #endif
46938 main ()
46940 _fpclass(0);
46942 return 0;
46944 _ACEOF
46945 if ac_fn_cxx_try_compile "$LINENO"; then :
46946 glibcxx_cv_func__fpclass_use=yes
46947 else
46948 glibcxx_cv_func__fpclass_use=no
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951 ac_ext=c
46952 ac_cpp='$CPP $CPPFLAGS'
46953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46962 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46964 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46965 for ac_func in _fpclass
46966 do :
46967 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46968 if test "x$ac_cv_func__fpclass" = x""yes; then :
46969 cat >>confdefs.h <<_ACEOF
46970 #define HAVE__FPCLASS 1
46971 _ACEOF
46974 done
46983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46984 $as_echo_n "checking for qfpclass declaration... " >&6; }
46985 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46986 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46987 $as_echo_n "(cached) " >&6
46988 else
46991 ac_ext=cpp
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46998 /* end confdefs.h. */
46999 #include <math.h>
47000 #ifdef HAVE_IEEEFP_H
47001 #include <ieeefp.h>
47002 #endif
47005 main ()
47007 qfpclass(0);
47009 return 0;
47011 _ACEOF
47012 if ac_fn_cxx_try_compile "$LINENO"; then :
47013 glibcxx_cv_func_qfpclass_use=yes
47014 else
47015 glibcxx_cv_func_qfpclass_use=no
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47018 ac_ext=c
47019 ac_cpp='$CPP $CPPFLAGS'
47020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47029 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47031 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47032 for ac_func in qfpclass
47033 do :
47034 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47035 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47036 cat >>confdefs.h <<_ACEOF
47037 #define HAVE_QFPCLASS 1
47038 _ACEOF
47041 done
47043 else
47045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47046 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47047 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47048 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47049 $as_echo_n "(cached) " >&6
47050 else
47053 ac_ext=cpp
47054 ac_cpp='$CXXCPP $CPPFLAGS'
47055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47060 /* end confdefs.h. */
47061 #include <math.h>
47062 #ifdef HAVE_IEEEFP_H
47063 #include <ieeefp.h>
47064 #endif
47067 main ()
47069 _qfpclass(0);
47071 return 0;
47073 _ACEOF
47074 if ac_fn_cxx_try_compile "$LINENO"; then :
47075 glibcxx_cv_func__qfpclass_use=yes
47076 else
47077 glibcxx_cv_func__qfpclass_use=no
47079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47080 ac_ext=c
47081 ac_cpp='$CPP $CPPFLAGS'
47082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47091 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47093 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47094 for ac_func in _qfpclass
47095 do :
47096 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47097 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47098 cat >>confdefs.h <<_ACEOF
47099 #define HAVE__QFPCLASS 1
47100 _ACEOF
47103 done
47112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47113 $as_echo_n "checking for hypot declaration... " >&6; }
47114 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47115 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47116 $as_echo_n "(cached) " >&6
47117 else
47120 ac_ext=cpp
47121 ac_cpp='$CXXCPP $CPPFLAGS'
47122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47127 /* end confdefs.h. */
47128 #include <math.h>
47130 main ()
47132 hypot(0, 0);
47134 return 0;
47136 _ACEOF
47137 if ac_fn_cxx_try_compile "$LINENO"; then :
47138 glibcxx_cv_func_hypot_use=yes
47139 else
47140 glibcxx_cv_func_hypot_use=no
47142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47143 ac_ext=c
47144 ac_cpp='$CPP $CPPFLAGS'
47145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47154 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47156 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47157 for ac_func in hypot
47158 do :
47159 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47160 if test "x$ac_cv_func_hypot" = x""yes; then :
47161 cat >>confdefs.h <<_ACEOF
47162 #define HAVE_HYPOT 1
47163 _ACEOF
47166 done
47168 else
47170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47171 $as_echo_n "checking for _hypot declaration... " >&6; }
47172 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47173 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47174 $as_echo_n "(cached) " >&6
47175 else
47178 ac_ext=cpp
47179 ac_cpp='$CXXCPP $CPPFLAGS'
47180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47185 /* end confdefs.h. */
47186 #include <math.h>
47188 main ()
47190 _hypot(0, 0);
47192 return 0;
47194 _ACEOF
47195 if ac_fn_cxx_try_compile "$LINENO"; then :
47196 glibcxx_cv_func__hypot_use=yes
47197 else
47198 glibcxx_cv_func__hypot_use=no
47200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47201 ac_ext=c
47202 ac_cpp='$CPP $CPPFLAGS'
47203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47212 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47214 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47215 for ac_func in _hypot
47216 do :
47217 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47218 if test "x$ac_cv_func__hypot" = x""yes; then :
47219 cat >>confdefs.h <<_ACEOF
47220 #define HAVE__HYPOT 1
47221 _ACEOF
47224 done
47233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47234 $as_echo_n "checking for float trig functions... " >&6; }
47235 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47236 $as_echo_n "(cached) " >&6
47237 else
47240 ac_ext=cpp
47241 ac_cpp='$CXXCPP $CPPFLAGS'
47242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47247 /* end confdefs.h. */
47248 #include <math.h>
47250 main ()
47252 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47254 return 0;
47256 _ACEOF
47257 if ac_fn_cxx_try_compile "$LINENO"; then :
47258 glibcxx_cv_func_float_trig_use=yes
47259 else
47260 glibcxx_cv_func_float_trig_use=no
47262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47263 ac_ext=c
47264 ac_cpp='$CPP $CPPFLAGS'
47265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47272 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47273 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47274 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47275 do :
47276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47278 eval as_val=\$$as_ac_var
47279 if test "x$as_val" = x""yes; then :
47280 cat >>confdefs.h <<_ACEOF
47281 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47285 done
47287 else
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47289 $as_echo_n "checking for _float trig functions... " >&6; }
47290 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47291 $as_echo_n "(cached) " >&6
47292 else
47295 ac_ext=cpp
47296 ac_cpp='$CXXCPP $CPPFLAGS'
47297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47302 /* end confdefs.h. */
47303 #include <math.h>
47305 main ()
47307 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47309 return 0;
47311 _ACEOF
47312 if ac_fn_cxx_try_compile "$LINENO"; then :
47313 glibcxx_cv_func__float_trig_use=yes
47314 else
47315 glibcxx_cv_func__float_trig_use=no
47317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47318 ac_ext=c
47319 ac_cpp='$CPP $CPPFLAGS'
47320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47327 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47328 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47329 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47330 do :
47331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47333 eval as_val=\$$as_ac_var
47334 if test "x$as_val" = x""yes; then :
47335 cat >>confdefs.h <<_ACEOF
47336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47337 _ACEOF
47340 done
47349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47350 $as_echo_n "checking for float round functions... " >&6; }
47351 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47352 $as_echo_n "(cached) " >&6
47353 else
47356 ac_ext=cpp
47357 ac_cpp='$CXXCPP $CPPFLAGS'
47358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47363 /* end confdefs.h. */
47364 #include <math.h>
47366 main ()
47368 ceilf (0); floorf (0);
47370 return 0;
47372 _ACEOF
47373 if ac_fn_cxx_try_compile "$LINENO"; then :
47374 glibcxx_cv_func_float_round_use=yes
47375 else
47376 glibcxx_cv_func_float_round_use=no
47378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47388 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47389 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47390 for ac_func in ceilf floorf
47391 do :
47392 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47393 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47394 eval as_val=\$$as_ac_var
47395 if test "x$as_val" = x""yes; then :
47396 cat >>confdefs.h <<_ACEOF
47397 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47398 _ACEOF
47401 done
47403 else
47404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47405 $as_echo_n "checking for _float round functions... " >&6; }
47406 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47407 $as_echo_n "(cached) " >&6
47408 else
47411 ac_ext=cpp
47412 ac_cpp='$CXXCPP $CPPFLAGS'
47413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47418 /* end confdefs.h. */
47419 #include <math.h>
47421 main ()
47423 _ceilf (0); _floorf (0);
47425 return 0;
47427 _ACEOF
47428 if ac_fn_cxx_try_compile "$LINENO"; then :
47429 glibcxx_cv_func__float_round_use=yes
47430 else
47431 glibcxx_cv_func__float_round_use=no
47433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47434 ac_ext=c
47435 ac_cpp='$CPP $CPPFLAGS'
47436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47443 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47444 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47445 for ac_func in _ceilf _floorf
47446 do :
47447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47449 eval as_val=\$$as_ac_var
47450 if test "x$as_val" = x""yes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47453 _ACEOF
47456 done
47466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47467 $as_echo_n "checking for expf declaration... " >&6; }
47468 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47469 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47470 $as_echo_n "(cached) " >&6
47471 else
47474 ac_ext=cpp
47475 ac_cpp='$CXXCPP $CPPFLAGS'
47476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47481 /* end confdefs.h. */
47482 #include <math.h>
47483 #ifdef HAVE_IEEEFP_H
47484 #include <ieeefp.h>
47485 #endif
47488 main ()
47490 expf(0);
47492 return 0;
47494 _ACEOF
47495 if ac_fn_cxx_try_compile "$LINENO"; then :
47496 glibcxx_cv_func_expf_use=yes
47497 else
47498 glibcxx_cv_func_expf_use=no
47500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47501 ac_ext=c
47502 ac_cpp='$CPP $CPPFLAGS'
47503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47512 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47514 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47515 for ac_func in expf
47516 do :
47517 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47518 if test "x$ac_cv_func_expf" = x""yes; then :
47519 cat >>confdefs.h <<_ACEOF
47520 #define HAVE_EXPF 1
47521 _ACEOF
47524 done
47526 else
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47529 $as_echo_n "checking for _expf declaration... " >&6; }
47530 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47531 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47532 $as_echo_n "(cached) " >&6
47533 else
47536 ac_ext=cpp
47537 ac_cpp='$CXXCPP $CPPFLAGS'
47538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47543 /* end confdefs.h. */
47544 #include <math.h>
47545 #ifdef HAVE_IEEEFP_H
47546 #include <ieeefp.h>
47547 #endif
47550 main ()
47552 _expf(0);
47554 return 0;
47556 _ACEOF
47557 if ac_fn_cxx_try_compile "$LINENO"; then :
47558 glibcxx_cv_func__expf_use=yes
47559 else
47560 glibcxx_cv_func__expf_use=no
47562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47563 ac_ext=c
47564 ac_cpp='$CPP $CPPFLAGS'
47565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47574 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47576 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47577 for ac_func in _expf
47578 do :
47579 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47580 if test "x$ac_cv_func__expf" = x""yes; then :
47581 cat >>confdefs.h <<_ACEOF
47582 #define HAVE__EXPF 1
47583 _ACEOF
47586 done
47595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47596 $as_echo_n "checking for isnanf declaration... " >&6; }
47597 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47598 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47599 $as_echo_n "(cached) " >&6
47600 else
47603 ac_ext=cpp
47604 ac_cpp='$CXXCPP $CPPFLAGS'
47605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47610 /* end confdefs.h. */
47611 #include <math.h>
47612 #ifdef HAVE_IEEEFP_H
47613 #include <ieeefp.h>
47614 #endif
47617 main ()
47619 isnanf(0);
47621 return 0;
47623 _ACEOF
47624 if ac_fn_cxx_try_compile "$LINENO"; then :
47625 glibcxx_cv_func_isnanf_use=yes
47626 else
47627 glibcxx_cv_func_isnanf_use=no
47629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47630 ac_ext=c
47631 ac_cpp='$CPP $CPPFLAGS'
47632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47641 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47643 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47644 for ac_func in isnanf
47645 do :
47646 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47647 if test "x$ac_cv_func_isnanf" = x""yes; then :
47648 cat >>confdefs.h <<_ACEOF
47649 #define HAVE_ISNANF 1
47650 _ACEOF
47653 done
47655 else
47657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47658 $as_echo_n "checking for _isnanf declaration... " >&6; }
47659 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47660 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47661 $as_echo_n "(cached) " >&6
47662 else
47665 ac_ext=cpp
47666 ac_cpp='$CXXCPP $CPPFLAGS'
47667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47672 /* end confdefs.h. */
47673 #include <math.h>
47674 #ifdef HAVE_IEEEFP_H
47675 #include <ieeefp.h>
47676 #endif
47679 main ()
47681 _isnanf(0);
47683 return 0;
47685 _ACEOF
47686 if ac_fn_cxx_try_compile "$LINENO"; then :
47687 glibcxx_cv_func__isnanf_use=yes
47688 else
47689 glibcxx_cv_func__isnanf_use=no
47691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47692 ac_ext=c
47693 ac_cpp='$CPP $CPPFLAGS'
47694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47703 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47705 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47706 for ac_func in _isnanf
47707 do :
47708 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47709 if test "x$ac_cv_func__isnanf" = x""yes; then :
47710 cat >>confdefs.h <<_ACEOF
47711 #define HAVE__ISNANF 1
47712 _ACEOF
47715 done
47724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47725 $as_echo_n "checking for isinff declaration... " >&6; }
47726 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47727 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47728 $as_echo_n "(cached) " >&6
47729 else
47732 ac_ext=cpp
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47739 /* end confdefs.h. */
47740 #include <math.h>
47741 #ifdef HAVE_IEEEFP_H
47742 #include <ieeefp.h>
47743 #endif
47746 main ()
47748 isinff(0);
47750 return 0;
47752 _ACEOF
47753 if ac_fn_cxx_try_compile "$LINENO"; then :
47754 glibcxx_cv_func_isinff_use=yes
47755 else
47756 glibcxx_cv_func_isinff_use=no
47758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47759 ac_ext=c
47760 ac_cpp='$CPP $CPPFLAGS'
47761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47770 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47772 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47773 for ac_func in isinff
47774 do :
47775 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47776 if test "x$ac_cv_func_isinff" = x""yes; then :
47777 cat >>confdefs.h <<_ACEOF
47778 #define HAVE_ISINFF 1
47779 _ACEOF
47782 done
47784 else
47786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47787 $as_echo_n "checking for _isinff declaration... " >&6; }
47788 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47789 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47790 $as_echo_n "(cached) " >&6
47791 else
47794 ac_ext=cpp
47795 ac_cpp='$CXXCPP $CPPFLAGS'
47796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47801 /* end confdefs.h. */
47802 #include <math.h>
47803 #ifdef HAVE_IEEEFP_H
47804 #include <ieeefp.h>
47805 #endif
47808 main ()
47810 _isinff(0);
47812 return 0;
47814 _ACEOF
47815 if ac_fn_cxx_try_compile "$LINENO"; then :
47816 glibcxx_cv_func__isinff_use=yes
47817 else
47818 glibcxx_cv_func__isinff_use=no
47820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47821 ac_ext=c
47822 ac_cpp='$CPP $CPPFLAGS'
47823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47832 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47834 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47835 for ac_func in _isinff
47836 do :
47837 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47838 if test "x$ac_cv_func__isinff" = x""yes; then :
47839 cat >>confdefs.h <<_ACEOF
47840 #define HAVE__ISINFF 1
47841 _ACEOF
47844 done
47853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47854 $as_echo_n "checking for atan2f declaration... " >&6; }
47855 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47856 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47857 $as_echo_n "(cached) " >&6
47858 else
47861 ac_ext=cpp
47862 ac_cpp='$CXXCPP $CPPFLAGS'
47863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47868 /* end confdefs.h. */
47869 #include <math.h>
47871 main ()
47873 atan2f(0, 0);
47875 return 0;
47877 _ACEOF
47878 if ac_fn_cxx_try_compile "$LINENO"; then :
47879 glibcxx_cv_func_atan2f_use=yes
47880 else
47881 glibcxx_cv_func_atan2f_use=no
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47884 ac_ext=c
47885 ac_cpp='$CPP $CPPFLAGS'
47886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47895 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47897 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47898 for ac_func in atan2f
47899 do :
47900 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47901 if test "x$ac_cv_func_atan2f" = x""yes; then :
47902 cat >>confdefs.h <<_ACEOF
47903 #define HAVE_ATAN2F 1
47904 _ACEOF
47907 done
47909 else
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47912 $as_echo_n "checking for _atan2f declaration... " >&6; }
47913 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47914 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47915 $as_echo_n "(cached) " >&6
47916 else
47919 ac_ext=cpp
47920 ac_cpp='$CXXCPP $CPPFLAGS'
47921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47926 /* end confdefs.h. */
47927 #include <math.h>
47929 main ()
47931 _atan2f(0, 0);
47933 return 0;
47935 _ACEOF
47936 if ac_fn_cxx_try_compile "$LINENO"; then :
47937 glibcxx_cv_func__atan2f_use=yes
47938 else
47939 glibcxx_cv_func__atan2f_use=no
47941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47942 ac_ext=c
47943 ac_cpp='$CPP $CPPFLAGS'
47944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47953 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47955 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47956 for ac_func in _atan2f
47957 do :
47958 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47959 if test "x$ac_cv_func__atan2f" = x""yes; then :
47960 cat >>confdefs.h <<_ACEOF
47961 #define HAVE__ATAN2F 1
47962 _ACEOF
47965 done
47974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47975 $as_echo_n "checking for fabsf declaration... " >&6; }
47976 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47977 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47978 $as_echo_n "(cached) " >&6
47979 else
47982 ac_ext=cpp
47983 ac_cpp='$CXXCPP $CPPFLAGS'
47984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47989 /* end confdefs.h. */
47990 #include <math.h>
47991 #ifdef HAVE_IEEEFP_H
47992 #include <ieeefp.h>
47993 #endif
47996 main ()
47998 fabsf(0);
48000 return 0;
48002 _ACEOF
48003 if ac_fn_cxx_try_compile "$LINENO"; then :
48004 glibcxx_cv_func_fabsf_use=yes
48005 else
48006 glibcxx_cv_func_fabsf_use=no
48008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48009 ac_ext=c
48010 ac_cpp='$CPP $CPPFLAGS'
48011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48020 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48022 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48023 for ac_func in fabsf
48024 do :
48025 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48026 if test "x$ac_cv_func_fabsf" = x""yes; then :
48027 cat >>confdefs.h <<_ACEOF
48028 #define HAVE_FABSF 1
48029 _ACEOF
48032 done
48034 else
48036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48037 $as_echo_n "checking for _fabsf declaration... " >&6; }
48038 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48039 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48040 $as_echo_n "(cached) " >&6
48041 else
48044 ac_ext=cpp
48045 ac_cpp='$CXXCPP $CPPFLAGS'
48046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48051 /* end confdefs.h. */
48052 #include <math.h>
48053 #ifdef HAVE_IEEEFP_H
48054 #include <ieeefp.h>
48055 #endif
48058 main ()
48060 _fabsf(0);
48062 return 0;
48064 _ACEOF
48065 if ac_fn_cxx_try_compile "$LINENO"; then :
48066 glibcxx_cv_func__fabsf_use=yes
48067 else
48068 glibcxx_cv_func__fabsf_use=no
48070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48071 ac_ext=c
48072 ac_cpp='$CPP $CPPFLAGS'
48073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48082 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48084 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48085 for ac_func in _fabsf
48086 do :
48087 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48088 if test "x$ac_cv_func__fabsf" = x""yes; then :
48089 cat >>confdefs.h <<_ACEOF
48090 #define HAVE__FABSF 1
48091 _ACEOF
48094 done
48103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48104 $as_echo_n "checking for fmodf declaration... " >&6; }
48105 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48106 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48107 $as_echo_n "(cached) " >&6
48108 else
48111 ac_ext=cpp
48112 ac_cpp='$CXXCPP $CPPFLAGS'
48113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48118 /* end confdefs.h. */
48119 #include <math.h>
48121 main ()
48123 fmodf(0, 0);
48125 return 0;
48127 _ACEOF
48128 if ac_fn_cxx_try_compile "$LINENO"; then :
48129 glibcxx_cv_func_fmodf_use=yes
48130 else
48131 glibcxx_cv_func_fmodf_use=no
48133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48134 ac_ext=c
48135 ac_cpp='$CPP $CPPFLAGS'
48136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48145 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48147 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48148 for ac_func in fmodf
48149 do :
48150 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48151 if test "x$ac_cv_func_fmodf" = x""yes; then :
48152 cat >>confdefs.h <<_ACEOF
48153 #define HAVE_FMODF 1
48154 _ACEOF
48157 done
48159 else
48161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48162 $as_echo_n "checking for _fmodf declaration... " >&6; }
48163 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48164 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48165 $as_echo_n "(cached) " >&6
48166 else
48169 ac_ext=cpp
48170 ac_cpp='$CXXCPP $CPPFLAGS'
48171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48176 /* end confdefs.h. */
48177 #include <math.h>
48179 main ()
48181 _fmodf(0, 0);
48183 return 0;
48185 _ACEOF
48186 if ac_fn_cxx_try_compile "$LINENO"; then :
48187 glibcxx_cv_func__fmodf_use=yes
48188 else
48189 glibcxx_cv_func__fmodf_use=no
48191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48192 ac_ext=c
48193 ac_cpp='$CPP $CPPFLAGS'
48194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48203 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48205 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48206 for ac_func in _fmodf
48207 do :
48208 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48209 if test "x$ac_cv_func__fmodf" = x""yes; then :
48210 cat >>confdefs.h <<_ACEOF
48211 #define HAVE__FMODF 1
48212 _ACEOF
48215 done
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48225 $as_echo_n "checking for frexpf declaration... " >&6; }
48226 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48227 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48228 $as_echo_n "(cached) " >&6
48229 else
48232 ac_ext=cpp
48233 ac_cpp='$CXXCPP $CPPFLAGS'
48234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48239 /* end confdefs.h. */
48240 #include <math.h>
48242 main ()
48244 frexpf(0, 0);
48246 return 0;
48248 _ACEOF
48249 if ac_fn_cxx_try_compile "$LINENO"; then :
48250 glibcxx_cv_func_frexpf_use=yes
48251 else
48252 glibcxx_cv_func_frexpf_use=no
48254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48255 ac_ext=c
48256 ac_cpp='$CPP $CPPFLAGS'
48257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48266 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48268 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48269 for ac_func in frexpf
48270 do :
48271 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48272 if test "x$ac_cv_func_frexpf" = x""yes; then :
48273 cat >>confdefs.h <<_ACEOF
48274 #define HAVE_FREXPF 1
48275 _ACEOF
48278 done
48280 else
48282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48283 $as_echo_n "checking for _frexpf declaration... " >&6; }
48284 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48285 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48286 $as_echo_n "(cached) " >&6
48287 else
48290 ac_ext=cpp
48291 ac_cpp='$CXXCPP $CPPFLAGS'
48292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48297 /* end confdefs.h. */
48298 #include <math.h>
48300 main ()
48302 _frexpf(0, 0);
48304 return 0;
48306 _ACEOF
48307 if ac_fn_cxx_try_compile "$LINENO"; then :
48308 glibcxx_cv_func__frexpf_use=yes
48309 else
48310 glibcxx_cv_func__frexpf_use=no
48312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48313 ac_ext=c
48314 ac_cpp='$CPP $CPPFLAGS'
48315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48324 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48326 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48327 for ac_func in _frexpf
48328 do :
48329 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48330 if test "x$ac_cv_func__frexpf" = x""yes; then :
48331 cat >>confdefs.h <<_ACEOF
48332 #define HAVE__FREXPF 1
48333 _ACEOF
48336 done
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48346 $as_echo_n "checking for hypotf declaration... " >&6; }
48347 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48348 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48349 $as_echo_n "(cached) " >&6
48350 else
48353 ac_ext=cpp
48354 ac_cpp='$CXXCPP $CPPFLAGS'
48355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48360 /* end confdefs.h. */
48361 #include <math.h>
48363 main ()
48365 hypotf(0, 0);
48367 return 0;
48369 _ACEOF
48370 if ac_fn_cxx_try_compile "$LINENO"; then :
48371 glibcxx_cv_func_hypotf_use=yes
48372 else
48373 glibcxx_cv_func_hypotf_use=no
48375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48376 ac_ext=c
48377 ac_cpp='$CPP $CPPFLAGS'
48378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48387 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48389 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48390 for ac_func in hypotf
48391 do :
48392 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48393 if test "x$ac_cv_func_hypotf" = x""yes; then :
48394 cat >>confdefs.h <<_ACEOF
48395 #define HAVE_HYPOTF 1
48396 _ACEOF
48399 done
48401 else
48403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48404 $as_echo_n "checking for _hypotf declaration... " >&6; }
48405 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48406 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48407 $as_echo_n "(cached) " >&6
48408 else
48411 ac_ext=cpp
48412 ac_cpp='$CXXCPP $CPPFLAGS'
48413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48418 /* end confdefs.h. */
48419 #include <math.h>
48421 main ()
48423 _hypotf(0, 0);
48425 return 0;
48427 _ACEOF
48428 if ac_fn_cxx_try_compile "$LINENO"; then :
48429 glibcxx_cv_func__hypotf_use=yes
48430 else
48431 glibcxx_cv_func__hypotf_use=no
48433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48434 ac_ext=c
48435 ac_cpp='$CPP $CPPFLAGS'
48436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48445 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48447 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48448 for ac_func in _hypotf
48449 do :
48450 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48451 if test "x$ac_cv_func__hypotf" = x""yes; then :
48452 cat >>confdefs.h <<_ACEOF
48453 #define HAVE__HYPOTF 1
48454 _ACEOF
48457 done
48466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48467 $as_echo_n "checking for ldexpf declaration... " >&6; }
48468 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48469 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48470 $as_echo_n "(cached) " >&6
48471 else
48474 ac_ext=cpp
48475 ac_cpp='$CXXCPP $CPPFLAGS'
48476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48481 /* end confdefs.h. */
48482 #include <math.h>
48484 main ()
48486 ldexpf(0, 0);
48488 return 0;
48490 _ACEOF
48491 if ac_fn_cxx_try_compile "$LINENO"; then :
48492 glibcxx_cv_func_ldexpf_use=yes
48493 else
48494 glibcxx_cv_func_ldexpf_use=no
48496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48497 ac_ext=c
48498 ac_cpp='$CPP $CPPFLAGS'
48499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48508 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48510 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48511 for ac_func in ldexpf
48512 do :
48513 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48514 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48515 cat >>confdefs.h <<_ACEOF
48516 #define HAVE_LDEXPF 1
48517 _ACEOF
48520 done
48522 else
48524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48525 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48526 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48527 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48528 $as_echo_n "(cached) " >&6
48529 else
48532 ac_ext=cpp
48533 ac_cpp='$CXXCPP $CPPFLAGS'
48534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48539 /* end confdefs.h. */
48540 #include <math.h>
48542 main ()
48544 _ldexpf(0, 0);
48546 return 0;
48548 _ACEOF
48549 if ac_fn_cxx_try_compile "$LINENO"; then :
48550 glibcxx_cv_func__ldexpf_use=yes
48551 else
48552 glibcxx_cv_func__ldexpf_use=no
48554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48555 ac_ext=c
48556 ac_cpp='$CPP $CPPFLAGS'
48557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48566 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48568 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48569 for ac_func in _ldexpf
48570 do :
48571 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48572 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48573 cat >>confdefs.h <<_ACEOF
48574 #define HAVE__LDEXPF 1
48575 _ACEOF
48578 done
48587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48588 $as_echo_n "checking for logf declaration... " >&6; }
48589 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48590 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48591 $as_echo_n "(cached) " >&6
48592 else
48595 ac_ext=cpp
48596 ac_cpp='$CXXCPP $CPPFLAGS'
48597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48602 /* end confdefs.h. */
48603 #include <math.h>
48604 #ifdef HAVE_IEEEFP_H
48605 #include <ieeefp.h>
48606 #endif
48609 main ()
48611 logf(0);
48613 return 0;
48615 _ACEOF
48616 if ac_fn_cxx_try_compile "$LINENO"; then :
48617 glibcxx_cv_func_logf_use=yes
48618 else
48619 glibcxx_cv_func_logf_use=no
48621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48622 ac_ext=c
48623 ac_cpp='$CPP $CPPFLAGS'
48624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48633 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48635 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48636 for ac_func in logf
48637 do :
48638 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48639 if test "x$ac_cv_func_logf" = x""yes; then :
48640 cat >>confdefs.h <<_ACEOF
48641 #define HAVE_LOGF 1
48642 _ACEOF
48645 done
48647 else
48649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48650 $as_echo_n "checking for _logf declaration... " >&6; }
48651 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48652 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48653 $as_echo_n "(cached) " >&6
48654 else
48657 ac_ext=cpp
48658 ac_cpp='$CXXCPP $CPPFLAGS'
48659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48664 /* end confdefs.h. */
48665 #include <math.h>
48666 #ifdef HAVE_IEEEFP_H
48667 #include <ieeefp.h>
48668 #endif
48671 main ()
48673 _logf(0);
48675 return 0;
48677 _ACEOF
48678 if ac_fn_cxx_try_compile "$LINENO"; then :
48679 glibcxx_cv_func__logf_use=yes
48680 else
48681 glibcxx_cv_func__logf_use=no
48683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48684 ac_ext=c
48685 ac_cpp='$CPP $CPPFLAGS'
48686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48695 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48697 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48698 for ac_func in _logf
48699 do :
48700 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48701 if test "x$ac_cv_func__logf" = x""yes; then :
48702 cat >>confdefs.h <<_ACEOF
48703 #define HAVE__LOGF 1
48704 _ACEOF
48707 done
48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48717 $as_echo_n "checking for log10f declaration... " >&6; }
48718 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48719 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48720 $as_echo_n "(cached) " >&6
48721 else
48724 ac_ext=cpp
48725 ac_cpp='$CXXCPP $CPPFLAGS'
48726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48731 /* end confdefs.h. */
48732 #include <math.h>
48733 #ifdef HAVE_IEEEFP_H
48734 #include <ieeefp.h>
48735 #endif
48738 main ()
48740 log10f(0);
48742 return 0;
48744 _ACEOF
48745 if ac_fn_cxx_try_compile "$LINENO"; then :
48746 glibcxx_cv_func_log10f_use=yes
48747 else
48748 glibcxx_cv_func_log10f_use=no
48750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48751 ac_ext=c
48752 ac_cpp='$CPP $CPPFLAGS'
48753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48762 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48764 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48765 for ac_func in log10f
48766 do :
48767 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48768 if test "x$ac_cv_func_log10f" = x""yes; then :
48769 cat >>confdefs.h <<_ACEOF
48770 #define HAVE_LOG10F 1
48771 _ACEOF
48774 done
48776 else
48778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48779 $as_echo_n "checking for _log10f declaration... " >&6; }
48780 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48781 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48782 $as_echo_n "(cached) " >&6
48783 else
48786 ac_ext=cpp
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48793 /* end confdefs.h. */
48794 #include <math.h>
48795 #ifdef HAVE_IEEEFP_H
48796 #include <ieeefp.h>
48797 #endif
48800 main ()
48802 _log10f(0);
48804 return 0;
48806 _ACEOF
48807 if ac_fn_cxx_try_compile "$LINENO"; then :
48808 glibcxx_cv_func__log10f_use=yes
48809 else
48810 glibcxx_cv_func__log10f_use=no
48812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48813 ac_ext=c
48814 ac_cpp='$CPP $CPPFLAGS'
48815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48824 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48826 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48827 for ac_func in _log10f
48828 do :
48829 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48830 if test "x$ac_cv_func__log10f" = x""yes; then :
48831 cat >>confdefs.h <<_ACEOF
48832 #define HAVE__LOG10F 1
48833 _ACEOF
48836 done
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48846 $as_echo_n "checking for modff declaration... " >&6; }
48847 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48848 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48849 $as_echo_n "(cached) " >&6
48850 else
48853 ac_ext=cpp
48854 ac_cpp='$CXXCPP $CPPFLAGS'
48855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48860 /* end confdefs.h. */
48861 #include <math.h>
48863 main ()
48865 modff(0, 0);
48867 return 0;
48869 _ACEOF
48870 if ac_fn_cxx_try_compile "$LINENO"; then :
48871 glibcxx_cv_func_modff_use=yes
48872 else
48873 glibcxx_cv_func_modff_use=no
48875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48876 ac_ext=c
48877 ac_cpp='$CPP $CPPFLAGS'
48878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48887 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48889 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48890 for ac_func in modff
48891 do :
48892 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48893 if test "x$ac_cv_func_modff" = x""yes; then :
48894 cat >>confdefs.h <<_ACEOF
48895 #define HAVE_MODFF 1
48896 _ACEOF
48899 done
48901 else
48903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48904 $as_echo_n "checking for _modff declaration... " >&6; }
48905 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48906 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48907 $as_echo_n "(cached) " >&6
48908 else
48911 ac_ext=cpp
48912 ac_cpp='$CXXCPP $CPPFLAGS'
48913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48918 /* end confdefs.h. */
48919 #include <math.h>
48921 main ()
48923 _modff(0, 0);
48925 return 0;
48927 _ACEOF
48928 if ac_fn_cxx_try_compile "$LINENO"; then :
48929 glibcxx_cv_func__modff_use=yes
48930 else
48931 glibcxx_cv_func__modff_use=no
48933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48934 ac_ext=c
48935 ac_cpp='$CPP $CPPFLAGS'
48936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48945 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48947 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48948 for ac_func in _modff
48949 do :
48950 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48951 if test "x$ac_cv_func__modff" = x""yes; then :
48952 cat >>confdefs.h <<_ACEOF
48953 #define HAVE__MODFF 1
48954 _ACEOF
48957 done
48966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48967 $as_echo_n "checking for modf declaration... " >&6; }
48968 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48969 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48970 $as_echo_n "(cached) " >&6
48971 else
48974 ac_ext=cpp
48975 ac_cpp='$CXXCPP $CPPFLAGS'
48976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48981 /* end confdefs.h. */
48982 #include <math.h>
48984 main ()
48986 modf(0, 0);
48988 return 0;
48990 _ACEOF
48991 if ac_fn_cxx_try_compile "$LINENO"; then :
48992 glibcxx_cv_func_modf_use=yes
48993 else
48994 glibcxx_cv_func_modf_use=no
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997 ac_ext=c
48998 ac_cpp='$CPP $CPPFLAGS'
48999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49008 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49010 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49011 for ac_func in modf
49012 do :
49013 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49014 if test "x$ac_cv_func_modf" = x""yes; then :
49015 cat >>confdefs.h <<_ACEOF
49016 #define HAVE_MODF 1
49017 _ACEOF
49020 done
49022 else
49024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49025 $as_echo_n "checking for _modf declaration... " >&6; }
49026 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49027 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49028 $as_echo_n "(cached) " >&6
49029 else
49032 ac_ext=cpp
49033 ac_cpp='$CXXCPP $CPPFLAGS'
49034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49039 /* end confdefs.h. */
49040 #include <math.h>
49042 main ()
49044 _modf(0, 0);
49046 return 0;
49048 _ACEOF
49049 if ac_fn_cxx_try_compile "$LINENO"; then :
49050 glibcxx_cv_func__modf_use=yes
49051 else
49052 glibcxx_cv_func__modf_use=no
49054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49055 ac_ext=c
49056 ac_cpp='$CPP $CPPFLAGS'
49057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49066 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49068 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49069 for ac_func in _modf
49070 do :
49071 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49072 if test "x$ac_cv_func__modf" = x""yes; then :
49073 cat >>confdefs.h <<_ACEOF
49074 #define HAVE__MODF 1
49075 _ACEOF
49078 done
49087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49088 $as_echo_n "checking for powf declaration... " >&6; }
49089 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49090 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49091 $as_echo_n "(cached) " >&6
49092 else
49095 ac_ext=cpp
49096 ac_cpp='$CXXCPP $CPPFLAGS'
49097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49102 /* end confdefs.h. */
49103 #include <math.h>
49105 main ()
49107 powf(0, 0);
49109 return 0;
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func_powf_use=yes
49114 else
49115 glibcxx_cv_func_powf_use=no
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49129 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49131 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49132 for ac_func in powf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49135 if test "x$ac_cv_func_powf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE_POWF 1
49138 _ACEOF
49141 done
49143 else
49145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49146 $as_echo_n "checking for _powf declaration... " >&6; }
49147 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49148 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49149 $as_echo_n "(cached) " >&6
49150 else
49153 ac_ext=cpp
49154 ac_cpp='$CXXCPP $CPPFLAGS'
49155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49160 /* end confdefs.h. */
49161 #include <math.h>
49163 main ()
49165 _powf(0, 0);
49167 return 0;
49169 _ACEOF
49170 if ac_fn_cxx_try_compile "$LINENO"; then :
49171 glibcxx_cv_func__powf_use=yes
49172 else
49173 glibcxx_cv_func__powf_use=no
49175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49176 ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49187 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49189 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49190 for ac_func in _powf
49191 do :
49192 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49193 if test "x$ac_cv_func__powf" = x""yes; then :
49194 cat >>confdefs.h <<_ACEOF
49195 #define HAVE__POWF 1
49196 _ACEOF
49199 done
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49209 $as_echo_n "checking for sqrtf declaration... " >&6; }
49210 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49211 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49225 #ifdef HAVE_IEEEFP_H
49226 #include <ieeefp.h>
49227 #endif
49230 main ()
49232 sqrtf(0);
49234 return 0;
49236 _ACEOF
49237 if ac_fn_cxx_try_compile "$LINENO"; then :
49238 glibcxx_cv_func_sqrtf_use=yes
49239 else
49240 glibcxx_cv_func_sqrtf_use=no
49242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49243 ac_ext=c
49244 ac_cpp='$CPP $CPPFLAGS'
49245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49254 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49256 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49257 for ac_func in sqrtf
49258 do :
49259 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49260 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49261 cat >>confdefs.h <<_ACEOF
49262 #define HAVE_SQRTF 1
49263 _ACEOF
49266 done
49268 else
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49271 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49272 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49273 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49274 $as_echo_n "(cached) " >&6
49275 else
49278 ac_ext=cpp
49279 ac_cpp='$CXXCPP $CPPFLAGS'
49280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49285 /* end confdefs.h. */
49286 #include <math.h>
49287 #ifdef HAVE_IEEEFP_H
49288 #include <ieeefp.h>
49289 #endif
49292 main ()
49294 _sqrtf(0);
49296 return 0;
49298 _ACEOF
49299 if ac_fn_cxx_try_compile "$LINENO"; then :
49300 glibcxx_cv_func__sqrtf_use=yes
49301 else
49302 glibcxx_cv_func__sqrtf_use=no
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49305 ac_ext=c
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49316 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49318 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49319 for ac_func in _sqrtf
49320 do :
49321 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49322 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49323 cat >>confdefs.h <<_ACEOF
49324 #define HAVE__SQRTF 1
49325 _ACEOF
49328 done
49337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49338 $as_echo_n "checking for sincosf declaration... " >&6; }
49339 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49340 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49341 $as_echo_n "(cached) " >&6
49342 else
49345 ac_ext=cpp
49346 ac_cpp='$CXXCPP $CPPFLAGS'
49347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49352 /* end confdefs.h. */
49353 #include <math.h>
49355 main ()
49357 sincosf(0, 0, 0);
49359 return 0;
49361 _ACEOF
49362 if ac_fn_cxx_try_compile "$LINENO"; then :
49363 glibcxx_cv_func_sincosf_use=yes
49364 else
49365 glibcxx_cv_func_sincosf_use=no
49367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49368 ac_ext=c
49369 ac_cpp='$CPP $CPPFLAGS'
49370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49379 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49381 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49382 for ac_func in sincosf
49383 do :
49384 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49385 if test "x$ac_cv_func_sincosf" = x""yes; then :
49386 cat >>confdefs.h <<_ACEOF
49387 #define HAVE_SINCOSF 1
49388 _ACEOF
49391 done
49393 else
49395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49396 $as_echo_n "checking for _sincosf declaration... " >&6; }
49397 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49398 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49399 $as_echo_n "(cached) " >&6
49400 else
49403 ac_ext=cpp
49404 ac_cpp='$CXXCPP $CPPFLAGS'
49405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49410 /* end confdefs.h. */
49411 #include <math.h>
49413 main ()
49415 _sincosf(0, 0, 0);
49417 return 0;
49419 _ACEOF
49420 if ac_fn_cxx_try_compile "$LINENO"; then :
49421 glibcxx_cv_func__sincosf_use=yes
49422 else
49423 glibcxx_cv_func__sincosf_use=no
49425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49426 ac_ext=c
49427 ac_cpp='$CPP $CPPFLAGS'
49428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49437 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49439 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49440 for ac_func in _sincosf
49441 do :
49442 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49443 if test "x$ac_cv_func__sincosf" = x""yes; then :
49444 cat >>confdefs.h <<_ACEOF
49445 #define HAVE__SINCOSF 1
49446 _ACEOF
49449 done
49458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49459 $as_echo_n "checking for finitef declaration... " >&6; }
49460 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49461 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49462 $as_echo_n "(cached) " >&6
49463 else
49466 ac_ext=cpp
49467 ac_cpp='$CXXCPP $CPPFLAGS'
49468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49473 /* end confdefs.h. */
49474 #include <math.h>
49475 #ifdef HAVE_IEEEFP_H
49476 #include <ieeefp.h>
49477 #endif
49480 main ()
49482 finitef(0);
49484 return 0;
49486 _ACEOF
49487 if ac_fn_cxx_try_compile "$LINENO"; then :
49488 glibcxx_cv_func_finitef_use=yes
49489 else
49490 glibcxx_cv_func_finitef_use=no
49492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49493 ac_ext=c
49494 ac_cpp='$CPP $CPPFLAGS'
49495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49504 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49506 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49507 for ac_func in finitef
49508 do :
49509 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49510 if test "x$ac_cv_func_finitef" = x""yes; then :
49511 cat >>confdefs.h <<_ACEOF
49512 #define HAVE_FINITEF 1
49513 _ACEOF
49516 done
49518 else
49520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49521 $as_echo_n "checking for _finitef declaration... " >&6; }
49522 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49523 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49524 $as_echo_n "(cached) " >&6
49525 else
49528 ac_ext=cpp
49529 ac_cpp='$CXXCPP $CPPFLAGS'
49530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49535 /* end confdefs.h. */
49536 #include <math.h>
49537 #ifdef HAVE_IEEEFP_H
49538 #include <ieeefp.h>
49539 #endif
49542 main ()
49544 _finitef(0);
49546 return 0;
49548 _ACEOF
49549 if ac_fn_cxx_try_compile "$LINENO"; then :
49550 glibcxx_cv_func__finitef_use=yes
49551 else
49552 glibcxx_cv_func__finitef_use=no
49554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49555 ac_ext=c
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49566 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49568 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49569 for ac_func in _finitef
49570 do :
49571 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49572 if test "x$ac_cv_func__finitef" = x""yes; then :
49573 cat >>confdefs.h <<_ACEOF
49574 #define HAVE__FINITEF 1
49575 _ACEOF
49578 done
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49588 $as_echo_n "checking for long double trig functions... " >&6; }
49589 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49590 $as_echo_n "(cached) " >&6
49591 else
49594 ac_ext=cpp
49595 ac_cpp='$CXXCPP $CPPFLAGS'
49596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49601 /* end confdefs.h. */
49602 #include <math.h>
49604 main ()
49606 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49608 return 0;
49610 _ACEOF
49611 if ac_fn_cxx_try_compile "$LINENO"; then :
49612 glibcxx_cv_func_long_double_trig_use=yes
49613 else
49614 glibcxx_cv_func_long_double_trig_use=no
49616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49617 ac_ext=c
49618 ac_cpp='$CPP $CPPFLAGS'
49619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49626 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49627 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49628 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49629 do :
49630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49632 eval as_val=\$$as_ac_var
49633 if test "x$as_val" = x""yes; then :
49634 cat >>confdefs.h <<_ACEOF
49635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49636 _ACEOF
49639 done
49641 else
49642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49643 $as_echo_n "checking for _long double trig functions... " >&6; }
49644 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49645 $as_echo_n "(cached) " >&6
49646 else
49649 ac_ext=cpp
49650 ac_cpp='$CXXCPP $CPPFLAGS'
49651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 #include <math.h>
49659 main ()
49661 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49663 return 0;
49665 _ACEOF
49666 if ac_fn_cxx_try_compile "$LINENO"; then :
49667 glibcxx_cv_func__long_double_trig_use=yes
49668 else
49669 glibcxx_cv_func__long_double_trig_use=no
49671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49672 ac_ext=c
49673 ac_cpp='$CPP $CPPFLAGS'
49674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49681 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49682 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49683 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49684 do :
49685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49686 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49687 eval as_val=\$$as_ac_var
49688 if test "x$as_val" = x""yes; then :
49689 cat >>confdefs.h <<_ACEOF
49690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49691 _ACEOF
49694 done
49703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49704 $as_echo_n "checking for long double round functions... " >&6; }
49705 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49706 $as_echo_n "(cached) " >&6
49707 else
49710 ac_ext=cpp
49711 ac_cpp='$CXXCPP $CPPFLAGS'
49712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49717 /* end confdefs.h. */
49718 #include <math.h>
49720 main ()
49722 ceill (0); floorl (0);
49724 return 0;
49726 _ACEOF
49727 if ac_fn_cxx_try_compile "$LINENO"; then :
49728 glibcxx_cv_func_long_double_round_use=yes
49729 else
49730 glibcxx_cv_func_long_double_round_use=no
49732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49733 ac_ext=c
49734 ac_cpp='$CPP $CPPFLAGS'
49735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49742 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49743 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49744 for ac_func in ceill floorl
49745 do :
49746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49748 eval as_val=\$$as_ac_var
49749 if test "x$as_val" = x""yes; then :
49750 cat >>confdefs.h <<_ACEOF
49751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49752 _ACEOF
49755 done
49757 else
49758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49759 $as_echo_n "checking for _long double round functions... " >&6; }
49760 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49761 $as_echo_n "(cached) " >&6
49762 else
49765 ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49772 /* end confdefs.h. */
49773 #include <math.h>
49775 main ()
49777 _ceill (0); _floorl (0);
49779 return 0;
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func__long_double_round_use=yes
49784 else
49785 glibcxx_cv_func__long_double_round_use=no
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49797 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49798 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49799 for ac_func in _ceill _floorl
49800 do :
49801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49803 eval as_val=\$$as_ac_var
49804 if test "x$as_val" = x""yes; then :
49805 cat >>confdefs.h <<_ACEOF
49806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49807 _ACEOF
49810 done
49820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49821 $as_echo_n "checking for isnanl declaration... " >&6; }
49822 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49823 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49837 #ifdef HAVE_IEEEFP_H
49838 #include <ieeefp.h>
49839 #endif
49842 main ()
49844 isnanl(0);
49846 return 0;
49848 _ACEOF
49849 if ac_fn_cxx_try_compile "$LINENO"; then :
49850 glibcxx_cv_func_isnanl_use=yes
49851 else
49852 glibcxx_cv_func_isnanl_use=no
49854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49866 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49868 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49869 for ac_func in isnanl
49870 do :
49871 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49872 if test "x$ac_cv_func_isnanl" = x""yes; then :
49873 cat >>confdefs.h <<_ACEOF
49874 #define HAVE_ISNANL 1
49875 _ACEOF
49878 done
49880 else
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49883 $as_echo_n "checking for _isnanl declaration... " >&6; }
49884 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49885 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 #ifdef HAVE_IEEEFP_H
49900 #include <ieeefp.h>
49901 #endif
49904 main ()
49906 _isnanl(0);
49908 return 0;
49910 _ACEOF
49911 if ac_fn_cxx_try_compile "$LINENO"; then :
49912 glibcxx_cv_func__isnanl_use=yes
49913 else
49914 glibcxx_cv_func__isnanl_use=no
49916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49917 ac_ext=c
49918 ac_cpp='$CPP $CPPFLAGS'
49919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49928 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49930 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49931 for ac_func in _isnanl
49932 do :
49933 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49934 if test "x$ac_cv_func__isnanl" = x""yes; then :
49935 cat >>confdefs.h <<_ACEOF
49936 #define HAVE__ISNANL 1
49937 _ACEOF
49940 done
49949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49950 $as_echo_n "checking for isinfl declaration... " >&6; }
49951 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49952 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49953 $as_echo_n "(cached) " >&6
49954 else
49957 ac_ext=cpp
49958 ac_cpp='$CXXCPP $CPPFLAGS'
49959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49965 #include <math.h>
49966 #ifdef HAVE_IEEEFP_H
49967 #include <ieeefp.h>
49968 #endif
49971 main ()
49973 isinfl(0);
49975 return 0;
49977 _ACEOF
49978 if ac_fn_cxx_try_compile "$LINENO"; then :
49979 glibcxx_cv_func_isinfl_use=yes
49980 else
49981 glibcxx_cv_func_isinfl_use=no
49983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49984 ac_ext=c
49985 ac_cpp='$CPP $CPPFLAGS'
49986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49995 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49997 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49998 for ac_func in isinfl
49999 do :
50000 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50001 if test "x$ac_cv_func_isinfl" = x""yes; then :
50002 cat >>confdefs.h <<_ACEOF
50003 #define HAVE_ISINFL 1
50004 _ACEOF
50007 done
50009 else
50011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50012 $as_echo_n "checking for _isinfl declaration... " >&6; }
50013 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50014 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50015 $as_echo_n "(cached) " >&6
50016 else
50019 ac_ext=cpp
50020 ac_cpp='$CXXCPP $CPPFLAGS'
50021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50026 /* end confdefs.h. */
50027 #include <math.h>
50028 #ifdef HAVE_IEEEFP_H
50029 #include <ieeefp.h>
50030 #endif
50033 main ()
50035 _isinfl(0);
50037 return 0;
50039 _ACEOF
50040 if ac_fn_cxx_try_compile "$LINENO"; then :
50041 glibcxx_cv_func__isinfl_use=yes
50042 else
50043 glibcxx_cv_func__isinfl_use=no
50045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50046 ac_ext=c
50047 ac_cpp='$CPP $CPPFLAGS'
50048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50057 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50059 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50060 for ac_func in _isinfl
50061 do :
50062 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50063 if test "x$ac_cv_func__isinfl" = x""yes; then :
50064 cat >>confdefs.h <<_ACEOF
50065 #define HAVE__ISINFL 1
50066 _ACEOF
50069 done
50078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50079 $as_echo_n "checking for atan2l declaration... " >&6; }
50080 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50081 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50082 $as_echo_n "(cached) " >&6
50083 else
50086 ac_ext=cpp
50087 ac_cpp='$CXXCPP $CPPFLAGS'
50088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50093 /* end confdefs.h. */
50094 #include <math.h>
50096 main ()
50098 atan2l(0, 0);
50100 return 0;
50102 _ACEOF
50103 if ac_fn_cxx_try_compile "$LINENO"; then :
50104 glibcxx_cv_func_atan2l_use=yes
50105 else
50106 glibcxx_cv_func_atan2l_use=no
50108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50109 ac_ext=c
50110 ac_cpp='$CPP $CPPFLAGS'
50111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50120 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50122 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50123 for ac_func in atan2l
50124 do :
50125 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50126 if test "x$ac_cv_func_atan2l" = x""yes; then :
50127 cat >>confdefs.h <<_ACEOF
50128 #define HAVE_ATAN2L 1
50129 _ACEOF
50132 done
50134 else
50136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50137 $as_echo_n "checking for _atan2l declaration... " >&6; }
50138 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50139 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50140 $as_echo_n "(cached) " >&6
50141 else
50144 ac_ext=cpp
50145 ac_cpp='$CXXCPP $CPPFLAGS'
50146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50151 /* end confdefs.h. */
50152 #include <math.h>
50154 main ()
50156 _atan2l(0, 0);
50158 return 0;
50160 _ACEOF
50161 if ac_fn_cxx_try_compile "$LINENO"; then :
50162 glibcxx_cv_func__atan2l_use=yes
50163 else
50164 glibcxx_cv_func__atan2l_use=no
50166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50167 ac_ext=c
50168 ac_cpp='$CPP $CPPFLAGS'
50169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50178 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50180 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50181 for ac_func in _atan2l
50182 do :
50183 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50184 if test "x$ac_cv_func__atan2l" = x""yes; then :
50185 cat >>confdefs.h <<_ACEOF
50186 #define HAVE__ATAN2L 1
50187 _ACEOF
50190 done
50199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50200 $as_echo_n "checking for expl declaration... " >&6; }
50201 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50202 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50203 $as_echo_n "(cached) " >&6
50204 else
50207 ac_ext=cpp
50208 ac_cpp='$CXXCPP $CPPFLAGS'
50209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50214 /* end confdefs.h. */
50215 #include <math.h>
50216 #ifdef HAVE_IEEEFP_H
50217 #include <ieeefp.h>
50218 #endif
50221 main ()
50223 expl(0);
50225 return 0;
50227 _ACEOF
50228 if ac_fn_cxx_try_compile "$LINENO"; then :
50229 glibcxx_cv_func_expl_use=yes
50230 else
50231 glibcxx_cv_func_expl_use=no
50233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50234 ac_ext=c
50235 ac_cpp='$CPP $CPPFLAGS'
50236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50245 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50247 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50248 for ac_func in expl
50249 do :
50250 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50251 if test "x$ac_cv_func_expl" = x""yes; then :
50252 cat >>confdefs.h <<_ACEOF
50253 #define HAVE_EXPL 1
50254 _ACEOF
50257 done
50259 else
50261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50262 $as_echo_n "checking for _expl declaration... " >&6; }
50263 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50264 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50265 $as_echo_n "(cached) " >&6
50266 else
50269 ac_ext=cpp
50270 ac_cpp='$CXXCPP $CPPFLAGS'
50271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50276 /* end confdefs.h. */
50277 #include <math.h>
50278 #ifdef HAVE_IEEEFP_H
50279 #include <ieeefp.h>
50280 #endif
50283 main ()
50285 _expl(0);
50287 return 0;
50289 _ACEOF
50290 if ac_fn_cxx_try_compile "$LINENO"; then :
50291 glibcxx_cv_func__expl_use=yes
50292 else
50293 glibcxx_cv_func__expl_use=no
50295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50296 ac_ext=c
50297 ac_cpp='$CPP $CPPFLAGS'
50298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50307 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50309 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50310 for ac_func in _expl
50311 do :
50312 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50313 if test "x$ac_cv_func__expl" = x""yes; then :
50314 cat >>confdefs.h <<_ACEOF
50315 #define HAVE__EXPL 1
50316 _ACEOF
50319 done
50328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50329 $as_echo_n "checking for fabsl declaration... " >&6; }
50330 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50331 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50332 $as_echo_n "(cached) " >&6
50333 else
50336 ac_ext=cpp
50337 ac_cpp='$CXXCPP $CPPFLAGS'
50338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50343 /* end confdefs.h. */
50344 #include <math.h>
50345 #ifdef HAVE_IEEEFP_H
50346 #include <ieeefp.h>
50347 #endif
50350 main ()
50352 fabsl(0);
50354 return 0;
50356 _ACEOF
50357 if ac_fn_cxx_try_compile "$LINENO"; then :
50358 glibcxx_cv_func_fabsl_use=yes
50359 else
50360 glibcxx_cv_func_fabsl_use=no
50362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50363 ac_ext=c
50364 ac_cpp='$CPP $CPPFLAGS'
50365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50374 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50376 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50377 for ac_func in fabsl
50378 do :
50379 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50380 if test "x$ac_cv_func_fabsl" = x""yes; then :
50381 cat >>confdefs.h <<_ACEOF
50382 #define HAVE_FABSL 1
50383 _ACEOF
50386 done
50388 else
50390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50391 $as_echo_n "checking for _fabsl declaration... " >&6; }
50392 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50393 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50394 $as_echo_n "(cached) " >&6
50395 else
50398 ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h. */
50406 #include <math.h>
50407 #ifdef HAVE_IEEEFP_H
50408 #include <ieeefp.h>
50409 #endif
50412 main ()
50414 _fabsl(0);
50416 return 0;
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func__fabsl_use=yes
50421 else
50422 glibcxx_cv_func__fabsl_use=no
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50436 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50438 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50439 for ac_func in _fabsl
50440 do :
50441 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50442 if test "x$ac_cv_func__fabsl" = x""yes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE__FABSL 1
50445 _ACEOF
50448 done
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50458 $as_echo_n "checking for fmodl declaration... " >&6; }
50459 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50460 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50461 $as_echo_n "(cached) " >&6
50462 else
50465 ac_ext=cpp
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50472 /* end confdefs.h. */
50473 #include <math.h>
50475 main ()
50477 fmodl(0, 0);
50479 return 0;
50481 _ACEOF
50482 if ac_fn_cxx_try_compile "$LINENO"; then :
50483 glibcxx_cv_func_fmodl_use=yes
50484 else
50485 glibcxx_cv_func_fmodl_use=no
50487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50488 ac_ext=c
50489 ac_cpp='$CPP $CPPFLAGS'
50490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50499 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50501 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50502 for ac_func in fmodl
50503 do :
50504 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50505 if test "x$ac_cv_func_fmodl" = x""yes; then :
50506 cat >>confdefs.h <<_ACEOF
50507 #define HAVE_FMODL 1
50508 _ACEOF
50511 done
50513 else
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50516 $as_echo_n "checking for _fmodl declaration... " >&6; }
50517 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50518 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50519 $as_echo_n "(cached) " >&6
50520 else
50523 ac_ext=cpp
50524 ac_cpp='$CXXCPP $CPPFLAGS'
50525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50530 /* end confdefs.h. */
50531 #include <math.h>
50533 main ()
50535 _fmodl(0, 0);
50537 return 0;
50539 _ACEOF
50540 if ac_fn_cxx_try_compile "$LINENO"; then :
50541 glibcxx_cv_func__fmodl_use=yes
50542 else
50543 glibcxx_cv_func__fmodl_use=no
50545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50546 ac_ext=c
50547 ac_cpp='$CPP $CPPFLAGS'
50548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50557 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50559 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50560 for ac_func in _fmodl
50561 do :
50562 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50563 if test "x$ac_cv_func__fmodl" = x""yes; then :
50564 cat >>confdefs.h <<_ACEOF
50565 #define HAVE__FMODL 1
50566 _ACEOF
50569 done
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50579 $as_echo_n "checking for frexpl declaration... " >&6; }
50580 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50581 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50582 $as_echo_n "(cached) " >&6
50583 else
50586 ac_ext=cpp
50587 ac_cpp='$CXXCPP $CPPFLAGS'
50588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50593 /* end confdefs.h. */
50594 #include <math.h>
50596 main ()
50598 frexpl(0, 0);
50600 return 0;
50602 _ACEOF
50603 if ac_fn_cxx_try_compile "$LINENO"; then :
50604 glibcxx_cv_func_frexpl_use=yes
50605 else
50606 glibcxx_cv_func_frexpl_use=no
50608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50609 ac_ext=c
50610 ac_cpp='$CPP $CPPFLAGS'
50611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50620 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50622 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50623 for ac_func in frexpl
50624 do :
50625 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50626 if test "x$ac_cv_func_frexpl" = x""yes; then :
50627 cat >>confdefs.h <<_ACEOF
50628 #define HAVE_FREXPL 1
50629 _ACEOF
50632 done
50634 else
50636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50637 $as_echo_n "checking for _frexpl declaration... " >&6; }
50638 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50639 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50640 $as_echo_n "(cached) " >&6
50641 else
50644 ac_ext=cpp
50645 ac_cpp='$CXXCPP $CPPFLAGS'
50646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50651 /* end confdefs.h. */
50652 #include <math.h>
50654 main ()
50656 _frexpl(0, 0);
50658 return 0;
50660 _ACEOF
50661 if ac_fn_cxx_try_compile "$LINENO"; then :
50662 glibcxx_cv_func__frexpl_use=yes
50663 else
50664 glibcxx_cv_func__frexpl_use=no
50666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50667 ac_ext=c
50668 ac_cpp='$CPP $CPPFLAGS'
50669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50678 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50680 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50681 for ac_func in _frexpl
50682 do :
50683 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50684 if test "x$ac_cv_func__frexpl" = x""yes; then :
50685 cat >>confdefs.h <<_ACEOF
50686 #define HAVE__FREXPL 1
50687 _ACEOF
50690 done
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50700 $as_echo_n "checking for hypotl declaration... " >&6; }
50701 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50702 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50703 $as_echo_n "(cached) " >&6
50704 else
50707 ac_ext=cpp
50708 ac_cpp='$CXXCPP $CPPFLAGS'
50709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50714 /* end confdefs.h. */
50715 #include <math.h>
50717 main ()
50719 hypotl(0, 0);
50721 return 0;
50723 _ACEOF
50724 if ac_fn_cxx_try_compile "$LINENO"; then :
50725 glibcxx_cv_func_hypotl_use=yes
50726 else
50727 glibcxx_cv_func_hypotl_use=no
50729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50730 ac_ext=c
50731 ac_cpp='$CPP $CPPFLAGS'
50732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50741 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50743 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50744 for ac_func in hypotl
50745 do :
50746 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50747 if test "x$ac_cv_func_hypotl" = x""yes; then :
50748 cat >>confdefs.h <<_ACEOF
50749 #define HAVE_HYPOTL 1
50750 _ACEOF
50753 done
50755 else
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50758 $as_echo_n "checking for _hypotl declaration... " >&6; }
50759 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50760 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50761 $as_echo_n "(cached) " >&6
50762 else
50765 ac_ext=cpp
50766 ac_cpp='$CXXCPP $CPPFLAGS'
50767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50772 /* end confdefs.h. */
50773 #include <math.h>
50775 main ()
50777 _hypotl(0, 0);
50779 return 0;
50781 _ACEOF
50782 if ac_fn_cxx_try_compile "$LINENO"; then :
50783 glibcxx_cv_func__hypotl_use=yes
50784 else
50785 glibcxx_cv_func__hypotl_use=no
50787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50788 ac_ext=c
50789 ac_cpp='$CPP $CPPFLAGS'
50790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50799 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50801 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50802 for ac_func in _hypotl
50803 do :
50804 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50805 if test "x$ac_cv_func__hypotl" = x""yes; then :
50806 cat >>confdefs.h <<_ACEOF
50807 #define HAVE__HYPOTL 1
50808 _ACEOF
50811 done
50820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50821 $as_echo_n "checking for ldexpl declaration... " >&6; }
50822 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50823 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50824 $as_echo_n "(cached) " >&6
50825 else
50828 ac_ext=cpp
50829 ac_cpp='$CXXCPP $CPPFLAGS'
50830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50835 /* end confdefs.h. */
50836 #include <math.h>
50838 main ()
50840 ldexpl(0, 0);
50842 return 0;
50844 _ACEOF
50845 if ac_fn_cxx_try_compile "$LINENO"; then :
50846 glibcxx_cv_func_ldexpl_use=yes
50847 else
50848 glibcxx_cv_func_ldexpl_use=no
50850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50851 ac_ext=c
50852 ac_cpp='$CPP $CPPFLAGS'
50853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50862 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50864 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50865 for ac_func in ldexpl
50866 do :
50867 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50868 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50869 cat >>confdefs.h <<_ACEOF
50870 #define HAVE_LDEXPL 1
50871 _ACEOF
50874 done
50876 else
50878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50879 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50880 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50881 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50882 $as_echo_n "(cached) " >&6
50883 else
50886 ac_ext=cpp
50887 ac_cpp='$CXXCPP $CPPFLAGS'
50888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50893 /* end confdefs.h. */
50894 #include <math.h>
50896 main ()
50898 _ldexpl(0, 0);
50900 return 0;
50902 _ACEOF
50903 if ac_fn_cxx_try_compile "$LINENO"; then :
50904 glibcxx_cv_func__ldexpl_use=yes
50905 else
50906 glibcxx_cv_func__ldexpl_use=no
50908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50909 ac_ext=c
50910 ac_cpp='$CPP $CPPFLAGS'
50911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50920 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50922 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50923 for ac_func in _ldexpl
50924 do :
50925 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50926 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50927 cat >>confdefs.h <<_ACEOF
50928 #define HAVE__LDEXPL 1
50929 _ACEOF
50932 done
50941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50942 $as_echo_n "checking for logl declaration... " >&6; }
50943 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50944 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50945 $as_echo_n "(cached) " >&6
50946 else
50949 ac_ext=cpp
50950 ac_cpp='$CXXCPP $CPPFLAGS'
50951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50956 /* end confdefs.h. */
50957 #include <math.h>
50958 #ifdef HAVE_IEEEFP_H
50959 #include <ieeefp.h>
50960 #endif
50963 main ()
50965 logl(0);
50967 return 0;
50969 _ACEOF
50970 if ac_fn_cxx_try_compile "$LINENO"; then :
50971 glibcxx_cv_func_logl_use=yes
50972 else
50973 glibcxx_cv_func_logl_use=no
50975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50976 ac_ext=c
50977 ac_cpp='$CPP $CPPFLAGS'
50978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50987 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50989 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50990 for ac_func in logl
50991 do :
50992 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50993 if test "x$ac_cv_func_logl" = x""yes; then :
50994 cat >>confdefs.h <<_ACEOF
50995 #define HAVE_LOGL 1
50996 _ACEOF
50999 done
51001 else
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51004 $as_echo_n "checking for _logl declaration... " >&6; }
51005 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51006 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51007 $as_echo_n "(cached) " >&6
51008 else
51011 ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51019 #include <math.h>
51020 #ifdef HAVE_IEEEFP_H
51021 #include <ieeefp.h>
51022 #endif
51025 main ()
51027 _logl(0);
51029 return 0;
51031 _ACEOF
51032 if ac_fn_cxx_try_compile "$LINENO"; then :
51033 glibcxx_cv_func__logl_use=yes
51034 else
51035 glibcxx_cv_func__logl_use=no
51037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51038 ac_ext=c
51039 ac_cpp='$CPP $CPPFLAGS'
51040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51049 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51051 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51052 for ac_func in _logl
51053 do :
51054 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51055 if test "x$ac_cv_func__logl" = x""yes; then :
51056 cat >>confdefs.h <<_ACEOF
51057 #define HAVE__LOGL 1
51058 _ACEOF
51061 done
51070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51071 $as_echo_n "checking for log10l declaration... " >&6; }
51072 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51073 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51078 ac_ext=cpp
51079 ac_cpp='$CXXCPP $CPPFLAGS'
51080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51085 /* end confdefs.h. */
51086 #include <math.h>
51087 #ifdef HAVE_IEEEFP_H
51088 #include <ieeefp.h>
51089 #endif
51092 main ()
51094 log10l(0);
51096 return 0;
51098 _ACEOF
51099 if ac_fn_cxx_try_compile "$LINENO"; then :
51100 glibcxx_cv_func_log10l_use=yes
51101 else
51102 glibcxx_cv_func_log10l_use=no
51104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51105 ac_ext=c
51106 ac_cpp='$CPP $CPPFLAGS'
51107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51116 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51118 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51119 for ac_func in log10l
51120 do :
51121 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51122 if test "x$ac_cv_func_log10l" = x""yes; then :
51123 cat >>confdefs.h <<_ACEOF
51124 #define HAVE_LOG10L 1
51125 _ACEOF
51128 done
51130 else
51132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51133 $as_echo_n "checking for _log10l declaration... " >&6; }
51134 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51135 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51136 $as_echo_n "(cached) " >&6
51137 else
51140 ac_ext=cpp
51141 ac_cpp='$CXXCPP $CPPFLAGS'
51142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51147 /* end confdefs.h. */
51148 #include <math.h>
51149 #ifdef HAVE_IEEEFP_H
51150 #include <ieeefp.h>
51151 #endif
51154 main ()
51156 _log10l(0);
51158 return 0;
51160 _ACEOF
51161 if ac_fn_cxx_try_compile "$LINENO"; then :
51162 glibcxx_cv_func__log10l_use=yes
51163 else
51164 glibcxx_cv_func__log10l_use=no
51166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51167 ac_ext=c
51168 ac_cpp='$CPP $CPPFLAGS'
51169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51178 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51180 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51181 for ac_func in _log10l
51182 do :
51183 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51184 if test "x$ac_cv_func__log10l" = x""yes; then :
51185 cat >>confdefs.h <<_ACEOF
51186 #define HAVE__LOG10L 1
51187 _ACEOF
51190 done
51199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51200 $as_echo_n "checking for modfl declaration... " >&6; }
51201 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51202 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51203 $as_echo_n "(cached) " >&6
51204 else
51207 ac_ext=cpp
51208 ac_cpp='$CXXCPP $CPPFLAGS'
51209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51214 /* end confdefs.h. */
51215 #include <math.h>
51217 main ()
51219 modfl(0, 0);
51221 return 0;
51223 _ACEOF
51224 if ac_fn_cxx_try_compile "$LINENO"; then :
51225 glibcxx_cv_func_modfl_use=yes
51226 else
51227 glibcxx_cv_func_modfl_use=no
51229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51230 ac_ext=c
51231 ac_cpp='$CPP $CPPFLAGS'
51232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51241 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51243 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51244 for ac_func in modfl
51245 do :
51246 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51247 if test "x$ac_cv_func_modfl" = x""yes; then :
51248 cat >>confdefs.h <<_ACEOF
51249 #define HAVE_MODFL 1
51250 _ACEOF
51253 done
51255 else
51257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51258 $as_echo_n "checking for _modfl declaration... " >&6; }
51259 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51260 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51261 $as_echo_n "(cached) " >&6
51262 else
51265 ac_ext=cpp
51266 ac_cpp='$CXXCPP $CPPFLAGS'
51267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51272 /* end confdefs.h. */
51273 #include <math.h>
51275 main ()
51277 _modfl(0, 0);
51279 return 0;
51281 _ACEOF
51282 if ac_fn_cxx_try_compile "$LINENO"; then :
51283 glibcxx_cv_func__modfl_use=yes
51284 else
51285 glibcxx_cv_func__modfl_use=no
51287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51288 ac_ext=c
51289 ac_cpp='$CPP $CPPFLAGS'
51290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51299 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51301 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51302 for ac_func in _modfl
51303 do :
51304 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51305 if test "x$ac_cv_func__modfl" = x""yes; then :
51306 cat >>confdefs.h <<_ACEOF
51307 #define HAVE__MODFL 1
51308 _ACEOF
51311 done
51320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51321 $as_echo_n "checking for powl declaration... " >&6; }
51322 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51323 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51324 $as_echo_n "(cached) " >&6
51325 else
51328 ac_ext=cpp
51329 ac_cpp='$CXXCPP $CPPFLAGS'
51330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51335 /* end confdefs.h. */
51336 #include <math.h>
51338 main ()
51340 powl(0, 0);
51342 return 0;
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346 glibcxx_cv_func_powl_use=yes
51347 else
51348 glibcxx_cv_func_powl_use=no
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51362 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51364 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51365 for ac_func in powl
51366 do :
51367 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51368 if test "x$ac_cv_func_powl" = x""yes; then :
51369 cat >>confdefs.h <<_ACEOF
51370 #define HAVE_POWL 1
51371 _ACEOF
51374 done
51376 else
51378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51379 $as_echo_n "checking for _powl declaration... " >&6; }
51380 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51381 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51382 $as_echo_n "(cached) " >&6
51383 else
51386 ac_ext=cpp
51387 ac_cpp='$CXXCPP $CPPFLAGS'
51388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51393 /* end confdefs.h. */
51394 #include <math.h>
51396 main ()
51398 _powl(0, 0);
51400 return 0;
51402 _ACEOF
51403 if ac_fn_cxx_try_compile "$LINENO"; then :
51404 glibcxx_cv_func__powl_use=yes
51405 else
51406 glibcxx_cv_func__powl_use=no
51408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51409 ac_ext=c
51410 ac_cpp='$CPP $CPPFLAGS'
51411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51420 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51422 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51423 for ac_func in _powl
51424 do :
51425 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51426 if test "x$ac_cv_func__powl" = x""yes; then :
51427 cat >>confdefs.h <<_ACEOF
51428 #define HAVE__POWL 1
51429 _ACEOF
51432 done
51441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51442 $as_echo_n "checking for sqrtl declaration... " >&6; }
51443 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51444 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51445 $as_echo_n "(cached) " >&6
51446 else
51449 ac_ext=cpp
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51456 /* end confdefs.h. */
51457 #include <math.h>
51458 #ifdef HAVE_IEEEFP_H
51459 #include <ieeefp.h>
51460 #endif
51463 main ()
51465 sqrtl(0);
51467 return 0;
51469 _ACEOF
51470 if ac_fn_cxx_try_compile "$LINENO"; then :
51471 glibcxx_cv_func_sqrtl_use=yes
51472 else
51473 glibcxx_cv_func_sqrtl_use=no
51475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51476 ac_ext=c
51477 ac_cpp='$CPP $CPPFLAGS'
51478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51487 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51489 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51490 for ac_func in sqrtl
51491 do :
51492 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51493 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51494 cat >>confdefs.h <<_ACEOF
51495 #define HAVE_SQRTL 1
51496 _ACEOF
51499 done
51501 else
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51504 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51505 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51506 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51507 $as_echo_n "(cached) " >&6
51508 else
51511 ac_ext=cpp
51512 ac_cpp='$CXXCPP $CPPFLAGS'
51513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51518 /* end confdefs.h. */
51519 #include <math.h>
51520 #ifdef HAVE_IEEEFP_H
51521 #include <ieeefp.h>
51522 #endif
51525 main ()
51527 _sqrtl(0);
51529 return 0;
51531 _ACEOF
51532 if ac_fn_cxx_try_compile "$LINENO"; then :
51533 glibcxx_cv_func__sqrtl_use=yes
51534 else
51535 glibcxx_cv_func__sqrtl_use=no
51537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51538 ac_ext=c
51539 ac_cpp='$CPP $CPPFLAGS'
51540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51549 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51551 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51552 for ac_func in _sqrtl
51553 do :
51554 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51555 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51556 cat >>confdefs.h <<_ACEOF
51557 #define HAVE__SQRTL 1
51558 _ACEOF
51561 done
51570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51571 $as_echo_n "checking for sincosl declaration... " >&6; }
51572 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51573 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51574 $as_echo_n "(cached) " >&6
51575 else
51578 ac_ext=cpp
51579 ac_cpp='$CXXCPP $CPPFLAGS'
51580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51585 /* end confdefs.h. */
51586 #include <math.h>
51588 main ()
51590 sincosl(0, 0, 0);
51592 return 0;
51594 _ACEOF
51595 if ac_fn_cxx_try_compile "$LINENO"; then :
51596 glibcxx_cv_func_sincosl_use=yes
51597 else
51598 glibcxx_cv_func_sincosl_use=no
51600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51601 ac_ext=c
51602 ac_cpp='$CPP $CPPFLAGS'
51603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51612 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51614 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51615 for ac_func in sincosl
51616 do :
51617 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51618 if test "x$ac_cv_func_sincosl" = x""yes; then :
51619 cat >>confdefs.h <<_ACEOF
51620 #define HAVE_SINCOSL 1
51621 _ACEOF
51624 done
51626 else
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51629 $as_echo_n "checking for _sincosl declaration... " >&6; }
51630 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51631 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51632 $as_echo_n "(cached) " >&6
51633 else
51636 ac_ext=cpp
51637 ac_cpp='$CXXCPP $CPPFLAGS'
51638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51643 /* end confdefs.h. */
51644 #include <math.h>
51646 main ()
51648 _sincosl(0, 0, 0);
51650 return 0;
51652 _ACEOF
51653 if ac_fn_cxx_try_compile "$LINENO"; then :
51654 glibcxx_cv_func__sincosl_use=yes
51655 else
51656 glibcxx_cv_func__sincosl_use=no
51658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51659 ac_ext=c
51660 ac_cpp='$CPP $CPPFLAGS'
51661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51670 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51672 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51673 for ac_func in _sincosl
51674 do :
51675 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51676 if test "x$ac_cv_func__sincosl" = x""yes; then :
51677 cat >>confdefs.h <<_ACEOF
51678 #define HAVE__SINCOSL 1
51679 _ACEOF
51682 done
51691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51692 $as_echo_n "checking for finitel declaration... " >&6; }
51693 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51694 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51695 $as_echo_n "(cached) " >&6
51696 else
51699 ac_ext=cpp
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51706 /* end confdefs.h. */
51707 #include <math.h>
51708 #ifdef HAVE_IEEEFP_H
51709 #include <ieeefp.h>
51710 #endif
51713 main ()
51715 finitel(0);
51717 return 0;
51719 _ACEOF
51720 if ac_fn_cxx_try_compile "$LINENO"; then :
51721 glibcxx_cv_func_finitel_use=yes
51722 else
51723 glibcxx_cv_func_finitel_use=no
51725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51726 ac_ext=c
51727 ac_cpp='$CPP $CPPFLAGS'
51728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51737 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51739 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51740 for ac_func in finitel
51741 do :
51742 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51743 if test "x$ac_cv_func_finitel" = x""yes; then :
51744 cat >>confdefs.h <<_ACEOF
51745 #define HAVE_FINITEL 1
51746 _ACEOF
51749 done
51751 else
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51754 $as_echo_n "checking for _finitel declaration... " >&6; }
51755 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51756 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51757 $as_echo_n "(cached) " >&6
51758 else
51761 ac_ext=cpp
51762 ac_cpp='$CXXCPP $CPPFLAGS'
51763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51768 /* end confdefs.h. */
51769 #include <math.h>
51770 #ifdef HAVE_IEEEFP_H
51771 #include <ieeefp.h>
51772 #endif
51775 main ()
51777 _finitel(0);
51779 return 0;
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func__finitel_use=yes
51784 else
51785 glibcxx_cv_func__finitel_use=no
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51799 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51801 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51802 for ac_func in _finitel
51803 do :
51804 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51805 if test "x$ac_cv_func__finitel" = x""yes; then :
51806 cat >>confdefs.h <<_ACEOF
51807 #define HAVE__FINITEL 1
51808 _ACEOF
51811 done
51819 LIBS="$ac_save_LIBS"
51820 CXXFLAGS="$ac_save_CXXFLAGS"
51823 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51824 ac_save_CXXFLAGS="$CXXFLAGS"
51825 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51829 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51830 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51831 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51832 $as_echo_n "(cached) " >&6
51833 else
51836 ac_ext=cpp
51837 ac_cpp='$CXXCPP $CPPFLAGS'
51838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51843 /* end confdefs.h. */
51844 #include <stdlib.h>
51846 main ()
51848 at_quick_exit(0);
51850 return 0;
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854 glibcxx_cv_func_at_quick_exit_use=yes
51855 else
51856 glibcxx_cv_func_at_quick_exit_use=no
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859 ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51870 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51871 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51872 for ac_func in at_quick_exit
51873 do :
51874 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51875 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_AT_QUICK_EXIT 1
51878 _ACEOF
51881 done
51886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51887 $as_echo_n "checking for quick_exit declaration... " >&6; }
51888 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51889 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51890 $as_echo_n "(cached) " >&6
51891 else
51894 ac_ext=cpp
51895 ac_cpp='$CXXCPP $CPPFLAGS'
51896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51901 /* end confdefs.h. */
51902 #include <stdlib.h>
51904 main ()
51906 quick_exit(0);
51908 return 0;
51910 _ACEOF
51911 if ac_fn_cxx_try_compile "$LINENO"; then :
51912 glibcxx_cv_func_quick_exit_use=yes
51913 else
51914 glibcxx_cv_func_quick_exit_use=no
51916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51917 ac_ext=c
51918 ac_cpp='$CPP $CPPFLAGS'
51919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51928 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51929 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51930 for ac_func in quick_exit
51931 do :
51932 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51933 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE_QUICK_EXIT 1
51936 _ACEOF
51939 done
51944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51945 $as_echo_n "checking for strtold declaration... " >&6; }
51946 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51947 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51948 $as_echo_n "(cached) " >&6
51949 else
51952 ac_ext=cpp
51953 ac_cpp='$CXXCPP $CPPFLAGS'
51954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51959 /* end confdefs.h. */
51960 #include <stdlib.h>
51962 main ()
51964 strtold(0, 0);
51966 return 0;
51968 _ACEOF
51969 if ac_fn_cxx_try_compile "$LINENO"; then :
51970 glibcxx_cv_func_strtold_use=yes
51971 else
51972 glibcxx_cv_func_strtold_use=no
51974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51975 ac_ext=c
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51986 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51987 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51988 for ac_func in strtold
51989 do :
51990 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51991 if test "x$ac_cv_func_strtold" = x""yes; then :
51992 cat >>confdefs.h <<_ACEOF
51993 #define HAVE_STRTOLD 1
51994 _ACEOF
51997 done
52004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52005 $as_echo_n "checking for strtof declaration... " >&6; }
52006 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52007 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52008 $as_echo_n "(cached) " >&6
52009 else
52012 ac_ext=cpp
52013 ac_cpp='$CXXCPP $CPPFLAGS'
52014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52019 /* end confdefs.h. */
52020 #include <stdlib.h>
52022 main ()
52024 strtof(0, 0);
52026 return 0;
52028 _ACEOF
52029 if ac_fn_cxx_try_compile "$LINENO"; then :
52030 glibcxx_cv_func_strtof_use=yes
52031 else
52032 glibcxx_cv_func_strtof_use=no
52034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52035 ac_ext=c
52036 ac_cpp='$CPP $CPPFLAGS'
52037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52046 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52047 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52048 for ac_func in strtof
52049 do :
52050 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52051 if test "x$ac_cv_func_strtof" = x""yes; then :
52052 cat >>confdefs.h <<_ACEOF
52053 #define HAVE_STRTOF 1
52054 _ACEOF
52057 done
52064 CXXFLAGS="$ac_save_CXXFLAGS"
52068 *djgpp)
52069 # GLIBCXX_CHECK_MATH_SUPPORT
52070 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52072 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52074 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52076 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52078 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52082 *-freebsd*)
52083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52086 # If we're not using GNU ld, then there's no point in even trying these
52087 # tests. Check for that first. We should have already tested for gld
52088 # by now (in libtool), but require it now just to be safe...
52089 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52090 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52094 # The name set by libtool depends on the version of libtool. Shame on us
52095 # for depending on an impl detail, but c'est la vie. Older versions used
52096 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52097 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52098 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52099 # set (hence we're using an older libtool), then set it.
52100 if test x${with_gnu_ld+set} != xset; then
52101 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52102 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52103 with_gnu_ld=no
52104 else
52105 with_gnu_ld=$ac_cv_prog_gnu_ld
52109 # Start by getting the version number. I think the libtool test already
52110 # does some of this, but throws away the result.
52111 glibcxx_ld_is_gold=no
52112 if test x"$with_gnu_ld" = x"yes"; then
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52114 $as_echo_n "checking for ld version... " >&6; }
52116 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52117 glibcxx_ld_is_gold=yes
52119 ldver=`$LD --version 2>/dev/null |
52120 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'`
52122 glibcxx_gnu_ld_version=`echo $ldver | \
52123 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52125 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52128 # Set --gc-sections.
52129 glibcxx_have_gc_sections=no
52130 if test "$glibcxx_ld_is_gold" = "yes"; then
52131 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52132 glibcxx_have_gc_sections=yes
52134 else
52135 glibcxx_gcsections_min_ld=21602
52136 if test x"$with_gnu_ld" = x"yes" &&
52137 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52138 glibcxx_have_gc_sections=yes
52141 if test "$glibcxx_have_gc_sections" = "yes"; then
52142 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52143 # NB: This flag only works reliably after 2.16.1. Configure tests
52144 # for this are difficult, so hard wire a value that should work.
52146 ac_test_CFLAGS="${CFLAGS+set}"
52147 ac_save_CFLAGS="$CFLAGS"
52148 CFLAGS='-Wl,--gc-sections'
52150 # Check for -Wl,--gc-sections
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52152 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52153 if test x$gcc_no_link = xyes; then
52154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52157 /* end confdefs.h. */
52158 int one(void) { return 1; }
52159 int two(void) { return 2; }
52162 main ()
52164 two();
52166 return 0;
52168 _ACEOF
52169 if ac_fn_c_try_link "$LINENO"; then :
52170 ac_gcsections=yes
52171 else
52172 ac_gcsections=no
52174 rm -f core conftest.err conftest.$ac_objext \
52175 conftest$ac_exeext conftest.$ac_ext
52176 if test "$ac_gcsections" = "yes"; then
52177 rm -f conftest.c
52178 touch conftest.c
52179 if $CC -c conftest.c; then
52180 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52181 grep "Warning: gc-sections option ignored" > /dev/null; then
52182 ac_gcsections=no
52185 rm -f conftest.c conftest.o conftest
52187 if test "$ac_gcsections" = "yes"; then
52188 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52191 $as_echo "$ac_gcsections" >&6; }
52193 if test "$ac_test_CFLAGS" = set; then
52194 CFLAGS="$ac_save_CFLAGS"
52195 else
52196 # this is the suspicious part
52197 CFLAGS=''
52201 # Set -z,relro.
52202 # Note this is only for shared objects.
52203 ac_ld_relro=no
52204 if test x"$with_gnu_ld" = x"yes"; then
52205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52206 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52207 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52208 if test -n "$cxx_z_relo"; then
52209 OPT_LDFLAGS="-Wl,-z,relro"
52210 ac_ld_relro=yes
52212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52213 $as_echo "$ac_ld_relro" >&6; }
52216 # Set linker optimization flags.
52217 if test x"$with_gnu_ld" = x"yes"; then
52218 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52224 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52226 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52228 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52230 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52232 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52234 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52236 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52238 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52240 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52243 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52245 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52247 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52249 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52251 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52253 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52255 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52257 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52259 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52261 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52263 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52265 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52267 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52269 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52271 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52273 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52275 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52277 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52279 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52281 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52283 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52285 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52287 if test x"long_double_math_on_this_cpu" = x"yes"; then
52288 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52290 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52292 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52296 *-hpux*)
52297 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52300 # If we're not using GNU ld, then there's no point in even trying these
52301 # tests. Check for that first. We should have already tested for gld
52302 # by now (in libtool), but require it now just to be safe...
52303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52308 # The name set by libtool depends on the version of libtool. Shame on us
52309 # for depending on an impl detail, but c'est la vie. Older versions used
52310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52313 # set (hence we're using an older libtool), then set it.
52314 if test x${with_gnu_ld+set} != xset; then
52315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52317 with_gnu_ld=no
52318 else
52319 with_gnu_ld=$ac_cv_prog_gnu_ld
52323 # Start by getting the version number. I think the libtool test already
52324 # does some of this, but throws away the result.
52325 glibcxx_ld_is_gold=no
52326 if test x"$with_gnu_ld" = x"yes"; then
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52328 $as_echo_n "checking for ld version... " >&6; }
52330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52331 glibcxx_ld_is_gold=yes
52333 ldver=`$LD --version 2>/dev/null |
52334 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'`
52336 glibcxx_gnu_ld_version=`echo $ldver | \
52337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52342 # Set --gc-sections.
52343 glibcxx_have_gc_sections=no
52344 if test "$glibcxx_ld_is_gold" = "yes"; then
52345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52346 glibcxx_have_gc_sections=yes
52348 else
52349 glibcxx_gcsections_min_ld=21602
52350 if test x"$with_gnu_ld" = x"yes" &&
52351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52352 glibcxx_have_gc_sections=yes
52355 if test "$glibcxx_have_gc_sections" = "yes"; then
52356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52357 # NB: This flag only works reliably after 2.16.1. Configure tests
52358 # for this are difficult, so hard wire a value that should work.
52360 ac_test_CFLAGS="${CFLAGS+set}"
52361 ac_save_CFLAGS="$CFLAGS"
52362 CFLAGS='-Wl,--gc-sections'
52364 # Check for -Wl,--gc-sections
52365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52367 if test x$gcc_no_link = xyes; then
52368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52371 /* end confdefs.h. */
52372 int one(void) { return 1; }
52373 int two(void) { return 2; }
52376 main ()
52378 two();
52380 return 0;
52382 _ACEOF
52383 if ac_fn_c_try_link "$LINENO"; then :
52384 ac_gcsections=yes
52385 else
52386 ac_gcsections=no
52388 rm -f core conftest.err conftest.$ac_objext \
52389 conftest$ac_exeext conftest.$ac_ext
52390 if test "$ac_gcsections" = "yes"; then
52391 rm -f conftest.c
52392 touch conftest.c
52393 if $CC -c conftest.c; then
52394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52395 grep "Warning: gc-sections option ignored" > /dev/null; then
52396 ac_gcsections=no
52399 rm -f conftest.c conftest.o conftest
52401 if test "$ac_gcsections" = "yes"; then
52402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52405 $as_echo "$ac_gcsections" >&6; }
52407 if test "$ac_test_CFLAGS" = set; then
52408 CFLAGS="$ac_save_CFLAGS"
52409 else
52410 # this is the suspicious part
52411 CFLAGS=''
52415 # Set -z,relro.
52416 # Note this is only for shared objects.
52417 ac_ld_relro=no
52418 if test x"$with_gnu_ld" = x"yes"; then
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52422 if test -n "$cxx_z_relo"; then
52423 OPT_LDFLAGS="-Wl,-z,relro"
52424 ac_ld_relro=yes
52426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52427 $as_echo "$ac_ld_relro" >&6; }
52430 # Set linker optimization flags.
52431 if test x"$with_gnu_ld" = x"yes"; then
52432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52439 # GLIBCXX_CHECK_MATH_SUPPORT
52440 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52442 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52444 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52446 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52448 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52450 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52452 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52454 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52456 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52458 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52460 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52462 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52464 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52466 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52468 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52470 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52472 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52474 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52476 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52478 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52480 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52483 # GLIBCXX_CHECK_STDLIB_SUPPORT
52484 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52489 # Check whether --enable-tls was given.
52490 if test "${enable_tls+set}" = set; then :
52491 enableval=$enable_tls;
52492 case "$enableval" in
52493 yes|no) ;;
52494 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52495 esac
52497 else
52498 enable_tls=yes
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52503 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52504 if test "${gcc_cv_have_tls+set}" = set; then :
52505 $as_echo_n "(cached) " >&6
52506 else
52508 if test "$cross_compiling" = yes; then :
52509 if test x$gcc_no_link = xyes; then
52510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 __thread int a; int b; int main() { return a = b; }
52515 _ACEOF
52516 if ac_fn_c_try_link "$LINENO"; then :
52517 chktls_save_LDFLAGS="$LDFLAGS"
52518 case $host in
52519 *-*-linux*)
52520 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52522 esac
52523 chktls_save_CFLAGS="$CFLAGS"
52524 CFLAGS="-fPIC $CFLAGS"
52525 if test x$gcc_no_link = xyes; then
52526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52529 /* end confdefs.h. */
52530 int f() { return 0; }
52531 _ACEOF
52532 if ac_fn_c_try_link "$LINENO"; then :
52533 if test x$gcc_no_link = xyes; then
52534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52537 /* end confdefs.h. */
52538 __thread int a; int b; int f() { return a = b; }
52539 _ACEOF
52540 if ac_fn_c_try_link "$LINENO"; then :
52541 gcc_cv_have_tls=yes
52542 else
52543 gcc_cv_have_tls=no
52545 rm -f core conftest.err conftest.$ac_objext \
52546 conftest$ac_exeext conftest.$ac_ext
52547 else
52548 gcc_cv_have_tls=yes
52550 rm -f core conftest.err conftest.$ac_objext \
52551 conftest$ac_exeext conftest.$ac_ext
52552 CFLAGS="$chktls_save_CFLAGS"
52553 LDFLAGS="$chktls_save_LDFLAGS"
52554 else
52555 gcc_cv_have_tls=no
52557 rm -f core conftest.err conftest.$ac_objext \
52558 conftest$ac_exeext conftest.$ac_ext
52561 else
52562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52563 /* end confdefs.h. */
52564 __thread int a; int b; int main() { return a = b; }
52565 _ACEOF
52566 if ac_fn_c_try_run "$LINENO"; then :
52567 chktls_save_LDFLAGS="$LDFLAGS"
52568 LDFLAGS="-static $LDFLAGS"
52569 if test x$gcc_no_link = xyes; then
52570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573 /* end confdefs.h. */
52574 int main() { return 0; }
52575 _ACEOF
52576 if ac_fn_c_try_link "$LINENO"; then :
52577 if test "$cross_compiling" = yes; then :
52578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52580 as_fn_error "cannot run test program while cross compiling
52581 See \`config.log' for more details." "$LINENO" 5; }
52582 else
52583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52584 /* end confdefs.h. */
52585 __thread int a; int b; int main() { return a = b; }
52586 _ACEOF
52587 if ac_fn_c_try_run "$LINENO"; then :
52588 gcc_cv_have_tls=yes
52589 else
52590 gcc_cv_have_tls=no
52592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52593 conftest.$ac_objext conftest.beam conftest.$ac_ext
52596 else
52597 gcc_cv_have_tls=yes
52599 rm -f core conftest.err conftest.$ac_objext \
52600 conftest$ac_exeext conftest.$ac_ext
52601 LDFLAGS="$chktls_save_LDFLAGS"
52602 if test $gcc_cv_have_tls = yes; then
52603 chktls_save_CFLAGS="$CFLAGS"
52604 thread_CFLAGS=failed
52605 for flag in '' '-pthread' '-lpthread'; do
52606 CFLAGS="$flag $chktls_save_CFLAGS"
52607 if test x$gcc_no_link = xyes; then
52608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52611 /* end confdefs.h. */
52612 #include <pthread.h>
52613 void *g(void *d) { return NULL; }
52615 main ()
52617 pthread_t t; pthread_create(&t,NULL,g,NULL);
52619 return 0;
52621 _ACEOF
52622 if ac_fn_c_try_link "$LINENO"; then :
52623 thread_CFLAGS="$flag"
52625 rm -f core conftest.err conftest.$ac_objext \
52626 conftest$ac_exeext conftest.$ac_ext
52627 if test "X$thread_CFLAGS" != Xfailed; then
52628 break
52630 done
52631 CFLAGS="$chktls_save_CFLAGS"
52632 if test "X$thread_CFLAGS" != Xfailed; then
52633 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52634 if test "$cross_compiling" = yes; then :
52635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52637 as_fn_error "cannot run test program while cross compiling
52638 See \`config.log' for more details." "$LINENO" 5; }
52639 else
52640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52641 /* end confdefs.h. */
52642 #include <pthread.h>
52643 __thread int a;
52644 static int *volatile a_in_other_thread;
52645 static void *
52646 thread_func (void *arg)
52648 a_in_other_thread = &a;
52649 return (void *)0;
52652 main ()
52654 pthread_t thread;
52655 void *thread_retval;
52656 int *volatile a_in_main_thread;
52657 a_in_main_thread = &a;
52658 if (pthread_create (&thread, (pthread_attr_t *)0,
52659 thread_func, (void *)0))
52660 return 0;
52661 if (pthread_join (thread, &thread_retval))
52662 return 0;
52663 return (a_in_other_thread == a_in_main_thread);
52665 return 0;
52667 _ACEOF
52668 if ac_fn_c_try_run "$LINENO"; then :
52669 gcc_cv_have_tls=yes
52670 else
52671 gcc_cv_have_tls=no
52673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52674 conftest.$ac_objext conftest.beam conftest.$ac_ext
52677 CFLAGS="$chktls_save_CFLAGS"
52680 else
52681 gcc_cv_have_tls=no
52683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52684 conftest.$ac_objext conftest.beam conftest.$ac_ext
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52689 $as_echo "$gcc_cv_have_tls" >&6; }
52690 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52692 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52695 case "$target" in
52696 *-hpux10*)
52697 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52699 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52701 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52703 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52705 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52708 esac
52710 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52712 # All these tests are for C++; save the language and the compiler flags.
52713 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52714 # found in GLIBCXX_CONFIGURE.
52716 ac_ext=cpp
52717 ac_cpp='$CXXCPP $CPPFLAGS'
52718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52722 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52723 ac_save_CXXFLAGS="$CXXFLAGS"
52725 # Check for maintainer-mode bits.
52726 if test x"$USE_MAINTAINER_MODE" = xno; then
52727 WERROR=''
52728 else
52729 WERROR='-Werror'
52732 # Check for -ffunction-sections -fdata-sections
52733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52734 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52735 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52737 /* end confdefs.h. */
52738 int foo; void bar() { };
52740 main ()
52744 return 0;
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 ac_fdsections=yes
52749 else
52750 ac_fdsections=no
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 if test "$ac_test_CXXFLAGS" = set; then
52754 CXXFLAGS="$ac_save_CXXFLAGS"
52755 else
52756 # this is the suspicious part
52757 CXXFLAGS=''
52759 if test x"$ac_fdsections" = x"yes"; then
52760 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52763 $as_echo "$ac_fdsections" >&6; }
52765 ac_ext=c
52766 ac_cpp='$CPP $CPPFLAGS'
52767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52775 # If we're not using GNU ld, then there's no point in even trying these
52776 # tests. Check for that first. We should have already tested for gld
52777 # by now (in libtool), but require it now just to be safe...
52778 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52779 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52783 # The name set by libtool depends on the version of libtool. Shame on us
52784 # for depending on an impl detail, but c'est la vie. Older versions used
52785 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52786 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52787 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52788 # set (hence we're using an older libtool), then set it.
52789 if test x${with_gnu_ld+set} != xset; then
52790 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52791 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52792 with_gnu_ld=no
52793 else
52794 with_gnu_ld=$ac_cv_prog_gnu_ld
52798 # Start by getting the version number. I think the libtool test already
52799 # does some of this, but throws away the result.
52800 glibcxx_ld_is_gold=no
52801 if test x"$with_gnu_ld" = x"yes"; then
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52803 $as_echo_n "checking for ld version... " >&6; }
52805 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52806 glibcxx_ld_is_gold=yes
52808 ldver=`$LD --version 2>/dev/null |
52809 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'`
52811 glibcxx_gnu_ld_version=`echo $ldver | \
52812 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52814 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52817 # Set --gc-sections.
52818 glibcxx_have_gc_sections=no
52819 if test "$glibcxx_ld_is_gold" = "yes"; then
52820 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52821 glibcxx_have_gc_sections=yes
52823 else
52824 glibcxx_gcsections_min_ld=21602
52825 if test x"$with_gnu_ld" = x"yes" &&
52826 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52827 glibcxx_have_gc_sections=yes
52830 if test "$glibcxx_have_gc_sections" = "yes"; then
52831 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52832 # NB: This flag only works reliably after 2.16.1. Configure tests
52833 # for this are difficult, so hard wire a value that should work.
52835 ac_test_CFLAGS="${CFLAGS+set}"
52836 ac_save_CFLAGS="$CFLAGS"
52837 CFLAGS='-Wl,--gc-sections'
52839 # Check for -Wl,--gc-sections
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52841 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52842 if test x$gcc_no_link = xyes; then
52843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52846 /* end confdefs.h. */
52847 int one(void) { return 1; }
52848 int two(void) { return 2; }
52851 main ()
52853 two();
52855 return 0;
52857 _ACEOF
52858 if ac_fn_c_try_link "$LINENO"; then :
52859 ac_gcsections=yes
52860 else
52861 ac_gcsections=no
52863 rm -f core conftest.err conftest.$ac_objext \
52864 conftest$ac_exeext conftest.$ac_ext
52865 if test "$ac_gcsections" = "yes"; then
52866 rm -f conftest.c
52867 touch conftest.c
52868 if $CC -c conftest.c; then
52869 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52870 grep "Warning: gc-sections option ignored" > /dev/null; then
52871 ac_gcsections=no
52874 rm -f conftest.c conftest.o conftest
52876 if test "$ac_gcsections" = "yes"; then
52877 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52880 $as_echo "$ac_gcsections" >&6; }
52882 if test "$ac_test_CFLAGS" = set; then
52883 CFLAGS="$ac_save_CFLAGS"
52884 else
52885 # this is the suspicious part
52886 CFLAGS=''
52890 # Set -z,relro.
52891 # Note this is only for shared objects.
52892 ac_ld_relro=no
52893 if test x"$with_gnu_ld" = x"yes"; then
52894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52895 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52896 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52897 if test -n "$cxx_z_relo"; then
52898 OPT_LDFLAGS="-Wl,-z,relro"
52899 ac_ld_relro=yes
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52902 $as_echo "$ac_ld_relro" >&6; }
52905 # Set linker optimization flags.
52906 if test x"$with_gnu_ld" = x"yes"; then
52907 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52914 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52915 ac_save_CXXFLAGS="$CXXFLAGS"
52916 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52919 $as_echo_n "checking for sin in -lm... " >&6; }
52920 if test "${ac_cv_lib_m_sin+set}" = set; then :
52921 $as_echo_n "(cached) " >&6
52922 else
52923 ac_check_lib_save_LIBS=$LIBS
52924 LIBS="-lm $LIBS"
52925 if test x$gcc_no_link = xyes; then
52926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52929 /* end confdefs.h. */
52931 /* Override any GCC internal prototype to avoid an error.
52932 Use char because int might match the return type of a GCC
52933 builtin and then its argument prototype would still apply. */
52934 #ifdef __cplusplus
52935 extern "C"
52936 #endif
52937 char sin ();
52939 main ()
52941 return sin ();
52943 return 0;
52945 _ACEOF
52946 if ac_fn_c_try_link "$LINENO"; then :
52947 ac_cv_lib_m_sin=yes
52948 else
52949 ac_cv_lib_m_sin=no
52951 rm -f core conftest.err conftest.$ac_objext \
52952 conftest$ac_exeext conftest.$ac_ext
52953 LIBS=$ac_check_lib_save_LIBS
52955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52956 $as_echo "$ac_cv_lib_m_sin" >&6; }
52957 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52958 libm="-lm"
52961 ac_save_LIBS="$LIBS"
52962 LIBS="$LIBS $libm"
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52967 $as_echo_n "checking for isinf declaration... " >&6; }
52968 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52969 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52970 $as_echo_n "(cached) " >&6
52971 else
52974 ac_ext=cpp
52975 ac_cpp='$CXXCPP $CPPFLAGS'
52976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52981 /* end confdefs.h. */
52982 #include <math.h>
52983 #ifdef HAVE_IEEEFP_H
52984 #include <ieeefp.h>
52985 #endif
52988 main ()
52990 isinf(0);
52992 return 0;
52994 _ACEOF
52995 if ac_fn_cxx_try_compile "$LINENO"; then :
52996 glibcxx_cv_func_isinf_use=yes
52997 else
52998 glibcxx_cv_func_isinf_use=no
53000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53001 ac_ext=c
53002 ac_cpp='$CPP $CPPFLAGS'
53003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53012 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53014 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53015 for ac_func in isinf
53016 do :
53017 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53018 if test "x$ac_cv_func_isinf" = x""yes; then :
53019 cat >>confdefs.h <<_ACEOF
53020 #define HAVE_ISINF 1
53021 _ACEOF
53024 done
53026 else
53028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53029 $as_echo_n "checking for _isinf declaration... " >&6; }
53030 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53031 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53032 $as_echo_n "(cached) " >&6
53033 else
53036 ac_ext=cpp
53037 ac_cpp='$CXXCPP $CPPFLAGS'
53038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53043 /* end confdefs.h. */
53044 #include <math.h>
53045 #ifdef HAVE_IEEEFP_H
53046 #include <ieeefp.h>
53047 #endif
53050 main ()
53052 _isinf(0);
53054 return 0;
53056 _ACEOF
53057 if ac_fn_cxx_try_compile "$LINENO"; then :
53058 glibcxx_cv_func__isinf_use=yes
53059 else
53060 glibcxx_cv_func__isinf_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__isinf_use" >&5
53074 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53076 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53077 for ac_func in _isinf
53078 do :
53079 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53080 if test "x$ac_cv_func__isinf" = x""yes; then :
53081 cat >>confdefs.h <<_ACEOF
53082 #define HAVE__ISINF 1
53083 _ACEOF
53086 done
53095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53096 $as_echo_n "checking for isnan declaration... " >&6; }
53097 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53098 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53099 $as_echo_n "(cached) " >&6
53100 else
53103 ac_ext=cpp
53104 ac_cpp='$CXXCPP $CPPFLAGS'
53105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53110 /* end confdefs.h. */
53111 #include <math.h>
53112 #ifdef HAVE_IEEEFP_H
53113 #include <ieeefp.h>
53114 #endif
53117 main ()
53119 isnan(0);
53121 return 0;
53123 _ACEOF
53124 if ac_fn_cxx_try_compile "$LINENO"; then :
53125 glibcxx_cv_func_isnan_use=yes
53126 else
53127 glibcxx_cv_func_isnan_use=no
53129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53141 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53143 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53144 for ac_func in isnan
53145 do :
53146 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53147 if test "x$ac_cv_func_isnan" = x""yes; then :
53148 cat >>confdefs.h <<_ACEOF
53149 #define HAVE_ISNAN 1
53150 _ACEOF
53153 done
53155 else
53157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53158 $as_echo_n "checking for _isnan declaration... " >&6; }
53159 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53160 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53161 $as_echo_n "(cached) " >&6
53162 else
53165 ac_ext=cpp
53166 ac_cpp='$CXXCPP $CPPFLAGS'
53167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53172 /* end confdefs.h. */
53173 #include <math.h>
53174 #ifdef HAVE_IEEEFP_H
53175 #include <ieeefp.h>
53176 #endif
53179 main ()
53181 _isnan(0);
53183 return 0;
53185 _ACEOF
53186 if ac_fn_cxx_try_compile "$LINENO"; then :
53187 glibcxx_cv_func__isnan_use=yes
53188 else
53189 glibcxx_cv_func__isnan_use=no
53191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53192 ac_ext=c
53193 ac_cpp='$CPP $CPPFLAGS'
53194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53203 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53205 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53206 for ac_func in _isnan
53207 do :
53208 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53209 if test "x$ac_cv_func__isnan" = x""yes; then :
53210 cat >>confdefs.h <<_ACEOF
53211 #define HAVE__ISNAN 1
53212 _ACEOF
53215 done
53224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53225 $as_echo_n "checking for finite declaration... " >&6; }
53226 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53227 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53228 $as_echo_n "(cached) " >&6
53229 else
53232 ac_ext=cpp
53233 ac_cpp='$CXXCPP $CPPFLAGS'
53234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53239 /* end confdefs.h. */
53240 #include <math.h>
53241 #ifdef HAVE_IEEEFP_H
53242 #include <ieeefp.h>
53243 #endif
53246 main ()
53248 finite(0);
53250 return 0;
53252 _ACEOF
53253 if ac_fn_cxx_try_compile "$LINENO"; then :
53254 glibcxx_cv_func_finite_use=yes
53255 else
53256 glibcxx_cv_func_finite_use=no
53258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53259 ac_ext=c
53260 ac_cpp='$CPP $CPPFLAGS'
53261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53270 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53272 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53273 for ac_func in finite
53274 do :
53275 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53276 if test "x$ac_cv_func_finite" = x""yes; then :
53277 cat >>confdefs.h <<_ACEOF
53278 #define HAVE_FINITE 1
53279 _ACEOF
53282 done
53284 else
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53287 $as_echo_n "checking for _finite declaration... " >&6; }
53288 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53289 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53290 $as_echo_n "(cached) " >&6
53291 else
53294 ac_ext=cpp
53295 ac_cpp='$CXXCPP $CPPFLAGS'
53296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53301 /* end confdefs.h. */
53302 #include <math.h>
53303 #ifdef HAVE_IEEEFP_H
53304 #include <ieeefp.h>
53305 #endif
53308 main ()
53310 _finite(0);
53312 return 0;
53314 _ACEOF
53315 if ac_fn_cxx_try_compile "$LINENO"; then :
53316 glibcxx_cv_func__finite_use=yes
53317 else
53318 glibcxx_cv_func__finite_use=no
53320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53321 ac_ext=c
53322 ac_cpp='$CPP $CPPFLAGS'
53323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53332 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53334 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53335 for ac_func in _finite
53336 do :
53337 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53338 if test "x$ac_cv_func__finite" = x""yes; then :
53339 cat >>confdefs.h <<_ACEOF
53340 #define HAVE__FINITE 1
53341 _ACEOF
53344 done
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53354 $as_echo_n "checking for sincos declaration... " >&6; }
53355 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53356 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53357 $as_echo_n "(cached) " >&6
53358 else
53361 ac_ext=cpp
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53368 /* end confdefs.h. */
53369 #include <math.h>
53371 main ()
53373 sincos(0, 0, 0);
53375 return 0;
53377 _ACEOF
53378 if ac_fn_cxx_try_compile "$LINENO"; then :
53379 glibcxx_cv_func_sincos_use=yes
53380 else
53381 glibcxx_cv_func_sincos_use=no
53383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53384 ac_ext=c
53385 ac_cpp='$CPP $CPPFLAGS'
53386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53395 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53397 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53398 for ac_func in sincos
53399 do :
53400 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53401 if test "x$ac_cv_func_sincos" = x""yes; then :
53402 cat >>confdefs.h <<_ACEOF
53403 #define HAVE_SINCOS 1
53404 _ACEOF
53407 done
53409 else
53411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53412 $as_echo_n "checking for _sincos declaration... " >&6; }
53413 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53414 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53415 $as_echo_n "(cached) " >&6
53416 else
53419 ac_ext=cpp
53420 ac_cpp='$CXXCPP $CPPFLAGS'
53421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53426 /* end confdefs.h. */
53427 #include <math.h>
53429 main ()
53431 _sincos(0, 0, 0);
53433 return 0;
53435 _ACEOF
53436 if ac_fn_cxx_try_compile "$LINENO"; then :
53437 glibcxx_cv_func__sincos_use=yes
53438 else
53439 glibcxx_cv_func__sincos_use=no
53441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53442 ac_ext=c
53443 ac_cpp='$CPP $CPPFLAGS'
53444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53453 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53455 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53456 for ac_func in _sincos
53457 do :
53458 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53459 if test "x$ac_cv_func__sincos" = x""yes; then :
53460 cat >>confdefs.h <<_ACEOF
53461 #define HAVE__SINCOS 1
53462 _ACEOF
53465 done
53474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53475 $as_echo_n "checking for fpclass declaration... " >&6; }
53476 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53477 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53478 $as_echo_n "(cached) " >&6
53479 else
53482 ac_ext=cpp
53483 ac_cpp='$CXXCPP $CPPFLAGS'
53484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53489 /* end confdefs.h. */
53490 #include <math.h>
53491 #ifdef HAVE_IEEEFP_H
53492 #include <ieeefp.h>
53493 #endif
53496 main ()
53498 fpclass(0);
53500 return 0;
53502 _ACEOF
53503 if ac_fn_cxx_try_compile "$LINENO"; then :
53504 glibcxx_cv_func_fpclass_use=yes
53505 else
53506 glibcxx_cv_func_fpclass_use=no
53508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53509 ac_ext=c
53510 ac_cpp='$CPP $CPPFLAGS'
53511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53520 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53522 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53523 for ac_func in fpclass
53524 do :
53525 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53526 if test "x$ac_cv_func_fpclass" = x""yes; then :
53527 cat >>confdefs.h <<_ACEOF
53528 #define HAVE_FPCLASS 1
53529 _ACEOF
53532 done
53534 else
53536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53537 $as_echo_n "checking for _fpclass declaration... " >&6; }
53538 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53539 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53540 $as_echo_n "(cached) " >&6
53541 else
53544 ac_ext=cpp
53545 ac_cpp='$CXXCPP $CPPFLAGS'
53546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53551 /* end confdefs.h. */
53552 #include <math.h>
53553 #ifdef HAVE_IEEEFP_H
53554 #include <ieeefp.h>
53555 #endif
53558 main ()
53560 _fpclass(0);
53562 return 0;
53564 _ACEOF
53565 if ac_fn_cxx_try_compile "$LINENO"; then :
53566 glibcxx_cv_func__fpclass_use=yes
53567 else
53568 glibcxx_cv_func__fpclass_use=no
53570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53571 ac_ext=c
53572 ac_cpp='$CPP $CPPFLAGS'
53573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53582 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53584 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53585 for ac_func in _fpclass
53586 do :
53587 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53588 if test "x$ac_cv_func__fpclass" = x""yes; then :
53589 cat >>confdefs.h <<_ACEOF
53590 #define HAVE__FPCLASS 1
53591 _ACEOF
53594 done
53603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53604 $as_echo_n "checking for qfpclass declaration... " >&6; }
53605 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53606 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53607 $as_echo_n "(cached) " >&6
53608 else
53611 ac_ext=cpp
53612 ac_cpp='$CXXCPP $CPPFLAGS'
53613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53618 /* end confdefs.h. */
53619 #include <math.h>
53620 #ifdef HAVE_IEEEFP_H
53621 #include <ieeefp.h>
53622 #endif
53625 main ()
53627 qfpclass(0);
53629 return 0;
53631 _ACEOF
53632 if ac_fn_cxx_try_compile "$LINENO"; then :
53633 glibcxx_cv_func_qfpclass_use=yes
53634 else
53635 glibcxx_cv_func_qfpclass_use=no
53637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53638 ac_ext=c
53639 ac_cpp='$CPP $CPPFLAGS'
53640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53649 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53651 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53652 for ac_func in qfpclass
53653 do :
53654 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53655 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53656 cat >>confdefs.h <<_ACEOF
53657 #define HAVE_QFPCLASS 1
53658 _ACEOF
53661 done
53663 else
53665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53666 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53667 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53668 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53682 #ifdef HAVE_IEEEFP_H
53683 #include <ieeefp.h>
53684 #endif
53687 main ()
53689 _qfpclass(0);
53691 return 0;
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func__qfpclass_use=yes
53696 else
53697 glibcxx_cv_func__qfpclass_use=no
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53711 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53713 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53714 for ac_func in _qfpclass
53715 do :
53716 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53717 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE__QFPCLASS 1
53720 _ACEOF
53723 done
53732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53733 $as_echo_n "checking for hypot declaration... " >&6; }
53734 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53735 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53736 $as_echo_n "(cached) " >&6
53737 else
53740 ac_ext=cpp
53741 ac_cpp='$CXXCPP $CPPFLAGS'
53742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53747 /* end confdefs.h. */
53748 #include <math.h>
53750 main ()
53752 hypot(0, 0);
53754 return 0;
53756 _ACEOF
53757 if ac_fn_cxx_try_compile "$LINENO"; then :
53758 glibcxx_cv_func_hypot_use=yes
53759 else
53760 glibcxx_cv_func_hypot_use=no
53762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53763 ac_ext=c
53764 ac_cpp='$CPP $CPPFLAGS'
53765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53774 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53776 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53777 for ac_func in hypot
53778 do :
53779 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53780 if test "x$ac_cv_func_hypot" = x""yes; then :
53781 cat >>confdefs.h <<_ACEOF
53782 #define HAVE_HYPOT 1
53783 _ACEOF
53786 done
53788 else
53790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53791 $as_echo_n "checking for _hypot declaration... " >&6; }
53792 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53793 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53794 $as_echo_n "(cached) " >&6
53795 else
53798 ac_ext=cpp
53799 ac_cpp='$CXXCPP $CPPFLAGS'
53800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53805 /* end confdefs.h. */
53806 #include <math.h>
53808 main ()
53810 _hypot(0, 0);
53812 return 0;
53814 _ACEOF
53815 if ac_fn_cxx_try_compile "$LINENO"; then :
53816 glibcxx_cv_func__hypot_use=yes
53817 else
53818 glibcxx_cv_func__hypot_use=no
53820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53821 ac_ext=c
53822 ac_cpp='$CPP $CPPFLAGS'
53823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53832 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53834 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53835 for ac_func in _hypot
53836 do :
53837 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53838 if test "x$ac_cv_func__hypot" = x""yes; then :
53839 cat >>confdefs.h <<_ACEOF
53840 #define HAVE__HYPOT 1
53841 _ACEOF
53844 done
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53854 $as_echo_n "checking for float trig functions... " >&6; }
53855 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53856 $as_echo_n "(cached) " >&6
53857 else
53860 ac_ext=cpp
53861 ac_cpp='$CXXCPP $CPPFLAGS'
53862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53867 /* end confdefs.h. */
53868 #include <math.h>
53870 main ()
53872 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53874 return 0;
53876 _ACEOF
53877 if ac_fn_cxx_try_compile "$LINENO"; then :
53878 glibcxx_cv_func_float_trig_use=yes
53879 else
53880 glibcxx_cv_func_float_trig_use=no
53882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53883 ac_ext=c
53884 ac_cpp='$CPP $CPPFLAGS'
53885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53892 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53893 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53894 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53895 do :
53896 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53898 eval as_val=\$$as_ac_var
53899 if test "x$as_val" = x""yes; then :
53900 cat >>confdefs.h <<_ACEOF
53901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53902 _ACEOF
53905 done
53907 else
53908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53909 $as_echo_n "checking for _float trig functions... " >&6; }
53910 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53911 $as_echo_n "(cached) " >&6
53912 else
53915 ac_ext=cpp
53916 ac_cpp='$CXXCPP $CPPFLAGS'
53917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53922 /* end confdefs.h. */
53923 #include <math.h>
53925 main ()
53927 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53929 return 0;
53931 _ACEOF
53932 if ac_fn_cxx_try_compile "$LINENO"; then :
53933 glibcxx_cv_func__float_trig_use=yes
53934 else
53935 glibcxx_cv_func__float_trig_use=no
53937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53938 ac_ext=c
53939 ac_cpp='$CPP $CPPFLAGS'
53940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53947 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53948 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53949 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53950 do :
53951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53953 eval as_val=\$$as_ac_var
53954 if test "x$as_val" = x""yes; then :
53955 cat >>confdefs.h <<_ACEOF
53956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53957 _ACEOF
53960 done
53969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53970 $as_echo_n "checking for float round functions... " >&6; }
53971 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53972 $as_echo_n "(cached) " >&6
53973 else
53976 ac_ext=cpp
53977 ac_cpp='$CXXCPP $CPPFLAGS'
53978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53983 /* end confdefs.h. */
53984 #include <math.h>
53986 main ()
53988 ceilf (0); floorf (0);
53990 return 0;
53992 _ACEOF
53993 if ac_fn_cxx_try_compile "$LINENO"; then :
53994 glibcxx_cv_func_float_round_use=yes
53995 else
53996 glibcxx_cv_func_float_round_use=no
53998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53999 ac_ext=c
54000 ac_cpp='$CPP $CPPFLAGS'
54001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54008 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54009 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54010 for ac_func in ceilf floorf
54011 do :
54012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54014 eval as_val=\$$as_ac_var
54015 if test "x$as_val" = x""yes; then :
54016 cat >>confdefs.h <<_ACEOF
54017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54018 _ACEOF
54021 done
54023 else
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54025 $as_echo_n "checking for _float round functions... " >&6; }
54026 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54027 $as_echo_n "(cached) " >&6
54028 else
54031 ac_ext=cpp
54032 ac_cpp='$CXXCPP $CPPFLAGS'
54033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54038 /* end confdefs.h. */
54039 #include <math.h>
54041 main ()
54043 _ceilf (0); _floorf (0);
54045 return 0;
54047 _ACEOF
54048 if ac_fn_cxx_try_compile "$LINENO"; then :
54049 glibcxx_cv_func__float_round_use=yes
54050 else
54051 glibcxx_cv_func__float_round_use=no
54053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54054 ac_ext=c
54055 ac_cpp='$CPP $CPPFLAGS'
54056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54063 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54064 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54065 for ac_func in _ceilf _floorf
54066 do :
54067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54069 eval as_val=\$$as_ac_var
54070 if test "x$as_val" = x""yes; then :
54071 cat >>confdefs.h <<_ACEOF
54072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54073 _ACEOF
54076 done
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54087 $as_echo_n "checking for expf declaration... " >&6; }
54088 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54089 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54090 $as_echo_n "(cached) " >&6
54091 else
54094 ac_ext=cpp
54095 ac_cpp='$CXXCPP $CPPFLAGS'
54096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54101 /* end confdefs.h. */
54102 #include <math.h>
54103 #ifdef HAVE_IEEEFP_H
54104 #include <ieeefp.h>
54105 #endif
54108 main ()
54110 expf(0);
54112 return 0;
54114 _ACEOF
54115 if ac_fn_cxx_try_compile "$LINENO"; then :
54116 glibcxx_cv_func_expf_use=yes
54117 else
54118 glibcxx_cv_func_expf_use=no
54120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54121 ac_ext=c
54122 ac_cpp='$CPP $CPPFLAGS'
54123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54132 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54134 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54135 for ac_func in expf
54136 do :
54137 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54138 if test "x$ac_cv_func_expf" = x""yes; then :
54139 cat >>confdefs.h <<_ACEOF
54140 #define HAVE_EXPF 1
54141 _ACEOF
54144 done
54146 else
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54149 $as_echo_n "checking for _expf declaration... " >&6; }
54150 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54151 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54152 $as_echo_n "(cached) " >&6
54153 else
54156 ac_ext=cpp
54157 ac_cpp='$CXXCPP $CPPFLAGS'
54158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54163 /* end confdefs.h. */
54164 #include <math.h>
54165 #ifdef HAVE_IEEEFP_H
54166 #include <ieeefp.h>
54167 #endif
54170 main ()
54172 _expf(0);
54174 return 0;
54176 _ACEOF
54177 if ac_fn_cxx_try_compile "$LINENO"; then :
54178 glibcxx_cv_func__expf_use=yes
54179 else
54180 glibcxx_cv_func__expf_use=no
54182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54183 ac_ext=c
54184 ac_cpp='$CPP $CPPFLAGS'
54185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54194 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54196 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54197 for ac_func in _expf
54198 do :
54199 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54200 if test "x$ac_cv_func__expf" = x""yes; then :
54201 cat >>confdefs.h <<_ACEOF
54202 #define HAVE__EXPF 1
54203 _ACEOF
54206 done
54215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54216 $as_echo_n "checking for isnanf declaration... " >&6; }
54217 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54218 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54219 $as_echo_n "(cached) " >&6
54220 else
54223 ac_ext=cpp
54224 ac_cpp='$CXXCPP $CPPFLAGS'
54225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54230 /* end confdefs.h. */
54231 #include <math.h>
54232 #ifdef HAVE_IEEEFP_H
54233 #include <ieeefp.h>
54234 #endif
54237 main ()
54239 isnanf(0);
54241 return 0;
54243 _ACEOF
54244 if ac_fn_cxx_try_compile "$LINENO"; then :
54245 glibcxx_cv_func_isnanf_use=yes
54246 else
54247 glibcxx_cv_func_isnanf_use=no
54249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54250 ac_ext=c
54251 ac_cpp='$CPP $CPPFLAGS'
54252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54261 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54263 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54264 for ac_func in isnanf
54265 do :
54266 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54267 if test "x$ac_cv_func_isnanf" = x""yes; then :
54268 cat >>confdefs.h <<_ACEOF
54269 #define HAVE_ISNANF 1
54270 _ACEOF
54273 done
54275 else
54277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54278 $as_echo_n "checking for _isnanf declaration... " >&6; }
54279 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54280 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54281 $as_echo_n "(cached) " >&6
54282 else
54285 ac_ext=cpp
54286 ac_cpp='$CXXCPP $CPPFLAGS'
54287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54292 /* end confdefs.h. */
54293 #include <math.h>
54294 #ifdef HAVE_IEEEFP_H
54295 #include <ieeefp.h>
54296 #endif
54299 main ()
54301 _isnanf(0);
54303 return 0;
54305 _ACEOF
54306 if ac_fn_cxx_try_compile "$LINENO"; then :
54307 glibcxx_cv_func__isnanf_use=yes
54308 else
54309 glibcxx_cv_func__isnanf_use=no
54311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54312 ac_ext=c
54313 ac_cpp='$CPP $CPPFLAGS'
54314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54323 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54325 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54326 for ac_func in _isnanf
54327 do :
54328 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54329 if test "x$ac_cv_func__isnanf" = x""yes; then :
54330 cat >>confdefs.h <<_ACEOF
54331 #define HAVE__ISNANF 1
54332 _ACEOF
54335 done
54344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54345 $as_echo_n "checking for isinff declaration... " >&6; }
54346 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54347 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54348 $as_echo_n "(cached) " >&6
54349 else
54352 ac_ext=cpp
54353 ac_cpp='$CXXCPP $CPPFLAGS'
54354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54359 /* end confdefs.h. */
54360 #include <math.h>
54361 #ifdef HAVE_IEEEFP_H
54362 #include <ieeefp.h>
54363 #endif
54366 main ()
54368 isinff(0);
54370 return 0;
54372 _ACEOF
54373 if ac_fn_cxx_try_compile "$LINENO"; then :
54374 glibcxx_cv_func_isinff_use=yes
54375 else
54376 glibcxx_cv_func_isinff_use=no
54378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54379 ac_ext=c
54380 ac_cpp='$CPP $CPPFLAGS'
54381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54390 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54392 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54393 for ac_func in isinff
54394 do :
54395 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54396 if test "x$ac_cv_func_isinff" = x""yes; then :
54397 cat >>confdefs.h <<_ACEOF
54398 #define HAVE_ISINFF 1
54399 _ACEOF
54402 done
54404 else
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54407 $as_echo_n "checking for _isinff declaration... " >&6; }
54408 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54409 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54410 $as_echo_n "(cached) " >&6
54411 else
54414 ac_ext=cpp
54415 ac_cpp='$CXXCPP $CPPFLAGS'
54416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54421 /* end confdefs.h. */
54422 #include <math.h>
54423 #ifdef HAVE_IEEEFP_H
54424 #include <ieeefp.h>
54425 #endif
54428 main ()
54430 _isinff(0);
54432 return 0;
54434 _ACEOF
54435 if ac_fn_cxx_try_compile "$LINENO"; then :
54436 glibcxx_cv_func__isinff_use=yes
54437 else
54438 glibcxx_cv_func__isinff_use=no
54440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54441 ac_ext=c
54442 ac_cpp='$CPP $CPPFLAGS'
54443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54452 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54454 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54455 for ac_func in _isinff
54456 do :
54457 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54458 if test "x$ac_cv_func__isinff" = x""yes; then :
54459 cat >>confdefs.h <<_ACEOF
54460 #define HAVE__ISINFF 1
54461 _ACEOF
54464 done
54473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54474 $as_echo_n "checking for atan2f declaration... " >&6; }
54475 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54476 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54477 $as_echo_n "(cached) " >&6
54478 else
54481 ac_ext=cpp
54482 ac_cpp='$CXXCPP $CPPFLAGS'
54483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54488 /* end confdefs.h. */
54489 #include <math.h>
54491 main ()
54493 atan2f(0, 0);
54495 return 0;
54497 _ACEOF
54498 if ac_fn_cxx_try_compile "$LINENO"; then :
54499 glibcxx_cv_func_atan2f_use=yes
54500 else
54501 glibcxx_cv_func_atan2f_use=no
54503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54504 ac_ext=c
54505 ac_cpp='$CPP $CPPFLAGS'
54506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54515 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54517 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54518 for ac_func in atan2f
54519 do :
54520 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54521 if test "x$ac_cv_func_atan2f" = x""yes; then :
54522 cat >>confdefs.h <<_ACEOF
54523 #define HAVE_ATAN2F 1
54524 _ACEOF
54527 done
54529 else
54531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54532 $as_echo_n "checking for _atan2f declaration... " >&6; }
54533 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54534 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54535 $as_echo_n "(cached) " >&6
54536 else
54539 ac_ext=cpp
54540 ac_cpp='$CXXCPP $CPPFLAGS'
54541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54546 /* end confdefs.h. */
54547 #include <math.h>
54549 main ()
54551 _atan2f(0, 0);
54553 return 0;
54555 _ACEOF
54556 if ac_fn_cxx_try_compile "$LINENO"; then :
54557 glibcxx_cv_func__atan2f_use=yes
54558 else
54559 glibcxx_cv_func__atan2f_use=no
54561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54562 ac_ext=c
54563 ac_cpp='$CPP $CPPFLAGS'
54564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54573 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54575 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54576 for ac_func in _atan2f
54577 do :
54578 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54579 if test "x$ac_cv_func__atan2f" = x""yes; then :
54580 cat >>confdefs.h <<_ACEOF
54581 #define HAVE__ATAN2F 1
54582 _ACEOF
54585 done
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54595 $as_echo_n "checking for fabsf declaration... " >&6; }
54596 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54597 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54598 $as_echo_n "(cached) " >&6
54599 else
54602 ac_ext=cpp
54603 ac_cpp='$CXXCPP $CPPFLAGS'
54604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54609 /* end confdefs.h. */
54610 #include <math.h>
54611 #ifdef HAVE_IEEEFP_H
54612 #include <ieeefp.h>
54613 #endif
54616 main ()
54618 fabsf(0);
54620 return 0;
54622 _ACEOF
54623 if ac_fn_cxx_try_compile "$LINENO"; then :
54624 glibcxx_cv_func_fabsf_use=yes
54625 else
54626 glibcxx_cv_func_fabsf_use=no
54628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54629 ac_ext=c
54630 ac_cpp='$CPP $CPPFLAGS'
54631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54640 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54642 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54643 for ac_func in fabsf
54644 do :
54645 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54646 if test "x$ac_cv_func_fabsf" = x""yes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define HAVE_FABSF 1
54649 _ACEOF
54652 done
54654 else
54656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54657 $as_echo_n "checking for _fabsf declaration... " >&6; }
54658 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54659 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54660 $as_echo_n "(cached) " >&6
54661 else
54664 ac_ext=cpp
54665 ac_cpp='$CXXCPP $CPPFLAGS'
54666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54671 /* end confdefs.h. */
54672 #include <math.h>
54673 #ifdef HAVE_IEEEFP_H
54674 #include <ieeefp.h>
54675 #endif
54678 main ()
54680 _fabsf(0);
54682 return 0;
54684 _ACEOF
54685 if ac_fn_cxx_try_compile "$LINENO"; then :
54686 glibcxx_cv_func__fabsf_use=yes
54687 else
54688 glibcxx_cv_func__fabsf_use=no
54690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54691 ac_ext=c
54692 ac_cpp='$CPP $CPPFLAGS'
54693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54702 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54704 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54705 for ac_func in _fabsf
54706 do :
54707 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54708 if test "x$ac_cv_func__fabsf" = x""yes; then :
54709 cat >>confdefs.h <<_ACEOF
54710 #define HAVE__FABSF 1
54711 _ACEOF
54714 done
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54724 $as_echo_n "checking for fmodf declaration... " >&6; }
54725 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54726 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54731 ac_ext=cpp
54732 ac_cpp='$CXXCPP $CPPFLAGS'
54733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54738 /* end confdefs.h. */
54739 #include <math.h>
54741 main ()
54743 fmodf(0, 0);
54745 return 0;
54747 _ACEOF
54748 if ac_fn_cxx_try_compile "$LINENO"; then :
54749 glibcxx_cv_func_fmodf_use=yes
54750 else
54751 glibcxx_cv_func_fmodf_use=no
54753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54754 ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54765 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54767 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54768 for ac_func in fmodf
54769 do :
54770 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54771 if test "x$ac_cv_func_fmodf" = x""yes; then :
54772 cat >>confdefs.h <<_ACEOF
54773 #define HAVE_FMODF 1
54774 _ACEOF
54777 done
54779 else
54781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54782 $as_echo_n "checking for _fmodf declaration... " >&6; }
54783 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54784 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54785 $as_echo_n "(cached) " >&6
54786 else
54789 ac_ext=cpp
54790 ac_cpp='$CXXCPP $CPPFLAGS'
54791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54796 /* end confdefs.h. */
54797 #include <math.h>
54799 main ()
54801 _fmodf(0, 0);
54803 return 0;
54805 _ACEOF
54806 if ac_fn_cxx_try_compile "$LINENO"; then :
54807 glibcxx_cv_func__fmodf_use=yes
54808 else
54809 glibcxx_cv_func__fmodf_use=no
54811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54812 ac_ext=c
54813 ac_cpp='$CPP $CPPFLAGS'
54814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54823 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54825 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54826 for ac_func in _fmodf
54827 do :
54828 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54829 if test "x$ac_cv_func__fmodf" = x""yes; then :
54830 cat >>confdefs.h <<_ACEOF
54831 #define HAVE__FMODF 1
54832 _ACEOF
54835 done
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54845 $as_echo_n "checking for frexpf declaration... " >&6; }
54846 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54847 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54848 $as_echo_n "(cached) " >&6
54849 else
54852 ac_ext=cpp
54853 ac_cpp='$CXXCPP $CPPFLAGS'
54854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54859 /* end confdefs.h. */
54860 #include <math.h>
54862 main ()
54864 frexpf(0, 0);
54866 return 0;
54868 _ACEOF
54869 if ac_fn_cxx_try_compile "$LINENO"; then :
54870 glibcxx_cv_func_frexpf_use=yes
54871 else
54872 glibcxx_cv_func_frexpf_use=no
54874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54875 ac_ext=c
54876 ac_cpp='$CPP $CPPFLAGS'
54877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54886 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54888 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54889 for ac_func in frexpf
54890 do :
54891 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54892 if test "x$ac_cv_func_frexpf" = x""yes; then :
54893 cat >>confdefs.h <<_ACEOF
54894 #define HAVE_FREXPF 1
54895 _ACEOF
54898 done
54900 else
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54903 $as_echo_n "checking for _frexpf declaration... " >&6; }
54904 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54905 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54906 $as_echo_n "(cached) " >&6
54907 else
54910 ac_ext=cpp
54911 ac_cpp='$CXXCPP $CPPFLAGS'
54912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54917 /* end confdefs.h. */
54918 #include <math.h>
54920 main ()
54922 _frexpf(0, 0);
54924 return 0;
54926 _ACEOF
54927 if ac_fn_cxx_try_compile "$LINENO"; then :
54928 glibcxx_cv_func__frexpf_use=yes
54929 else
54930 glibcxx_cv_func__frexpf_use=no
54932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54933 ac_ext=c
54934 ac_cpp='$CPP $CPPFLAGS'
54935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54944 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54946 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54947 for ac_func in _frexpf
54948 do :
54949 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54950 if test "x$ac_cv_func__frexpf" = x""yes; then :
54951 cat >>confdefs.h <<_ACEOF
54952 #define HAVE__FREXPF 1
54953 _ACEOF
54956 done
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54966 $as_echo_n "checking for hypotf declaration... " >&6; }
54967 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54968 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54969 $as_echo_n "(cached) " >&6
54970 else
54973 ac_ext=cpp
54974 ac_cpp='$CXXCPP $CPPFLAGS'
54975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54980 /* end confdefs.h. */
54981 #include <math.h>
54983 main ()
54985 hypotf(0, 0);
54987 return 0;
54989 _ACEOF
54990 if ac_fn_cxx_try_compile "$LINENO"; then :
54991 glibcxx_cv_func_hypotf_use=yes
54992 else
54993 glibcxx_cv_func_hypotf_use=no
54995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54996 ac_ext=c
54997 ac_cpp='$CPP $CPPFLAGS'
54998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55007 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55009 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55010 for ac_func in hypotf
55011 do :
55012 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55013 if test "x$ac_cv_func_hypotf" = x""yes; then :
55014 cat >>confdefs.h <<_ACEOF
55015 #define HAVE_HYPOTF 1
55016 _ACEOF
55019 done
55021 else
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55024 $as_echo_n "checking for _hypotf declaration... " >&6; }
55025 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55026 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55027 $as_echo_n "(cached) " >&6
55028 else
55031 ac_ext=cpp
55032 ac_cpp='$CXXCPP $CPPFLAGS'
55033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55038 /* end confdefs.h. */
55039 #include <math.h>
55041 main ()
55043 _hypotf(0, 0);
55045 return 0;
55047 _ACEOF
55048 if ac_fn_cxx_try_compile "$LINENO"; then :
55049 glibcxx_cv_func__hypotf_use=yes
55050 else
55051 glibcxx_cv_func__hypotf_use=no
55053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55054 ac_ext=c
55055 ac_cpp='$CPP $CPPFLAGS'
55056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55065 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55067 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55068 for ac_func in _hypotf
55069 do :
55070 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55071 if test "x$ac_cv_func__hypotf" = x""yes; then :
55072 cat >>confdefs.h <<_ACEOF
55073 #define HAVE__HYPOTF 1
55074 _ACEOF
55077 done
55086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55087 $as_echo_n "checking for ldexpf declaration... " >&6; }
55088 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55089 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55090 $as_echo_n "(cached) " >&6
55091 else
55094 ac_ext=cpp
55095 ac_cpp='$CXXCPP $CPPFLAGS'
55096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55101 /* end confdefs.h. */
55102 #include <math.h>
55104 main ()
55106 ldexpf(0, 0);
55108 return 0;
55110 _ACEOF
55111 if ac_fn_cxx_try_compile "$LINENO"; then :
55112 glibcxx_cv_func_ldexpf_use=yes
55113 else
55114 glibcxx_cv_func_ldexpf_use=no
55116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55117 ac_ext=c
55118 ac_cpp='$CPP $CPPFLAGS'
55119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55128 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55130 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55131 for ac_func in ldexpf
55132 do :
55133 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55134 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define HAVE_LDEXPF 1
55137 _ACEOF
55140 done
55142 else
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55145 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55146 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55147 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55148 $as_echo_n "(cached) " >&6
55149 else
55152 ac_ext=cpp
55153 ac_cpp='$CXXCPP $CPPFLAGS'
55154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55159 /* end confdefs.h. */
55160 #include <math.h>
55162 main ()
55164 _ldexpf(0, 0);
55166 return 0;
55168 _ACEOF
55169 if ac_fn_cxx_try_compile "$LINENO"; then :
55170 glibcxx_cv_func__ldexpf_use=yes
55171 else
55172 glibcxx_cv_func__ldexpf_use=no
55174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_ext=c
55176 ac_cpp='$CPP $CPPFLAGS'
55177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55186 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55188 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55189 for ac_func in _ldexpf
55190 do :
55191 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55192 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define HAVE__LDEXPF 1
55195 _ACEOF
55198 done
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55208 $as_echo_n "checking for logf declaration... " >&6; }
55209 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55210 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55211 $as_echo_n "(cached) " >&6
55212 else
55215 ac_ext=cpp
55216 ac_cpp='$CXXCPP $CPPFLAGS'
55217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222 /* end confdefs.h. */
55223 #include <math.h>
55224 #ifdef HAVE_IEEEFP_H
55225 #include <ieeefp.h>
55226 #endif
55229 main ()
55231 logf(0);
55233 return 0;
55235 _ACEOF
55236 if ac_fn_cxx_try_compile "$LINENO"; then :
55237 glibcxx_cv_func_logf_use=yes
55238 else
55239 glibcxx_cv_func_logf_use=no
55241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55253 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55255 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55256 for ac_func in logf
55257 do :
55258 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55259 if test "x$ac_cv_func_logf" = x""yes; then :
55260 cat >>confdefs.h <<_ACEOF
55261 #define HAVE_LOGF 1
55262 _ACEOF
55265 done
55267 else
55269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55270 $as_echo_n "checking for _logf declaration... " >&6; }
55271 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55272 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55273 $as_echo_n "(cached) " >&6
55274 else
55277 ac_ext=cpp
55278 ac_cpp='$CXXCPP $CPPFLAGS'
55279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55284 /* end confdefs.h. */
55285 #include <math.h>
55286 #ifdef HAVE_IEEEFP_H
55287 #include <ieeefp.h>
55288 #endif
55291 main ()
55293 _logf(0);
55295 return 0;
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func__logf_use=yes
55300 else
55301 glibcxx_cv_func__logf_use=no
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55315 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55317 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55318 for ac_func in _logf
55319 do :
55320 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55321 if test "x$ac_cv_func__logf" = x""yes; then :
55322 cat >>confdefs.h <<_ACEOF
55323 #define HAVE__LOGF 1
55324 _ACEOF
55327 done
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55337 $as_echo_n "checking for log10f declaration... " >&6; }
55338 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55339 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55358 main ()
55360 log10f(0);
55362 return 0;
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func_log10f_use=yes
55367 else
55368 glibcxx_cv_func_log10f_use=no
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55382 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55384 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55385 for ac_func in log10f
55386 do :
55387 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55388 if test "x$ac_cv_func_log10f" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE_LOG10F 1
55391 _ACEOF
55394 done
55396 else
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55399 $as_echo_n "checking for _log10f declaration... " >&6; }
55400 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55401 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55420 main ()
55422 _log10f(0);
55424 return 0;
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func__log10f_use=yes
55429 else
55430 glibcxx_cv_func__log10f_use=no
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55444 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55446 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55447 for ac_func in _log10f
55448 do :
55449 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55450 if test "x$ac_cv_func__log10f" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE__LOG10F 1
55453 _ACEOF
55456 done
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55466 $as_echo_n "checking for modff declaration... " >&6; }
55467 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55468 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55483 main ()
55485 modff(0, 0);
55487 return 0;
55489 _ACEOF
55490 if ac_fn_cxx_try_compile "$LINENO"; then :
55491 glibcxx_cv_func_modff_use=yes
55492 else
55493 glibcxx_cv_func_modff_use=no
55495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55496 ac_ext=c
55497 ac_cpp='$CPP $CPPFLAGS'
55498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55507 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55509 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55510 for ac_func in modff
55511 do :
55512 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55513 if test "x$ac_cv_func_modff" = x""yes; then :
55514 cat >>confdefs.h <<_ACEOF
55515 #define HAVE_MODFF 1
55516 _ACEOF
55519 done
55521 else
55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55524 $as_echo_n "checking for _modff declaration... " >&6; }
55525 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55526 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55527 $as_echo_n "(cached) " >&6
55528 else
55531 ac_ext=cpp
55532 ac_cpp='$CXXCPP $CPPFLAGS'
55533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55538 /* end confdefs.h. */
55539 #include <math.h>
55541 main ()
55543 _modff(0, 0);
55545 return 0;
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func__modff_use=yes
55550 else
55551 glibcxx_cv_func__modff_use=no
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55565 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55567 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55568 for ac_func in _modff
55569 do :
55570 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55571 if test "x$ac_cv_func__modff" = x""yes; then :
55572 cat >>confdefs.h <<_ACEOF
55573 #define HAVE__MODFF 1
55574 _ACEOF
55577 done
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55587 $as_echo_n "checking for modf declaration... " >&6; }
55588 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55589 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55590 $as_echo_n "(cached) " >&6
55591 else
55594 ac_ext=cpp
55595 ac_cpp='$CXXCPP $CPPFLAGS'
55596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55601 /* end confdefs.h. */
55602 #include <math.h>
55604 main ()
55606 modf(0, 0);
55608 return 0;
55610 _ACEOF
55611 if ac_fn_cxx_try_compile "$LINENO"; then :
55612 glibcxx_cv_func_modf_use=yes
55613 else
55614 glibcxx_cv_func_modf_use=no
55616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55617 ac_ext=c
55618 ac_cpp='$CPP $CPPFLAGS'
55619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55628 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55630 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55631 for ac_func in modf
55632 do :
55633 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55634 if test "x$ac_cv_func_modf" = x""yes; then :
55635 cat >>confdefs.h <<_ACEOF
55636 #define HAVE_MODF 1
55637 _ACEOF
55640 done
55642 else
55644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55645 $as_echo_n "checking for _modf declaration... " >&6; }
55646 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55647 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55648 $as_echo_n "(cached) " >&6
55649 else
55652 ac_ext=cpp
55653 ac_cpp='$CXXCPP $CPPFLAGS'
55654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55659 /* end confdefs.h. */
55660 #include <math.h>
55662 main ()
55664 _modf(0, 0);
55666 return 0;
55668 _ACEOF
55669 if ac_fn_cxx_try_compile "$LINENO"; then :
55670 glibcxx_cv_func__modf_use=yes
55671 else
55672 glibcxx_cv_func__modf_use=no
55674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55675 ac_ext=c
55676 ac_cpp='$CPP $CPPFLAGS'
55677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55686 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55688 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55689 for ac_func in _modf
55690 do :
55691 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55692 if test "x$ac_cv_func__modf" = x""yes; then :
55693 cat >>confdefs.h <<_ACEOF
55694 #define HAVE__MODF 1
55695 _ACEOF
55698 done
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55708 $as_echo_n "checking for powf declaration... " >&6; }
55709 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55710 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55711 $as_echo_n "(cached) " >&6
55712 else
55715 ac_ext=cpp
55716 ac_cpp='$CXXCPP $CPPFLAGS'
55717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55722 /* end confdefs.h. */
55723 #include <math.h>
55725 main ()
55727 powf(0, 0);
55729 return 0;
55731 _ACEOF
55732 if ac_fn_cxx_try_compile "$LINENO"; then :
55733 glibcxx_cv_func_powf_use=yes
55734 else
55735 glibcxx_cv_func_powf_use=no
55737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55738 ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55749 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55751 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55752 for ac_func in powf
55753 do :
55754 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55755 if test "x$ac_cv_func_powf" = x""yes; then :
55756 cat >>confdefs.h <<_ACEOF
55757 #define HAVE_POWF 1
55758 _ACEOF
55761 done
55763 else
55765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55766 $as_echo_n "checking for _powf declaration... " >&6; }
55767 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55768 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55769 $as_echo_n "(cached) " >&6
55770 else
55773 ac_ext=cpp
55774 ac_cpp='$CXXCPP $CPPFLAGS'
55775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55780 /* end confdefs.h. */
55781 #include <math.h>
55783 main ()
55785 _powf(0, 0);
55787 return 0;
55789 _ACEOF
55790 if ac_fn_cxx_try_compile "$LINENO"; then :
55791 glibcxx_cv_func__powf_use=yes
55792 else
55793 glibcxx_cv_func__powf_use=no
55795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55796 ac_ext=c
55797 ac_cpp='$CPP $CPPFLAGS'
55798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55807 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55809 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55810 for ac_func in _powf
55811 do :
55812 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55813 if test "x$ac_cv_func__powf" = x""yes; then :
55814 cat >>confdefs.h <<_ACEOF
55815 #define HAVE__POWF 1
55816 _ACEOF
55819 done
55828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55829 $as_echo_n "checking for sqrtf declaration... " >&6; }
55830 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55831 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55832 $as_echo_n "(cached) " >&6
55833 else
55836 ac_ext=cpp
55837 ac_cpp='$CXXCPP $CPPFLAGS'
55838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55843 /* end confdefs.h. */
55844 #include <math.h>
55845 #ifdef HAVE_IEEEFP_H
55846 #include <ieeefp.h>
55847 #endif
55850 main ()
55852 sqrtf(0);
55854 return 0;
55856 _ACEOF
55857 if ac_fn_cxx_try_compile "$LINENO"; then :
55858 glibcxx_cv_func_sqrtf_use=yes
55859 else
55860 glibcxx_cv_func_sqrtf_use=no
55862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55863 ac_ext=c
55864 ac_cpp='$CPP $CPPFLAGS'
55865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55874 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55876 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55877 for ac_func in sqrtf
55878 do :
55879 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55880 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55881 cat >>confdefs.h <<_ACEOF
55882 #define HAVE_SQRTF 1
55883 _ACEOF
55886 done
55888 else
55890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55891 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55892 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55893 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55894 $as_echo_n "(cached) " >&6
55895 else
55898 ac_ext=cpp
55899 ac_cpp='$CXXCPP $CPPFLAGS'
55900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55905 /* end confdefs.h. */
55906 #include <math.h>
55907 #ifdef HAVE_IEEEFP_H
55908 #include <ieeefp.h>
55909 #endif
55912 main ()
55914 _sqrtf(0);
55916 return 0;
55918 _ACEOF
55919 if ac_fn_cxx_try_compile "$LINENO"; then :
55920 glibcxx_cv_func__sqrtf_use=yes
55921 else
55922 glibcxx_cv_func__sqrtf_use=no
55924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55925 ac_ext=c
55926 ac_cpp='$CPP $CPPFLAGS'
55927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55936 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55938 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55939 for ac_func in _sqrtf
55940 do :
55941 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55942 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55943 cat >>confdefs.h <<_ACEOF
55944 #define HAVE__SQRTF 1
55945 _ACEOF
55948 done
55957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55958 $as_echo_n "checking for sincosf declaration... " >&6; }
55959 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55960 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55961 $as_echo_n "(cached) " >&6
55962 else
55965 ac_ext=cpp
55966 ac_cpp='$CXXCPP $CPPFLAGS'
55967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55972 /* end confdefs.h. */
55973 #include <math.h>
55975 main ()
55977 sincosf(0, 0, 0);
55979 return 0;
55981 _ACEOF
55982 if ac_fn_cxx_try_compile "$LINENO"; then :
55983 glibcxx_cv_func_sincosf_use=yes
55984 else
55985 glibcxx_cv_func_sincosf_use=no
55987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55988 ac_ext=c
55989 ac_cpp='$CPP $CPPFLAGS'
55990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55999 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56001 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56002 for ac_func in sincosf
56003 do :
56004 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56005 if test "x$ac_cv_func_sincosf" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define HAVE_SINCOSF 1
56008 _ACEOF
56011 done
56013 else
56015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56016 $as_echo_n "checking for _sincosf declaration... " >&6; }
56017 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56018 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56019 $as_echo_n "(cached) " >&6
56020 else
56023 ac_ext=cpp
56024 ac_cpp='$CXXCPP $CPPFLAGS'
56025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56030 /* end confdefs.h. */
56031 #include <math.h>
56033 main ()
56035 _sincosf(0, 0, 0);
56037 return 0;
56039 _ACEOF
56040 if ac_fn_cxx_try_compile "$LINENO"; then :
56041 glibcxx_cv_func__sincosf_use=yes
56042 else
56043 glibcxx_cv_func__sincosf_use=no
56045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_ext=c
56047 ac_cpp='$CPP $CPPFLAGS'
56048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56057 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56059 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56060 for ac_func in _sincosf
56061 do :
56062 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56063 if test "x$ac_cv_func__sincosf" = x""yes; then :
56064 cat >>confdefs.h <<_ACEOF
56065 #define HAVE__SINCOSF 1
56066 _ACEOF
56069 done
56078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56079 $as_echo_n "checking for finitef declaration... " >&6; }
56080 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56081 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56082 $as_echo_n "(cached) " >&6
56083 else
56086 ac_ext=cpp
56087 ac_cpp='$CXXCPP $CPPFLAGS'
56088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56093 /* end confdefs.h. */
56094 #include <math.h>
56095 #ifdef HAVE_IEEEFP_H
56096 #include <ieeefp.h>
56097 #endif
56100 main ()
56102 finitef(0);
56104 return 0;
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func_finitef_use=yes
56109 else
56110 glibcxx_cv_func_finitef_use=no
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56124 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56126 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56127 for ac_func in finitef
56128 do :
56129 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56130 if test "x$ac_cv_func_finitef" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE_FINITEF 1
56133 _ACEOF
56136 done
56138 else
56140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56141 $as_echo_n "checking for _finitef declaration... " >&6; }
56142 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56143 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56144 $as_echo_n "(cached) " >&6
56145 else
56148 ac_ext=cpp
56149 ac_cpp='$CXXCPP $CPPFLAGS'
56150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56155 /* end confdefs.h. */
56156 #include <math.h>
56157 #ifdef HAVE_IEEEFP_H
56158 #include <ieeefp.h>
56159 #endif
56162 main ()
56164 _finitef(0);
56166 return 0;
56168 _ACEOF
56169 if ac_fn_cxx_try_compile "$LINENO"; then :
56170 glibcxx_cv_func__finitef_use=yes
56171 else
56172 glibcxx_cv_func__finitef_use=no
56174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56175 ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56186 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56188 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56189 for ac_func in _finitef
56190 do :
56191 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56192 if test "x$ac_cv_func__finitef" = x""yes; then :
56193 cat >>confdefs.h <<_ACEOF
56194 #define HAVE__FINITEF 1
56195 _ACEOF
56198 done
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56208 $as_echo_n "checking for long double trig functions... " >&6; }
56209 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56210 $as_echo_n "(cached) " >&6
56211 else
56214 ac_ext=cpp
56215 ac_cpp='$CXXCPP $CPPFLAGS'
56216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56221 /* end confdefs.h. */
56222 #include <math.h>
56224 main ()
56226 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56228 return 0;
56230 _ACEOF
56231 if ac_fn_cxx_try_compile "$LINENO"; then :
56232 glibcxx_cv_func_long_double_trig_use=yes
56233 else
56234 glibcxx_cv_func_long_double_trig_use=no
56236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56237 ac_ext=c
56238 ac_cpp='$CPP $CPPFLAGS'
56239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56246 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56247 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56248 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56249 do :
56250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56252 eval as_val=\$$as_ac_var
56253 if test "x$as_val" = x""yes; then :
56254 cat >>confdefs.h <<_ACEOF
56255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56256 _ACEOF
56259 done
56261 else
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56263 $as_echo_n "checking for _long double trig functions... " >&6; }
56264 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56265 $as_echo_n "(cached) " >&6
56266 else
56269 ac_ext=cpp
56270 ac_cpp='$CXXCPP $CPPFLAGS'
56271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56276 /* end confdefs.h. */
56277 #include <math.h>
56279 main ()
56281 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56283 return 0;
56285 _ACEOF
56286 if ac_fn_cxx_try_compile "$LINENO"; then :
56287 glibcxx_cv_func__long_double_trig_use=yes
56288 else
56289 glibcxx_cv_func__long_double_trig_use=no
56291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56292 ac_ext=c
56293 ac_cpp='$CPP $CPPFLAGS'
56294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56301 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56302 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56303 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56304 do :
56305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56307 eval as_val=\$$as_ac_var
56308 if test "x$as_val" = x""yes; then :
56309 cat >>confdefs.h <<_ACEOF
56310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56311 _ACEOF
56314 done
56323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56324 $as_echo_n "checking for long double round functions... " >&6; }
56325 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56326 $as_echo_n "(cached) " >&6
56327 else
56330 ac_ext=cpp
56331 ac_cpp='$CXXCPP $CPPFLAGS'
56332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56337 /* end confdefs.h. */
56338 #include <math.h>
56340 main ()
56342 ceill (0); floorl (0);
56344 return 0;
56346 _ACEOF
56347 if ac_fn_cxx_try_compile "$LINENO"; then :
56348 glibcxx_cv_func_long_double_round_use=yes
56349 else
56350 glibcxx_cv_func_long_double_round_use=no
56352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56353 ac_ext=c
56354 ac_cpp='$CPP $CPPFLAGS'
56355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56362 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56363 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56364 for ac_func in ceill floorl
56365 do :
56366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56368 eval as_val=\$$as_ac_var
56369 if test "x$as_val" = x""yes; then :
56370 cat >>confdefs.h <<_ACEOF
56371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56372 _ACEOF
56375 done
56377 else
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56379 $as_echo_n "checking for _long double round functions... " >&6; }
56380 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56382 else
56385 ac_ext=cpp
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56393 #include <math.h>
56395 main ()
56397 _ceill (0); _floorl (0);
56399 return 0;
56401 _ACEOF
56402 if ac_fn_cxx_try_compile "$LINENO"; then :
56403 glibcxx_cv_func__long_double_round_use=yes
56404 else
56405 glibcxx_cv_func__long_double_round_use=no
56407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56417 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56418 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56419 for ac_func in _ceill _floorl
56420 do :
56421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56423 eval as_val=\$$as_ac_var
56424 if test "x$as_val" = x""yes; then :
56425 cat >>confdefs.h <<_ACEOF
56426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56427 _ACEOF
56430 done
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56441 $as_echo_n "checking for isnanl declaration... " >&6; }
56442 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56443 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56444 $as_echo_n "(cached) " >&6
56445 else
56448 ac_ext=cpp
56449 ac_cpp='$CXXCPP $CPPFLAGS'
56450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56455 /* end confdefs.h. */
56456 #include <math.h>
56457 #ifdef HAVE_IEEEFP_H
56458 #include <ieeefp.h>
56459 #endif
56462 main ()
56464 isnanl(0);
56466 return 0;
56468 _ACEOF
56469 if ac_fn_cxx_try_compile "$LINENO"; then :
56470 glibcxx_cv_func_isnanl_use=yes
56471 else
56472 glibcxx_cv_func_isnanl_use=no
56474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56475 ac_ext=c
56476 ac_cpp='$CPP $CPPFLAGS'
56477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56486 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56488 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56489 for ac_func in isnanl
56490 do :
56491 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56492 if test "x$ac_cv_func_isnanl" = x""yes; then :
56493 cat >>confdefs.h <<_ACEOF
56494 #define HAVE_ISNANL 1
56495 _ACEOF
56498 done
56500 else
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56503 $as_echo_n "checking for _isnanl declaration... " >&6; }
56504 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56505 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56506 $as_echo_n "(cached) " >&6
56507 else
56510 ac_ext=cpp
56511 ac_cpp='$CXXCPP $CPPFLAGS'
56512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56517 /* end confdefs.h. */
56518 #include <math.h>
56519 #ifdef HAVE_IEEEFP_H
56520 #include <ieeefp.h>
56521 #endif
56524 main ()
56526 _isnanl(0);
56528 return 0;
56530 _ACEOF
56531 if ac_fn_cxx_try_compile "$LINENO"; then :
56532 glibcxx_cv_func__isnanl_use=yes
56533 else
56534 glibcxx_cv_func__isnanl_use=no
56536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56537 ac_ext=c
56538 ac_cpp='$CPP $CPPFLAGS'
56539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56548 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56550 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56551 for ac_func in _isnanl
56552 do :
56553 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56554 if test "x$ac_cv_func__isnanl" = x""yes; then :
56555 cat >>confdefs.h <<_ACEOF
56556 #define HAVE__ISNANL 1
56557 _ACEOF
56560 done
56569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56570 $as_echo_n "checking for isinfl declaration... " >&6; }
56571 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56572 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56573 $as_echo_n "(cached) " >&6
56574 else
56577 ac_ext=cpp
56578 ac_cpp='$CXXCPP $CPPFLAGS'
56579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56584 /* end confdefs.h. */
56585 #include <math.h>
56586 #ifdef HAVE_IEEEFP_H
56587 #include <ieeefp.h>
56588 #endif
56591 main ()
56593 isinfl(0);
56595 return 0;
56597 _ACEOF
56598 if ac_fn_cxx_try_compile "$LINENO"; then :
56599 glibcxx_cv_func_isinfl_use=yes
56600 else
56601 glibcxx_cv_func_isinfl_use=no
56603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56604 ac_ext=c
56605 ac_cpp='$CPP $CPPFLAGS'
56606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56615 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56617 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56618 for ac_func in isinfl
56619 do :
56620 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56621 if test "x$ac_cv_func_isinfl" = x""yes; then :
56622 cat >>confdefs.h <<_ACEOF
56623 #define HAVE_ISINFL 1
56624 _ACEOF
56627 done
56629 else
56631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56632 $as_echo_n "checking for _isinfl declaration... " >&6; }
56633 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56634 if test "${glibcxx_cv_func__isinfl_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>
56648 #ifdef HAVE_IEEEFP_H
56649 #include <ieeefp.h>
56650 #endif
56653 main ()
56655 _isinfl(0);
56657 return 0;
56659 _ACEOF
56660 if ac_fn_cxx_try_compile "$LINENO"; then :
56661 glibcxx_cv_func__isinfl_use=yes
56662 else
56663 glibcxx_cv_func__isinfl_use=no
56665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56666 ac_ext=c
56667 ac_cpp='$CPP $CPPFLAGS'
56668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56677 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56679 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56680 for ac_func in _isinfl
56681 do :
56682 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56683 if test "x$ac_cv_func__isinfl" = x""yes; then :
56684 cat >>confdefs.h <<_ACEOF
56685 #define HAVE__ISINFL 1
56686 _ACEOF
56689 done
56698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56699 $as_echo_n "checking for atan2l declaration... " >&6; }
56700 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56701 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56702 $as_echo_n "(cached) " >&6
56703 else
56706 ac_ext=cpp
56707 ac_cpp='$CXXCPP $CPPFLAGS'
56708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56713 /* end confdefs.h. */
56714 #include <math.h>
56716 main ()
56718 atan2l(0, 0);
56720 return 0;
56722 _ACEOF
56723 if ac_fn_cxx_try_compile "$LINENO"; then :
56724 glibcxx_cv_func_atan2l_use=yes
56725 else
56726 glibcxx_cv_func_atan2l_use=no
56728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56729 ac_ext=c
56730 ac_cpp='$CPP $CPPFLAGS'
56731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56740 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56742 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56743 for ac_func in atan2l
56744 do :
56745 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56746 if test "x$ac_cv_func_atan2l" = x""yes; then :
56747 cat >>confdefs.h <<_ACEOF
56748 #define HAVE_ATAN2L 1
56749 _ACEOF
56752 done
56754 else
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56757 $as_echo_n "checking for _atan2l declaration... " >&6; }
56758 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56759 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56760 $as_echo_n "(cached) " >&6
56761 else
56764 ac_ext=cpp
56765 ac_cpp='$CXXCPP $CPPFLAGS'
56766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56771 /* end confdefs.h. */
56772 #include <math.h>
56774 main ()
56776 _atan2l(0, 0);
56778 return 0;
56780 _ACEOF
56781 if ac_fn_cxx_try_compile "$LINENO"; then :
56782 glibcxx_cv_func__atan2l_use=yes
56783 else
56784 glibcxx_cv_func__atan2l_use=no
56786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56787 ac_ext=c
56788 ac_cpp='$CPP $CPPFLAGS'
56789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56798 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56800 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56801 for ac_func in _atan2l
56802 do :
56803 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56804 if test "x$ac_cv_func__atan2l" = x""yes; then :
56805 cat >>confdefs.h <<_ACEOF
56806 #define HAVE__ATAN2L 1
56807 _ACEOF
56810 done
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56820 $as_echo_n "checking for expl declaration... " >&6; }
56821 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56822 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56836 #ifdef HAVE_IEEEFP_H
56837 #include <ieeefp.h>
56838 #endif
56841 main ()
56843 expl(0);
56845 return 0;
56847 _ACEOF
56848 if ac_fn_cxx_try_compile "$LINENO"; then :
56849 glibcxx_cv_func_expl_use=yes
56850 else
56851 glibcxx_cv_func_expl_use=no
56853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56854 ac_ext=c
56855 ac_cpp='$CPP $CPPFLAGS'
56856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56865 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56867 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56868 for ac_func in expl
56869 do :
56870 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56871 if test "x$ac_cv_func_expl" = x""yes; then :
56872 cat >>confdefs.h <<_ACEOF
56873 #define HAVE_EXPL 1
56874 _ACEOF
56877 done
56879 else
56881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56882 $as_echo_n "checking for _expl declaration... " >&6; }
56883 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56884 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56885 $as_echo_n "(cached) " >&6
56886 else
56889 ac_ext=cpp
56890 ac_cpp='$CXXCPP $CPPFLAGS'
56891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56896 /* end confdefs.h. */
56897 #include <math.h>
56898 #ifdef HAVE_IEEEFP_H
56899 #include <ieeefp.h>
56900 #endif
56903 main ()
56905 _expl(0);
56907 return 0;
56909 _ACEOF
56910 if ac_fn_cxx_try_compile "$LINENO"; then :
56911 glibcxx_cv_func__expl_use=yes
56912 else
56913 glibcxx_cv_func__expl_use=no
56915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56916 ac_ext=c
56917 ac_cpp='$CPP $CPPFLAGS'
56918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56927 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56929 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56930 for ac_func in _expl
56931 do :
56932 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56933 if test "x$ac_cv_func__expl" = x""yes; then :
56934 cat >>confdefs.h <<_ACEOF
56935 #define HAVE__EXPL 1
56936 _ACEOF
56939 done
56948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56949 $as_echo_n "checking for fabsl declaration... " >&6; }
56950 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56951 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56952 $as_echo_n "(cached) " >&6
56953 else
56956 ac_ext=cpp
56957 ac_cpp='$CXXCPP $CPPFLAGS'
56958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56963 /* end confdefs.h. */
56964 #include <math.h>
56965 #ifdef HAVE_IEEEFP_H
56966 #include <ieeefp.h>
56967 #endif
56970 main ()
56972 fabsl(0);
56974 return 0;
56976 _ACEOF
56977 if ac_fn_cxx_try_compile "$LINENO"; then :
56978 glibcxx_cv_func_fabsl_use=yes
56979 else
56980 glibcxx_cv_func_fabsl_use=no
56982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56983 ac_ext=c
56984 ac_cpp='$CPP $CPPFLAGS'
56985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56994 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56996 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56997 for ac_func in fabsl
56998 do :
56999 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57000 if test "x$ac_cv_func_fabsl" = x""yes; then :
57001 cat >>confdefs.h <<_ACEOF
57002 #define HAVE_FABSL 1
57003 _ACEOF
57006 done
57008 else
57010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57011 $as_echo_n "checking for _fabsl declaration... " >&6; }
57012 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57013 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57014 $as_echo_n "(cached) " >&6
57015 else
57018 ac_ext=cpp
57019 ac_cpp='$CXXCPP $CPPFLAGS'
57020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57025 /* end confdefs.h. */
57026 #include <math.h>
57027 #ifdef HAVE_IEEEFP_H
57028 #include <ieeefp.h>
57029 #endif
57032 main ()
57034 _fabsl(0);
57036 return 0;
57038 _ACEOF
57039 if ac_fn_cxx_try_compile "$LINENO"; then :
57040 glibcxx_cv_func__fabsl_use=yes
57041 else
57042 glibcxx_cv_func__fabsl_use=no
57044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57045 ac_ext=c
57046 ac_cpp='$CPP $CPPFLAGS'
57047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57056 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57058 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57059 for ac_func in _fabsl
57060 do :
57061 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57062 if test "x$ac_cv_func__fabsl" = x""yes; then :
57063 cat >>confdefs.h <<_ACEOF
57064 #define HAVE__FABSL 1
57065 _ACEOF
57068 done
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57078 $as_echo_n "checking for fmodl declaration... " >&6; }
57079 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57080 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57081 $as_echo_n "(cached) " >&6
57082 else
57085 ac_ext=cpp
57086 ac_cpp='$CXXCPP $CPPFLAGS'
57087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57092 /* end confdefs.h. */
57093 #include <math.h>
57095 main ()
57097 fmodl(0, 0);
57099 return 0;
57101 _ACEOF
57102 if ac_fn_cxx_try_compile "$LINENO"; then :
57103 glibcxx_cv_func_fmodl_use=yes
57104 else
57105 glibcxx_cv_func_fmodl_use=no
57107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57108 ac_ext=c
57109 ac_cpp='$CPP $CPPFLAGS'
57110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57119 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57121 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57122 for ac_func in fmodl
57123 do :
57124 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57125 if test "x$ac_cv_func_fmodl" = x""yes; then :
57126 cat >>confdefs.h <<_ACEOF
57127 #define HAVE_FMODL 1
57128 _ACEOF
57131 done
57133 else
57135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57136 $as_echo_n "checking for _fmodl declaration... " >&6; }
57137 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57138 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57139 $as_echo_n "(cached) " >&6
57140 else
57143 ac_ext=cpp
57144 ac_cpp='$CXXCPP $CPPFLAGS'
57145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57150 /* end confdefs.h. */
57151 #include <math.h>
57153 main ()
57155 _fmodl(0, 0);
57157 return 0;
57159 _ACEOF
57160 if ac_fn_cxx_try_compile "$LINENO"; then :
57161 glibcxx_cv_func__fmodl_use=yes
57162 else
57163 glibcxx_cv_func__fmodl_use=no
57165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57166 ac_ext=c
57167 ac_cpp='$CPP $CPPFLAGS'
57168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57177 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57179 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57180 for ac_func in _fmodl
57181 do :
57182 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57183 if test "x$ac_cv_func__fmodl" = x""yes; then :
57184 cat >>confdefs.h <<_ACEOF
57185 #define HAVE__FMODL 1
57186 _ACEOF
57189 done
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57199 $as_echo_n "checking for frexpl declaration... " >&6; }
57200 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57201 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57202 $as_echo_n "(cached) " >&6
57203 else
57206 ac_ext=cpp
57207 ac_cpp='$CXXCPP $CPPFLAGS'
57208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57213 /* end confdefs.h. */
57214 #include <math.h>
57216 main ()
57218 frexpl(0, 0);
57220 return 0;
57222 _ACEOF
57223 if ac_fn_cxx_try_compile "$LINENO"; then :
57224 glibcxx_cv_func_frexpl_use=yes
57225 else
57226 glibcxx_cv_func_frexpl_use=no
57228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57229 ac_ext=c
57230 ac_cpp='$CPP $CPPFLAGS'
57231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57240 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57242 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57243 for ac_func in frexpl
57244 do :
57245 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57246 if test "x$ac_cv_func_frexpl" = x""yes; then :
57247 cat >>confdefs.h <<_ACEOF
57248 #define HAVE_FREXPL 1
57249 _ACEOF
57252 done
57254 else
57256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57257 $as_echo_n "checking for _frexpl declaration... " >&6; }
57258 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57259 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57260 $as_echo_n "(cached) " >&6
57261 else
57264 ac_ext=cpp
57265 ac_cpp='$CXXCPP $CPPFLAGS'
57266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57271 /* end confdefs.h. */
57272 #include <math.h>
57274 main ()
57276 _frexpl(0, 0);
57278 return 0;
57280 _ACEOF
57281 if ac_fn_cxx_try_compile "$LINENO"; then :
57282 glibcxx_cv_func__frexpl_use=yes
57283 else
57284 glibcxx_cv_func__frexpl_use=no
57286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57287 ac_ext=c
57288 ac_cpp='$CPP $CPPFLAGS'
57289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57298 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57300 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57301 for ac_func in _frexpl
57302 do :
57303 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57304 if test "x$ac_cv_func__frexpl" = x""yes; then :
57305 cat >>confdefs.h <<_ACEOF
57306 #define HAVE__FREXPL 1
57307 _ACEOF
57310 done
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57320 $as_echo_n "checking for hypotl declaration... " >&6; }
57321 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57322 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57323 $as_echo_n "(cached) " >&6
57324 else
57327 ac_ext=cpp
57328 ac_cpp='$CXXCPP $CPPFLAGS'
57329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334 /* end confdefs.h. */
57335 #include <math.h>
57337 main ()
57339 hypotl(0, 0);
57341 return 0;
57343 _ACEOF
57344 if ac_fn_cxx_try_compile "$LINENO"; then :
57345 glibcxx_cv_func_hypotl_use=yes
57346 else
57347 glibcxx_cv_func_hypotl_use=no
57349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57350 ac_ext=c
57351 ac_cpp='$CPP $CPPFLAGS'
57352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57361 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57363 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57364 for ac_func in hypotl
57365 do :
57366 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57367 if test "x$ac_cv_func_hypotl" = x""yes; then :
57368 cat >>confdefs.h <<_ACEOF
57369 #define HAVE_HYPOTL 1
57370 _ACEOF
57373 done
57375 else
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57378 $as_echo_n "checking for _hypotl declaration... " >&6; }
57379 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57380 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57381 $as_echo_n "(cached) " >&6
57382 else
57385 ac_ext=cpp
57386 ac_cpp='$CXXCPP $CPPFLAGS'
57387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57392 /* end confdefs.h. */
57393 #include <math.h>
57395 main ()
57397 _hypotl(0, 0);
57399 return 0;
57401 _ACEOF
57402 if ac_fn_cxx_try_compile "$LINENO"; then :
57403 glibcxx_cv_func__hypotl_use=yes
57404 else
57405 glibcxx_cv_func__hypotl_use=no
57407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57408 ac_ext=c
57409 ac_cpp='$CPP $CPPFLAGS'
57410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57419 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57421 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57422 for ac_func in _hypotl
57423 do :
57424 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57425 if test "x$ac_cv_func__hypotl" = x""yes; then :
57426 cat >>confdefs.h <<_ACEOF
57427 #define HAVE__HYPOTL 1
57428 _ACEOF
57431 done
57440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57441 $as_echo_n "checking for ldexpl declaration... " >&6; }
57442 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57443 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57444 $as_echo_n "(cached) " >&6
57445 else
57448 ac_ext=cpp
57449 ac_cpp='$CXXCPP $CPPFLAGS'
57450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57455 /* end confdefs.h. */
57456 #include <math.h>
57458 main ()
57460 ldexpl(0, 0);
57462 return 0;
57464 _ACEOF
57465 if ac_fn_cxx_try_compile "$LINENO"; then :
57466 glibcxx_cv_func_ldexpl_use=yes
57467 else
57468 glibcxx_cv_func_ldexpl_use=no
57470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57471 ac_ext=c
57472 ac_cpp='$CPP $CPPFLAGS'
57473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57482 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57484 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57485 for ac_func in ldexpl
57486 do :
57487 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57488 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57489 cat >>confdefs.h <<_ACEOF
57490 #define HAVE_LDEXPL 1
57491 _ACEOF
57494 done
57496 else
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57499 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57500 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57501 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57502 $as_echo_n "(cached) " >&6
57503 else
57506 ac_ext=cpp
57507 ac_cpp='$CXXCPP $CPPFLAGS'
57508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57513 /* end confdefs.h. */
57514 #include <math.h>
57516 main ()
57518 _ldexpl(0, 0);
57520 return 0;
57522 _ACEOF
57523 if ac_fn_cxx_try_compile "$LINENO"; then :
57524 glibcxx_cv_func__ldexpl_use=yes
57525 else
57526 glibcxx_cv_func__ldexpl_use=no
57528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57529 ac_ext=c
57530 ac_cpp='$CPP $CPPFLAGS'
57531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57540 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57542 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57543 for ac_func in _ldexpl
57544 do :
57545 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57546 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57547 cat >>confdefs.h <<_ACEOF
57548 #define HAVE__LDEXPL 1
57549 _ACEOF
57552 done
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57562 $as_echo_n "checking for logl declaration... " >&6; }
57563 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57564 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57583 main ()
57585 logl(0);
57587 return 0;
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func_logl_use=yes
57592 else
57593 glibcxx_cv_func_logl_use=no
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57607 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57609 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57610 for ac_func in logl
57611 do :
57612 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57613 if test "x$ac_cv_func_logl" = x""yes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE_LOGL 1
57616 _ACEOF
57619 done
57621 else
57623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57624 $as_echo_n "checking for _logl declaration... " >&6; }
57625 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57626 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57627 $as_echo_n "(cached) " >&6
57628 else
57631 ac_ext=cpp
57632 ac_cpp='$CXXCPP $CPPFLAGS'
57633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57638 /* end confdefs.h. */
57639 #include <math.h>
57640 #ifdef HAVE_IEEEFP_H
57641 #include <ieeefp.h>
57642 #endif
57645 main ()
57647 _logl(0);
57649 return 0;
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func__logl_use=yes
57654 else
57655 glibcxx_cv_func__logl_use=no
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57669 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57671 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57672 for ac_func in _logl
57673 do :
57674 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57675 if test "x$ac_cv_func__logl" = x""yes; then :
57676 cat >>confdefs.h <<_ACEOF
57677 #define HAVE__LOGL 1
57678 _ACEOF
57681 done
57690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57691 $as_echo_n "checking for log10l declaration... " >&6; }
57692 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57693 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57694 $as_echo_n "(cached) " >&6
57695 else
57698 ac_ext=cpp
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57705 /* end confdefs.h. */
57706 #include <math.h>
57707 #ifdef HAVE_IEEEFP_H
57708 #include <ieeefp.h>
57709 #endif
57712 main ()
57714 log10l(0);
57716 return 0;
57718 _ACEOF
57719 if ac_fn_cxx_try_compile "$LINENO"; then :
57720 glibcxx_cv_func_log10l_use=yes
57721 else
57722 glibcxx_cv_func_log10l_use=no
57724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57725 ac_ext=c
57726 ac_cpp='$CPP $CPPFLAGS'
57727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57736 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57738 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57739 for ac_func in log10l
57740 do :
57741 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57742 if test "x$ac_cv_func_log10l" = x""yes; then :
57743 cat >>confdefs.h <<_ACEOF
57744 #define HAVE_LOG10L 1
57745 _ACEOF
57748 done
57750 else
57752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57753 $as_echo_n "checking for _log10l declaration... " >&6; }
57754 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57755 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57756 $as_echo_n "(cached) " >&6
57757 else
57760 ac_ext=cpp
57761 ac_cpp='$CXXCPP $CPPFLAGS'
57762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57767 /* end confdefs.h. */
57768 #include <math.h>
57769 #ifdef HAVE_IEEEFP_H
57770 #include <ieeefp.h>
57771 #endif
57774 main ()
57776 _log10l(0);
57778 return 0;
57780 _ACEOF
57781 if ac_fn_cxx_try_compile "$LINENO"; then :
57782 glibcxx_cv_func__log10l_use=yes
57783 else
57784 glibcxx_cv_func__log10l_use=no
57786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57787 ac_ext=c
57788 ac_cpp='$CPP $CPPFLAGS'
57789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57798 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57800 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57801 for ac_func in _log10l
57802 do :
57803 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57804 if test "x$ac_cv_func__log10l" = x""yes; then :
57805 cat >>confdefs.h <<_ACEOF
57806 #define HAVE__LOG10L 1
57807 _ACEOF
57810 done
57819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57820 $as_echo_n "checking for modfl declaration... " >&6; }
57821 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57822 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57823 $as_echo_n "(cached) " >&6
57824 else
57827 ac_ext=cpp
57828 ac_cpp='$CXXCPP $CPPFLAGS'
57829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57834 /* end confdefs.h. */
57835 #include <math.h>
57837 main ()
57839 modfl(0, 0);
57841 return 0;
57843 _ACEOF
57844 if ac_fn_cxx_try_compile "$LINENO"; then :
57845 glibcxx_cv_func_modfl_use=yes
57846 else
57847 glibcxx_cv_func_modfl_use=no
57849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57850 ac_ext=c
57851 ac_cpp='$CPP $CPPFLAGS'
57852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57861 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57863 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57864 for ac_func in modfl
57865 do :
57866 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57867 if test "x$ac_cv_func_modfl" = x""yes; then :
57868 cat >>confdefs.h <<_ACEOF
57869 #define HAVE_MODFL 1
57870 _ACEOF
57873 done
57875 else
57877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57878 $as_echo_n "checking for _modfl declaration... " >&6; }
57879 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57880 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57881 $as_echo_n "(cached) " >&6
57882 else
57885 ac_ext=cpp
57886 ac_cpp='$CXXCPP $CPPFLAGS'
57887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57892 /* end confdefs.h. */
57893 #include <math.h>
57895 main ()
57897 _modfl(0, 0);
57899 return 0;
57901 _ACEOF
57902 if ac_fn_cxx_try_compile "$LINENO"; then :
57903 glibcxx_cv_func__modfl_use=yes
57904 else
57905 glibcxx_cv_func__modfl_use=no
57907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57908 ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57919 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57921 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57922 for ac_func in _modfl
57923 do :
57924 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57925 if test "x$ac_cv_func__modfl" = x""yes; then :
57926 cat >>confdefs.h <<_ACEOF
57927 #define HAVE__MODFL 1
57928 _ACEOF
57931 done
57940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57941 $as_echo_n "checking for powl declaration... " >&6; }
57942 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57943 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57944 $as_echo_n "(cached) " >&6
57945 else
57948 ac_ext=cpp
57949 ac_cpp='$CXXCPP $CPPFLAGS'
57950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57955 /* end confdefs.h. */
57956 #include <math.h>
57958 main ()
57960 powl(0, 0);
57962 return 0;
57964 _ACEOF
57965 if ac_fn_cxx_try_compile "$LINENO"; then :
57966 glibcxx_cv_func_powl_use=yes
57967 else
57968 glibcxx_cv_func_powl_use=no
57970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57971 ac_ext=c
57972 ac_cpp='$CPP $CPPFLAGS'
57973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57982 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57984 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57985 for ac_func in powl
57986 do :
57987 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57988 if test "x$ac_cv_func_powl" = x""yes; then :
57989 cat >>confdefs.h <<_ACEOF
57990 #define HAVE_POWL 1
57991 _ACEOF
57994 done
57996 else
57998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57999 $as_echo_n "checking for _powl declaration... " >&6; }
58000 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58001 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58002 $as_echo_n "(cached) " >&6
58003 else
58006 ac_ext=cpp
58007 ac_cpp='$CXXCPP $CPPFLAGS'
58008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58013 /* end confdefs.h. */
58014 #include <math.h>
58016 main ()
58018 _powl(0, 0);
58020 return 0;
58022 _ACEOF
58023 if ac_fn_cxx_try_compile "$LINENO"; then :
58024 glibcxx_cv_func__powl_use=yes
58025 else
58026 glibcxx_cv_func__powl_use=no
58028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58029 ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58040 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58042 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58043 for ac_func in _powl
58044 do :
58045 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58046 if test "x$ac_cv_func__powl" = x""yes; then :
58047 cat >>confdefs.h <<_ACEOF
58048 #define HAVE__POWL 1
58049 _ACEOF
58052 done
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58062 $as_echo_n "checking for sqrtl declaration... " >&6; }
58063 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58064 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 #ifdef HAVE_IEEEFP_H
58079 #include <ieeefp.h>
58080 #endif
58083 main ()
58085 sqrtl(0);
58087 return 0;
58089 _ACEOF
58090 if ac_fn_cxx_try_compile "$LINENO"; then :
58091 glibcxx_cv_func_sqrtl_use=yes
58092 else
58093 glibcxx_cv_func_sqrtl_use=no
58095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58096 ac_ext=c
58097 ac_cpp='$CPP $CPPFLAGS'
58098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58107 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58109 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58110 for ac_func in sqrtl
58111 do :
58112 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58113 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58114 cat >>confdefs.h <<_ACEOF
58115 #define HAVE_SQRTL 1
58116 _ACEOF
58119 done
58121 else
58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58124 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58125 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58126 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58127 $as_echo_n "(cached) " >&6
58128 else
58131 ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h. */
58139 #include <math.h>
58140 #ifdef HAVE_IEEEFP_H
58141 #include <ieeefp.h>
58142 #endif
58145 main ()
58147 _sqrtl(0);
58149 return 0;
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153 glibcxx_cv_func__sqrtl_use=yes
58154 else
58155 glibcxx_cv_func__sqrtl_use=no
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158 ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58169 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58171 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58172 for ac_func in _sqrtl
58173 do :
58174 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58175 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58176 cat >>confdefs.h <<_ACEOF
58177 #define HAVE__SQRTL 1
58178 _ACEOF
58181 done
58190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58191 $as_echo_n "checking for sincosl declaration... " >&6; }
58192 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58193 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58194 $as_echo_n "(cached) " >&6
58195 else
58198 ac_ext=cpp
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58205 /* end confdefs.h. */
58206 #include <math.h>
58208 main ()
58210 sincosl(0, 0, 0);
58212 return 0;
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_sincosl_use=yes
58217 else
58218 glibcxx_cv_func_sincosl_use=no
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58232 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58234 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58235 for ac_func in sincosl
58236 do :
58237 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58238 if test "x$ac_cv_func_sincosl" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_SINCOSL 1
58241 _ACEOF
58244 done
58246 else
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58249 $as_echo_n "checking for _sincosl declaration... " >&6; }
58250 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58251 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58266 main ()
58268 _sincosl(0, 0, 0);
58270 return 0;
58272 _ACEOF
58273 if ac_fn_cxx_try_compile "$LINENO"; then :
58274 glibcxx_cv_func__sincosl_use=yes
58275 else
58276 glibcxx_cv_func__sincosl_use=no
58278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58279 ac_ext=c
58280 ac_cpp='$CPP $CPPFLAGS'
58281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58290 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58292 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58293 for ac_func in _sincosl
58294 do :
58295 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58296 if test "x$ac_cv_func__sincosl" = x""yes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE__SINCOSL 1
58299 _ACEOF
58302 done
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58312 $as_echo_n "checking for finitel declaration... " >&6; }
58313 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58314 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58315 $as_echo_n "(cached) " >&6
58316 else
58319 ac_ext=cpp
58320 ac_cpp='$CXXCPP $CPPFLAGS'
58321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326 /* end confdefs.h. */
58327 #include <math.h>
58328 #ifdef HAVE_IEEEFP_H
58329 #include <ieeefp.h>
58330 #endif
58333 main ()
58335 finitel(0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_finitel_use=yes
58342 else
58343 glibcxx_cv_func_finitel_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58357 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58359 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58360 for ac_func in finitel
58361 do :
58362 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58363 if test "x$ac_cv_func_finitel" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_FINITEL 1
58366 _ACEOF
58369 done
58371 else
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58374 $as_echo_n "checking for _finitel declaration... " >&6; }
58375 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58376 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58390 #ifdef HAVE_IEEEFP_H
58391 #include <ieeefp.h>
58392 #endif
58395 main ()
58397 _finitel(0);
58399 return 0;
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func__finitel_use=yes
58404 else
58405 glibcxx_cv_func__finitel_use=no
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58419 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58421 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58422 for ac_func in _finitel
58423 do :
58424 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58425 if test "x$ac_cv_func__finitel" = x""yes; then :
58426 cat >>confdefs.h <<_ACEOF
58427 #define HAVE__FINITEL 1
58428 _ACEOF
58431 done
58439 LIBS="$ac_save_LIBS"
58440 CXXFLAGS="$ac_save_CXXFLAGS"
58443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58444 ac_save_CXXFLAGS="$CXXFLAGS"
58445 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58449 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58450 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58451 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58452 $as_echo_n "(cached) " >&6
58453 else
58456 ac_ext=cpp
58457 ac_cpp='$CXXCPP $CPPFLAGS'
58458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58463 /* end confdefs.h. */
58464 #include <stdlib.h>
58466 main ()
58468 at_quick_exit(0);
58470 return 0;
58472 _ACEOF
58473 if ac_fn_cxx_try_compile "$LINENO"; then :
58474 glibcxx_cv_func_at_quick_exit_use=yes
58475 else
58476 glibcxx_cv_func_at_quick_exit_use=no
58478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58479 ac_ext=c
58480 ac_cpp='$CPP $CPPFLAGS'
58481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58490 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58491 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58492 for ac_func in at_quick_exit
58493 do :
58494 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58495 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58496 cat >>confdefs.h <<_ACEOF
58497 #define HAVE_AT_QUICK_EXIT 1
58498 _ACEOF
58501 done
58506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58507 $as_echo_n "checking for quick_exit declaration... " >&6; }
58508 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58509 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58510 $as_echo_n "(cached) " >&6
58511 else
58514 ac_ext=cpp
58515 ac_cpp='$CXXCPP $CPPFLAGS'
58516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58521 /* end confdefs.h. */
58522 #include <stdlib.h>
58524 main ()
58526 quick_exit(0);
58528 return 0;
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532 glibcxx_cv_func_quick_exit_use=yes
58533 else
58534 glibcxx_cv_func_quick_exit_use=no
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537 ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58548 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58549 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58550 for ac_func in quick_exit
58551 do :
58552 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58553 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58554 cat >>confdefs.h <<_ACEOF
58555 #define HAVE_QUICK_EXIT 1
58556 _ACEOF
58559 done
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58565 $as_echo_n "checking for strtold declaration... " >&6; }
58566 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58567 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58568 $as_echo_n "(cached) " >&6
58569 else
58572 ac_ext=cpp
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 #include <stdlib.h>
58582 main ()
58584 strtold(0, 0);
58586 return 0;
58588 _ACEOF
58589 if ac_fn_cxx_try_compile "$LINENO"; then :
58590 glibcxx_cv_func_strtold_use=yes
58591 else
58592 glibcxx_cv_func_strtold_use=no
58594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58595 ac_ext=c
58596 ac_cpp='$CPP $CPPFLAGS'
58597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58606 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58607 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58608 for ac_func in strtold
58609 do :
58610 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58611 if test "x$ac_cv_func_strtold" = x""yes; then :
58612 cat >>confdefs.h <<_ACEOF
58613 #define HAVE_STRTOLD 1
58614 _ACEOF
58617 done
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58625 $as_echo_n "checking for strtof declaration... " >&6; }
58626 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58627 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58628 $as_echo_n "(cached) " >&6
58629 else
58632 ac_ext=cpp
58633 ac_cpp='$CXXCPP $CPPFLAGS'
58634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 #include <stdlib.h>
58642 main ()
58644 strtof(0, 0);
58646 return 0;
58648 _ACEOF
58649 if ac_fn_cxx_try_compile "$LINENO"; then :
58650 glibcxx_cv_func_strtof_use=yes
58651 else
58652 glibcxx_cv_func_strtof_use=no
58654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58655 ac_ext=c
58656 ac_cpp='$CPP $CPPFLAGS'
58657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58666 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58667 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58668 for ac_func in strtof
58669 do :
58670 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58671 if test "x$ac_cv_func_strtof" = x""yes; then :
58672 cat >>confdefs.h <<_ACEOF
58673 #define HAVE_STRTOF 1
58674 _ACEOF
58677 done
58684 CXXFLAGS="$ac_save_CXXFLAGS"
58686 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58690 # Check whether --enable-tls was given.
58691 if test "${enable_tls+set}" = set; then :
58692 enableval=$enable_tls;
58693 case "$enableval" in
58694 yes|no) ;;
58695 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58696 esac
58698 else
58699 enable_tls=yes
58703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58704 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58705 if test "${gcc_cv_have_tls+set}" = set; then :
58706 $as_echo_n "(cached) " >&6
58707 else
58709 if test "$cross_compiling" = yes; then :
58710 if test x$gcc_no_link = xyes; then
58711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 __thread int a; int b; int main() { return a = b; }
58716 _ACEOF
58717 if ac_fn_c_try_link "$LINENO"; then :
58718 chktls_save_LDFLAGS="$LDFLAGS"
58719 case $host in
58720 *-*-linux*)
58721 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58723 esac
58724 chktls_save_CFLAGS="$CFLAGS"
58725 CFLAGS="-fPIC $CFLAGS"
58726 if test x$gcc_no_link = xyes; then
58727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58730 /* end confdefs.h. */
58731 int f() { return 0; }
58732 _ACEOF
58733 if ac_fn_c_try_link "$LINENO"; then :
58734 if test x$gcc_no_link = xyes; then
58735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58738 /* end confdefs.h. */
58739 __thread int a; int b; int f() { return a = b; }
58740 _ACEOF
58741 if ac_fn_c_try_link "$LINENO"; then :
58742 gcc_cv_have_tls=yes
58743 else
58744 gcc_cv_have_tls=no
58746 rm -f core conftest.err conftest.$ac_objext \
58747 conftest$ac_exeext conftest.$ac_ext
58748 else
58749 gcc_cv_have_tls=yes
58751 rm -f core conftest.err conftest.$ac_objext \
58752 conftest$ac_exeext conftest.$ac_ext
58753 CFLAGS="$chktls_save_CFLAGS"
58754 LDFLAGS="$chktls_save_LDFLAGS"
58755 else
58756 gcc_cv_have_tls=no
58758 rm -f core conftest.err conftest.$ac_objext \
58759 conftest$ac_exeext conftest.$ac_ext
58762 else
58763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58764 /* end confdefs.h. */
58765 __thread int a; int b; int main() { return a = b; }
58766 _ACEOF
58767 if ac_fn_c_try_run "$LINENO"; then :
58768 chktls_save_LDFLAGS="$LDFLAGS"
58769 LDFLAGS="-static $LDFLAGS"
58770 if test x$gcc_no_link = xyes; then
58771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58774 /* end confdefs.h. */
58775 int main() { return 0; }
58776 _ACEOF
58777 if ac_fn_c_try_link "$LINENO"; then :
58778 if test "$cross_compiling" = yes; then :
58779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58781 as_fn_error "cannot run test program while cross compiling
58782 See \`config.log' for more details." "$LINENO" 5; }
58783 else
58784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58785 /* end confdefs.h. */
58786 __thread int a; int b; int main() { return a = b; }
58787 _ACEOF
58788 if ac_fn_c_try_run "$LINENO"; then :
58789 gcc_cv_have_tls=yes
58790 else
58791 gcc_cv_have_tls=no
58793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58794 conftest.$ac_objext conftest.beam conftest.$ac_ext
58797 else
58798 gcc_cv_have_tls=yes
58800 rm -f core conftest.err conftest.$ac_objext \
58801 conftest$ac_exeext conftest.$ac_ext
58802 LDFLAGS="$chktls_save_LDFLAGS"
58803 if test $gcc_cv_have_tls = yes; then
58804 chktls_save_CFLAGS="$CFLAGS"
58805 thread_CFLAGS=failed
58806 for flag in '' '-pthread' '-lpthread'; do
58807 CFLAGS="$flag $chktls_save_CFLAGS"
58808 if test x$gcc_no_link = xyes; then
58809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58812 /* end confdefs.h. */
58813 #include <pthread.h>
58814 void *g(void *d) { return NULL; }
58816 main ()
58818 pthread_t t; pthread_create(&t,NULL,g,NULL);
58820 return 0;
58822 _ACEOF
58823 if ac_fn_c_try_link "$LINENO"; then :
58824 thread_CFLAGS="$flag"
58826 rm -f core conftest.err conftest.$ac_objext \
58827 conftest$ac_exeext conftest.$ac_ext
58828 if test "X$thread_CFLAGS" != Xfailed; then
58829 break
58831 done
58832 CFLAGS="$chktls_save_CFLAGS"
58833 if test "X$thread_CFLAGS" != Xfailed; then
58834 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58835 if test "$cross_compiling" = yes; then :
58836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58838 as_fn_error "cannot run test program while cross compiling
58839 See \`config.log' for more details." "$LINENO" 5; }
58840 else
58841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58842 /* end confdefs.h. */
58843 #include <pthread.h>
58844 __thread int a;
58845 static int *volatile a_in_other_thread;
58846 static void *
58847 thread_func (void *arg)
58849 a_in_other_thread = &a;
58850 return (void *)0;
58853 main ()
58855 pthread_t thread;
58856 void *thread_retval;
58857 int *volatile a_in_main_thread;
58858 a_in_main_thread = &a;
58859 if (pthread_create (&thread, (pthread_attr_t *)0,
58860 thread_func, (void *)0))
58861 return 0;
58862 if (pthread_join (thread, &thread_retval))
58863 return 0;
58864 return (a_in_other_thread == a_in_main_thread);
58866 return 0;
58868 _ACEOF
58869 if ac_fn_c_try_run "$LINENO"; then :
58870 gcc_cv_have_tls=yes
58871 else
58872 gcc_cv_have_tls=no
58874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58875 conftest.$ac_objext conftest.beam conftest.$ac_ext
58878 CFLAGS="$chktls_save_CFLAGS"
58881 else
58882 gcc_cv_have_tls=no
58884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58885 conftest.$ac_objext conftest.beam conftest.$ac_ext
58889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58890 $as_echo "$gcc_cv_have_tls" >&6; }
58891 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58893 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58902 $as_echo_n "checking for iconv... " >&6; }
58903 if test "${am_cv_func_iconv+set}" = set; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58907 am_cv_func_iconv="no, consider installing GNU libiconv"
58908 am_cv_lib_iconv=no
58909 am_save_CPPFLAGS="$CPPFLAGS"
58910 CPPFLAGS="$CPPFLAGS $INCICONV"
58911 if test x$gcc_no_link = xyes; then
58912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <stdlib.h>
58917 #include <iconv.h>
58919 main ()
58921 iconv_t cd = iconv_open("","");
58922 iconv(cd,NULL,NULL,NULL,NULL);
58923 iconv_close(cd);
58925 return 0;
58927 _ACEOF
58928 if ac_fn_c_try_link "$LINENO"; then :
58929 am_cv_func_iconv=yes
58931 rm -f core conftest.err conftest.$ac_objext \
58932 conftest$ac_exeext conftest.$ac_ext
58933 CPPFLAGS="$am_save_CPPFLAGS"
58935 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
58936 for _libs in .libs _libs; do
58937 am_save_CPPFLAGS="$CPPFLAGS"
58938 am_save_LIBS="$LIBS"
58939 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
58940 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
58941 if test x$gcc_no_link = xyes; then
58942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58945 /* end confdefs.h. */
58946 #include <stdlib.h>
58947 #include <iconv.h>
58949 main ()
58951 iconv_t cd = iconv_open("","");
58952 iconv(cd,NULL,NULL,NULL,NULL);
58953 iconv_close(cd);
58955 return 0;
58957 _ACEOF
58958 if ac_fn_c_try_link "$LINENO"; then :
58959 INCICONV="-I../libiconv/include"
58960 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
58961 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
58962 am_cv_lib_iconv=yes
58963 am_cv_func_iconv=yes
58965 rm -f core conftest.err conftest.$ac_objext \
58966 conftest$ac_exeext conftest.$ac_ext
58967 CPPFLAGS="$am_save_CPPFLAGS"
58968 LIBS="$am_save_LIBS"
58969 if test "$am_cv_func_iconv" = "yes"; then
58970 break
58972 done
58975 if test "$am_cv_func_iconv" != yes; then
58976 am_save_CPPFLAGS="$CPPFLAGS"
58977 am_save_LIBS="$LIBS"
58978 CPPFLAGS="$LIBS $INCICONV"
58979 LIBS="$LIBS $LIBICONV"
58980 if test x$gcc_no_link = xyes; then
58981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58984 /* end confdefs.h. */
58985 #include <stdlib.h>
58986 #include <iconv.h>
58988 main ()
58990 iconv_t cd = iconv_open("","");
58991 iconv(cd,NULL,NULL,NULL,NULL);
58992 iconv_close(cd);
58994 return 0;
58996 _ACEOF
58997 if ac_fn_c_try_link "$LINENO"; then :
58998 am_cv_lib_iconv=yes
58999 am_cv_func_iconv=yes
59001 rm -f core conftest.err conftest.$ac_objext \
59002 conftest$ac_exeext conftest.$ac_ext
59003 CPPFLAGS="$am_save_CPPFLAGS"
59004 LIBS="$am_save_LIBS"
59008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59009 $as_echo "$am_cv_func_iconv" >&6; }
59010 if test "$am_cv_func_iconv" = yes; then
59012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59015 if test "$am_cv_lib_iconv" = yes; then
59017 for element in $INCICONV; do
59018 haveit=
59019 for x in $CPPFLAGS; do
59021 acl_save_prefix="$prefix"
59022 prefix="$acl_final_prefix"
59023 acl_save_exec_prefix="$exec_prefix"
59024 exec_prefix="$acl_final_exec_prefix"
59025 eval x=\"$x\"
59026 exec_prefix="$acl_save_exec_prefix"
59027 prefix="$acl_save_prefix"
59029 if test "X$x" = "X$element"; then
59030 haveit=yes
59031 break
59033 done
59034 if test -z "$haveit"; then
59035 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59037 done
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59040 $as_echo_n "checking how to link with libiconv... " >&6; }
59041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59042 $as_echo "$LIBICONV" >&6; }
59043 else
59044 LIBICONV=
59045 LTLIBICONV=
59050 if test "$am_cv_func_iconv" = yes; then
59051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59052 $as_echo_n "checking for iconv declaration... " >&6; }
59053 if test "${am_cv_proto_iconv+set}" = set; then :
59054 $as_echo_n "(cached) " >&6
59055 else
59057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59058 /* end confdefs.h. */
59060 #include <stdlib.h>
59061 #include <iconv.h>
59062 extern
59063 #ifdef __cplusplus
59065 #endif
59066 #if defined(__STDC__) || defined(__cplusplus)
59067 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59068 #else
59069 size_t iconv();
59070 #endif
59073 main ()
59077 return 0;
59079 _ACEOF
59080 if ac_fn_c_try_compile "$LINENO"; then :
59081 am_cv_proto_iconv_arg1=""
59082 else
59083 am_cv_proto_iconv_arg1="const"
59085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59086 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);"
59089 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59091 }$am_cv_proto_iconv" >&5
59092 $as_echo "${ac_t:-
59093 }$am_cv_proto_iconv" >&6; }
59095 cat >>confdefs.h <<_ACEOF
59096 #define ICONV_CONST $am_cv_proto_iconv_arg1
59097 _ACEOF
59102 *-mingw32*)
59104 # If we're not using GNU ld, then there's no point in even trying these
59105 # tests. Check for that first. We should have already tested for gld
59106 # by now (in libtool), but require it now just to be safe...
59107 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59108 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59112 # The name set by libtool depends on the version of libtool. Shame on us
59113 # for depending on an impl detail, but c'est la vie. Older versions used
59114 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59115 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59116 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59117 # set (hence we're using an older libtool), then set it.
59118 if test x${with_gnu_ld+set} != xset; then
59119 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59120 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59121 with_gnu_ld=no
59122 else
59123 with_gnu_ld=$ac_cv_prog_gnu_ld
59127 # Start by getting the version number. I think the libtool test already
59128 # does some of this, but throws away the result.
59129 glibcxx_ld_is_gold=no
59130 if test x"$with_gnu_ld" = x"yes"; then
59131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59132 $as_echo_n "checking for ld version... " >&6; }
59134 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59135 glibcxx_ld_is_gold=yes
59137 ldver=`$LD --version 2>/dev/null |
59138 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'`
59140 glibcxx_gnu_ld_version=`echo $ldver | \
59141 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59143 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59146 # Set --gc-sections.
59147 glibcxx_have_gc_sections=no
59148 if test "$glibcxx_ld_is_gold" = "yes"; then
59149 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59150 glibcxx_have_gc_sections=yes
59152 else
59153 glibcxx_gcsections_min_ld=21602
59154 if test x"$with_gnu_ld" = x"yes" &&
59155 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59156 glibcxx_have_gc_sections=yes
59159 if test "$glibcxx_have_gc_sections" = "yes"; then
59160 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59161 # NB: This flag only works reliably after 2.16.1. Configure tests
59162 # for this are difficult, so hard wire a value that should work.
59164 ac_test_CFLAGS="${CFLAGS+set}"
59165 ac_save_CFLAGS="$CFLAGS"
59166 CFLAGS='-Wl,--gc-sections'
59168 # Check for -Wl,--gc-sections
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59170 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59171 if test x$gcc_no_link = xyes; then
59172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59175 /* end confdefs.h. */
59176 int one(void) { return 1; }
59177 int two(void) { return 2; }
59180 main ()
59182 two();
59184 return 0;
59186 _ACEOF
59187 if ac_fn_c_try_link "$LINENO"; then :
59188 ac_gcsections=yes
59189 else
59190 ac_gcsections=no
59192 rm -f core conftest.err conftest.$ac_objext \
59193 conftest$ac_exeext conftest.$ac_ext
59194 if test "$ac_gcsections" = "yes"; then
59195 rm -f conftest.c
59196 touch conftest.c
59197 if $CC -c conftest.c; then
59198 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59199 grep "Warning: gc-sections option ignored" > /dev/null; then
59200 ac_gcsections=no
59203 rm -f conftest.c conftest.o conftest
59205 if test "$ac_gcsections" = "yes"; then
59206 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59209 $as_echo "$ac_gcsections" >&6; }
59211 if test "$ac_test_CFLAGS" = set; then
59212 CFLAGS="$ac_save_CFLAGS"
59213 else
59214 # this is the suspicious part
59215 CFLAGS=''
59219 # Set -z,relro.
59220 # Note this is only for shared objects.
59221 ac_ld_relro=no
59222 if test x"$with_gnu_ld" = x"yes"; then
59223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59224 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59225 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59226 if test -n "$cxx_z_relo"; then
59227 OPT_LDFLAGS="-Wl,-z,relro"
59228 ac_ld_relro=yes
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59231 $as_echo "$ac_ld_relro" >&6; }
59234 # Set linker optimization flags.
59235 if test x"$with_gnu_ld" = x"yes"; then
59236 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59244 ac_save_CXXFLAGS="$CXXFLAGS"
59245 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59248 $as_echo_n "checking for sin in -lm... " >&6; }
59249 if test "${ac_cv_lib_m_sin+set}" = set; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59252 ac_check_lib_save_LIBS=$LIBS
59253 LIBS="-lm $LIBS"
59254 if test x$gcc_no_link = xyes; then
59255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h. */
59260 /* Override any GCC internal prototype to avoid an error.
59261 Use char because int might match the return type of a GCC
59262 builtin and then its argument prototype would still apply. */
59263 #ifdef __cplusplus
59264 extern "C"
59265 #endif
59266 char sin ();
59268 main ()
59270 return sin ();
59272 return 0;
59274 _ACEOF
59275 if ac_fn_c_try_link "$LINENO"; then :
59276 ac_cv_lib_m_sin=yes
59277 else
59278 ac_cv_lib_m_sin=no
59280 rm -f core conftest.err conftest.$ac_objext \
59281 conftest$ac_exeext conftest.$ac_ext
59282 LIBS=$ac_check_lib_save_LIBS
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59285 $as_echo "$ac_cv_lib_m_sin" >&6; }
59286 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59287 libm="-lm"
59290 ac_save_LIBS="$LIBS"
59291 LIBS="$LIBS $libm"
59295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59296 $as_echo_n "checking for isinf declaration... " >&6; }
59297 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59298 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59299 $as_echo_n "(cached) " >&6
59300 else
59303 ac_ext=cpp
59304 ac_cpp='$CXXCPP $CPPFLAGS'
59305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59310 /* end confdefs.h. */
59311 #include <math.h>
59312 #ifdef HAVE_IEEEFP_H
59313 #include <ieeefp.h>
59314 #endif
59317 main ()
59319 isinf(0);
59321 return 0;
59323 _ACEOF
59324 if ac_fn_cxx_try_compile "$LINENO"; then :
59325 glibcxx_cv_func_isinf_use=yes
59326 else
59327 glibcxx_cv_func_isinf_use=no
59329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59330 ac_ext=c
59331 ac_cpp='$CPP $CPPFLAGS'
59332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59341 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59343 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59344 for ac_func in isinf
59345 do :
59346 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59347 if test "x$ac_cv_func_isinf" = x""yes; then :
59348 cat >>confdefs.h <<_ACEOF
59349 #define HAVE_ISINF 1
59350 _ACEOF
59353 done
59355 else
59357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59358 $as_echo_n "checking for _isinf declaration... " >&6; }
59359 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59360 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59361 $as_echo_n "(cached) " >&6
59362 else
59365 ac_ext=cpp
59366 ac_cpp='$CXXCPP $CPPFLAGS'
59367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59372 /* end confdefs.h. */
59373 #include <math.h>
59374 #ifdef HAVE_IEEEFP_H
59375 #include <ieeefp.h>
59376 #endif
59379 main ()
59381 _isinf(0);
59383 return 0;
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387 glibcxx_cv_func__isinf_use=yes
59388 else
59389 glibcxx_cv_func__isinf_use=no
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59403 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59405 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59406 for ac_func in _isinf
59407 do :
59408 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59409 if test "x$ac_cv_func__isinf" = x""yes; then :
59410 cat >>confdefs.h <<_ACEOF
59411 #define HAVE__ISINF 1
59412 _ACEOF
59415 done
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59425 $as_echo_n "checking for isnan declaration... " >&6; }
59426 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59427 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59428 $as_echo_n "(cached) " >&6
59429 else
59432 ac_ext=cpp
59433 ac_cpp='$CXXCPP $CPPFLAGS'
59434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439 /* end confdefs.h. */
59440 #include <math.h>
59441 #ifdef HAVE_IEEEFP_H
59442 #include <ieeefp.h>
59443 #endif
59446 main ()
59448 isnan(0);
59450 return 0;
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_isnan_use=yes
59455 else
59456 glibcxx_cv_func_isnan_use=no
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59470 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59472 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59473 for ac_func in isnan
59474 do :
59475 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59476 if test "x$ac_cv_func_isnan" = x""yes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_ISNAN 1
59479 _ACEOF
59482 done
59484 else
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59487 $as_echo_n "checking for _isnan declaration... " >&6; }
59488 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59489 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59503 #ifdef HAVE_IEEEFP_H
59504 #include <ieeefp.h>
59505 #endif
59508 main ()
59510 _isnan(0);
59512 return 0;
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__isnan_use=yes
59517 else
59518 glibcxx_cv_func__isnan_use=no
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59532 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59534 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59535 for ac_func in _isnan
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59538 if test "x$ac_cv_func__isnan" = x""yes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__ISNAN 1
59541 _ACEOF
59544 done
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59554 $as_echo_n "checking for finite declaration... " >&6; }
59555 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59556 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 #ifdef HAVE_IEEEFP_H
59571 #include <ieeefp.h>
59572 #endif
59575 main ()
59577 finite(0);
59579 return 0;
59581 _ACEOF
59582 if ac_fn_cxx_try_compile "$LINENO"; then :
59583 glibcxx_cv_func_finite_use=yes
59584 else
59585 glibcxx_cv_func_finite_use=no
59587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59588 ac_ext=c
59589 ac_cpp='$CPP $CPPFLAGS'
59590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59599 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59601 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59602 for ac_func in finite
59603 do :
59604 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59605 if test "x$ac_cv_func_finite" = x""yes; then :
59606 cat >>confdefs.h <<_ACEOF
59607 #define HAVE_FINITE 1
59608 _ACEOF
59611 done
59613 else
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59616 $as_echo_n "checking for _finite declaration... " >&6; }
59617 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59618 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59637 main ()
59639 _finite(0);
59641 return 0;
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func__finite_use=yes
59646 else
59647 glibcxx_cv_func__finite_use=no
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59661 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59663 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59664 for ac_func in _finite
59665 do :
59666 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59667 if test "x$ac_cv_func__finite" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE__FINITE 1
59670 _ACEOF
59673 done
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59683 $as_echo_n "checking for sincos declaration... " >&6; }
59684 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59685 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59686 $as_echo_n "(cached) " >&6
59687 else
59690 ac_ext=cpp
59691 ac_cpp='$CXXCPP $CPPFLAGS'
59692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59697 /* end confdefs.h. */
59698 #include <math.h>
59700 main ()
59702 sincos(0, 0, 0);
59704 return 0;
59706 _ACEOF
59707 if ac_fn_cxx_try_compile "$LINENO"; then :
59708 glibcxx_cv_func_sincos_use=yes
59709 else
59710 glibcxx_cv_func_sincos_use=no
59712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59713 ac_ext=c
59714 ac_cpp='$CPP $CPPFLAGS'
59715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59724 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59726 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59727 for ac_func in sincos
59728 do :
59729 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59730 if test "x$ac_cv_func_sincos" = x""yes; then :
59731 cat >>confdefs.h <<_ACEOF
59732 #define HAVE_SINCOS 1
59733 _ACEOF
59736 done
59738 else
59740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59741 $as_echo_n "checking for _sincos declaration... " >&6; }
59742 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59743 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59744 $as_echo_n "(cached) " >&6
59745 else
59748 ac_ext=cpp
59749 ac_cpp='$CXXCPP $CPPFLAGS'
59750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59755 /* end confdefs.h. */
59756 #include <math.h>
59758 main ()
59760 _sincos(0, 0, 0);
59762 return 0;
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func__sincos_use=yes
59767 else
59768 glibcxx_cv_func__sincos_use=no
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59782 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59784 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59785 for ac_func in _sincos
59786 do :
59787 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59788 if test "x$ac_cv_func__sincos" = x""yes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE__SINCOS 1
59791 _ACEOF
59794 done
59803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59804 $as_echo_n "checking for fpclass declaration... " >&6; }
59805 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59806 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59807 $as_echo_n "(cached) " >&6
59808 else
59811 ac_ext=cpp
59812 ac_cpp='$CXXCPP $CPPFLAGS'
59813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59818 /* end confdefs.h. */
59819 #include <math.h>
59820 #ifdef HAVE_IEEEFP_H
59821 #include <ieeefp.h>
59822 #endif
59825 main ()
59827 fpclass(0);
59829 return 0;
59831 _ACEOF
59832 if ac_fn_cxx_try_compile "$LINENO"; then :
59833 glibcxx_cv_func_fpclass_use=yes
59834 else
59835 glibcxx_cv_func_fpclass_use=no
59837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59838 ac_ext=c
59839 ac_cpp='$CPP $CPPFLAGS'
59840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59849 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59851 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59852 for ac_func in fpclass
59853 do :
59854 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59855 if test "x$ac_cv_func_fpclass" = x""yes; then :
59856 cat >>confdefs.h <<_ACEOF
59857 #define HAVE_FPCLASS 1
59858 _ACEOF
59861 done
59863 else
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59866 $as_echo_n "checking for _fpclass declaration... " >&6; }
59867 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59868 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59869 $as_echo_n "(cached) " >&6
59870 else
59873 ac_ext=cpp
59874 ac_cpp='$CXXCPP $CPPFLAGS'
59875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59880 /* end confdefs.h. */
59881 #include <math.h>
59882 #ifdef HAVE_IEEEFP_H
59883 #include <ieeefp.h>
59884 #endif
59887 main ()
59889 _fpclass(0);
59891 return 0;
59893 _ACEOF
59894 if ac_fn_cxx_try_compile "$LINENO"; then :
59895 glibcxx_cv_func__fpclass_use=yes
59896 else
59897 glibcxx_cv_func__fpclass_use=no
59899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59900 ac_ext=c
59901 ac_cpp='$CPP $CPPFLAGS'
59902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59911 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59913 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59914 for ac_func in _fpclass
59915 do :
59916 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59917 if test "x$ac_cv_func__fpclass" = x""yes; then :
59918 cat >>confdefs.h <<_ACEOF
59919 #define HAVE__FPCLASS 1
59920 _ACEOF
59923 done
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59933 $as_echo_n "checking for qfpclass declaration... " >&6; }
59934 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59935 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59936 $as_echo_n "(cached) " >&6
59937 else
59940 ac_ext=cpp
59941 ac_cpp='$CXXCPP $CPPFLAGS'
59942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59947 /* end confdefs.h. */
59948 #include <math.h>
59949 #ifdef HAVE_IEEEFP_H
59950 #include <ieeefp.h>
59951 #endif
59954 main ()
59956 qfpclass(0);
59958 return 0;
59960 _ACEOF
59961 if ac_fn_cxx_try_compile "$LINENO"; then :
59962 glibcxx_cv_func_qfpclass_use=yes
59963 else
59964 glibcxx_cv_func_qfpclass_use=no
59966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59967 ac_ext=c
59968 ac_cpp='$CPP $CPPFLAGS'
59969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59978 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59980 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59981 for ac_func in qfpclass
59982 do :
59983 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59984 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59985 cat >>confdefs.h <<_ACEOF
59986 #define HAVE_QFPCLASS 1
59987 _ACEOF
59990 done
59992 else
59994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59995 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59996 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59997 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59998 $as_echo_n "(cached) " >&6
59999 else
60002 ac_ext=cpp
60003 ac_cpp='$CXXCPP $CPPFLAGS'
60004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60009 /* end confdefs.h. */
60010 #include <math.h>
60011 #ifdef HAVE_IEEEFP_H
60012 #include <ieeefp.h>
60013 #endif
60016 main ()
60018 _qfpclass(0);
60020 return 0;
60022 _ACEOF
60023 if ac_fn_cxx_try_compile "$LINENO"; then :
60024 glibcxx_cv_func__qfpclass_use=yes
60025 else
60026 glibcxx_cv_func__qfpclass_use=no
60028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60029 ac_ext=c
60030 ac_cpp='$CPP $CPPFLAGS'
60031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60040 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60042 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60043 for ac_func in _qfpclass
60044 do :
60045 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60046 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60047 cat >>confdefs.h <<_ACEOF
60048 #define HAVE__QFPCLASS 1
60049 _ACEOF
60052 done
60061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60062 $as_echo_n "checking for hypot declaration... " >&6; }
60063 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60064 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60065 $as_echo_n "(cached) " >&6
60066 else
60069 ac_ext=cpp
60070 ac_cpp='$CXXCPP $CPPFLAGS'
60071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60076 /* end confdefs.h. */
60077 #include <math.h>
60079 main ()
60081 hypot(0, 0);
60083 return 0;
60085 _ACEOF
60086 if ac_fn_cxx_try_compile "$LINENO"; then :
60087 glibcxx_cv_func_hypot_use=yes
60088 else
60089 glibcxx_cv_func_hypot_use=no
60091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60092 ac_ext=c
60093 ac_cpp='$CPP $CPPFLAGS'
60094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60103 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60105 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60106 for ac_func in hypot
60107 do :
60108 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60109 if test "x$ac_cv_func_hypot" = x""yes; then :
60110 cat >>confdefs.h <<_ACEOF
60111 #define HAVE_HYPOT 1
60112 _ACEOF
60115 done
60117 else
60119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60120 $as_echo_n "checking for _hypot declaration... " >&6; }
60121 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60122 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60123 $as_echo_n "(cached) " >&6
60124 else
60127 ac_ext=cpp
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60134 /* end confdefs.h. */
60135 #include <math.h>
60137 main ()
60139 _hypot(0, 0);
60141 return 0;
60143 _ACEOF
60144 if ac_fn_cxx_try_compile "$LINENO"; then :
60145 glibcxx_cv_func__hypot_use=yes
60146 else
60147 glibcxx_cv_func__hypot_use=no
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 ac_ext=c
60151 ac_cpp='$CPP $CPPFLAGS'
60152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60161 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60163 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60164 for ac_func in _hypot
60165 do :
60166 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60167 if test "x$ac_cv_func__hypot" = x""yes; then :
60168 cat >>confdefs.h <<_ACEOF
60169 #define HAVE__HYPOT 1
60170 _ACEOF
60173 done
60182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60183 $as_echo_n "checking for float trig functions... " >&6; }
60184 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60185 $as_echo_n "(cached) " >&6
60186 else
60189 ac_ext=cpp
60190 ac_cpp='$CXXCPP $CPPFLAGS'
60191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60196 /* end confdefs.h. */
60197 #include <math.h>
60199 main ()
60201 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60203 return 0;
60205 _ACEOF
60206 if ac_fn_cxx_try_compile "$LINENO"; then :
60207 glibcxx_cv_func_float_trig_use=yes
60208 else
60209 glibcxx_cv_func_float_trig_use=no
60211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60212 ac_ext=c
60213 ac_cpp='$CPP $CPPFLAGS'
60214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60221 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60222 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60223 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60224 do :
60225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60227 eval as_val=\$$as_ac_var
60228 if test "x$as_val" = x""yes; then :
60229 cat >>confdefs.h <<_ACEOF
60230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60231 _ACEOF
60234 done
60236 else
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60238 $as_echo_n "checking for _float trig functions... " >&6; }
60239 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60240 $as_echo_n "(cached) " >&6
60241 else
60244 ac_ext=cpp
60245 ac_cpp='$CXXCPP $CPPFLAGS'
60246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60251 /* end confdefs.h. */
60252 #include <math.h>
60254 main ()
60256 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60258 return 0;
60260 _ACEOF
60261 if ac_fn_cxx_try_compile "$LINENO"; then :
60262 glibcxx_cv_func__float_trig_use=yes
60263 else
60264 glibcxx_cv_func__float_trig_use=no
60266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60267 ac_ext=c
60268 ac_cpp='$CPP $CPPFLAGS'
60269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60276 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60277 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60278 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60279 do :
60280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60282 eval as_val=\$$as_ac_var
60283 if test "x$as_val" = x""yes; then :
60284 cat >>confdefs.h <<_ACEOF
60285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60286 _ACEOF
60289 done
60298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60299 $as_echo_n "checking for float round functions... " >&6; }
60300 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60301 $as_echo_n "(cached) " >&6
60302 else
60305 ac_ext=cpp
60306 ac_cpp='$CXXCPP $CPPFLAGS'
60307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60312 /* end confdefs.h. */
60313 #include <math.h>
60315 main ()
60317 ceilf (0); floorf (0);
60319 return 0;
60321 _ACEOF
60322 if ac_fn_cxx_try_compile "$LINENO"; then :
60323 glibcxx_cv_func_float_round_use=yes
60324 else
60325 glibcxx_cv_func_float_round_use=no
60327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60328 ac_ext=c
60329 ac_cpp='$CPP $CPPFLAGS'
60330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60337 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60338 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60339 for ac_func in ceilf floorf
60340 do :
60341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60343 eval as_val=\$$as_ac_var
60344 if test "x$as_val" = x""yes; then :
60345 cat >>confdefs.h <<_ACEOF
60346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60347 _ACEOF
60350 done
60352 else
60353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60354 $as_echo_n "checking for _float round functions... " >&6; }
60355 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60356 $as_echo_n "(cached) " >&6
60357 else
60360 ac_ext=cpp
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367 /* end confdefs.h. */
60368 #include <math.h>
60370 main ()
60372 _ceilf (0); _floorf (0);
60374 return 0;
60376 _ACEOF
60377 if ac_fn_cxx_try_compile "$LINENO"; then :
60378 glibcxx_cv_func__float_round_use=yes
60379 else
60380 glibcxx_cv_func__float_round_use=no
60382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60383 ac_ext=c
60384 ac_cpp='$CPP $CPPFLAGS'
60385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60392 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60393 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60394 for ac_func in _ceilf _floorf
60395 do :
60396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60398 eval as_val=\$$as_ac_var
60399 if test "x$as_val" = x""yes; then :
60400 cat >>confdefs.h <<_ACEOF
60401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60402 _ACEOF
60405 done
60415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60416 $as_echo_n "checking for expf declaration... " >&6; }
60417 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60418 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60419 $as_echo_n "(cached) " >&6
60420 else
60423 ac_ext=cpp
60424 ac_cpp='$CXXCPP $CPPFLAGS'
60425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60430 /* end confdefs.h. */
60431 #include <math.h>
60432 #ifdef HAVE_IEEEFP_H
60433 #include <ieeefp.h>
60434 #endif
60437 main ()
60439 expf(0);
60441 return 0;
60443 _ACEOF
60444 if ac_fn_cxx_try_compile "$LINENO"; then :
60445 glibcxx_cv_func_expf_use=yes
60446 else
60447 glibcxx_cv_func_expf_use=no
60449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60450 ac_ext=c
60451 ac_cpp='$CPP $CPPFLAGS'
60452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60461 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60463 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60464 for ac_func in expf
60465 do :
60466 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60467 if test "x$ac_cv_func_expf" = x""yes; then :
60468 cat >>confdefs.h <<_ACEOF
60469 #define HAVE_EXPF 1
60470 _ACEOF
60473 done
60475 else
60477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60478 $as_echo_n "checking for _expf declaration... " >&6; }
60479 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60480 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60481 $as_echo_n "(cached) " >&6
60482 else
60485 ac_ext=cpp
60486 ac_cpp='$CXXCPP $CPPFLAGS'
60487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60492 /* end confdefs.h. */
60493 #include <math.h>
60494 #ifdef HAVE_IEEEFP_H
60495 #include <ieeefp.h>
60496 #endif
60499 main ()
60501 _expf(0);
60503 return 0;
60505 _ACEOF
60506 if ac_fn_cxx_try_compile "$LINENO"; then :
60507 glibcxx_cv_func__expf_use=yes
60508 else
60509 glibcxx_cv_func__expf_use=no
60511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60512 ac_ext=c
60513 ac_cpp='$CPP $CPPFLAGS'
60514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60523 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60525 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60526 for ac_func in _expf
60527 do :
60528 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60529 if test "x$ac_cv_func__expf" = x""yes; then :
60530 cat >>confdefs.h <<_ACEOF
60531 #define HAVE__EXPF 1
60532 _ACEOF
60535 done
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60545 $as_echo_n "checking for isnanf declaration... " >&6; }
60546 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60547 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60548 $as_echo_n "(cached) " >&6
60549 else
60552 ac_ext=cpp
60553 ac_cpp='$CXXCPP $CPPFLAGS'
60554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60559 /* end confdefs.h. */
60560 #include <math.h>
60561 #ifdef HAVE_IEEEFP_H
60562 #include <ieeefp.h>
60563 #endif
60566 main ()
60568 isnanf(0);
60570 return 0;
60572 _ACEOF
60573 if ac_fn_cxx_try_compile "$LINENO"; then :
60574 glibcxx_cv_func_isnanf_use=yes
60575 else
60576 glibcxx_cv_func_isnanf_use=no
60578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60579 ac_ext=c
60580 ac_cpp='$CPP $CPPFLAGS'
60581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60590 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60592 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60593 for ac_func in isnanf
60594 do :
60595 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60596 if test "x$ac_cv_func_isnanf" = x""yes; then :
60597 cat >>confdefs.h <<_ACEOF
60598 #define HAVE_ISNANF 1
60599 _ACEOF
60602 done
60604 else
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60607 $as_echo_n "checking for _isnanf declaration... " >&6; }
60608 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60609 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60610 $as_echo_n "(cached) " >&6
60611 else
60614 ac_ext=cpp
60615 ac_cpp='$CXXCPP $CPPFLAGS'
60616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60621 /* end confdefs.h. */
60622 #include <math.h>
60623 #ifdef HAVE_IEEEFP_H
60624 #include <ieeefp.h>
60625 #endif
60628 main ()
60630 _isnanf(0);
60632 return 0;
60634 _ACEOF
60635 if ac_fn_cxx_try_compile "$LINENO"; then :
60636 glibcxx_cv_func__isnanf_use=yes
60637 else
60638 glibcxx_cv_func__isnanf_use=no
60640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60641 ac_ext=c
60642 ac_cpp='$CPP $CPPFLAGS'
60643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60652 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60654 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60655 for ac_func in _isnanf
60656 do :
60657 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60658 if test "x$ac_cv_func__isnanf" = x""yes; then :
60659 cat >>confdefs.h <<_ACEOF
60660 #define HAVE__ISNANF 1
60661 _ACEOF
60664 done
60673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60674 $as_echo_n "checking for isinff declaration... " >&6; }
60675 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60676 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60677 $as_echo_n "(cached) " >&6
60678 else
60681 ac_ext=cpp
60682 ac_cpp='$CXXCPP $CPPFLAGS'
60683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688 /* end confdefs.h. */
60689 #include <math.h>
60690 #ifdef HAVE_IEEEFP_H
60691 #include <ieeefp.h>
60692 #endif
60695 main ()
60697 isinff(0);
60699 return 0;
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_isinff_use=yes
60704 else
60705 glibcxx_cv_func_isinff_use=no
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60719 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60721 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60722 for ac_func in isinff
60723 do :
60724 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60725 if test "x$ac_cv_func_isinff" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_ISINFF 1
60728 _ACEOF
60731 done
60733 else
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60736 $as_echo_n "checking for _isinff declaration... " >&6; }
60737 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60738 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 #ifdef HAVE_IEEEFP_H
60753 #include <ieeefp.h>
60754 #endif
60757 main ()
60759 _isinff(0);
60761 return 0;
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func__isinff_use=yes
60766 else
60767 glibcxx_cv_func__isinff_use=no
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60781 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60783 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60784 for ac_func in _isinff
60785 do :
60786 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60787 if test "x$ac_cv_func__isinff" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE__ISINFF 1
60790 _ACEOF
60793 done
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60803 $as_echo_n "checking for atan2f declaration... " >&6; }
60804 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60805 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60820 main ()
60822 atan2f(0, 0);
60824 return 0;
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_atan2f_use=yes
60829 else
60830 glibcxx_cv_func_atan2f_use=no
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60844 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60846 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60847 for ac_func in atan2f
60848 do :
60849 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60850 if test "x$ac_cv_func_atan2f" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_ATAN2F 1
60853 _ACEOF
60856 done
60858 else
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60861 $as_echo_n "checking for _atan2f declaration... " >&6; }
60862 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60863 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60878 main ()
60880 _atan2f(0, 0);
60882 return 0;
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func__atan2f_use=yes
60887 else
60888 glibcxx_cv_func__atan2f_use=no
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60902 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60904 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60905 for ac_func in _atan2f
60906 do :
60907 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60908 if test "x$ac_cv_func__atan2f" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE__ATAN2F 1
60911 _ACEOF
60914 done
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60924 $as_echo_n "checking for fabsf declaration... " >&6; }
60925 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60926 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60940 #ifdef HAVE_IEEEFP_H
60941 #include <ieeefp.h>
60942 #endif
60945 main ()
60947 fabsf(0);
60949 return 0;
60951 _ACEOF
60952 if ac_fn_cxx_try_compile "$LINENO"; then :
60953 glibcxx_cv_func_fabsf_use=yes
60954 else
60955 glibcxx_cv_func_fabsf_use=no
60957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60958 ac_ext=c
60959 ac_cpp='$CPP $CPPFLAGS'
60960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60969 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60971 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60972 for ac_func in fabsf
60973 do :
60974 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60975 if test "x$ac_cv_func_fabsf" = x""yes; then :
60976 cat >>confdefs.h <<_ACEOF
60977 #define HAVE_FABSF 1
60978 _ACEOF
60981 done
60983 else
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60986 $as_echo_n "checking for _fabsf declaration... " >&6; }
60987 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60988 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60989 $as_echo_n "(cached) " >&6
60990 else
60993 ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 #include <math.h>
61002 #ifdef HAVE_IEEEFP_H
61003 #include <ieeefp.h>
61004 #endif
61007 main ()
61009 _fabsf(0);
61011 return 0;
61013 _ACEOF
61014 if ac_fn_cxx_try_compile "$LINENO"; then :
61015 glibcxx_cv_func__fabsf_use=yes
61016 else
61017 glibcxx_cv_func__fabsf_use=no
61019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61020 ac_ext=c
61021 ac_cpp='$CPP $CPPFLAGS'
61022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61031 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61033 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61034 for ac_func in _fabsf
61035 do :
61036 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61037 if test "x$ac_cv_func__fabsf" = x""yes; then :
61038 cat >>confdefs.h <<_ACEOF
61039 #define HAVE__FABSF 1
61040 _ACEOF
61043 done
61052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61053 $as_echo_n "checking for fmodf declaration... " >&6; }
61054 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61055 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61070 main ()
61072 fmodf(0, 0);
61074 return 0;
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func_fmodf_use=yes
61079 else
61080 glibcxx_cv_func_fmodf_use=no
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61094 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61096 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61097 for ac_func in fmodf
61098 do :
61099 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61100 if test "x$ac_cv_func_fmodf" = x""yes; then :
61101 cat >>confdefs.h <<_ACEOF
61102 #define HAVE_FMODF 1
61103 _ACEOF
61106 done
61108 else
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61111 $as_echo_n "checking for _fmodf declaration... " >&6; }
61112 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61113 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61114 $as_echo_n "(cached) " >&6
61115 else
61118 ac_ext=cpp
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61125 /* end confdefs.h. */
61126 #include <math.h>
61128 main ()
61130 _fmodf(0, 0);
61132 return 0;
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func__fmodf_use=yes
61137 else
61138 glibcxx_cv_func__fmodf_use=no
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61152 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61154 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61155 for ac_func in _fmodf
61156 do :
61157 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61158 if test "x$ac_cv_func__fmodf" = x""yes; then :
61159 cat >>confdefs.h <<_ACEOF
61160 #define HAVE__FMODF 1
61161 _ACEOF
61164 done
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61174 $as_echo_n "checking for frexpf declaration... " >&6; }
61175 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61176 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61177 $as_echo_n "(cached) " >&6
61178 else
61181 ac_ext=cpp
61182 ac_cpp='$CXXCPP $CPPFLAGS'
61183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61188 /* end confdefs.h. */
61189 #include <math.h>
61191 main ()
61193 frexpf(0, 0);
61195 return 0;
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func_frexpf_use=yes
61200 else
61201 glibcxx_cv_func_frexpf_use=no
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61215 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61217 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61218 for ac_func in frexpf
61219 do :
61220 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61221 if test "x$ac_cv_func_frexpf" = x""yes; then :
61222 cat >>confdefs.h <<_ACEOF
61223 #define HAVE_FREXPF 1
61224 _ACEOF
61227 done
61229 else
61231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61232 $as_echo_n "checking for _frexpf declaration... " >&6; }
61233 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61234 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61235 $as_echo_n "(cached) " >&6
61236 else
61239 ac_ext=cpp
61240 ac_cpp='$CXXCPP $CPPFLAGS'
61241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61246 /* end confdefs.h. */
61247 #include <math.h>
61249 main ()
61251 _frexpf(0, 0);
61253 return 0;
61255 _ACEOF
61256 if ac_fn_cxx_try_compile "$LINENO"; then :
61257 glibcxx_cv_func__frexpf_use=yes
61258 else
61259 glibcxx_cv_func__frexpf_use=no
61261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61262 ac_ext=c
61263 ac_cpp='$CPP $CPPFLAGS'
61264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61273 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61275 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61276 for ac_func in _frexpf
61277 do :
61278 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61279 if test "x$ac_cv_func__frexpf" = x""yes; then :
61280 cat >>confdefs.h <<_ACEOF
61281 #define HAVE__FREXPF 1
61282 _ACEOF
61285 done
61294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61295 $as_echo_n "checking for hypotf declaration... " >&6; }
61296 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61297 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61298 $as_echo_n "(cached) " >&6
61299 else
61302 ac_ext=cpp
61303 ac_cpp='$CXXCPP $CPPFLAGS'
61304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61309 /* end confdefs.h. */
61310 #include <math.h>
61312 main ()
61314 hypotf(0, 0);
61316 return 0;
61318 _ACEOF
61319 if ac_fn_cxx_try_compile "$LINENO"; then :
61320 glibcxx_cv_func_hypotf_use=yes
61321 else
61322 glibcxx_cv_func_hypotf_use=no
61324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61325 ac_ext=c
61326 ac_cpp='$CPP $CPPFLAGS'
61327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61336 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61338 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61339 for ac_func in hypotf
61340 do :
61341 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61342 if test "x$ac_cv_func_hypotf" = x""yes; then :
61343 cat >>confdefs.h <<_ACEOF
61344 #define HAVE_HYPOTF 1
61345 _ACEOF
61348 done
61350 else
61352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61353 $as_echo_n "checking for _hypotf declaration... " >&6; }
61354 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61355 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61370 main ()
61372 _hypotf(0, 0);
61374 return 0;
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__hypotf_use=yes
61379 else
61380 glibcxx_cv_func__hypotf_use=no
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61394 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61396 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61397 for ac_func in _hypotf
61398 do :
61399 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61400 if test "x$ac_cv_func__hypotf" = x""yes; then :
61401 cat >>confdefs.h <<_ACEOF
61402 #define HAVE__HYPOTF 1
61403 _ACEOF
61406 done
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61416 $as_echo_n "checking for ldexpf declaration... " >&6; }
61417 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61418 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61419 $as_echo_n "(cached) " >&6
61420 else
61423 ac_ext=cpp
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61430 /* end confdefs.h. */
61431 #include <math.h>
61433 main ()
61435 ldexpf(0, 0);
61437 return 0;
61439 _ACEOF
61440 if ac_fn_cxx_try_compile "$LINENO"; then :
61441 glibcxx_cv_func_ldexpf_use=yes
61442 else
61443 glibcxx_cv_func_ldexpf_use=no
61445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61446 ac_ext=c
61447 ac_cpp='$CPP $CPPFLAGS'
61448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61457 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61459 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61460 for ac_func in ldexpf
61461 do :
61462 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61463 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61464 cat >>confdefs.h <<_ACEOF
61465 #define HAVE_LDEXPF 1
61466 _ACEOF
61469 done
61471 else
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61474 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61475 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61476 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61477 $as_echo_n "(cached) " >&6
61478 else
61481 ac_ext=cpp
61482 ac_cpp='$CXXCPP $CPPFLAGS'
61483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61488 /* end confdefs.h. */
61489 #include <math.h>
61491 main ()
61493 _ldexpf(0, 0);
61495 return 0;
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func__ldexpf_use=yes
61500 else
61501 glibcxx_cv_func__ldexpf_use=no
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61515 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61517 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61518 for ac_func in _ldexpf
61519 do :
61520 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61521 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE__LDEXPF 1
61524 _ACEOF
61527 done
61536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61537 $as_echo_n "checking for logf declaration... " >&6; }
61538 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61539 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61540 $as_echo_n "(cached) " >&6
61541 else
61544 ac_ext=cpp
61545 ac_cpp='$CXXCPP $CPPFLAGS'
61546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61551 /* end confdefs.h. */
61552 #include <math.h>
61553 #ifdef HAVE_IEEEFP_H
61554 #include <ieeefp.h>
61555 #endif
61558 main ()
61560 logf(0);
61562 return 0;
61564 _ACEOF
61565 if ac_fn_cxx_try_compile "$LINENO"; then :
61566 glibcxx_cv_func_logf_use=yes
61567 else
61568 glibcxx_cv_func_logf_use=no
61570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61571 ac_ext=c
61572 ac_cpp='$CPP $CPPFLAGS'
61573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61582 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61584 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61585 for ac_func in logf
61586 do :
61587 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61588 if test "x$ac_cv_func_logf" = x""yes; then :
61589 cat >>confdefs.h <<_ACEOF
61590 #define HAVE_LOGF 1
61591 _ACEOF
61594 done
61596 else
61598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61599 $as_echo_n "checking for _logf declaration... " >&6; }
61600 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61601 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61602 $as_echo_n "(cached) " >&6
61603 else
61606 ac_ext=cpp
61607 ac_cpp='$CXXCPP $CPPFLAGS'
61608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61613 /* end confdefs.h. */
61614 #include <math.h>
61615 #ifdef HAVE_IEEEFP_H
61616 #include <ieeefp.h>
61617 #endif
61620 main ()
61622 _logf(0);
61624 return 0;
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func__logf_use=yes
61629 else
61630 glibcxx_cv_func__logf_use=no
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61644 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61646 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61647 for ac_func in _logf
61648 do :
61649 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61650 if test "x$ac_cv_func__logf" = x""yes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE__LOGF 1
61653 _ACEOF
61656 done
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61666 $as_echo_n "checking for log10f declaration... " >&6; }
61667 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61668 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61682 #ifdef HAVE_IEEEFP_H
61683 #include <ieeefp.h>
61684 #endif
61687 main ()
61689 log10f(0);
61691 return 0;
61693 _ACEOF
61694 if ac_fn_cxx_try_compile "$LINENO"; then :
61695 glibcxx_cv_func_log10f_use=yes
61696 else
61697 glibcxx_cv_func_log10f_use=no
61699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61700 ac_ext=c
61701 ac_cpp='$CPP $CPPFLAGS'
61702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61711 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61713 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61714 for ac_func in log10f
61715 do :
61716 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61717 if test "x$ac_cv_func_log10f" = x""yes; then :
61718 cat >>confdefs.h <<_ACEOF
61719 #define HAVE_LOG10F 1
61720 _ACEOF
61723 done
61725 else
61727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61728 $as_echo_n "checking for _log10f declaration... " >&6; }
61729 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61730 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61731 $as_echo_n "(cached) " >&6
61732 else
61735 ac_ext=cpp
61736 ac_cpp='$CXXCPP $CPPFLAGS'
61737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61742 /* end confdefs.h. */
61743 #include <math.h>
61744 #ifdef HAVE_IEEEFP_H
61745 #include <ieeefp.h>
61746 #endif
61749 main ()
61751 _log10f(0);
61753 return 0;
61755 _ACEOF
61756 if ac_fn_cxx_try_compile "$LINENO"; then :
61757 glibcxx_cv_func__log10f_use=yes
61758 else
61759 glibcxx_cv_func__log10f_use=no
61761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61762 ac_ext=c
61763 ac_cpp='$CPP $CPPFLAGS'
61764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61773 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61775 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61776 for ac_func in _log10f
61777 do :
61778 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61779 if test "x$ac_cv_func__log10f" = x""yes; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define HAVE__LOG10F 1
61782 _ACEOF
61785 done
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61795 $as_echo_n "checking for modff declaration... " >&6; }
61796 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61797 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61798 $as_echo_n "(cached) " >&6
61799 else
61802 ac_ext=cpp
61803 ac_cpp='$CXXCPP $CPPFLAGS'
61804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61809 /* end confdefs.h. */
61810 #include <math.h>
61812 main ()
61814 modff(0, 0);
61816 return 0;
61818 _ACEOF
61819 if ac_fn_cxx_try_compile "$LINENO"; then :
61820 glibcxx_cv_func_modff_use=yes
61821 else
61822 glibcxx_cv_func_modff_use=no
61824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61825 ac_ext=c
61826 ac_cpp='$CPP $CPPFLAGS'
61827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61836 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61838 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61839 for ac_func in modff
61840 do :
61841 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61842 if test "x$ac_cv_func_modff" = x""yes; then :
61843 cat >>confdefs.h <<_ACEOF
61844 #define HAVE_MODFF 1
61845 _ACEOF
61848 done
61850 else
61852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61853 $as_echo_n "checking for _modff declaration... " >&6; }
61854 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61855 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61856 $as_echo_n "(cached) " >&6
61857 else
61860 ac_ext=cpp
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61867 /* end confdefs.h. */
61868 #include <math.h>
61870 main ()
61872 _modff(0, 0);
61874 return 0;
61876 _ACEOF
61877 if ac_fn_cxx_try_compile "$LINENO"; then :
61878 glibcxx_cv_func__modff_use=yes
61879 else
61880 glibcxx_cv_func__modff_use=no
61882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61883 ac_ext=c
61884 ac_cpp='$CPP $CPPFLAGS'
61885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61894 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61896 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61897 for ac_func in _modff
61898 do :
61899 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61900 if test "x$ac_cv_func__modff" = x""yes; then :
61901 cat >>confdefs.h <<_ACEOF
61902 #define HAVE__MODFF 1
61903 _ACEOF
61906 done
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61916 $as_echo_n "checking for modf declaration... " >&6; }
61917 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61918 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61919 $as_echo_n "(cached) " >&6
61920 else
61923 ac_ext=cpp
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61930 /* end confdefs.h. */
61931 #include <math.h>
61933 main ()
61935 modf(0, 0);
61937 return 0;
61939 _ACEOF
61940 if ac_fn_cxx_try_compile "$LINENO"; then :
61941 glibcxx_cv_func_modf_use=yes
61942 else
61943 glibcxx_cv_func_modf_use=no
61945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61946 ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61957 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61959 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61960 for ac_func in modf
61961 do :
61962 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61963 if test "x$ac_cv_func_modf" = x""yes; then :
61964 cat >>confdefs.h <<_ACEOF
61965 #define HAVE_MODF 1
61966 _ACEOF
61969 done
61971 else
61973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61974 $as_echo_n "checking for _modf declaration... " >&6; }
61975 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61976 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61977 $as_echo_n "(cached) " >&6
61978 else
61981 ac_ext=cpp
61982 ac_cpp='$CXXCPP $CPPFLAGS'
61983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61988 /* end confdefs.h. */
61989 #include <math.h>
61991 main ()
61993 _modf(0, 0);
61995 return 0;
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func__modf_use=yes
62000 else
62001 glibcxx_cv_func__modf_use=no
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62015 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62017 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62018 for ac_func in _modf
62019 do :
62020 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62021 if test "x$ac_cv_func__modf" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE__MODF 1
62024 _ACEOF
62027 done
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62037 $as_echo_n "checking for powf declaration... " >&6; }
62038 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62039 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62040 $as_echo_n "(cached) " >&6
62041 else
62044 ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h. */
62052 #include <math.h>
62054 main ()
62056 powf(0, 0);
62058 return 0;
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func_powf_use=yes
62063 else
62064 glibcxx_cv_func_powf_use=no
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62078 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62080 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62081 for ac_func in powf
62082 do :
62083 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62084 if test "x$ac_cv_func_powf" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE_POWF 1
62087 _ACEOF
62090 done
62092 else
62094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62095 $as_echo_n "checking for _powf declaration... " >&6; }
62096 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62097 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62098 $as_echo_n "(cached) " >&6
62099 else
62102 ac_ext=cpp
62103 ac_cpp='$CXXCPP $CPPFLAGS'
62104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62109 /* end confdefs.h. */
62110 #include <math.h>
62112 main ()
62114 _powf(0, 0);
62116 return 0;
62118 _ACEOF
62119 if ac_fn_cxx_try_compile "$LINENO"; then :
62120 glibcxx_cv_func__powf_use=yes
62121 else
62122 glibcxx_cv_func__powf_use=no
62124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62125 ac_ext=c
62126 ac_cpp='$CPP $CPPFLAGS'
62127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62136 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62138 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62139 for ac_func in _powf
62140 do :
62141 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62142 if test "x$ac_cv_func__powf" = x""yes; then :
62143 cat >>confdefs.h <<_ACEOF
62144 #define HAVE__POWF 1
62145 _ACEOF
62148 done
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62158 $as_echo_n "checking for sqrtf declaration... " >&6; }
62159 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62160 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62161 $as_echo_n "(cached) " >&6
62162 else
62165 ac_ext=cpp
62166 ac_cpp='$CXXCPP $CPPFLAGS'
62167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62172 /* end confdefs.h. */
62173 #include <math.h>
62174 #ifdef HAVE_IEEEFP_H
62175 #include <ieeefp.h>
62176 #endif
62179 main ()
62181 sqrtf(0);
62183 return 0;
62185 _ACEOF
62186 if ac_fn_cxx_try_compile "$LINENO"; then :
62187 glibcxx_cv_func_sqrtf_use=yes
62188 else
62189 glibcxx_cv_func_sqrtf_use=no
62191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62192 ac_ext=c
62193 ac_cpp='$CPP $CPPFLAGS'
62194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62203 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62205 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62206 for ac_func in sqrtf
62207 do :
62208 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62209 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62210 cat >>confdefs.h <<_ACEOF
62211 #define HAVE_SQRTF 1
62212 _ACEOF
62215 done
62217 else
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62220 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62221 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62222 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62236 #ifdef HAVE_IEEEFP_H
62237 #include <ieeefp.h>
62238 #endif
62241 main ()
62243 _sqrtf(0);
62245 return 0;
62247 _ACEOF
62248 if ac_fn_cxx_try_compile "$LINENO"; then :
62249 glibcxx_cv_func__sqrtf_use=yes
62250 else
62251 glibcxx_cv_func__sqrtf_use=no
62253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62254 ac_ext=c
62255 ac_cpp='$CPP $CPPFLAGS'
62256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62265 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62267 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62268 for ac_func in _sqrtf
62269 do :
62270 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62271 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62272 cat >>confdefs.h <<_ACEOF
62273 #define HAVE__SQRTF 1
62274 _ACEOF
62277 done
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62287 $as_echo_n "checking for sincosf declaration... " >&6; }
62288 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62289 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62290 $as_echo_n "(cached) " >&6
62291 else
62294 ac_ext=cpp
62295 ac_cpp='$CXXCPP $CPPFLAGS'
62296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62301 /* end confdefs.h. */
62302 #include <math.h>
62304 main ()
62306 sincosf(0, 0, 0);
62308 return 0;
62310 _ACEOF
62311 if ac_fn_cxx_try_compile "$LINENO"; then :
62312 glibcxx_cv_func_sincosf_use=yes
62313 else
62314 glibcxx_cv_func_sincosf_use=no
62316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62317 ac_ext=c
62318 ac_cpp='$CPP $CPPFLAGS'
62319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62328 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62330 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62331 for ac_func in sincosf
62332 do :
62333 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62334 if test "x$ac_cv_func_sincosf" = x""yes; then :
62335 cat >>confdefs.h <<_ACEOF
62336 #define HAVE_SINCOSF 1
62337 _ACEOF
62340 done
62342 else
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62345 $as_echo_n "checking for _sincosf declaration... " >&6; }
62346 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62347 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62348 $as_echo_n "(cached) " >&6
62349 else
62352 ac_ext=cpp
62353 ac_cpp='$CXXCPP $CPPFLAGS'
62354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62359 /* end confdefs.h. */
62360 #include <math.h>
62362 main ()
62364 _sincosf(0, 0, 0);
62366 return 0;
62368 _ACEOF
62369 if ac_fn_cxx_try_compile "$LINENO"; then :
62370 glibcxx_cv_func__sincosf_use=yes
62371 else
62372 glibcxx_cv_func__sincosf_use=no
62374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62375 ac_ext=c
62376 ac_cpp='$CPP $CPPFLAGS'
62377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62386 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62388 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62389 for ac_func in _sincosf
62390 do :
62391 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62392 if test "x$ac_cv_func__sincosf" = x""yes; then :
62393 cat >>confdefs.h <<_ACEOF
62394 #define HAVE__SINCOSF 1
62395 _ACEOF
62398 done
62407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62408 $as_echo_n "checking for finitef declaration... " >&6; }
62409 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62410 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62411 $as_echo_n "(cached) " >&6
62412 else
62415 ac_ext=cpp
62416 ac_cpp='$CXXCPP $CPPFLAGS'
62417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62422 /* end confdefs.h. */
62423 #include <math.h>
62424 #ifdef HAVE_IEEEFP_H
62425 #include <ieeefp.h>
62426 #endif
62429 main ()
62431 finitef(0);
62433 return 0;
62435 _ACEOF
62436 if ac_fn_cxx_try_compile "$LINENO"; then :
62437 glibcxx_cv_func_finitef_use=yes
62438 else
62439 glibcxx_cv_func_finitef_use=no
62441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62442 ac_ext=c
62443 ac_cpp='$CPP $CPPFLAGS'
62444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62453 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62455 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62456 for ac_func in finitef
62457 do :
62458 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62459 if test "x$ac_cv_func_finitef" = x""yes; then :
62460 cat >>confdefs.h <<_ACEOF
62461 #define HAVE_FINITEF 1
62462 _ACEOF
62465 done
62467 else
62469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62470 $as_echo_n "checking for _finitef declaration... " >&6; }
62471 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62472 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62473 $as_echo_n "(cached) " >&6
62474 else
62477 ac_ext=cpp
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62484 /* end confdefs.h. */
62485 #include <math.h>
62486 #ifdef HAVE_IEEEFP_H
62487 #include <ieeefp.h>
62488 #endif
62491 main ()
62493 _finitef(0);
62495 return 0;
62497 _ACEOF
62498 if ac_fn_cxx_try_compile "$LINENO"; then :
62499 glibcxx_cv_func__finitef_use=yes
62500 else
62501 glibcxx_cv_func__finitef_use=no
62503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62504 ac_ext=c
62505 ac_cpp='$CPP $CPPFLAGS'
62506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62515 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62517 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62518 for ac_func in _finitef
62519 do :
62520 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62521 if test "x$ac_cv_func__finitef" = x""yes; then :
62522 cat >>confdefs.h <<_ACEOF
62523 #define HAVE__FINITEF 1
62524 _ACEOF
62527 done
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62537 $as_echo_n "checking for long double trig functions... " >&6; }
62538 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62553 main ()
62555 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62557 return 0;
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561 glibcxx_cv_func_long_double_trig_use=yes
62562 else
62563 glibcxx_cv_func_long_double_trig_use=no
62565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62566 ac_ext=c
62567 ac_cpp='$CPP $CPPFLAGS'
62568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62575 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62576 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62577 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62578 do :
62579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62581 eval as_val=\$$as_ac_var
62582 if test "x$as_val" = x""yes; then :
62583 cat >>confdefs.h <<_ACEOF
62584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62585 _ACEOF
62588 done
62590 else
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62592 $as_echo_n "checking for _long double trig functions... " >&6; }
62593 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62594 $as_echo_n "(cached) " >&6
62595 else
62598 ac_ext=cpp
62599 ac_cpp='$CXXCPP $CPPFLAGS'
62600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62605 /* end confdefs.h. */
62606 #include <math.h>
62608 main ()
62610 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62612 return 0;
62614 _ACEOF
62615 if ac_fn_cxx_try_compile "$LINENO"; then :
62616 glibcxx_cv_func__long_double_trig_use=yes
62617 else
62618 glibcxx_cv_func__long_double_trig_use=no
62620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62621 ac_ext=c
62622 ac_cpp='$CPP $CPPFLAGS'
62623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62630 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62631 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62632 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62633 do :
62634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62636 eval as_val=\$$as_ac_var
62637 if test "x$as_val" = x""yes; then :
62638 cat >>confdefs.h <<_ACEOF
62639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62640 _ACEOF
62643 done
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62653 $as_echo_n "checking for long double round functions... " >&6; }
62654 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62655 $as_echo_n "(cached) " >&6
62656 else
62659 ac_ext=cpp
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62666 /* end confdefs.h. */
62667 #include <math.h>
62669 main ()
62671 ceill (0); floorl (0);
62673 return 0;
62675 _ACEOF
62676 if ac_fn_cxx_try_compile "$LINENO"; then :
62677 glibcxx_cv_func_long_double_round_use=yes
62678 else
62679 glibcxx_cv_func_long_double_round_use=no
62681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62682 ac_ext=c
62683 ac_cpp='$CPP $CPPFLAGS'
62684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62691 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62692 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62693 for ac_func in ceill floorl
62694 do :
62695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62697 eval as_val=\$$as_ac_var
62698 if test "x$as_val" = x""yes; then :
62699 cat >>confdefs.h <<_ACEOF
62700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62701 _ACEOF
62704 done
62706 else
62707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62708 $as_echo_n "checking for _long double round functions... " >&6; }
62709 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62710 $as_echo_n "(cached) " >&6
62711 else
62714 ac_ext=cpp
62715 ac_cpp='$CXXCPP $CPPFLAGS'
62716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62721 /* end confdefs.h. */
62722 #include <math.h>
62724 main ()
62726 _ceill (0); _floorl (0);
62728 return 0;
62730 _ACEOF
62731 if ac_fn_cxx_try_compile "$LINENO"; then :
62732 glibcxx_cv_func__long_double_round_use=yes
62733 else
62734 glibcxx_cv_func__long_double_round_use=no
62736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62737 ac_ext=c
62738 ac_cpp='$CPP $CPPFLAGS'
62739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62746 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62747 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62748 for ac_func in _ceill _floorl
62749 do :
62750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62752 eval as_val=\$$as_ac_var
62753 if test "x$as_val" = x""yes; then :
62754 cat >>confdefs.h <<_ACEOF
62755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62756 _ACEOF
62759 done
62769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62770 $as_echo_n "checking for isnanl declaration... " >&6; }
62771 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62772 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62773 $as_echo_n "(cached) " >&6
62774 else
62777 ac_ext=cpp
62778 ac_cpp='$CXXCPP $CPPFLAGS'
62779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62784 /* end confdefs.h. */
62785 #include <math.h>
62786 #ifdef HAVE_IEEEFP_H
62787 #include <ieeefp.h>
62788 #endif
62791 main ()
62793 isnanl(0);
62795 return 0;
62797 _ACEOF
62798 if ac_fn_cxx_try_compile "$LINENO"; then :
62799 glibcxx_cv_func_isnanl_use=yes
62800 else
62801 glibcxx_cv_func_isnanl_use=no
62803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62804 ac_ext=c
62805 ac_cpp='$CPP $CPPFLAGS'
62806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62815 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62817 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62818 for ac_func in isnanl
62819 do :
62820 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62821 if test "x$ac_cv_func_isnanl" = x""yes; then :
62822 cat >>confdefs.h <<_ACEOF
62823 #define HAVE_ISNANL 1
62824 _ACEOF
62827 done
62829 else
62831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62832 $as_echo_n "checking for _isnanl declaration... " >&6; }
62833 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62834 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62835 $as_echo_n "(cached) " >&6
62836 else
62839 ac_ext=cpp
62840 ac_cpp='$CXXCPP $CPPFLAGS'
62841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62846 /* end confdefs.h. */
62847 #include <math.h>
62848 #ifdef HAVE_IEEEFP_H
62849 #include <ieeefp.h>
62850 #endif
62853 main ()
62855 _isnanl(0);
62857 return 0;
62859 _ACEOF
62860 if ac_fn_cxx_try_compile "$LINENO"; then :
62861 glibcxx_cv_func__isnanl_use=yes
62862 else
62863 glibcxx_cv_func__isnanl_use=no
62865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62866 ac_ext=c
62867 ac_cpp='$CPP $CPPFLAGS'
62868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62877 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62879 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62880 for ac_func in _isnanl
62881 do :
62882 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62883 if test "x$ac_cv_func__isnanl" = x""yes; then :
62884 cat >>confdefs.h <<_ACEOF
62885 #define HAVE__ISNANL 1
62886 _ACEOF
62889 done
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62899 $as_echo_n "checking for isinfl declaration... " >&6; }
62900 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62901 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 #ifdef HAVE_IEEEFP_H
62916 #include <ieeefp.h>
62917 #endif
62920 main ()
62922 isinfl(0);
62924 return 0;
62926 _ACEOF
62927 if ac_fn_cxx_try_compile "$LINENO"; then :
62928 glibcxx_cv_func_isinfl_use=yes
62929 else
62930 glibcxx_cv_func_isinfl_use=no
62932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62933 ac_ext=c
62934 ac_cpp='$CPP $CPPFLAGS'
62935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62944 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62946 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62947 for ac_func in isinfl
62948 do :
62949 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62950 if test "x$ac_cv_func_isinfl" = x""yes; then :
62951 cat >>confdefs.h <<_ACEOF
62952 #define HAVE_ISINFL 1
62953 _ACEOF
62956 done
62958 else
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62961 $as_echo_n "checking for _isinfl declaration... " >&6; }
62962 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62963 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62964 $as_echo_n "(cached) " >&6
62965 else
62968 ac_ext=cpp
62969 ac_cpp='$CXXCPP $CPPFLAGS'
62970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62975 /* end confdefs.h. */
62976 #include <math.h>
62977 #ifdef HAVE_IEEEFP_H
62978 #include <ieeefp.h>
62979 #endif
62982 main ()
62984 _isinfl(0);
62986 return 0;
62988 _ACEOF
62989 if ac_fn_cxx_try_compile "$LINENO"; then :
62990 glibcxx_cv_func__isinfl_use=yes
62991 else
62992 glibcxx_cv_func__isinfl_use=no
62994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62995 ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63006 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63008 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63009 for ac_func in _isinfl
63010 do :
63011 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63012 if test "x$ac_cv_func__isinfl" = x""yes; then :
63013 cat >>confdefs.h <<_ACEOF
63014 #define HAVE__ISINFL 1
63015 _ACEOF
63018 done
63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63028 $as_echo_n "checking for atan2l declaration... " >&6; }
63029 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63030 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63031 $as_echo_n "(cached) " >&6
63032 else
63035 ac_ext=cpp
63036 ac_cpp='$CXXCPP $CPPFLAGS'
63037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63042 /* end confdefs.h. */
63043 #include <math.h>
63045 main ()
63047 atan2l(0, 0);
63049 return 0;
63051 _ACEOF
63052 if ac_fn_cxx_try_compile "$LINENO"; then :
63053 glibcxx_cv_func_atan2l_use=yes
63054 else
63055 glibcxx_cv_func_atan2l_use=no
63057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63058 ac_ext=c
63059 ac_cpp='$CPP $CPPFLAGS'
63060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63069 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63071 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63072 for ac_func in atan2l
63073 do :
63074 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63075 if test "x$ac_cv_func_atan2l" = x""yes; then :
63076 cat >>confdefs.h <<_ACEOF
63077 #define HAVE_ATAN2L 1
63078 _ACEOF
63081 done
63083 else
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63086 $as_echo_n "checking for _atan2l declaration... " >&6; }
63087 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63088 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63089 $as_echo_n "(cached) " >&6
63090 else
63093 ac_ext=cpp
63094 ac_cpp='$CXXCPP $CPPFLAGS'
63095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63100 /* end confdefs.h. */
63101 #include <math.h>
63103 main ()
63105 _atan2l(0, 0);
63107 return 0;
63109 _ACEOF
63110 if ac_fn_cxx_try_compile "$LINENO"; then :
63111 glibcxx_cv_func__atan2l_use=yes
63112 else
63113 glibcxx_cv_func__atan2l_use=no
63115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63116 ac_ext=c
63117 ac_cpp='$CPP $CPPFLAGS'
63118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63127 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63129 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63130 for ac_func in _atan2l
63131 do :
63132 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63133 if test "x$ac_cv_func__atan2l" = x""yes; then :
63134 cat >>confdefs.h <<_ACEOF
63135 #define HAVE__ATAN2L 1
63136 _ACEOF
63139 done
63148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63149 $as_echo_n "checking for expl declaration... " >&6; }
63150 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63151 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63152 $as_echo_n "(cached) " >&6
63153 else
63156 ac_ext=cpp
63157 ac_cpp='$CXXCPP $CPPFLAGS'
63158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63163 /* end confdefs.h. */
63164 #include <math.h>
63165 #ifdef HAVE_IEEEFP_H
63166 #include <ieeefp.h>
63167 #endif
63170 main ()
63172 expl(0);
63174 return 0;
63176 _ACEOF
63177 if ac_fn_cxx_try_compile "$LINENO"; then :
63178 glibcxx_cv_func_expl_use=yes
63179 else
63180 glibcxx_cv_func_expl_use=no
63182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63183 ac_ext=c
63184 ac_cpp='$CPP $CPPFLAGS'
63185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63194 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63196 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63197 for ac_func in expl
63198 do :
63199 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63200 if test "x$ac_cv_func_expl" = x""yes; then :
63201 cat >>confdefs.h <<_ACEOF
63202 #define HAVE_EXPL 1
63203 _ACEOF
63206 done
63208 else
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63211 $as_echo_n "checking for _expl declaration... " >&6; }
63212 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63213 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63214 $as_echo_n "(cached) " >&6
63215 else
63218 ac_ext=cpp
63219 ac_cpp='$CXXCPP $CPPFLAGS'
63220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63225 /* end confdefs.h. */
63226 #include <math.h>
63227 #ifdef HAVE_IEEEFP_H
63228 #include <ieeefp.h>
63229 #endif
63232 main ()
63234 _expl(0);
63236 return 0;
63238 _ACEOF
63239 if ac_fn_cxx_try_compile "$LINENO"; then :
63240 glibcxx_cv_func__expl_use=yes
63241 else
63242 glibcxx_cv_func__expl_use=no
63244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63245 ac_ext=c
63246 ac_cpp='$CPP $CPPFLAGS'
63247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63256 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63258 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63259 for ac_func in _expl
63260 do :
63261 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63262 if test "x$ac_cv_func__expl" = x""yes; then :
63263 cat >>confdefs.h <<_ACEOF
63264 #define HAVE__EXPL 1
63265 _ACEOF
63268 done
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63278 $as_echo_n "checking for fabsl declaration... " >&6; }
63279 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63280 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63281 $as_echo_n "(cached) " >&6
63282 else
63285 ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h. */
63293 #include <math.h>
63294 #ifdef HAVE_IEEEFP_H
63295 #include <ieeefp.h>
63296 #endif
63299 main ()
63301 fabsl(0);
63303 return 0;
63305 _ACEOF
63306 if ac_fn_cxx_try_compile "$LINENO"; then :
63307 glibcxx_cv_func_fabsl_use=yes
63308 else
63309 glibcxx_cv_func_fabsl_use=no
63311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63323 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63325 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63326 for ac_func in fabsl
63327 do :
63328 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63329 if test "x$ac_cv_func_fabsl" = x""yes; then :
63330 cat >>confdefs.h <<_ACEOF
63331 #define HAVE_FABSL 1
63332 _ACEOF
63335 done
63337 else
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63340 $as_echo_n "checking for _fabsl declaration... " >&6; }
63341 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63342 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63356 #ifdef HAVE_IEEEFP_H
63357 #include <ieeefp.h>
63358 #endif
63361 main ()
63363 _fabsl(0);
63365 return 0;
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func__fabsl_use=yes
63370 else
63371 glibcxx_cv_func__fabsl_use=no
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63385 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63387 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63388 for ac_func in _fabsl
63389 do :
63390 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63391 if test "x$ac_cv_func__fabsl" = x""yes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE__FABSL 1
63394 _ACEOF
63397 done
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63407 $as_echo_n "checking for fmodl declaration... " >&6; }
63408 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63409 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63424 main ()
63426 fmodl(0, 0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_fmodl_use=yes
63433 else
63434 glibcxx_cv_func_fmodl_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63448 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63450 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63451 for ac_func in fmodl
63452 do :
63453 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63454 if test "x$ac_cv_func_fmodl" = x""yes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE_FMODL 1
63457 _ACEOF
63460 done
63462 else
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63465 $as_echo_n "checking for _fmodl declaration... " >&6; }
63466 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63467 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63482 main ()
63484 _fmodl(0, 0);
63486 return 0;
63488 _ACEOF
63489 if ac_fn_cxx_try_compile "$LINENO"; then :
63490 glibcxx_cv_func__fmodl_use=yes
63491 else
63492 glibcxx_cv_func__fmodl_use=no
63494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63495 ac_ext=c
63496 ac_cpp='$CPP $CPPFLAGS'
63497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63506 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63508 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63509 for ac_func in _fmodl
63510 do :
63511 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63512 if test "x$ac_cv_func__fmodl" = x""yes; then :
63513 cat >>confdefs.h <<_ACEOF
63514 #define HAVE__FMODL 1
63515 _ACEOF
63518 done
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63528 $as_echo_n "checking for frexpl declaration... " >&6; }
63529 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63530 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63531 $as_echo_n "(cached) " >&6
63532 else
63535 ac_ext=cpp
63536 ac_cpp='$CXXCPP $CPPFLAGS'
63537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63542 /* end confdefs.h. */
63543 #include <math.h>
63545 main ()
63547 frexpl(0, 0);
63549 return 0;
63551 _ACEOF
63552 if ac_fn_cxx_try_compile "$LINENO"; then :
63553 glibcxx_cv_func_frexpl_use=yes
63554 else
63555 glibcxx_cv_func_frexpl_use=no
63557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63558 ac_ext=c
63559 ac_cpp='$CPP $CPPFLAGS'
63560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63569 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63571 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63572 for ac_func in frexpl
63573 do :
63574 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63575 if test "x$ac_cv_func_frexpl" = x""yes; then :
63576 cat >>confdefs.h <<_ACEOF
63577 #define HAVE_FREXPL 1
63578 _ACEOF
63581 done
63583 else
63585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63586 $as_echo_n "checking for _frexpl declaration... " >&6; }
63587 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63588 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63589 $as_echo_n "(cached) " >&6
63590 else
63593 ac_ext=cpp
63594 ac_cpp='$CXXCPP $CPPFLAGS'
63595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63600 /* end confdefs.h. */
63601 #include <math.h>
63603 main ()
63605 _frexpl(0, 0);
63607 return 0;
63609 _ACEOF
63610 if ac_fn_cxx_try_compile "$LINENO"; then :
63611 glibcxx_cv_func__frexpl_use=yes
63612 else
63613 glibcxx_cv_func__frexpl_use=no
63615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63616 ac_ext=c
63617 ac_cpp='$CPP $CPPFLAGS'
63618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63627 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63629 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63630 for ac_func in _frexpl
63631 do :
63632 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63633 if test "x$ac_cv_func__frexpl" = x""yes; then :
63634 cat >>confdefs.h <<_ACEOF
63635 #define HAVE__FREXPL 1
63636 _ACEOF
63639 done
63648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63649 $as_echo_n "checking for hypotl declaration... " >&6; }
63650 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63651 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63652 $as_echo_n "(cached) " >&6
63653 else
63656 ac_ext=cpp
63657 ac_cpp='$CXXCPP $CPPFLAGS'
63658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63663 /* end confdefs.h. */
63664 #include <math.h>
63666 main ()
63668 hypotl(0, 0);
63670 return 0;
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674 glibcxx_cv_func_hypotl_use=yes
63675 else
63676 glibcxx_cv_func_hypotl_use=no
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679 ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63690 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63692 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63693 for ac_func in hypotl
63694 do :
63695 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63696 if test "x$ac_cv_func_hypotl" = x""yes; then :
63697 cat >>confdefs.h <<_ACEOF
63698 #define HAVE_HYPOTL 1
63699 _ACEOF
63702 done
63704 else
63706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63707 $as_echo_n "checking for _hypotl declaration... " >&6; }
63708 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63709 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63710 $as_echo_n "(cached) " >&6
63711 else
63714 ac_ext=cpp
63715 ac_cpp='$CXXCPP $CPPFLAGS'
63716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63721 /* end confdefs.h. */
63722 #include <math.h>
63724 main ()
63726 _hypotl(0, 0);
63728 return 0;
63730 _ACEOF
63731 if ac_fn_cxx_try_compile "$LINENO"; then :
63732 glibcxx_cv_func__hypotl_use=yes
63733 else
63734 glibcxx_cv_func__hypotl_use=no
63736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63737 ac_ext=c
63738 ac_cpp='$CPP $CPPFLAGS'
63739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63748 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63750 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63751 for ac_func in _hypotl
63752 do :
63753 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63754 if test "x$ac_cv_func__hypotl" = x""yes; then :
63755 cat >>confdefs.h <<_ACEOF
63756 #define HAVE__HYPOTL 1
63757 _ACEOF
63760 done
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63770 $as_echo_n "checking for ldexpl declaration... " >&6; }
63771 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63772 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63787 main ()
63789 ldexpl(0, 0);
63791 return 0;
63793 _ACEOF
63794 if ac_fn_cxx_try_compile "$LINENO"; then :
63795 glibcxx_cv_func_ldexpl_use=yes
63796 else
63797 glibcxx_cv_func_ldexpl_use=no
63799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63800 ac_ext=c
63801 ac_cpp='$CPP $CPPFLAGS'
63802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63811 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63813 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63814 for ac_func in ldexpl
63815 do :
63816 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63817 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63818 cat >>confdefs.h <<_ACEOF
63819 #define HAVE_LDEXPL 1
63820 _ACEOF
63823 done
63825 else
63827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63828 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63829 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63830 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63831 $as_echo_n "(cached) " >&6
63832 else
63835 ac_ext=cpp
63836 ac_cpp='$CXXCPP $CPPFLAGS'
63837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63842 /* end confdefs.h. */
63843 #include <math.h>
63845 main ()
63847 _ldexpl(0, 0);
63849 return 0;
63851 _ACEOF
63852 if ac_fn_cxx_try_compile "$LINENO"; then :
63853 glibcxx_cv_func__ldexpl_use=yes
63854 else
63855 glibcxx_cv_func__ldexpl_use=no
63857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63858 ac_ext=c
63859 ac_cpp='$CPP $CPPFLAGS'
63860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63869 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63871 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63872 for ac_func in _ldexpl
63873 do :
63874 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63875 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63876 cat >>confdefs.h <<_ACEOF
63877 #define HAVE__LDEXPL 1
63878 _ACEOF
63881 done
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63891 $as_echo_n "checking for logl declaration... " >&6; }
63892 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63893 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63894 $as_echo_n "(cached) " >&6
63895 else
63898 ac_ext=cpp
63899 ac_cpp='$CXXCPP $CPPFLAGS'
63900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63905 /* end confdefs.h. */
63906 #include <math.h>
63907 #ifdef HAVE_IEEEFP_H
63908 #include <ieeefp.h>
63909 #endif
63912 main ()
63914 logl(0);
63916 return 0;
63918 _ACEOF
63919 if ac_fn_cxx_try_compile "$LINENO"; then :
63920 glibcxx_cv_func_logl_use=yes
63921 else
63922 glibcxx_cv_func_logl_use=no
63924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63925 ac_ext=c
63926 ac_cpp='$CPP $CPPFLAGS'
63927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63936 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63938 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63939 for ac_func in logl
63940 do :
63941 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63942 if test "x$ac_cv_func_logl" = x""yes; then :
63943 cat >>confdefs.h <<_ACEOF
63944 #define HAVE_LOGL 1
63945 _ACEOF
63948 done
63950 else
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63953 $as_echo_n "checking for _logl declaration... " >&6; }
63954 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63955 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63956 $as_echo_n "(cached) " >&6
63957 else
63960 ac_ext=cpp
63961 ac_cpp='$CXXCPP $CPPFLAGS'
63962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63967 /* end confdefs.h. */
63968 #include <math.h>
63969 #ifdef HAVE_IEEEFP_H
63970 #include <ieeefp.h>
63971 #endif
63974 main ()
63976 _logl(0);
63978 return 0;
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__logl_use=yes
63983 else
63984 glibcxx_cv_func__logl_use=no
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63998 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64000 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64001 for ac_func in _logl
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64004 if test "x$ac_cv_func__logl" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__LOGL 1
64007 _ACEOF
64010 done
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64020 $as_echo_n "checking for log10l declaration... " >&6; }
64021 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64022 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 #ifdef HAVE_IEEEFP_H
64037 #include <ieeefp.h>
64038 #endif
64041 main ()
64043 log10l(0);
64045 return 0;
64047 _ACEOF
64048 if ac_fn_cxx_try_compile "$LINENO"; then :
64049 glibcxx_cv_func_log10l_use=yes
64050 else
64051 glibcxx_cv_func_log10l_use=no
64053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64054 ac_ext=c
64055 ac_cpp='$CPP $CPPFLAGS'
64056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64065 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64067 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64068 for ac_func in log10l
64069 do :
64070 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64071 if test "x$ac_cv_func_log10l" = x""yes; then :
64072 cat >>confdefs.h <<_ACEOF
64073 #define HAVE_LOG10L 1
64074 _ACEOF
64077 done
64079 else
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64082 $as_echo_n "checking for _log10l declaration... " >&6; }
64083 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64084 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64098 #ifdef HAVE_IEEEFP_H
64099 #include <ieeefp.h>
64100 #endif
64103 main ()
64105 _log10l(0);
64107 return 0;
64109 _ACEOF
64110 if ac_fn_cxx_try_compile "$LINENO"; then :
64111 glibcxx_cv_func__log10l_use=yes
64112 else
64113 glibcxx_cv_func__log10l_use=no
64115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64127 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64129 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64130 for ac_func in _log10l
64131 do :
64132 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64133 if test "x$ac_cv_func__log10l" = x""yes; then :
64134 cat >>confdefs.h <<_ACEOF
64135 #define HAVE__LOG10L 1
64136 _ACEOF
64139 done
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64149 $as_echo_n "checking for modfl declaration... " >&6; }
64150 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64151 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64152 $as_echo_n "(cached) " >&6
64153 else
64156 ac_ext=cpp
64157 ac_cpp='$CXXCPP $CPPFLAGS'
64158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64163 /* end confdefs.h. */
64164 #include <math.h>
64166 main ()
64168 modfl(0, 0);
64170 return 0;
64172 _ACEOF
64173 if ac_fn_cxx_try_compile "$LINENO"; then :
64174 glibcxx_cv_func_modfl_use=yes
64175 else
64176 glibcxx_cv_func_modfl_use=no
64178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64179 ac_ext=c
64180 ac_cpp='$CPP $CPPFLAGS'
64181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64190 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64192 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64193 for ac_func in modfl
64194 do :
64195 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64196 if test "x$ac_cv_func_modfl" = x""yes; then :
64197 cat >>confdefs.h <<_ACEOF
64198 #define HAVE_MODFL 1
64199 _ACEOF
64202 done
64204 else
64206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64207 $as_echo_n "checking for _modfl declaration... " >&6; }
64208 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64209 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64210 $as_echo_n "(cached) " >&6
64211 else
64214 ac_ext=cpp
64215 ac_cpp='$CXXCPP $CPPFLAGS'
64216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64221 /* end confdefs.h. */
64222 #include <math.h>
64224 main ()
64226 _modfl(0, 0);
64228 return 0;
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func__modfl_use=yes
64233 else
64234 glibcxx_cv_func__modfl_use=no
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64248 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64250 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64251 for ac_func in _modfl
64252 do :
64253 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64254 if test "x$ac_cv_func__modfl" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE__MODFL 1
64257 _ACEOF
64260 done
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64270 $as_echo_n "checking for powl declaration... " >&6; }
64271 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64272 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64287 main ()
64289 powl(0, 0);
64291 return 0;
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_powl_use=yes
64296 else
64297 glibcxx_cv_func_powl_use=no
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64311 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64313 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64314 for ac_func in powl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64317 if test "x$ac_cv_func_powl" = x""yes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_POWL 1
64320 _ACEOF
64323 done
64325 else
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64328 $as_echo_n "checking for _powl declaration... " >&6; }
64329 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64330 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64345 main ()
64347 _powl(0, 0);
64349 return 0;
64351 _ACEOF
64352 if ac_fn_cxx_try_compile "$LINENO"; then :
64353 glibcxx_cv_func__powl_use=yes
64354 else
64355 glibcxx_cv_func__powl_use=no
64357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64358 ac_ext=c
64359 ac_cpp='$CPP $CPPFLAGS'
64360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64369 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64371 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64372 for ac_func in _powl
64373 do :
64374 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64375 if test "x$ac_cv_func__powl" = x""yes; then :
64376 cat >>confdefs.h <<_ACEOF
64377 #define HAVE__POWL 1
64378 _ACEOF
64381 done
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64391 $as_echo_n "checking for sqrtl declaration... " >&6; }
64392 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64393 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64407 #ifdef HAVE_IEEEFP_H
64408 #include <ieeefp.h>
64409 #endif
64412 main ()
64414 sqrtl(0);
64416 return 0;
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_sqrtl_use=yes
64421 else
64422 glibcxx_cv_func_sqrtl_use=no
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64436 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64438 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64439 for ac_func in sqrtl
64440 do :
64441 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64442 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_SQRTL 1
64445 _ACEOF
64448 done
64450 else
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64453 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64454 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64455 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64474 main ()
64476 _sqrtl(0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func__sqrtl_use=yes
64483 else
64484 glibcxx_cv_func__sqrtl_use=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64498 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64500 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64501 for ac_func in _sqrtl
64502 do :
64503 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64504 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE__SQRTL 1
64507 _ACEOF
64510 done
64519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64520 $as_echo_n "checking for sincosl declaration... " >&6; }
64521 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64522 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64523 $as_echo_n "(cached) " >&6
64524 else
64527 ac_ext=cpp
64528 ac_cpp='$CXXCPP $CPPFLAGS'
64529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64534 /* end confdefs.h. */
64535 #include <math.h>
64537 main ()
64539 sincosl(0, 0, 0);
64541 return 0;
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func_sincosl_use=yes
64546 else
64547 glibcxx_cv_func_sincosl_use=no
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64561 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64563 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64564 for ac_func in sincosl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64567 if test "x$ac_cv_func_sincosl" = x""yes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE_SINCOSL 1
64570 _ACEOF
64573 done
64575 else
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64578 $as_echo_n "checking for _sincosl declaration... " >&6; }
64579 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64580 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64581 $as_echo_n "(cached) " >&6
64582 else
64585 ac_ext=cpp
64586 ac_cpp='$CXXCPP $CPPFLAGS'
64587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64592 /* end confdefs.h. */
64593 #include <math.h>
64595 main ()
64597 _sincosl(0, 0, 0);
64599 return 0;
64601 _ACEOF
64602 if ac_fn_cxx_try_compile "$LINENO"; then :
64603 glibcxx_cv_func__sincosl_use=yes
64604 else
64605 glibcxx_cv_func__sincosl_use=no
64607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64608 ac_ext=c
64609 ac_cpp='$CPP $CPPFLAGS'
64610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64619 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64621 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64622 for ac_func in _sincosl
64623 do :
64624 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64625 if test "x$ac_cv_func__sincosl" = x""yes; then :
64626 cat >>confdefs.h <<_ACEOF
64627 #define HAVE__SINCOSL 1
64628 _ACEOF
64631 done
64640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64641 $as_echo_n "checking for finitel declaration... " >&6; }
64642 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64643 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64644 $as_echo_n "(cached) " >&6
64645 else
64648 ac_ext=cpp
64649 ac_cpp='$CXXCPP $CPPFLAGS'
64650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64655 /* end confdefs.h. */
64656 #include <math.h>
64657 #ifdef HAVE_IEEEFP_H
64658 #include <ieeefp.h>
64659 #endif
64662 main ()
64664 finitel(0);
64666 return 0;
64668 _ACEOF
64669 if ac_fn_cxx_try_compile "$LINENO"; then :
64670 glibcxx_cv_func_finitel_use=yes
64671 else
64672 glibcxx_cv_func_finitel_use=no
64674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64675 ac_ext=c
64676 ac_cpp='$CPP $CPPFLAGS'
64677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64686 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64688 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64689 for ac_func in finitel
64690 do :
64691 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64692 if test "x$ac_cv_func_finitel" = x""yes; then :
64693 cat >>confdefs.h <<_ACEOF
64694 #define HAVE_FINITEL 1
64695 _ACEOF
64698 done
64700 else
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64703 $as_echo_n "checking for _finitel declaration... " >&6; }
64704 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64705 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64706 $as_echo_n "(cached) " >&6
64707 else
64710 ac_ext=cpp
64711 ac_cpp='$CXXCPP $CPPFLAGS'
64712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64717 /* end confdefs.h. */
64718 #include <math.h>
64719 #ifdef HAVE_IEEEFP_H
64720 #include <ieeefp.h>
64721 #endif
64724 main ()
64726 _finitel(0);
64728 return 0;
64730 _ACEOF
64731 if ac_fn_cxx_try_compile "$LINENO"; then :
64732 glibcxx_cv_func__finitel_use=yes
64733 else
64734 glibcxx_cv_func__finitel_use=no
64736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64737 ac_ext=c
64738 ac_cpp='$CPP $CPPFLAGS'
64739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64748 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64750 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64751 for ac_func in _finitel
64752 do :
64753 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64754 if test "x$ac_cv_func__finitel" = x""yes; then :
64755 cat >>confdefs.h <<_ACEOF
64756 #define HAVE__FINITEL 1
64757 _ACEOF
64760 done
64768 LIBS="$ac_save_LIBS"
64769 CXXFLAGS="$ac_save_CXXFLAGS"
64772 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64773 ac_save_CXXFLAGS="$CXXFLAGS"
64774 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64778 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64779 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64780 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64785 ac_ext=cpp
64786 ac_cpp='$CXXCPP $CPPFLAGS'
64787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64792 /* end confdefs.h. */
64793 #include <stdlib.h>
64795 main ()
64797 at_quick_exit(0);
64799 return 0;
64801 _ACEOF
64802 if ac_fn_cxx_try_compile "$LINENO"; then :
64803 glibcxx_cv_func_at_quick_exit_use=yes
64804 else
64805 glibcxx_cv_func_at_quick_exit_use=no
64807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64808 ac_ext=c
64809 ac_cpp='$CPP $CPPFLAGS'
64810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64819 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64820 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64821 for ac_func in at_quick_exit
64822 do :
64823 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64824 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64825 cat >>confdefs.h <<_ACEOF
64826 #define HAVE_AT_QUICK_EXIT 1
64827 _ACEOF
64830 done
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64836 $as_echo_n "checking for quick_exit declaration... " >&6; }
64837 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64838 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64839 $as_echo_n "(cached) " >&6
64840 else
64843 ac_ext=cpp
64844 ac_cpp='$CXXCPP $CPPFLAGS'
64845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64850 /* end confdefs.h. */
64851 #include <stdlib.h>
64853 main ()
64855 quick_exit(0);
64857 return 0;
64859 _ACEOF
64860 if ac_fn_cxx_try_compile "$LINENO"; then :
64861 glibcxx_cv_func_quick_exit_use=yes
64862 else
64863 glibcxx_cv_func_quick_exit_use=no
64865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64866 ac_ext=c
64867 ac_cpp='$CPP $CPPFLAGS'
64868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64877 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64878 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64879 for ac_func in quick_exit
64880 do :
64881 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64882 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64883 cat >>confdefs.h <<_ACEOF
64884 #define HAVE_QUICK_EXIT 1
64885 _ACEOF
64888 done
64893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64894 $as_echo_n "checking for strtold declaration... " >&6; }
64895 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64896 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64897 $as_echo_n "(cached) " >&6
64898 else
64901 ac_ext=cpp
64902 ac_cpp='$CXXCPP $CPPFLAGS'
64903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64908 /* end confdefs.h. */
64909 #include <stdlib.h>
64911 main ()
64913 strtold(0, 0);
64915 return 0;
64917 _ACEOF
64918 if ac_fn_cxx_try_compile "$LINENO"; then :
64919 glibcxx_cv_func_strtold_use=yes
64920 else
64921 glibcxx_cv_func_strtold_use=no
64923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64924 ac_ext=c
64925 ac_cpp='$CPP $CPPFLAGS'
64926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64935 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64936 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64937 for ac_func in strtold
64938 do :
64939 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64940 if test "x$ac_cv_func_strtold" = x""yes; then :
64941 cat >>confdefs.h <<_ACEOF
64942 #define HAVE_STRTOLD 1
64943 _ACEOF
64946 done
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64954 $as_echo_n "checking for strtof declaration... " >&6; }
64955 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64956 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64957 $as_echo_n "(cached) " >&6
64958 else
64961 ac_ext=cpp
64962 ac_cpp='$CXXCPP $CPPFLAGS'
64963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64968 /* end confdefs.h. */
64969 #include <stdlib.h>
64971 main ()
64973 strtof(0, 0);
64975 return 0;
64977 _ACEOF
64978 if ac_fn_cxx_try_compile "$LINENO"; then :
64979 glibcxx_cv_func_strtof_use=yes
64980 else
64981 glibcxx_cv_func_strtof_use=no
64983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64984 ac_ext=c
64985 ac_cpp='$CPP $CPPFLAGS'
64986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64995 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64996 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64997 for ac_func in strtof
64998 do :
64999 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65000 if test "x$ac_cv_func_strtof" = x""yes; then :
65001 cat >>confdefs.h <<_ACEOF
65002 #define HAVE_STRTOF 1
65003 _ACEOF
65006 done
65013 CXXFLAGS="$ac_save_CXXFLAGS"
65016 *-netbsd*)
65017 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65020 # If we're not using GNU ld, then there's no point in even trying these
65021 # tests. Check for that first. We should have already tested for gld
65022 # by now (in libtool), but require it now just to be safe...
65023 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65024 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65028 # The name set by libtool depends on the version of libtool. Shame on us
65029 # for depending on an impl detail, but c'est la vie. Older versions used
65030 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65031 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65032 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65033 # set (hence we're using an older libtool), then set it.
65034 if test x${with_gnu_ld+set} != xset; then
65035 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65036 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65037 with_gnu_ld=no
65038 else
65039 with_gnu_ld=$ac_cv_prog_gnu_ld
65043 # Start by getting the version number. I think the libtool test already
65044 # does some of this, but throws away the result.
65045 glibcxx_ld_is_gold=no
65046 if test x"$with_gnu_ld" = x"yes"; then
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65048 $as_echo_n "checking for ld version... " >&6; }
65050 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65051 glibcxx_ld_is_gold=yes
65053 ldver=`$LD --version 2>/dev/null |
65054 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'`
65056 glibcxx_gnu_ld_version=`echo $ldver | \
65057 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65059 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65062 # Set --gc-sections.
65063 glibcxx_have_gc_sections=no
65064 if test "$glibcxx_ld_is_gold" = "yes"; then
65065 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65066 glibcxx_have_gc_sections=yes
65068 else
65069 glibcxx_gcsections_min_ld=21602
65070 if test x"$with_gnu_ld" = x"yes" &&
65071 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65072 glibcxx_have_gc_sections=yes
65075 if test "$glibcxx_have_gc_sections" = "yes"; then
65076 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65077 # NB: This flag only works reliably after 2.16.1. Configure tests
65078 # for this are difficult, so hard wire a value that should work.
65080 ac_test_CFLAGS="${CFLAGS+set}"
65081 ac_save_CFLAGS="$CFLAGS"
65082 CFLAGS='-Wl,--gc-sections'
65084 # Check for -Wl,--gc-sections
65085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65086 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65087 if test x$gcc_no_link = xyes; then
65088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65091 /* end confdefs.h. */
65092 int one(void) { return 1; }
65093 int two(void) { return 2; }
65096 main ()
65098 two();
65100 return 0;
65102 _ACEOF
65103 if ac_fn_c_try_link "$LINENO"; then :
65104 ac_gcsections=yes
65105 else
65106 ac_gcsections=no
65108 rm -f core conftest.err conftest.$ac_objext \
65109 conftest$ac_exeext conftest.$ac_ext
65110 if test "$ac_gcsections" = "yes"; then
65111 rm -f conftest.c
65112 touch conftest.c
65113 if $CC -c conftest.c; then
65114 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65115 grep "Warning: gc-sections option ignored" > /dev/null; then
65116 ac_gcsections=no
65119 rm -f conftest.c conftest.o conftest
65121 if test "$ac_gcsections" = "yes"; then
65122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65125 $as_echo "$ac_gcsections" >&6; }
65127 if test "$ac_test_CFLAGS" = set; then
65128 CFLAGS="$ac_save_CFLAGS"
65129 else
65130 # this is the suspicious part
65131 CFLAGS=''
65135 # Set -z,relro.
65136 # Note this is only for shared objects.
65137 ac_ld_relro=no
65138 if test x"$with_gnu_ld" = x"yes"; then
65139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65140 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65141 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65142 if test -n "$cxx_z_relo"; then
65143 OPT_LDFLAGS="-Wl,-z,relro"
65144 ac_ld_relro=yes
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65147 $as_echo "$ac_ld_relro" >&6; }
65150 # Set linker optimization flags.
65151 if test x"$with_gnu_ld" = x"yes"; then
65152 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65158 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65160 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65162 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65164 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65166 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65168 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65170 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65172 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65174 if test x"long_double_math_on_this_cpu" = x"yes"; then
65175 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65177 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65179 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65183 *-qnx6.1* | *-qnx6.2*)
65184 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65187 # If we're not using GNU ld, then there's no point in even trying these
65188 # tests. Check for that first. We should have already tested for gld
65189 # by now (in libtool), but require it now just to be safe...
65190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65195 # The name set by libtool depends on the version of libtool. Shame on us
65196 # for depending on an impl detail, but c'est la vie. Older versions used
65197 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65198 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65199 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65200 # set (hence we're using an older libtool), then set it.
65201 if test x${with_gnu_ld+set} != xset; then
65202 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65203 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65204 with_gnu_ld=no
65205 else
65206 with_gnu_ld=$ac_cv_prog_gnu_ld
65210 # Start by getting the version number. I think the libtool test already
65211 # does some of this, but throws away the result.
65212 glibcxx_ld_is_gold=no
65213 if test x"$with_gnu_ld" = x"yes"; then
65214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65215 $as_echo_n "checking for ld version... " >&6; }
65217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65218 glibcxx_ld_is_gold=yes
65220 ldver=`$LD --version 2>/dev/null |
65221 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'`
65223 glibcxx_gnu_ld_version=`echo $ldver | \
65224 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65229 # Set --gc-sections.
65230 glibcxx_have_gc_sections=no
65231 if test "$glibcxx_ld_is_gold" = "yes"; then
65232 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65233 glibcxx_have_gc_sections=yes
65235 else
65236 glibcxx_gcsections_min_ld=21602
65237 if test x"$with_gnu_ld" = x"yes" &&
65238 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65239 glibcxx_have_gc_sections=yes
65242 if test "$glibcxx_have_gc_sections" = "yes"; then
65243 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65244 # NB: This flag only works reliably after 2.16.1. Configure tests
65245 # for this are difficult, so hard wire a value that should work.
65247 ac_test_CFLAGS="${CFLAGS+set}"
65248 ac_save_CFLAGS="$CFLAGS"
65249 CFLAGS='-Wl,--gc-sections'
65251 # Check for -Wl,--gc-sections
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65254 if test x$gcc_no_link = xyes; then
65255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65258 /* end confdefs.h. */
65259 int one(void) { return 1; }
65260 int two(void) { return 2; }
65263 main ()
65265 two();
65267 return 0;
65269 _ACEOF
65270 if ac_fn_c_try_link "$LINENO"; then :
65271 ac_gcsections=yes
65272 else
65273 ac_gcsections=no
65275 rm -f core conftest.err conftest.$ac_objext \
65276 conftest$ac_exeext conftest.$ac_ext
65277 if test "$ac_gcsections" = "yes"; then
65278 rm -f conftest.c
65279 touch conftest.c
65280 if $CC -c conftest.c; then
65281 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65282 grep "Warning: gc-sections option ignored" > /dev/null; then
65283 ac_gcsections=no
65286 rm -f conftest.c conftest.o conftest
65288 if test "$ac_gcsections" = "yes"; then
65289 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65292 $as_echo "$ac_gcsections" >&6; }
65294 if test "$ac_test_CFLAGS" = set; then
65295 CFLAGS="$ac_save_CFLAGS"
65296 else
65297 # this is the suspicious part
65298 CFLAGS=''
65302 # Set -z,relro.
65303 # Note this is only for shared objects.
65304 ac_ld_relro=no
65305 if test x"$with_gnu_ld" = x"yes"; then
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65308 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65309 if test -n "$cxx_z_relo"; then
65310 OPT_LDFLAGS="-Wl,-z,relro"
65311 ac_ld_relro=yes
65313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65314 $as_echo "$ac_ld_relro" >&6; }
65317 # Set linker optimization flags.
65318 if test x"$with_gnu_ld" = x"yes"; then
65319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65325 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65327 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65329 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65331 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65333 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65335 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65337 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65339 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65341 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65343 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65345 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65347 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65350 *-rtems*)
65352 # All these tests are for C++; save the language and the compiler flags.
65353 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65354 # found in GLIBCXX_CONFIGURE.
65356 ac_ext=cpp
65357 ac_cpp='$CXXCPP $CPPFLAGS'
65358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65363 ac_save_CXXFLAGS="$CXXFLAGS"
65365 # Check for maintainer-mode bits.
65366 if test x"$USE_MAINTAINER_MODE" = xno; then
65367 WERROR=''
65368 else
65369 WERROR='-Werror'
65372 # Check for -ffunction-sections -fdata-sections
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65374 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65375 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65377 /* end confdefs.h. */
65378 int foo; void bar() { };
65380 main ()
65384 return 0;
65386 _ACEOF
65387 if ac_fn_cxx_try_compile "$LINENO"; then :
65388 ac_fdsections=yes
65389 else
65390 ac_fdsections=no
65392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65393 if test "$ac_test_CXXFLAGS" = set; then
65394 CXXFLAGS="$ac_save_CXXFLAGS"
65395 else
65396 # this is the suspicious part
65397 CXXFLAGS=''
65399 if test x"$ac_fdsections" = x"yes"; then
65400 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65403 $as_echo "$ac_fdsections" >&6; }
65405 ac_ext=c
65406 ac_cpp='$CPP $CPPFLAGS'
65407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65415 # If we're not using GNU ld, then there's no point in even trying these
65416 # tests. Check for that first. We should have already tested for gld
65417 # by now (in libtool), but require it now just to be safe...
65418 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65419 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65423 # The name set by libtool depends on the version of libtool. Shame on us
65424 # for depending on an impl detail, but c'est la vie. Older versions used
65425 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65426 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65427 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65428 # set (hence we're using an older libtool), then set it.
65429 if test x${with_gnu_ld+set} != xset; then
65430 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65431 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65432 with_gnu_ld=no
65433 else
65434 with_gnu_ld=$ac_cv_prog_gnu_ld
65438 # Start by getting the version number. I think the libtool test already
65439 # does some of this, but throws away the result.
65440 glibcxx_ld_is_gold=no
65441 if test x"$with_gnu_ld" = x"yes"; then
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65443 $as_echo_n "checking for ld version... " >&6; }
65445 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65446 glibcxx_ld_is_gold=yes
65448 ldver=`$LD --version 2>/dev/null |
65449 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'`
65451 glibcxx_gnu_ld_version=`echo $ldver | \
65452 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65454 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65457 # Set --gc-sections.
65458 glibcxx_have_gc_sections=no
65459 if test "$glibcxx_ld_is_gold" = "yes"; then
65460 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65461 glibcxx_have_gc_sections=yes
65463 else
65464 glibcxx_gcsections_min_ld=21602
65465 if test x"$with_gnu_ld" = x"yes" &&
65466 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65467 glibcxx_have_gc_sections=yes
65470 if test "$glibcxx_have_gc_sections" = "yes"; then
65471 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65472 # NB: This flag only works reliably after 2.16.1. Configure tests
65473 # for this are difficult, so hard wire a value that should work.
65475 ac_test_CFLAGS="${CFLAGS+set}"
65476 ac_save_CFLAGS="$CFLAGS"
65477 CFLAGS='-Wl,--gc-sections'
65479 # Check for -Wl,--gc-sections
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65481 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65482 if test x$gcc_no_link = xyes; then
65483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486 /* end confdefs.h. */
65487 int one(void) { return 1; }
65488 int two(void) { return 2; }
65491 main ()
65493 two();
65495 return 0;
65497 _ACEOF
65498 if ac_fn_c_try_link "$LINENO"; then :
65499 ac_gcsections=yes
65500 else
65501 ac_gcsections=no
65503 rm -f core conftest.err conftest.$ac_objext \
65504 conftest$ac_exeext conftest.$ac_ext
65505 if test "$ac_gcsections" = "yes"; then
65506 rm -f conftest.c
65507 touch conftest.c
65508 if $CC -c conftest.c; then
65509 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65510 grep "Warning: gc-sections option ignored" > /dev/null; then
65511 ac_gcsections=no
65514 rm -f conftest.c conftest.o conftest
65516 if test "$ac_gcsections" = "yes"; then
65517 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65520 $as_echo "$ac_gcsections" >&6; }
65522 if test "$ac_test_CFLAGS" = set; then
65523 CFLAGS="$ac_save_CFLAGS"
65524 else
65525 # this is the suspicious part
65526 CFLAGS=''
65530 # Set -z,relro.
65531 # Note this is only for shared objects.
65532 ac_ld_relro=no
65533 if test x"$with_gnu_ld" = x"yes"; then
65534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65535 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65536 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65537 if test -n "$cxx_z_relo"; then
65538 OPT_LDFLAGS="-Wl,-z,relro"
65539 ac_ld_relro=yes
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65542 $as_echo "$ac_ld_relro" >&6; }
65545 # Set linker optimization flags.
65546 if test x"$with_gnu_ld" = x"yes"; then
65547 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65554 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65555 ac_save_CXXFLAGS="$CXXFLAGS"
65556 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65559 $as_echo_n "checking for sin in -lm... " >&6; }
65560 if test "${ac_cv_lib_m_sin+set}" = set; then :
65561 $as_echo_n "(cached) " >&6
65562 else
65563 ac_check_lib_save_LIBS=$LIBS
65564 LIBS="-lm $LIBS"
65565 if test x$gcc_no_link = xyes; then
65566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65569 /* end confdefs.h. */
65571 /* Override any GCC internal prototype to avoid an error.
65572 Use char because int might match the return type of a GCC
65573 builtin and then its argument prototype would still apply. */
65574 #ifdef __cplusplus
65575 extern "C"
65576 #endif
65577 char sin ();
65579 main ()
65581 return sin ();
65583 return 0;
65585 _ACEOF
65586 if ac_fn_c_try_link "$LINENO"; then :
65587 ac_cv_lib_m_sin=yes
65588 else
65589 ac_cv_lib_m_sin=no
65591 rm -f core conftest.err conftest.$ac_objext \
65592 conftest$ac_exeext conftest.$ac_ext
65593 LIBS=$ac_check_lib_save_LIBS
65595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65596 $as_echo "$ac_cv_lib_m_sin" >&6; }
65597 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65598 libm="-lm"
65601 ac_save_LIBS="$LIBS"
65602 LIBS="$LIBS $libm"
65606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65607 $as_echo_n "checking for isinf declaration... " >&6; }
65608 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65609 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65610 $as_echo_n "(cached) " >&6
65611 else
65614 ac_ext=cpp
65615 ac_cpp='$CXXCPP $CPPFLAGS'
65616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65621 /* end confdefs.h. */
65622 #include <math.h>
65623 #ifdef HAVE_IEEEFP_H
65624 #include <ieeefp.h>
65625 #endif
65628 main ()
65630 isinf(0);
65632 return 0;
65634 _ACEOF
65635 if ac_fn_cxx_try_compile "$LINENO"; then :
65636 glibcxx_cv_func_isinf_use=yes
65637 else
65638 glibcxx_cv_func_isinf_use=no
65640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65641 ac_ext=c
65642 ac_cpp='$CPP $CPPFLAGS'
65643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65652 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65654 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65655 for ac_func in isinf
65656 do :
65657 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65658 if test "x$ac_cv_func_isinf" = x""yes; then :
65659 cat >>confdefs.h <<_ACEOF
65660 #define HAVE_ISINF 1
65661 _ACEOF
65664 done
65666 else
65668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65669 $as_echo_n "checking for _isinf declaration... " >&6; }
65670 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65671 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65672 $as_echo_n "(cached) " >&6
65673 else
65676 ac_ext=cpp
65677 ac_cpp='$CXXCPP $CPPFLAGS'
65678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65683 /* end confdefs.h. */
65684 #include <math.h>
65685 #ifdef HAVE_IEEEFP_H
65686 #include <ieeefp.h>
65687 #endif
65690 main ()
65692 _isinf(0);
65694 return 0;
65696 _ACEOF
65697 if ac_fn_cxx_try_compile "$LINENO"; then :
65698 glibcxx_cv_func__isinf_use=yes
65699 else
65700 glibcxx_cv_func__isinf_use=no
65702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65703 ac_ext=c
65704 ac_cpp='$CPP $CPPFLAGS'
65705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65714 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65716 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65717 for ac_func in _isinf
65718 do :
65719 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65720 if test "x$ac_cv_func__isinf" = x""yes; then :
65721 cat >>confdefs.h <<_ACEOF
65722 #define HAVE__ISINF 1
65723 _ACEOF
65726 done
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65736 $as_echo_n "checking for isnan declaration... " >&6; }
65737 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65738 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65739 $as_echo_n "(cached) " >&6
65740 else
65743 ac_ext=cpp
65744 ac_cpp='$CXXCPP $CPPFLAGS'
65745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65750 /* end confdefs.h. */
65751 #include <math.h>
65752 #ifdef HAVE_IEEEFP_H
65753 #include <ieeefp.h>
65754 #endif
65757 main ()
65759 isnan(0);
65761 return 0;
65763 _ACEOF
65764 if ac_fn_cxx_try_compile "$LINENO"; then :
65765 glibcxx_cv_func_isnan_use=yes
65766 else
65767 glibcxx_cv_func_isnan_use=no
65769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65770 ac_ext=c
65771 ac_cpp='$CPP $CPPFLAGS'
65772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65781 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65783 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65784 for ac_func in isnan
65785 do :
65786 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65787 if test "x$ac_cv_func_isnan" = x""yes; then :
65788 cat >>confdefs.h <<_ACEOF
65789 #define HAVE_ISNAN 1
65790 _ACEOF
65793 done
65795 else
65797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65798 $as_echo_n "checking for _isnan declaration... " >&6; }
65799 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65800 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65801 $as_echo_n "(cached) " >&6
65802 else
65805 ac_ext=cpp
65806 ac_cpp='$CXXCPP $CPPFLAGS'
65807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65812 /* end confdefs.h. */
65813 #include <math.h>
65814 #ifdef HAVE_IEEEFP_H
65815 #include <ieeefp.h>
65816 #endif
65819 main ()
65821 _isnan(0);
65823 return 0;
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func__isnan_use=yes
65828 else
65829 glibcxx_cv_func__isnan_use=no
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65843 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65845 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65846 for ac_func in _isnan
65847 do :
65848 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65849 if test "x$ac_cv_func__isnan" = x""yes; then :
65850 cat >>confdefs.h <<_ACEOF
65851 #define HAVE__ISNAN 1
65852 _ACEOF
65855 done
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65865 $as_echo_n "checking for finite declaration... " >&6; }
65866 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65867 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65868 $as_echo_n "(cached) " >&6
65869 else
65872 ac_ext=cpp
65873 ac_cpp='$CXXCPP $CPPFLAGS'
65874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65879 /* end confdefs.h. */
65880 #include <math.h>
65881 #ifdef HAVE_IEEEFP_H
65882 #include <ieeefp.h>
65883 #endif
65886 main ()
65888 finite(0);
65890 return 0;
65892 _ACEOF
65893 if ac_fn_cxx_try_compile "$LINENO"; then :
65894 glibcxx_cv_func_finite_use=yes
65895 else
65896 glibcxx_cv_func_finite_use=no
65898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65899 ac_ext=c
65900 ac_cpp='$CPP $CPPFLAGS'
65901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65910 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65912 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65913 for ac_func in finite
65914 do :
65915 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65916 if test "x$ac_cv_func_finite" = x""yes; then :
65917 cat >>confdefs.h <<_ACEOF
65918 #define HAVE_FINITE 1
65919 _ACEOF
65922 done
65924 else
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65927 $as_echo_n "checking for _finite declaration... " >&6; }
65928 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65929 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65931 else
65934 ac_ext=cpp
65935 ac_cpp='$CXXCPP $CPPFLAGS'
65936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65941 /* end confdefs.h. */
65942 #include <math.h>
65943 #ifdef HAVE_IEEEFP_H
65944 #include <ieeefp.h>
65945 #endif
65948 main ()
65950 _finite(0);
65952 return 0;
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func__finite_use=yes
65957 else
65958 glibcxx_cv_func__finite_use=no
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961 ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65972 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65974 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65975 for ac_func in _finite
65976 do :
65977 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65978 if test "x$ac_cv_func__finite" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE__FINITE 1
65981 _ACEOF
65984 done
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65994 $as_echo_n "checking for sincos declaration... " >&6; }
65995 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65996 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <math.h>
66011 main ()
66013 sincos(0, 0, 0);
66015 return 0;
66017 _ACEOF
66018 if ac_fn_cxx_try_compile "$LINENO"; then :
66019 glibcxx_cv_func_sincos_use=yes
66020 else
66021 glibcxx_cv_func_sincos_use=no
66023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66024 ac_ext=c
66025 ac_cpp='$CPP $CPPFLAGS'
66026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66035 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66037 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66038 for ac_func in sincos
66039 do :
66040 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66041 if test "x$ac_cv_func_sincos" = x""yes; then :
66042 cat >>confdefs.h <<_ACEOF
66043 #define HAVE_SINCOS 1
66044 _ACEOF
66047 done
66049 else
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66052 $as_echo_n "checking for _sincos declaration... " >&6; }
66053 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66054 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66055 $as_echo_n "(cached) " >&6
66056 else
66059 ac_ext=cpp
66060 ac_cpp='$CXXCPP $CPPFLAGS'
66061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66066 /* end confdefs.h. */
66067 #include <math.h>
66069 main ()
66071 _sincos(0, 0, 0);
66073 return 0;
66075 _ACEOF
66076 if ac_fn_cxx_try_compile "$LINENO"; then :
66077 glibcxx_cv_func__sincos_use=yes
66078 else
66079 glibcxx_cv_func__sincos_use=no
66081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66082 ac_ext=c
66083 ac_cpp='$CPP $CPPFLAGS'
66084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66093 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66095 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66096 for ac_func in _sincos
66097 do :
66098 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66099 if test "x$ac_cv_func__sincos" = x""yes; then :
66100 cat >>confdefs.h <<_ACEOF
66101 #define HAVE__SINCOS 1
66102 _ACEOF
66105 done
66114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66115 $as_echo_n "checking for fpclass declaration... " >&6; }
66116 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66117 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66118 $as_echo_n "(cached) " >&6
66119 else
66122 ac_ext=cpp
66123 ac_cpp='$CXXCPP $CPPFLAGS'
66124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66129 /* end confdefs.h. */
66130 #include <math.h>
66131 #ifdef HAVE_IEEEFP_H
66132 #include <ieeefp.h>
66133 #endif
66136 main ()
66138 fpclass(0);
66140 return 0;
66142 _ACEOF
66143 if ac_fn_cxx_try_compile "$LINENO"; then :
66144 glibcxx_cv_func_fpclass_use=yes
66145 else
66146 glibcxx_cv_func_fpclass_use=no
66148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66149 ac_ext=c
66150 ac_cpp='$CPP $CPPFLAGS'
66151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66160 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66162 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66163 for ac_func in fpclass
66164 do :
66165 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66166 if test "x$ac_cv_func_fpclass" = x""yes; then :
66167 cat >>confdefs.h <<_ACEOF
66168 #define HAVE_FPCLASS 1
66169 _ACEOF
66172 done
66174 else
66176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66177 $as_echo_n "checking for _fpclass declaration... " >&6; }
66178 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66179 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66180 $as_echo_n "(cached) " >&6
66181 else
66184 ac_ext=cpp
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66191 /* end confdefs.h. */
66192 #include <math.h>
66193 #ifdef HAVE_IEEEFP_H
66194 #include <ieeefp.h>
66195 #endif
66198 main ()
66200 _fpclass(0);
66202 return 0;
66204 _ACEOF
66205 if ac_fn_cxx_try_compile "$LINENO"; then :
66206 glibcxx_cv_func__fpclass_use=yes
66207 else
66208 glibcxx_cv_func__fpclass_use=no
66210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66211 ac_ext=c
66212 ac_cpp='$CPP $CPPFLAGS'
66213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66222 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66224 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66225 for ac_func in _fpclass
66226 do :
66227 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66228 if test "x$ac_cv_func__fpclass" = x""yes; then :
66229 cat >>confdefs.h <<_ACEOF
66230 #define HAVE__FPCLASS 1
66231 _ACEOF
66234 done
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66244 $as_echo_n "checking for qfpclass declaration... " >&6; }
66245 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66246 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66247 $as_echo_n "(cached) " >&6
66248 else
66251 ac_ext=cpp
66252 ac_cpp='$CXXCPP $CPPFLAGS'
66253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66258 /* end confdefs.h. */
66259 #include <math.h>
66260 #ifdef HAVE_IEEEFP_H
66261 #include <ieeefp.h>
66262 #endif
66265 main ()
66267 qfpclass(0);
66269 return 0;
66271 _ACEOF
66272 if ac_fn_cxx_try_compile "$LINENO"; then :
66273 glibcxx_cv_func_qfpclass_use=yes
66274 else
66275 glibcxx_cv_func_qfpclass_use=no
66277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66278 ac_ext=c
66279 ac_cpp='$CPP $CPPFLAGS'
66280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66289 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66291 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66292 for ac_func in qfpclass
66293 do :
66294 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66295 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66296 cat >>confdefs.h <<_ACEOF
66297 #define HAVE_QFPCLASS 1
66298 _ACEOF
66301 done
66303 else
66305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66306 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66307 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66308 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66309 $as_echo_n "(cached) " >&6
66310 else
66313 ac_ext=cpp
66314 ac_cpp='$CXXCPP $CPPFLAGS'
66315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66320 /* end confdefs.h. */
66321 #include <math.h>
66322 #ifdef HAVE_IEEEFP_H
66323 #include <ieeefp.h>
66324 #endif
66327 main ()
66329 _qfpclass(0);
66331 return 0;
66333 _ACEOF
66334 if ac_fn_cxx_try_compile "$LINENO"; then :
66335 glibcxx_cv_func__qfpclass_use=yes
66336 else
66337 glibcxx_cv_func__qfpclass_use=no
66339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66340 ac_ext=c
66341 ac_cpp='$CPP $CPPFLAGS'
66342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66351 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66353 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66354 for ac_func in _qfpclass
66355 do :
66356 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66357 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66358 cat >>confdefs.h <<_ACEOF
66359 #define HAVE__QFPCLASS 1
66360 _ACEOF
66363 done
66372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66373 $as_echo_n "checking for hypot declaration... " >&6; }
66374 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66375 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66376 $as_echo_n "(cached) " >&6
66377 else
66380 ac_ext=cpp
66381 ac_cpp='$CXXCPP $CPPFLAGS'
66382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66387 /* end confdefs.h. */
66388 #include <math.h>
66390 main ()
66392 hypot(0, 0);
66394 return 0;
66396 _ACEOF
66397 if ac_fn_cxx_try_compile "$LINENO"; then :
66398 glibcxx_cv_func_hypot_use=yes
66399 else
66400 glibcxx_cv_func_hypot_use=no
66402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66403 ac_ext=c
66404 ac_cpp='$CPP $CPPFLAGS'
66405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66414 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66416 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66417 for ac_func in hypot
66418 do :
66419 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66420 if test "x$ac_cv_func_hypot" = x""yes; then :
66421 cat >>confdefs.h <<_ACEOF
66422 #define HAVE_HYPOT 1
66423 _ACEOF
66426 done
66428 else
66430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66431 $as_echo_n "checking for _hypot declaration... " >&6; }
66432 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66433 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66434 $as_echo_n "(cached) " >&6
66435 else
66438 ac_ext=cpp
66439 ac_cpp='$CXXCPP $CPPFLAGS'
66440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66445 /* end confdefs.h. */
66446 #include <math.h>
66448 main ()
66450 _hypot(0, 0);
66452 return 0;
66454 _ACEOF
66455 if ac_fn_cxx_try_compile "$LINENO"; then :
66456 glibcxx_cv_func__hypot_use=yes
66457 else
66458 glibcxx_cv_func__hypot_use=no
66460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66461 ac_ext=c
66462 ac_cpp='$CPP $CPPFLAGS'
66463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66472 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66474 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66475 for ac_func in _hypot
66476 do :
66477 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66478 if test "x$ac_cv_func__hypot" = x""yes; then :
66479 cat >>confdefs.h <<_ACEOF
66480 #define HAVE__HYPOT 1
66481 _ACEOF
66484 done
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66494 $as_echo_n "checking for float trig functions... " >&6; }
66495 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66496 $as_echo_n "(cached) " >&6
66497 else
66500 ac_ext=cpp
66501 ac_cpp='$CXXCPP $CPPFLAGS'
66502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66507 /* end confdefs.h. */
66508 #include <math.h>
66510 main ()
66512 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66514 return 0;
66516 _ACEOF
66517 if ac_fn_cxx_try_compile "$LINENO"; then :
66518 glibcxx_cv_func_float_trig_use=yes
66519 else
66520 glibcxx_cv_func_float_trig_use=no
66522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66523 ac_ext=c
66524 ac_cpp='$CPP $CPPFLAGS'
66525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66532 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66533 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66534 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66535 do :
66536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66538 eval as_val=\$$as_ac_var
66539 if test "x$as_val" = x""yes; then :
66540 cat >>confdefs.h <<_ACEOF
66541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66542 _ACEOF
66545 done
66547 else
66548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66549 $as_echo_n "checking for _float trig functions... " >&6; }
66550 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66551 $as_echo_n "(cached) " >&6
66552 else
66555 ac_ext=cpp
66556 ac_cpp='$CXXCPP $CPPFLAGS'
66557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66562 /* end confdefs.h. */
66563 #include <math.h>
66565 main ()
66567 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66569 return 0;
66571 _ACEOF
66572 if ac_fn_cxx_try_compile "$LINENO"; then :
66573 glibcxx_cv_func__float_trig_use=yes
66574 else
66575 glibcxx_cv_func__float_trig_use=no
66577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66578 ac_ext=c
66579 ac_cpp='$CPP $CPPFLAGS'
66580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66587 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66588 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66589 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66590 do :
66591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66593 eval as_val=\$$as_ac_var
66594 if test "x$as_val" = x""yes; then :
66595 cat >>confdefs.h <<_ACEOF
66596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66597 _ACEOF
66600 done
66609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66610 $as_echo_n "checking for float round functions... " >&6; }
66611 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66612 $as_echo_n "(cached) " >&6
66613 else
66616 ac_ext=cpp
66617 ac_cpp='$CXXCPP $CPPFLAGS'
66618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66623 /* end confdefs.h. */
66624 #include <math.h>
66626 main ()
66628 ceilf (0); floorf (0);
66630 return 0;
66632 _ACEOF
66633 if ac_fn_cxx_try_compile "$LINENO"; then :
66634 glibcxx_cv_func_float_round_use=yes
66635 else
66636 glibcxx_cv_func_float_round_use=no
66638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66639 ac_ext=c
66640 ac_cpp='$CPP $CPPFLAGS'
66641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66648 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66650 for ac_func in ceilf floorf
66651 do :
66652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66654 eval as_val=\$$as_ac_var
66655 if test "x$as_val" = x""yes; then :
66656 cat >>confdefs.h <<_ACEOF
66657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66658 _ACEOF
66661 done
66663 else
66664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66665 $as_echo_n "checking for _float round functions... " >&6; }
66666 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66667 $as_echo_n "(cached) " >&6
66668 else
66671 ac_ext=cpp
66672 ac_cpp='$CXXCPP $CPPFLAGS'
66673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66678 /* end confdefs.h. */
66679 #include <math.h>
66681 main ()
66683 _ceilf (0); _floorf (0);
66685 return 0;
66687 _ACEOF
66688 if ac_fn_cxx_try_compile "$LINENO"; then :
66689 glibcxx_cv_func__float_round_use=yes
66690 else
66691 glibcxx_cv_func__float_round_use=no
66693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66694 ac_ext=c
66695 ac_cpp='$CPP $CPPFLAGS'
66696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66703 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66704 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66705 for ac_func in _ceilf _floorf
66706 do :
66707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66709 eval as_val=\$$as_ac_var
66710 if test "x$as_val" = x""yes; then :
66711 cat >>confdefs.h <<_ACEOF
66712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66713 _ACEOF
66716 done
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66727 $as_echo_n "checking for expf declaration... " >&6; }
66728 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66729 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66730 $as_echo_n "(cached) " >&6
66731 else
66734 ac_ext=cpp
66735 ac_cpp='$CXXCPP $CPPFLAGS'
66736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66741 /* end confdefs.h. */
66742 #include <math.h>
66743 #ifdef HAVE_IEEEFP_H
66744 #include <ieeefp.h>
66745 #endif
66748 main ()
66750 expf(0);
66752 return 0;
66754 _ACEOF
66755 if ac_fn_cxx_try_compile "$LINENO"; then :
66756 glibcxx_cv_func_expf_use=yes
66757 else
66758 glibcxx_cv_func_expf_use=no
66760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66761 ac_ext=c
66762 ac_cpp='$CPP $CPPFLAGS'
66763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66772 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66774 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66775 for ac_func in expf
66776 do :
66777 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66778 if test "x$ac_cv_func_expf" = x""yes; then :
66779 cat >>confdefs.h <<_ACEOF
66780 #define HAVE_EXPF 1
66781 _ACEOF
66784 done
66786 else
66788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66789 $as_echo_n "checking for _expf declaration... " >&6; }
66790 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66791 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66792 $as_echo_n "(cached) " >&6
66793 else
66796 ac_ext=cpp
66797 ac_cpp='$CXXCPP $CPPFLAGS'
66798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66803 /* end confdefs.h. */
66804 #include <math.h>
66805 #ifdef HAVE_IEEEFP_H
66806 #include <ieeefp.h>
66807 #endif
66810 main ()
66812 _expf(0);
66814 return 0;
66816 _ACEOF
66817 if ac_fn_cxx_try_compile "$LINENO"; then :
66818 glibcxx_cv_func__expf_use=yes
66819 else
66820 glibcxx_cv_func__expf_use=no
66822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66823 ac_ext=c
66824 ac_cpp='$CPP $CPPFLAGS'
66825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66834 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66836 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66837 for ac_func in _expf
66838 do :
66839 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66840 if test "x$ac_cv_func__expf" = x""yes; then :
66841 cat >>confdefs.h <<_ACEOF
66842 #define HAVE__EXPF 1
66843 _ACEOF
66846 done
66855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66856 $as_echo_n "checking for isnanf declaration... " >&6; }
66857 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66858 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66859 $as_echo_n "(cached) " >&6
66860 else
66863 ac_ext=cpp
66864 ac_cpp='$CXXCPP $CPPFLAGS'
66865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66870 /* end confdefs.h. */
66871 #include <math.h>
66872 #ifdef HAVE_IEEEFP_H
66873 #include <ieeefp.h>
66874 #endif
66877 main ()
66879 isnanf(0);
66881 return 0;
66883 _ACEOF
66884 if ac_fn_cxx_try_compile "$LINENO"; then :
66885 glibcxx_cv_func_isnanf_use=yes
66886 else
66887 glibcxx_cv_func_isnanf_use=no
66889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66890 ac_ext=c
66891 ac_cpp='$CPP $CPPFLAGS'
66892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66901 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66903 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66904 for ac_func in isnanf
66905 do :
66906 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66907 if test "x$ac_cv_func_isnanf" = x""yes; then :
66908 cat >>confdefs.h <<_ACEOF
66909 #define HAVE_ISNANF 1
66910 _ACEOF
66913 done
66915 else
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66918 $as_echo_n "checking for _isnanf declaration... " >&6; }
66919 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66920 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66921 $as_echo_n "(cached) " >&6
66922 else
66925 ac_ext=cpp
66926 ac_cpp='$CXXCPP $CPPFLAGS'
66927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66932 /* end confdefs.h. */
66933 #include <math.h>
66934 #ifdef HAVE_IEEEFP_H
66935 #include <ieeefp.h>
66936 #endif
66939 main ()
66941 _isnanf(0);
66943 return 0;
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func__isnanf_use=yes
66948 else
66949 glibcxx_cv_func__isnanf_use=no
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66963 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66965 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66966 for ac_func in _isnanf
66967 do :
66968 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66969 if test "x$ac_cv_func__isnanf" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE__ISNANF 1
66972 _ACEOF
66975 done
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66985 $as_echo_n "checking for isinff declaration... " >&6; }
66986 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66987 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67006 main ()
67008 isinff(0);
67010 return 0;
67012 _ACEOF
67013 if ac_fn_cxx_try_compile "$LINENO"; then :
67014 glibcxx_cv_func_isinff_use=yes
67015 else
67016 glibcxx_cv_func_isinff_use=no
67018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67019 ac_ext=c
67020 ac_cpp='$CPP $CPPFLAGS'
67021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67030 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67032 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67033 for ac_func in isinff
67034 do :
67035 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67036 if test "x$ac_cv_func_isinff" = x""yes; then :
67037 cat >>confdefs.h <<_ACEOF
67038 #define HAVE_ISINFF 1
67039 _ACEOF
67042 done
67044 else
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67047 $as_echo_n "checking for _isinff declaration... " >&6; }
67048 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67049 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67050 $as_echo_n "(cached) " >&6
67051 else
67054 ac_ext=cpp
67055 ac_cpp='$CXXCPP $CPPFLAGS'
67056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67061 /* end confdefs.h. */
67062 #include <math.h>
67063 #ifdef HAVE_IEEEFP_H
67064 #include <ieeefp.h>
67065 #endif
67068 main ()
67070 _isinff(0);
67072 return 0;
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func__isinff_use=yes
67077 else
67078 glibcxx_cv_func__isinff_use=no
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67092 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67094 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67095 for ac_func in _isinff
67096 do :
67097 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67098 if test "x$ac_cv_func__isinff" = x""yes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE__ISINFF 1
67101 _ACEOF
67104 done
67113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67114 $as_echo_n "checking for atan2f declaration... " >&6; }
67115 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67116 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67117 $as_echo_n "(cached) " >&6
67118 else
67121 ac_ext=cpp
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67128 /* end confdefs.h. */
67129 #include <math.h>
67131 main ()
67133 atan2f(0, 0);
67135 return 0;
67137 _ACEOF
67138 if ac_fn_cxx_try_compile "$LINENO"; then :
67139 glibcxx_cv_func_atan2f_use=yes
67140 else
67141 glibcxx_cv_func_atan2f_use=no
67143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67144 ac_ext=c
67145 ac_cpp='$CPP $CPPFLAGS'
67146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67155 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67157 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67158 for ac_func in atan2f
67159 do :
67160 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67161 if test "x$ac_cv_func_atan2f" = x""yes; then :
67162 cat >>confdefs.h <<_ACEOF
67163 #define HAVE_ATAN2F 1
67164 _ACEOF
67167 done
67169 else
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67172 $as_echo_n "checking for _atan2f declaration... " >&6; }
67173 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67174 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67175 $as_echo_n "(cached) " >&6
67176 else
67179 ac_ext=cpp
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67186 /* end confdefs.h. */
67187 #include <math.h>
67189 main ()
67191 _atan2f(0, 0);
67193 return 0;
67195 _ACEOF
67196 if ac_fn_cxx_try_compile "$LINENO"; then :
67197 glibcxx_cv_func__atan2f_use=yes
67198 else
67199 glibcxx_cv_func__atan2f_use=no
67201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67213 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67215 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67216 for ac_func in _atan2f
67217 do :
67218 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67219 if test "x$ac_cv_func__atan2f" = x""yes; then :
67220 cat >>confdefs.h <<_ACEOF
67221 #define HAVE__ATAN2F 1
67222 _ACEOF
67225 done
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67235 $as_echo_n "checking for fabsf declaration... " >&6; }
67236 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67237 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67238 $as_echo_n "(cached) " >&6
67239 else
67242 ac_ext=cpp
67243 ac_cpp='$CXXCPP $CPPFLAGS'
67244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67249 /* end confdefs.h. */
67250 #include <math.h>
67251 #ifdef HAVE_IEEEFP_H
67252 #include <ieeefp.h>
67253 #endif
67256 main ()
67258 fabsf(0);
67260 return 0;
67262 _ACEOF
67263 if ac_fn_cxx_try_compile "$LINENO"; then :
67264 glibcxx_cv_func_fabsf_use=yes
67265 else
67266 glibcxx_cv_func_fabsf_use=no
67268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67269 ac_ext=c
67270 ac_cpp='$CPP $CPPFLAGS'
67271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67280 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67282 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67283 for ac_func in fabsf
67284 do :
67285 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67286 if test "x$ac_cv_func_fabsf" = x""yes; then :
67287 cat >>confdefs.h <<_ACEOF
67288 #define HAVE_FABSF 1
67289 _ACEOF
67292 done
67294 else
67296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67297 $as_echo_n "checking for _fabsf declaration... " >&6; }
67298 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67299 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67300 $as_echo_n "(cached) " >&6
67301 else
67304 ac_ext=cpp
67305 ac_cpp='$CXXCPP $CPPFLAGS'
67306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67311 /* end confdefs.h. */
67312 #include <math.h>
67313 #ifdef HAVE_IEEEFP_H
67314 #include <ieeefp.h>
67315 #endif
67318 main ()
67320 _fabsf(0);
67322 return 0;
67324 _ACEOF
67325 if ac_fn_cxx_try_compile "$LINENO"; then :
67326 glibcxx_cv_func__fabsf_use=yes
67327 else
67328 glibcxx_cv_func__fabsf_use=no
67330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67331 ac_ext=c
67332 ac_cpp='$CPP $CPPFLAGS'
67333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67342 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67344 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67345 for ac_func in _fabsf
67346 do :
67347 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67348 if test "x$ac_cv_func__fabsf" = x""yes; then :
67349 cat >>confdefs.h <<_ACEOF
67350 #define HAVE__FABSF 1
67351 _ACEOF
67354 done
67363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67364 $as_echo_n "checking for fmodf declaration... " >&6; }
67365 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67366 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67367 $as_echo_n "(cached) " >&6
67368 else
67371 ac_ext=cpp
67372 ac_cpp='$CXXCPP $CPPFLAGS'
67373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67378 /* end confdefs.h. */
67379 #include <math.h>
67381 main ()
67383 fmodf(0, 0);
67385 return 0;
67387 _ACEOF
67388 if ac_fn_cxx_try_compile "$LINENO"; then :
67389 glibcxx_cv_func_fmodf_use=yes
67390 else
67391 glibcxx_cv_func_fmodf_use=no
67393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67394 ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67405 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67407 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67408 for ac_func in fmodf
67409 do :
67410 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67411 if test "x$ac_cv_func_fmodf" = x""yes; then :
67412 cat >>confdefs.h <<_ACEOF
67413 #define HAVE_FMODF 1
67414 _ACEOF
67417 done
67419 else
67421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67422 $as_echo_n "checking for _fmodf declaration... " >&6; }
67423 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67424 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67425 $as_echo_n "(cached) " >&6
67426 else
67429 ac_ext=cpp
67430 ac_cpp='$CXXCPP $CPPFLAGS'
67431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67436 /* end confdefs.h. */
67437 #include <math.h>
67439 main ()
67441 _fmodf(0, 0);
67443 return 0;
67445 _ACEOF
67446 if ac_fn_cxx_try_compile "$LINENO"; then :
67447 glibcxx_cv_func__fmodf_use=yes
67448 else
67449 glibcxx_cv_func__fmodf_use=no
67451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67452 ac_ext=c
67453 ac_cpp='$CPP $CPPFLAGS'
67454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67463 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67465 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67466 for ac_func in _fmodf
67467 do :
67468 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67469 if test "x$ac_cv_func__fmodf" = x""yes; then :
67470 cat >>confdefs.h <<_ACEOF
67471 #define HAVE__FMODF 1
67472 _ACEOF
67475 done
67484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67485 $as_echo_n "checking for frexpf declaration... " >&6; }
67486 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67487 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67488 $as_echo_n "(cached) " >&6
67489 else
67492 ac_ext=cpp
67493 ac_cpp='$CXXCPP $CPPFLAGS'
67494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67499 /* end confdefs.h. */
67500 #include <math.h>
67502 main ()
67504 frexpf(0, 0);
67506 return 0;
67508 _ACEOF
67509 if ac_fn_cxx_try_compile "$LINENO"; then :
67510 glibcxx_cv_func_frexpf_use=yes
67511 else
67512 glibcxx_cv_func_frexpf_use=no
67514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67515 ac_ext=c
67516 ac_cpp='$CPP $CPPFLAGS'
67517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67526 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67528 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67529 for ac_func in frexpf
67530 do :
67531 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67532 if test "x$ac_cv_func_frexpf" = x""yes; then :
67533 cat >>confdefs.h <<_ACEOF
67534 #define HAVE_FREXPF 1
67535 _ACEOF
67538 done
67540 else
67542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67543 $as_echo_n "checking for _frexpf declaration... " >&6; }
67544 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67545 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67546 $as_echo_n "(cached) " >&6
67547 else
67550 ac_ext=cpp
67551 ac_cpp='$CXXCPP $CPPFLAGS'
67552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67557 /* end confdefs.h. */
67558 #include <math.h>
67560 main ()
67562 _frexpf(0, 0);
67564 return 0;
67566 _ACEOF
67567 if ac_fn_cxx_try_compile "$LINENO"; then :
67568 glibcxx_cv_func__frexpf_use=yes
67569 else
67570 glibcxx_cv_func__frexpf_use=no
67572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67573 ac_ext=c
67574 ac_cpp='$CPP $CPPFLAGS'
67575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67584 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67586 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67587 for ac_func in _frexpf
67588 do :
67589 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67590 if test "x$ac_cv_func__frexpf" = x""yes; then :
67591 cat >>confdefs.h <<_ACEOF
67592 #define HAVE__FREXPF 1
67593 _ACEOF
67596 done
67605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67606 $as_echo_n "checking for hypotf declaration... " >&6; }
67607 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67608 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67609 $as_echo_n "(cached) " >&6
67610 else
67613 ac_ext=cpp
67614 ac_cpp='$CXXCPP $CPPFLAGS'
67615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67620 /* end confdefs.h. */
67621 #include <math.h>
67623 main ()
67625 hypotf(0, 0);
67627 return 0;
67629 _ACEOF
67630 if ac_fn_cxx_try_compile "$LINENO"; then :
67631 glibcxx_cv_func_hypotf_use=yes
67632 else
67633 glibcxx_cv_func_hypotf_use=no
67635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67636 ac_ext=c
67637 ac_cpp='$CPP $CPPFLAGS'
67638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67647 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67649 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67650 for ac_func in hypotf
67651 do :
67652 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67653 if test "x$ac_cv_func_hypotf" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define HAVE_HYPOTF 1
67656 _ACEOF
67659 done
67661 else
67663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67664 $as_echo_n "checking for _hypotf declaration... " >&6; }
67665 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67666 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67667 $as_echo_n "(cached) " >&6
67668 else
67671 ac_ext=cpp
67672 ac_cpp='$CXXCPP $CPPFLAGS'
67673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67678 /* end confdefs.h. */
67679 #include <math.h>
67681 main ()
67683 _hypotf(0, 0);
67685 return 0;
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__hypotf_use=yes
67690 else
67691 glibcxx_cv_func__hypotf_use=no
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67705 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67707 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67708 for ac_func in _hypotf
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67711 if test "x$ac_cv_func__hypotf" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__HYPOTF 1
67714 _ACEOF
67717 done
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67727 $as_echo_n "checking for ldexpf declaration... " >&6; }
67728 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67729 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67730 $as_echo_n "(cached) " >&6
67731 else
67734 ac_ext=cpp
67735 ac_cpp='$CXXCPP $CPPFLAGS'
67736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741 /* end confdefs.h. */
67742 #include <math.h>
67744 main ()
67746 ldexpf(0, 0);
67748 return 0;
67750 _ACEOF
67751 if ac_fn_cxx_try_compile "$LINENO"; then :
67752 glibcxx_cv_func_ldexpf_use=yes
67753 else
67754 glibcxx_cv_func_ldexpf_use=no
67756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67757 ac_ext=c
67758 ac_cpp='$CPP $CPPFLAGS'
67759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67768 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67770 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67771 for ac_func in ldexpf
67772 do :
67773 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67774 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67775 cat >>confdefs.h <<_ACEOF
67776 #define HAVE_LDEXPF 1
67777 _ACEOF
67780 done
67782 else
67784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67785 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67786 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67787 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67788 $as_echo_n "(cached) " >&6
67789 else
67792 ac_ext=cpp
67793 ac_cpp='$CXXCPP $CPPFLAGS'
67794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67799 /* end confdefs.h. */
67800 #include <math.h>
67802 main ()
67804 _ldexpf(0, 0);
67806 return 0;
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func__ldexpf_use=yes
67811 else
67812 glibcxx_cv_func__ldexpf_use=no
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67826 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67828 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67829 for ac_func in _ldexpf
67830 do :
67831 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67832 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE__LDEXPF 1
67835 _ACEOF
67838 done
67847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67848 $as_echo_n "checking for logf declaration... " >&6; }
67849 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67850 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67851 $as_echo_n "(cached) " >&6
67852 else
67855 ac_ext=cpp
67856 ac_cpp='$CXXCPP $CPPFLAGS'
67857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67862 /* end confdefs.h. */
67863 #include <math.h>
67864 #ifdef HAVE_IEEEFP_H
67865 #include <ieeefp.h>
67866 #endif
67869 main ()
67871 logf(0);
67873 return 0;
67875 _ACEOF
67876 if ac_fn_cxx_try_compile "$LINENO"; then :
67877 glibcxx_cv_func_logf_use=yes
67878 else
67879 glibcxx_cv_func_logf_use=no
67881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67882 ac_ext=c
67883 ac_cpp='$CPP $CPPFLAGS'
67884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67893 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67895 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67896 for ac_func in logf
67897 do :
67898 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67899 if test "x$ac_cv_func_logf" = x""yes; then :
67900 cat >>confdefs.h <<_ACEOF
67901 #define HAVE_LOGF 1
67902 _ACEOF
67905 done
67907 else
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67910 $as_echo_n "checking for _logf declaration... " >&6; }
67911 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67912 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67913 $as_echo_n "(cached) " >&6
67914 else
67917 ac_ext=cpp
67918 ac_cpp='$CXXCPP $CPPFLAGS'
67919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67924 /* end confdefs.h. */
67925 #include <math.h>
67926 #ifdef HAVE_IEEEFP_H
67927 #include <ieeefp.h>
67928 #endif
67931 main ()
67933 _logf(0);
67935 return 0;
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func__logf_use=yes
67940 else
67941 glibcxx_cv_func__logf_use=no
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67955 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67957 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67958 for ac_func in _logf
67959 do :
67960 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67961 if test "x$ac_cv_func__logf" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE__LOGF 1
67964 _ACEOF
67967 done
67976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67977 $as_echo_n "checking for log10f declaration... " >&6; }
67978 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67979 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67980 $as_echo_n "(cached) " >&6
67981 else
67984 ac_ext=cpp
67985 ac_cpp='$CXXCPP $CPPFLAGS'
67986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67991 /* end confdefs.h. */
67992 #include <math.h>
67993 #ifdef HAVE_IEEEFP_H
67994 #include <ieeefp.h>
67995 #endif
67998 main ()
68000 log10f(0);
68002 return 0;
68004 _ACEOF
68005 if ac_fn_cxx_try_compile "$LINENO"; then :
68006 glibcxx_cv_func_log10f_use=yes
68007 else
68008 glibcxx_cv_func_log10f_use=no
68010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68011 ac_ext=c
68012 ac_cpp='$CPP $CPPFLAGS'
68013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68022 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68024 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68025 for ac_func in log10f
68026 do :
68027 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68028 if test "x$ac_cv_func_log10f" = x""yes; then :
68029 cat >>confdefs.h <<_ACEOF
68030 #define HAVE_LOG10F 1
68031 _ACEOF
68034 done
68036 else
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68039 $as_echo_n "checking for _log10f declaration... " >&6; }
68040 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68041 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68042 $as_echo_n "(cached) " >&6
68043 else
68046 ac_ext=cpp
68047 ac_cpp='$CXXCPP $CPPFLAGS'
68048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68053 /* end confdefs.h. */
68054 #include <math.h>
68055 #ifdef HAVE_IEEEFP_H
68056 #include <ieeefp.h>
68057 #endif
68060 main ()
68062 _log10f(0);
68064 return 0;
68066 _ACEOF
68067 if ac_fn_cxx_try_compile "$LINENO"; then :
68068 glibcxx_cv_func__log10f_use=yes
68069 else
68070 glibcxx_cv_func__log10f_use=no
68072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68073 ac_ext=c
68074 ac_cpp='$CPP $CPPFLAGS'
68075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68084 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68086 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68087 for ac_func in _log10f
68088 do :
68089 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68090 if test "x$ac_cv_func__log10f" = x""yes; then :
68091 cat >>confdefs.h <<_ACEOF
68092 #define HAVE__LOG10F 1
68093 _ACEOF
68096 done
68105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68106 $as_echo_n "checking for modff declaration... " >&6; }
68107 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68108 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68109 $as_echo_n "(cached) " >&6
68110 else
68113 ac_ext=cpp
68114 ac_cpp='$CXXCPP $CPPFLAGS'
68115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68120 /* end confdefs.h. */
68121 #include <math.h>
68123 main ()
68125 modff(0, 0);
68127 return 0;
68129 _ACEOF
68130 if ac_fn_cxx_try_compile "$LINENO"; then :
68131 glibcxx_cv_func_modff_use=yes
68132 else
68133 glibcxx_cv_func_modff_use=no
68135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68136 ac_ext=c
68137 ac_cpp='$CPP $CPPFLAGS'
68138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68147 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68149 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68150 for ac_func in modff
68151 do :
68152 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68153 if test "x$ac_cv_func_modff" = x""yes; then :
68154 cat >>confdefs.h <<_ACEOF
68155 #define HAVE_MODFF 1
68156 _ACEOF
68159 done
68161 else
68163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68164 $as_echo_n "checking for _modff declaration... " >&6; }
68165 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68166 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68167 $as_echo_n "(cached) " >&6
68168 else
68171 ac_ext=cpp
68172 ac_cpp='$CXXCPP $CPPFLAGS'
68173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68178 /* end confdefs.h. */
68179 #include <math.h>
68181 main ()
68183 _modff(0, 0);
68185 return 0;
68187 _ACEOF
68188 if ac_fn_cxx_try_compile "$LINENO"; then :
68189 glibcxx_cv_func__modff_use=yes
68190 else
68191 glibcxx_cv_func__modff_use=no
68193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68194 ac_ext=c
68195 ac_cpp='$CPP $CPPFLAGS'
68196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68205 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68207 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68208 for ac_func in _modff
68209 do :
68210 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68211 if test "x$ac_cv_func__modff" = x""yes; then :
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE__MODFF 1
68214 _ACEOF
68217 done
68226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68227 $as_echo_n "checking for modf declaration... " >&6; }
68228 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68229 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68230 $as_echo_n "(cached) " >&6
68231 else
68234 ac_ext=cpp
68235 ac_cpp='$CXXCPP $CPPFLAGS'
68236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68241 /* end confdefs.h. */
68242 #include <math.h>
68244 main ()
68246 modf(0, 0);
68248 return 0;
68250 _ACEOF
68251 if ac_fn_cxx_try_compile "$LINENO"; then :
68252 glibcxx_cv_func_modf_use=yes
68253 else
68254 glibcxx_cv_func_modf_use=no
68256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68257 ac_ext=c
68258 ac_cpp='$CPP $CPPFLAGS'
68259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68268 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68270 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68271 for ac_func in modf
68272 do :
68273 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68274 if test "x$ac_cv_func_modf" = x""yes; then :
68275 cat >>confdefs.h <<_ACEOF
68276 #define HAVE_MODF 1
68277 _ACEOF
68280 done
68282 else
68284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68285 $as_echo_n "checking for _modf declaration... " >&6; }
68286 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68287 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68288 $as_echo_n "(cached) " >&6
68289 else
68292 ac_ext=cpp
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68299 /* end confdefs.h. */
68300 #include <math.h>
68302 main ()
68304 _modf(0, 0);
68306 return 0;
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__modf_use=yes
68311 else
68312 glibcxx_cv_func__modf_use=no
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68326 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68328 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68329 for ac_func in _modf
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68332 if test "x$ac_cv_func__modf" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__MODF 1
68335 _ACEOF
68338 done
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68348 $as_echo_n "checking for powf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68365 main ()
68367 powf(0, 0);
68369 return 0;
68371 _ACEOF
68372 if ac_fn_cxx_try_compile "$LINENO"; then :
68373 glibcxx_cv_func_powf_use=yes
68374 else
68375 glibcxx_cv_func_powf_use=no
68377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378 ac_ext=c
68379 ac_cpp='$CPP $CPPFLAGS'
68380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68389 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68391 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68392 for ac_func in powf
68393 do :
68394 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68395 if test "x$ac_cv_func_powf" = x""yes; then :
68396 cat >>confdefs.h <<_ACEOF
68397 #define HAVE_POWF 1
68398 _ACEOF
68401 done
68403 else
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68406 $as_echo_n "checking for _powf declaration... " >&6; }
68407 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68408 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68409 $as_echo_n "(cached) " >&6
68410 else
68413 ac_ext=cpp
68414 ac_cpp='$CXXCPP $CPPFLAGS'
68415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68420 /* end confdefs.h. */
68421 #include <math.h>
68423 main ()
68425 _powf(0, 0);
68427 return 0;
68429 _ACEOF
68430 if ac_fn_cxx_try_compile "$LINENO"; then :
68431 glibcxx_cv_func__powf_use=yes
68432 else
68433 glibcxx_cv_func__powf_use=no
68435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68436 ac_ext=c
68437 ac_cpp='$CPP $CPPFLAGS'
68438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68447 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68449 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68450 for ac_func in _powf
68451 do :
68452 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68453 if test "x$ac_cv_func__powf" = x""yes; then :
68454 cat >>confdefs.h <<_ACEOF
68455 #define HAVE__POWF 1
68456 _ACEOF
68459 done
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68469 $as_echo_n "checking for sqrtf declaration... " >&6; }
68470 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68471 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <math.h>
68485 #ifdef HAVE_IEEEFP_H
68486 #include <ieeefp.h>
68487 #endif
68490 main ()
68492 sqrtf(0);
68494 return 0;
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498 glibcxx_cv_func_sqrtf_use=yes
68499 else
68500 glibcxx_cv_func_sqrtf_use=no
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503 ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68514 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68516 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68517 for ac_func in sqrtf
68518 do :
68519 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68520 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define HAVE_SQRTF 1
68523 _ACEOF
68526 done
68528 else
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68531 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68532 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68533 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68534 $as_echo_n "(cached) " >&6
68535 else
68538 ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h. */
68546 #include <math.h>
68547 #ifdef HAVE_IEEEFP_H
68548 #include <ieeefp.h>
68549 #endif
68552 main ()
68554 _sqrtf(0);
68556 return 0;
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__sqrtf_use=yes
68561 else
68562 glibcxx_cv_func__sqrtf_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68576 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68578 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68579 for ac_func in _sqrtf
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68582 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__SQRTF 1
68585 _ACEOF
68588 done
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68598 $as_echo_n "checking for sincosf declaration... " >&6; }
68599 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68600 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68601 $as_echo_n "(cached) " >&6
68602 else
68605 ac_ext=cpp
68606 ac_cpp='$CXXCPP $CPPFLAGS'
68607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68612 /* end confdefs.h. */
68613 #include <math.h>
68615 main ()
68617 sincosf(0, 0, 0);
68619 return 0;
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_sincosf_use=yes
68624 else
68625 glibcxx_cv_func_sincosf_use=no
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68639 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68641 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68642 for ac_func in sincosf
68643 do :
68644 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68645 if test "x$ac_cv_func_sincosf" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_SINCOSF 1
68648 _ACEOF
68651 done
68653 else
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68656 $as_echo_n "checking for _sincosf declaration... " >&6; }
68657 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68658 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68673 main ()
68675 _sincosf(0, 0, 0);
68677 return 0;
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__sincosf_use=yes
68682 else
68683 glibcxx_cv_func__sincosf_use=no
68685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68697 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68699 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68700 for ac_func in _sincosf
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68703 if test "x$ac_cv_func__sincosf" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__SINCOSF 1
68706 _ACEOF
68709 done
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68719 $as_echo_n "checking for finitef declaration... " >&6; }
68720 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68721 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68735 #ifdef HAVE_IEEEFP_H
68736 #include <ieeefp.h>
68737 #endif
68740 main ()
68742 finitef(0);
68744 return 0;
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func_finitef_use=yes
68749 else
68750 glibcxx_cv_func_finitef_use=no
68752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68753 ac_ext=c
68754 ac_cpp='$CPP $CPPFLAGS'
68755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68764 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68766 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68767 for ac_func in finitef
68768 do :
68769 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68770 if test "x$ac_cv_func_finitef" = x""yes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE_FINITEF 1
68773 _ACEOF
68776 done
68778 else
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68781 $as_echo_n "checking for _finitef declaration... " >&6; }
68782 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68783 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68784 $as_echo_n "(cached) " >&6
68785 else
68788 ac_ext=cpp
68789 ac_cpp='$CXXCPP $CPPFLAGS'
68790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68795 /* end confdefs.h. */
68796 #include <math.h>
68797 #ifdef HAVE_IEEEFP_H
68798 #include <ieeefp.h>
68799 #endif
68802 main ()
68804 _finitef(0);
68806 return 0;
68808 _ACEOF
68809 if ac_fn_cxx_try_compile "$LINENO"; then :
68810 glibcxx_cv_func__finitef_use=yes
68811 else
68812 glibcxx_cv_func__finitef_use=no
68814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68815 ac_ext=c
68816 ac_cpp='$CPP $CPPFLAGS'
68817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68826 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68828 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68829 for ac_func in _finitef
68830 do :
68831 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68832 if test "x$ac_cv_func__finitef" = x""yes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define HAVE__FINITEF 1
68835 _ACEOF
68838 done
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68848 $as_echo_n "checking for long double trig functions... " >&6; }
68849 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68850 $as_echo_n "(cached) " >&6
68851 else
68854 ac_ext=cpp
68855 ac_cpp='$CXXCPP $CPPFLAGS'
68856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68861 /* end confdefs.h. */
68862 #include <math.h>
68864 main ()
68866 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68868 return 0;
68870 _ACEOF
68871 if ac_fn_cxx_try_compile "$LINENO"; then :
68872 glibcxx_cv_func_long_double_trig_use=yes
68873 else
68874 glibcxx_cv_func_long_double_trig_use=no
68876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68877 ac_ext=c
68878 ac_cpp='$CPP $CPPFLAGS'
68879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68886 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68887 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68888 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68889 do :
68890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68892 eval as_val=\$$as_ac_var
68893 if test "x$as_val" = x""yes; then :
68894 cat >>confdefs.h <<_ACEOF
68895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68896 _ACEOF
68899 done
68901 else
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68903 $as_echo_n "checking for _long double trig functions... " >&6; }
68904 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68905 $as_echo_n "(cached) " >&6
68906 else
68909 ac_ext=cpp
68910 ac_cpp='$CXXCPP $CPPFLAGS'
68911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68916 /* end confdefs.h. */
68917 #include <math.h>
68919 main ()
68921 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68923 return 0;
68925 _ACEOF
68926 if ac_fn_cxx_try_compile "$LINENO"; then :
68927 glibcxx_cv_func__long_double_trig_use=yes
68928 else
68929 glibcxx_cv_func__long_double_trig_use=no
68931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68932 ac_ext=c
68933 ac_cpp='$CPP $CPPFLAGS'
68934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68941 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68942 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68943 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68944 do :
68945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68947 eval as_val=\$$as_ac_var
68948 if test "x$as_val" = x""yes; then :
68949 cat >>confdefs.h <<_ACEOF
68950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68951 _ACEOF
68954 done
68963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68964 $as_echo_n "checking for long double round functions... " >&6; }
68965 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68966 $as_echo_n "(cached) " >&6
68967 else
68970 ac_ext=cpp
68971 ac_cpp='$CXXCPP $CPPFLAGS'
68972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68977 /* end confdefs.h. */
68978 #include <math.h>
68980 main ()
68982 ceill (0); floorl (0);
68984 return 0;
68986 _ACEOF
68987 if ac_fn_cxx_try_compile "$LINENO"; then :
68988 glibcxx_cv_func_long_double_round_use=yes
68989 else
68990 glibcxx_cv_func_long_double_round_use=no
68992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68993 ac_ext=c
68994 ac_cpp='$CPP $CPPFLAGS'
68995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69002 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69003 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69004 for ac_func in ceill floorl
69005 do :
69006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69008 eval as_val=\$$as_ac_var
69009 if test "x$as_val" = x""yes; then :
69010 cat >>confdefs.h <<_ACEOF
69011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69012 _ACEOF
69015 done
69017 else
69018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69019 $as_echo_n "checking for _long double round functions... " >&6; }
69020 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69035 main ()
69037 _ceill (0); _floorl (0);
69039 return 0;
69041 _ACEOF
69042 if ac_fn_cxx_try_compile "$LINENO"; then :
69043 glibcxx_cv_func__long_double_round_use=yes
69044 else
69045 glibcxx_cv_func__long_double_round_use=no
69047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69057 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69058 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69059 for ac_func in _ceill _floorl
69060 do :
69061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69063 eval as_val=\$$as_ac_var
69064 if test "x$as_val" = x""yes; then :
69065 cat >>confdefs.h <<_ACEOF
69066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69067 _ACEOF
69070 done
69080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69081 $as_echo_n "checking for isnanl declaration... " >&6; }
69082 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69083 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69084 $as_echo_n "(cached) " >&6
69085 else
69088 ac_ext=cpp
69089 ac_cpp='$CXXCPP $CPPFLAGS'
69090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69095 /* end confdefs.h. */
69096 #include <math.h>
69097 #ifdef HAVE_IEEEFP_H
69098 #include <ieeefp.h>
69099 #endif
69102 main ()
69104 isnanl(0);
69106 return 0;
69108 _ACEOF
69109 if ac_fn_cxx_try_compile "$LINENO"; then :
69110 glibcxx_cv_func_isnanl_use=yes
69111 else
69112 glibcxx_cv_func_isnanl_use=no
69114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69115 ac_ext=c
69116 ac_cpp='$CPP $CPPFLAGS'
69117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69126 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69128 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69129 for ac_func in isnanl
69130 do :
69131 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69132 if test "x$ac_cv_func_isnanl" = x""yes; then :
69133 cat >>confdefs.h <<_ACEOF
69134 #define HAVE_ISNANL 1
69135 _ACEOF
69138 done
69140 else
69142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69143 $as_echo_n "checking for _isnanl declaration... " >&6; }
69144 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69145 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69146 $as_echo_n "(cached) " >&6
69147 else
69150 ac_ext=cpp
69151 ac_cpp='$CXXCPP $CPPFLAGS'
69152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69157 /* end confdefs.h. */
69158 #include <math.h>
69159 #ifdef HAVE_IEEEFP_H
69160 #include <ieeefp.h>
69161 #endif
69164 main ()
69166 _isnanl(0);
69168 return 0;
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func__isnanl_use=yes
69173 else
69174 glibcxx_cv_func__isnanl_use=no
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69188 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69190 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69191 for ac_func in _isnanl
69192 do :
69193 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69194 if test "x$ac_cv_func__isnanl" = x""yes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE__ISNANL 1
69197 _ACEOF
69200 done
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69210 $as_echo_n "checking for isinfl declaration... " >&6; }
69211 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69212 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69226 #ifdef HAVE_IEEEFP_H
69227 #include <ieeefp.h>
69228 #endif
69231 main ()
69233 isinfl(0);
69235 return 0;
69237 _ACEOF
69238 if ac_fn_cxx_try_compile "$LINENO"; then :
69239 glibcxx_cv_func_isinfl_use=yes
69240 else
69241 glibcxx_cv_func_isinfl_use=no
69243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69244 ac_ext=c
69245 ac_cpp='$CPP $CPPFLAGS'
69246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69255 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69257 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69258 for ac_func in isinfl
69259 do :
69260 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69261 if test "x$ac_cv_func_isinfl" = x""yes; then :
69262 cat >>confdefs.h <<_ACEOF
69263 #define HAVE_ISINFL 1
69264 _ACEOF
69267 done
69269 else
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69272 $as_echo_n "checking for _isinfl declaration... " >&6; }
69273 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69274 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69275 $as_echo_n "(cached) " >&6
69276 else
69279 ac_ext=cpp
69280 ac_cpp='$CXXCPP $CPPFLAGS'
69281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69286 /* end confdefs.h. */
69287 #include <math.h>
69288 #ifdef HAVE_IEEEFP_H
69289 #include <ieeefp.h>
69290 #endif
69293 main ()
69295 _isinfl(0);
69297 return 0;
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func__isinfl_use=yes
69302 else
69303 glibcxx_cv_func__isinfl_use=no
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69317 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69319 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69320 for ac_func in _isinfl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69323 if test "x$ac_cv_func__isinfl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE__ISINFL 1
69326 _ACEOF
69329 done
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69339 $as_echo_n "checking for atan2l declaration... " >&6; }
69340 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69341 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69356 main ()
69358 atan2l(0, 0);
69360 return 0;
69362 _ACEOF
69363 if ac_fn_cxx_try_compile "$LINENO"; then :
69364 glibcxx_cv_func_atan2l_use=yes
69365 else
69366 glibcxx_cv_func_atan2l_use=no
69368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69369 ac_ext=c
69370 ac_cpp='$CPP $CPPFLAGS'
69371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69380 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69382 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69383 for ac_func in atan2l
69384 do :
69385 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69386 if test "x$ac_cv_func_atan2l" = x""yes; then :
69387 cat >>confdefs.h <<_ACEOF
69388 #define HAVE_ATAN2L 1
69389 _ACEOF
69392 done
69394 else
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69397 $as_echo_n "checking for _atan2l declaration... " >&6; }
69398 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69399 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69400 $as_echo_n "(cached) " >&6
69401 else
69404 ac_ext=cpp
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69411 /* end confdefs.h. */
69412 #include <math.h>
69414 main ()
69416 _atan2l(0, 0);
69418 return 0;
69420 _ACEOF
69421 if ac_fn_cxx_try_compile "$LINENO"; then :
69422 glibcxx_cv_func__atan2l_use=yes
69423 else
69424 glibcxx_cv_func__atan2l_use=no
69426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69438 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69440 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69441 for ac_func in _atan2l
69442 do :
69443 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69444 if test "x$ac_cv_func__atan2l" = x""yes; then :
69445 cat >>confdefs.h <<_ACEOF
69446 #define HAVE__ATAN2L 1
69447 _ACEOF
69450 done
69459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69460 $as_echo_n "checking for expl declaration... " >&6; }
69461 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69462 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69463 $as_echo_n "(cached) " >&6
69464 else
69467 ac_ext=cpp
69468 ac_cpp='$CXXCPP $CPPFLAGS'
69469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69474 /* end confdefs.h. */
69475 #include <math.h>
69476 #ifdef HAVE_IEEEFP_H
69477 #include <ieeefp.h>
69478 #endif
69481 main ()
69483 expl(0);
69485 return 0;
69487 _ACEOF
69488 if ac_fn_cxx_try_compile "$LINENO"; then :
69489 glibcxx_cv_func_expl_use=yes
69490 else
69491 glibcxx_cv_func_expl_use=no
69493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69494 ac_ext=c
69495 ac_cpp='$CPP $CPPFLAGS'
69496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69505 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69507 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69508 for ac_func in expl
69509 do :
69510 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69511 if test "x$ac_cv_func_expl" = x""yes; then :
69512 cat >>confdefs.h <<_ACEOF
69513 #define HAVE_EXPL 1
69514 _ACEOF
69517 done
69519 else
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69522 $as_echo_n "checking for _expl declaration... " >&6; }
69523 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69524 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69525 $as_echo_n "(cached) " >&6
69526 else
69529 ac_ext=cpp
69530 ac_cpp='$CXXCPP $CPPFLAGS'
69531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69536 /* end confdefs.h. */
69537 #include <math.h>
69538 #ifdef HAVE_IEEEFP_H
69539 #include <ieeefp.h>
69540 #endif
69543 main ()
69545 _expl(0);
69547 return 0;
69549 _ACEOF
69550 if ac_fn_cxx_try_compile "$LINENO"; then :
69551 glibcxx_cv_func__expl_use=yes
69552 else
69553 glibcxx_cv_func__expl_use=no
69555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69556 ac_ext=c
69557 ac_cpp='$CPP $CPPFLAGS'
69558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69567 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69569 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69570 for ac_func in _expl
69571 do :
69572 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69573 if test "x$ac_cv_func__expl" = x""yes; then :
69574 cat >>confdefs.h <<_ACEOF
69575 #define HAVE__EXPL 1
69576 _ACEOF
69579 done
69588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69589 $as_echo_n "checking for fabsl declaration... " >&6; }
69590 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69591 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69592 $as_echo_n "(cached) " >&6
69593 else
69596 ac_ext=cpp
69597 ac_cpp='$CXXCPP $CPPFLAGS'
69598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69603 /* end confdefs.h. */
69604 #include <math.h>
69605 #ifdef HAVE_IEEEFP_H
69606 #include <ieeefp.h>
69607 #endif
69610 main ()
69612 fabsl(0);
69614 return 0;
69616 _ACEOF
69617 if ac_fn_cxx_try_compile "$LINENO"; then :
69618 glibcxx_cv_func_fabsl_use=yes
69619 else
69620 glibcxx_cv_func_fabsl_use=no
69622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69623 ac_ext=c
69624 ac_cpp='$CPP $CPPFLAGS'
69625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69634 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69636 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69637 for ac_func in fabsl
69638 do :
69639 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69640 if test "x$ac_cv_func_fabsl" = x""yes; then :
69641 cat >>confdefs.h <<_ACEOF
69642 #define HAVE_FABSL 1
69643 _ACEOF
69646 done
69648 else
69650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69651 $as_echo_n "checking for _fabsl declaration... " >&6; }
69652 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69653 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69654 $as_echo_n "(cached) " >&6
69655 else
69658 ac_ext=cpp
69659 ac_cpp='$CXXCPP $CPPFLAGS'
69660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69665 /* end confdefs.h. */
69666 #include <math.h>
69667 #ifdef HAVE_IEEEFP_H
69668 #include <ieeefp.h>
69669 #endif
69672 main ()
69674 _fabsl(0);
69676 return 0;
69678 _ACEOF
69679 if ac_fn_cxx_try_compile "$LINENO"; then :
69680 glibcxx_cv_func__fabsl_use=yes
69681 else
69682 glibcxx_cv_func__fabsl_use=no
69684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69685 ac_ext=c
69686 ac_cpp='$CPP $CPPFLAGS'
69687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69696 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69698 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69699 for ac_func in _fabsl
69700 do :
69701 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69702 if test "x$ac_cv_func__fabsl" = x""yes; then :
69703 cat >>confdefs.h <<_ACEOF
69704 #define HAVE__FABSL 1
69705 _ACEOF
69708 done
69717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69718 $as_echo_n "checking for fmodl declaration... " >&6; }
69719 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69720 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69721 $as_echo_n "(cached) " >&6
69722 else
69725 ac_ext=cpp
69726 ac_cpp='$CXXCPP $CPPFLAGS'
69727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69732 /* end confdefs.h. */
69733 #include <math.h>
69735 main ()
69737 fmodl(0, 0);
69739 return 0;
69741 _ACEOF
69742 if ac_fn_cxx_try_compile "$LINENO"; then :
69743 glibcxx_cv_func_fmodl_use=yes
69744 else
69745 glibcxx_cv_func_fmodl_use=no
69747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69748 ac_ext=c
69749 ac_cpp='$CPP $CPPFLAGS'
69750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69759 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69761 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69762 for ac_func in fmodl
69763 do :
69764 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69765 if test "x$ac_cv_func_fmodl" = x""yes; then :
69766 cat >>confdefs.h <<_ACEOF
69767 #define HAVE_FMODL 1
69768 _ACEOF
69771 done
69773 else
69775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69776 $as_echo_n "checking for _fmodl declaration... " >&6; }
69777 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69778 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69779 $as_echo_n "(cached) " >&6
69780 else
69783 ac_ext=cpp
69784 ac_cpp='$CXXCPP $CPPFLAGS'
69785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69790 /* end confdefs.h. */
69791 #include <math.h>
69793 main ()
69795 _fmodl(0, 0);
69797 return 0;
69799 _ACEOF
69800 if ac_fn_cxx_try_compile "$LINENO"; then :
69801 glibcxx_cv_func__fmodl_use=yes
69802 else
69803 glibcxx_cv_func__fmodl_use=no
69805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69806 ac_ext=c
69807 ac_cpp='$CPP $CPPFLAGS'
69808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69817 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69819 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69820 for ac_func in _fmodl
69821 do :
69822 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69823 if test "x$ac_cv_func__fmodl" = x""yes; then :
69824 cat >>confdefs.h <<_ACEOF
69825 #define HAVE__FMODL 1
69826 _ACEOF
69829 done
69838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69839 $as_echo_n "checking for frexpl declaration... " >&6; }
69840 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69841 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69842 $as_echo_n "(cached) " >&6
69843 else
69846 ac_ext=cpp
69847 ac_cpp='$CXXCPP $CPPFLAGS'
69848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69853 /* end confdefs.h. */
69854 #include <math.h>
69856 main ()
69858 frexpl(0, 0);
69860 return 0;
69862 _ACEOF
69863 if ac_fn_cxx_try_compile "$LINENO"; then :
69864 glibcxx_cv_func_frexpl_use=yes
69865 else
69866 glibcxx_cv_func_frexpl_use=no
69868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69869 ac_ext=c
69870 ac_cpp='$CPP $CPPFLAGS'
69871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69880 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69882 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69883 for ac_func in frexpl
69884 do :
69885 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69886 if test "x$ac_cv_func_frexpl" = x""yes; then :
69887 cat >>confdefs.h <<_ACEOF
69888 #define HAVE_FREXPL 1
69889 _ACEOF
69892 done
69894 else
69896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69897 $as_echo_n "checking for _frexpl declaration... " >&6; }
69898 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69899 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69900 $as_echo_n "(cached) " >&6
69901 else
69904 ac_ext=cpp
69905 ac_cpp='$CXXCPP $CPPFLAGS'
69906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69911 /* end confdefs.h. */
69912 #include <math.h>
69914 main ()
69916 _frexpl(0, 0);
69918 return 0;
69920 _ACEOF
69921 if ac_fn_cxx_try_compile "$LINENO"; then :
69922 glibcxx_cv_func__frexpl_use=yes
69923 else
69924 glibcxx_cv_func__frexpl_use=no
69926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69927 ac_ext=c
69928 ac_cpp='$CPP $CPPFLAGS'
69929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69938 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69940 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69941 for ac_func in _frexpl
69942 do :
69943 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69944 if test "x$ac_cv_func__frexpl" = x""yes; then :
69945 cat >>confdefs.h <<_ACEOF
69946 #define HAVE__FREXPL 1
69947 _ACEOF
69950 done
69959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69960 $as_echo_n "checking for hypotl declaration... " >&6; }
69961 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69962 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69963 $as_echo_n "(cached) " >&6
69964 else
69967 ac_ext=cpp
69968 ac_cpp='$CXXCPP $CPPFLAGS'
69969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69974 /* end confdefs.h. */
69975 #include <math.h>
69977 main ()
69979 hypotl(0, 0);
69981 return 0;
69983 _ACEOF
69984 if ac_fn_cxx_try_compile "$LINENO"; then :
69985 glibcxx_cv_func_hypotl_use=yes
69986 else
69987 glibcxx_cv_func_hypotl_use=no
69989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69990 ac_ext=c
69991 ac_cpp='$CPP $CPPFLAGS'
69992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70001 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70003 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70004 for ac_func in hypotl
70005 do :
70006 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70007 if test "x$ac_cv_func_hypotl" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define HAVE_HYPOTL 1
70010 _ACEOF
70013 done
70015 else
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70018 $as_echo_n "checking for _hypotl declaration... " >&6; }
70019 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70020 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70021 $as_echo_n "(cached) " >&6
70022 else
70025 ac_ext=cpp
70026 ac_cpp='$CXXCPP $CPPFLAGS'
70027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70032 /* end confdefs.h. */
70033 #include <math.h>
70035 main ()
70037 _hypotl(0, 0);
70039 return 0;
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__hypotl_use=yes
70044 else
70045 glibcxx_cv_func__hypotl_use=no
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70059 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70061 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70062 for ac_func in _hypotl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70065 if test "x$ac_cv_func__hypotl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__HYPOTL 1
70068 _ACEOF
70071 done
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70081 $as_echo_n "checking for ldexpl declaration... " >&6; }
70082 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70083 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70098 main ()
70100 ldexpl(0, 0);
70102 return 0;
70104 _ACEOF
70105 if ac_fn_cxx_try_compile "$LINENO"; then :
70106 glibcxx_cv_func_ldexpl_use=yes
70107 else
70108 glibcxx_cv_func_ldexpl_use=no
70110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70111 ac_ext=c
70112 ac_cpp='$CPP $CPPFLAGS'
70113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70122 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70124 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70125 for ac_func in ldexpl
70126 do :
70127 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70128 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70129 cat >>confdefs.h <<_ACEOF
70130 #define HAVE_LDEXPL 1
70131 _ACEOF
70134 done
70136 else
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70139 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70140 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70141 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70142 $as_echo_n "(cached) " >&6
70143 else
70146 ac_ext=cpp
70147 ac_cpp='$CXXCPP $CPPFLAGS'
70148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153 /* end confdefs.h. */
70154 #include <math.h>
70156 main ()
70158 _ldexpl(0, 0);
70160 return 0;
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func__ldexpl_use=yes
70165 else
70166 glibcxx_cv_func__ldexpl_use=no
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70180 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70182 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70183 for ac_func in _ldexpl
70184 do :
70185 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70186 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE__LDEXPL 1
70189 _ACEOF
70192 done
70201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70202 $as_echo_n "checking for logl declaration... " >&6; }
70203 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70204 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70205 $as_echo_n "(cached) " >&6
70206 else
70209 ac_ext=cpp
70210 ac_cpp='$CXXCPP $CPPFLAGS'
70211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70216 /* end confdefs.h. */
70217 #include <math.h>
70218 #ifdef HAVE_IEEEFP_H
70219 #include <ieeefp.h>
70220 #endif
70223 main ()
70225 logl(0);
70227 return 0;
70229 _ACEOF
70230 if ac_fn_cxx_try_compile "$LINENO"; then :
70231 glibcxx_cv_func_logl_use=yes
70232 else
70233 glibcxx_cv_func_logl_use=no
70235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70236 ac_ext=c
70237 ac_cpp='$CPP $CPPFLAGS'
70238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70247 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70249 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70250 for ac_func in logl
70251 do :
70252 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70253 if test "x$ac_cv_func_logl" = x""yes; then :
70254 cat >>confdefs.h <<_ACEOF
70255 #define HAVE_LOGL 1
70256 _ACEOF
70259 done
70261 else
70263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70264 $as_echo_n "checking for _logl declaration... " >&6; }
70265 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70266 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70267 $as_echo_n "(cached) " >&6
70268 else
70271 ac_ext=cpp
70272 ac_cpp='$CXXCPP $CPPFLAGS'
70273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70278 /* end confdefs.h. */
70279 #include <math.h>
70280 #ifdef HAVE_IEEEFP_H
70281 #include <ieeefp.h>
70282 #endif
70285 main ()
70287 _logl(0);
70289 return 0;
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__logl_use=yes
70294 else
70295 glibcxx_cv_func__logl_use=no
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70309 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70311 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70312 for ac_func in _logl
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70315 if test "x$ac_cv_func__logl" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__LOGL 1
70318 _ACEOF
70321 done
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70331 $as_echo_n "checking for log10l declaration... " >&6; }
70332 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70333 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70334 $as_echo_n "(cached) " >&6
70335 else
70338 ac_ext=cpp
70339 ac_cpp='$CXXCPP $CPPFLAGS'
70340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70345 /* end confdefs.h. */
70346 #include <math.h>
70347 #ifdef HAVE_IEEEFP_H
70348 #include <ieeefp.h>
70349 #endif
70352 main ()
70354 log10l(0);
70356 return 0;
70358 _ACEOF
70359 if ac_fn_cxx_try_compile "$LINENO"; then :
70360 glibcxx_cv_func_log10l_use=yes
70361 else
70362 glibcxx_cv_func_log10l_use=no
70364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70365 ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70376 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70378 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70379 for ac_func in log10l
70380 do :
70381 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70382 if test "x$ac_cv_func_log10l" = x""yes; then :
70383 cat >>confdefs.h <<_ACEOF
70384 #define HAVE_LOG10L 1
70385 _ACEOF
70388 done
70390 else
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70393 $as_echo_n "checking for _log10l declaration... " >&6; }
70394 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70395 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70396 $as_echo_n "(cached) " >&6
70397 else
70400 ac_ext=cpp
70401 ac_cpp='$CXXCPP $CPPFLAGS'
70402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407 /* end confdefs.h. */
70408 #include <math.h>
70409 #ifdef HAVE_IEEEFP_H
70410 #include <ieeefp.h>
70411 #endif
70414 main ()
70416 _log10l(0);
70418 return 0;
70420 _ACEOF
70421 if ac_fn_cxx_try_compile "$LINENO"; then :
70422 glibcxx_cv_func__log10l_use=yes
70423 else
70424 glibcxx_cv_func__log10l_use=no
70426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70427 ac_ext=c
70428 ac_cpp='$CPP $CPPFLAGS'
70429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70438 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70440 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70441 for ac_func in _log10l
70442 do :
70443 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70444 if test "x$ac_cv_func__log10l" = x""yes; then :
70445 cat >>confdefs.h <<_ACEOF
70446 #define HAVE__LOG10L 1
70447 _ACEOF
70450 done
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70460 $as_echo_n "checking for modfl declaration... " >&6; }
70461 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70462 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70463 $as_echo_n "(cached) " >&6
70464 else
70467 ac_ext=cpp
70468 ac_cpp='$CXXCPP $CPPFLAGS'
70469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70474 /* end confdefs.h. */
70475 #include <math.h>
70477 main ()
70479 modfl(0, 0);
70481 return 0;
70483 _ACEOF
70484 if ac_fn_cxx_try_compile "$LINENO"; then :
70485 glibcxx_cv_func_modfl_use=yes
70486 else
70487 glibcxx_cv_func_modfl_use=no
70489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70490 ac_ext=c
70491 ac_cpp='$CPP $CPPFLAGS'
70492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70501 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70503 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70504 for ac_func in modfl
70505 do :
70506 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70507 if test "x$ac_cv_func_modfl" = x""yes; then :
70508 cat >>confdefs.h <<_ACEOF
70509 #define HAVE_MODFL 1
70510 _ACEOF
70513 done
70515 else
70517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70518 $as_echo_n "checking for _modfl declaration... " >&6; }
70519 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70520 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70521 $as_echo_n "(cached) " >&6
70522 else
70525 ac_ext=cpp
70526 ac_cpp='$CXXCPP $CPPFLAGS'
70527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70532 /* end confdefs.h. */
70533 #include <math.h>
70535 main ()
70537 _modfl(0, 0);
70539 return 0;
70541 _ACEOF
70542 if ac_fn_cxx_try_compile "$LINENO"; then :
70543 glibcxx_cv_func__modfl_use=yes
70544 else
70545 glibcxx_cv_func__modfl_use=no
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70559 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70561 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70562 for ac_func in _modfl
70563 do :
70564 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70565 if test "x$ac_cv_func__modfl" = x""yes; then :
70566 cat >>confdefs.h <<_ACEOF
70567 #define HAVE__MODFL 1
70568 _ACEOF
70571 done
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70581 $as_echo_n "checking for powl declaration... " >&6; }
70582 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70583 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70584 $as_echo_n "(cached) " >&6
70585 else
70588 ac_ext=cpp
70589 ac_cpp='$CXXCPP $CPPFLAGS'
70590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70596 #include <math.h>
70598 main ()
70600 powl(0, 0);
70602 return 0;
70604 _ACEOF
70605 if ac_fn_cxx_try_compile "$LINENO"; then :
70606 glibcxx_cv_func_powl_use=yes
70607 else
70608 glibcxx_cv_func_powl_use=no
70610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70611 ac_ext=c
70612 ac_cpp='$CPP $CPPFLAGS'
70613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70622 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70624 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70625 for ac_func in powl
70626 do :
70627 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70628 if test "x$ac_cv_func_powl" = x""yes; then :
70629 cat >>confdefs.h <<_ACEOF
70630 #define HAVE_POWL 1
70631 _ACEOF
70634 done
70636 else
70638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70639 $as_echo_n "checking for _powl declaration... " >&6; }
70640 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70641 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70642 $as_echo_n "(cached) " >&6
70643 else
70646 ac_ext=cpp
70647 ac_cpp='$CXXCPP $CPPFLAGS'
70648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70653 /* end confdefs.h. */
70654 #include <math.h>
70656 main ()
70658 _powl(0, 0);
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__powl_use=yes
70665 else
70666 glibcxx_cv_func__powl_use=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70680 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70682 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70683 for ac_func in _powl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70686 if test "x$ac_cv_func__powl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__POWL 1
70689 _ACEOF
70692 done
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70702 $as_echo_n "checking for sqrtl declaration... " >&6; }
70703 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70704 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70723 main ()
70725 sqrtl(0);
70727 return 0;
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_sqrtl_use=yes
70732 else
70733 glibcxx_cv_func_sqrtl_use=no
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70747 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70749 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70750 for ac_func in sqrtl
70751 do :
70752 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70753 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_SQRTL 1
70756 _ACEOF
70759 done
70761 else
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70764 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70765 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70766 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70785 main ()
70787 _sqrtl(0);
70789 return 0;
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__sqrtl_use=yes
70794 else
70795 glibcxx_cv_func__sqrtl_use=no
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70809 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70811 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70812 for ac_func in _sqrtl
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70815 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__SQRTL 1
70818 _ACEOF
70821 done
70830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70831 $as_echo_n "checking for sincosl declaration... " >&6; }
70832 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70833 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70838 ac_ext=cpp
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70846 #include <math.h>
70848 main ()
70850 sincosl(0, 0, 0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_sincosl_use=yes
70857 else
70858 glibcxx_cv_func_sincosl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70872 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70874 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70875 for ac_func in sincosl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70878 if test "x$ac_cv_func_sincosl" = x""yes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_SINCOSL 1
70881 _ACEOF
70884 done
70886 else
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70889 $as_echo_n "checking for _sincosl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70891 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70906 main ()
70908 _sincosl(0, 0, 0);
70910 return 0;
70912 _ACEOF
70913 if ac_fn_cxx_try_compile "$LINENO"; then :
70914 glibcxx_cv_func__sincosl_use=yes
70915 else
70916 glibcxx_cv_func__sincosl_use=no
70918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70919 ac_ext=c
70920 ac_cpp='$CPP $CPPFLAGS'
70921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70930 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70932 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70933 for ac_func in _sincosl
70934 do :
70935 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70936 if test "x$ac_cv_func__sincosl" = x""yes; then :
70937 cat >>confdefs.h <<_ACEOF
70938 #define HAVE__SINCOSL 1
70939 _ACEOF
70942 done
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70952 $as_echo_n "checking for finitel declaration... " >&6; }
70953 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70954 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70968 #ifdef HAVE_IEEEFP_H
70969 #include <ieeefp.h>
70970 #endif
70973 main ()
70975 finitel(0);
70977 return 0;
70979 _ACEOF
70980 if ac_fn_cxx_try_compile "$LINENO"; then :
70981 glibcxx_cv_func_finitel_use=yes
70982 else
70983 glibcxx_cv_func_finitel_use=no
70985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70986 ac_ext=c
70987 ac_cpp='$CPP $CPPFLAGS'
70988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70997 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70999 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71000 for ac_func in finitel
71001 do :
71002 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71003 if test "x$ac_cv_func_finitel" = x""yes; then :
71004 cat >>confdefs.h <<_ACEOF
71005 #define HAVE_FINITEL 1
71006 _ACEOF
71009 done
71011 else
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71014 $as_echo_n "checking for _finitel declaration... " >&6; }
71015 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71016 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71017 $as_echo_n "(cached) " >&6
71018 else
71021 ac_ext=cpp
71022 ac_cpp='$CXXCPP $CPPFLAGS'
71023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71028 /* end confdefs.h. */
71029 #include <math.h>
71030 #ifdef HAVE_IEEEFP_H
71031 #include <ieeefp.h>
71032 #endif
71035 main ()
71037 _finitel(0);
71039 return 0;
71041 _ACEOF
71042 if ac_fn_cxx_try_compile "$LINENO"; then :
71043 glibcxx_cv_func__finitel_use=yes
71044 else
71045 glibcxx_cv_func__finitel_use=no
71047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71048 ac_ext=c
71049 ac_cpp='$CPP $CPPFLAGS'
71050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71059 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71061 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71062 for ac_func in _finitel
71063 do :
71064 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71065 if test "x$ac_cv_func__finitel" = x""yes; then :
71066 cat >>confdefs.h <<_ACEOF
71067 #define HAVE__FINITEL 1
71068 _ACEOF
71071 done
71079 LIBS="$ac_save_LIBS"
71080 CXXFLAGS="$ac_save_CXXFLAGS"
71083 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71084 ac_save_CXXFLAGS="$CXXFLAGS"
71085 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71089 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71090 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71091 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71092 $as_echo_n "(cached) " >&6
71093 else
71096 ac_ext=cpp
71097 ac_cpp='$CXXCPP $CPPFLAGS'
71098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71103 /* end confdefs.h. */
71104 #include <stdlib.h>
71106 main ()
71108 at_quick_exit(0);
71110 return 0;
71112 _ACEOF
71113 if ac_fn_cxx_try_compile "$LINENO"; then :
71114 glibcxx_cv_func_at_quick_exit_use=yes
71115 else
71116 glibcxx_cv_func_at_quick_exit_use=no
71118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71130 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71131 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71132 for ac_func in at_quick_exit
71133 do :
71134 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71135 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71136 cat >>confdefs.h <<_ACEOF
71137 #define HAVE_AT_QUICK_EXIT 1
71138 _ACEOF
71141 done
71146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71147 $as_echo_n "checking for quick_exit declaration... " >&6; }
71148 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71149 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71150 $as_echo_n "(cached) " >&6
71151 else
71154 ac_ext=cpp
71155 ac_cpp='$CXXCPP $CPPFLAGS'
71156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71161 /* end confdefs.h. */
71162 #include <stdlib.h>
71164 main ()
71166 quick_exit(0);
71168 return 0;
71170 _ACEOF
71171 if ac_fn_cxx_try_compile "$LINENO"; then :
71172 glibcxx_cv_func_quick_exit_use=yes
71173 else
71174 glibcxx_cv_func_quick_exit_use=no
71176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71177 ac_ext=c
71178 ac_cpp='$CPP $CPPFLAGS'
71179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71188 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71189 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71190 for ac_func in quick_exit
71191 do :
71192 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71193 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71194 cat >>confdefs.h <<_ACEOF
71195 #define HAVE_QUICK_EXIT 1
71196 _ACEOF
71199 done
71204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71205 $as_echo_n "checking for strtold declaration... " >&6; }
71206 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71207 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71208 $as_echo_n "(cached) " >&6
71209 else
71212 ac_ext=cpp
71213 ac_cpp='$CXXCPP $CPPFLAGS'
71214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71219 /* end confdefs.h. */
71220 #include <stdlib.h>
71222 main ()
71224 strtold(0, 0);
71226 return 0;
71228 _ACEOF
71229 if ac_fn_cxx_try_compile "$LINENO"; then :
71230 glibcxx_cv_func_strtold_use=yes
71231 else
71232 glibcxx_cv_func_strtold_use=no
71234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71235 ac_ext=c
71236 ac_cpp='$CPP $CPPFLAGS'
71237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71246 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71247 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71248 for ac_func in strtold
71249 do :
71250 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71251 if test "x$ac_cv_func_strtold" = x""yes; then :
71252 cat >>confdefs.h <<_ACEOF
71253 #define HAVE_STRTOLD 1
71254 _ACEOF
71257 done
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71265 $as_echo_n "checking for strtof declaration... " >&6; }
71266 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71267 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71268 $as_echo_n "(cached) " >&6
71269 else
71272 ac_ext=cpp
71273 ac_cpp='$CXXCPP $CPPFLAGS'
71274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71279 /* end confdefs.h. */
71280 #include <stdlib.h>
71282 main ()
71284 strtof(0, 0);
71286 return 0;
71288 _ACEOF
71289 if ac_fn_cxx_try_compile "$LINENO"; then :
71290 glibcxx_cv_func_strtof_use=yes
71291 else
71292 glibcxx_cv_func_strtof_use=no
71294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71295 ac_ext=c
71296 ac_cpp='$CPP $CPPFLAGS'
71297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71306 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71307 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71308 for ac_func in strtof
71309 do :
71310 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71311 if test "x$ac_cv_func_strtof" = x""yes; then :
71312 cat >>confdefs.h <<_ACEOF
71313 #define HAVE_STRTOF 1
71314 _ACEOF
71317 done
71324 CXXFLAGS="$ac_save_CXXFLAGS"
71327 *-solaris*)
71329 # If we're not using GNU ld, then there's no point in even trying these
71330 # tests. Check for that first. We should have already tested for gld
71331 # by now (in libtool), but require it now just to be safe...
71332 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71333 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71337 # The name set by libtool depends on the version of libtool. Shame on us
71338 # for depending on an impl detail, but c'est la vie. Older versions used
71339 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71340 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71341 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71342 # set (hence we're using an older libtool), then set it.
71343 if test x${with_gnu_ld+set} != xset; then
71344 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71345 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71346 with_gnu_ld=no
71347 else
71348 with_gnu_ld=$ac_cv_prog_gnu_ld
71352 # Start by getting the version number. I think the libtool test already
71353 # does some of this, but throws away the result.
71354 glibcxx_ld_is_gold=no
71355 if test x"$with_gnu_ld" = x"yes"; then
71356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71357 $as_echo_n "checking for ld version... " >&6; }
71359 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71360 glibcxx_ld_is_gold=yes
71362 ldver=`$LD --version 2>/dev/null |
71363 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'`
71365 glibcxx_gnu_ld_version=`echo $ldver | \
71366 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71368 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71371 # Set --gc-sections.
71372 glibcxx_have_gc_sections=no
71373 if test "$glibcxx_ld_is_gold" = "yes"; then
71374 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71375 glibcxx_have_gc_sections=yes
71377 else
71378 glibcxx_gcsections_min_ld=21602
71379 if test x"$with_gnu_ld" = x"yes" &&
71380 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71381 glibcxx_have_gc_sections=yes
71384 if test "$glibcxx_have_gc_sections" = "yes"; then
71385 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71386 # NB: This flag only works reliably after 2.16.1. Configure tests
71387 # for this are difficult, so hard wire a value that should work.
71389 ac_test_CFLAGS="${CFLAGS+set}"
71390 ac_save_CFLAGS="$CFLAGS"
71391 CFLAGS='-Wl,--gc-sections'
71393 # Check for -Wl,--gc-sections
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71395 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71396 if test x$gcc_no_link = xyes; then
71397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 int one(void) { return 1; }
71402 int two(void) { return 2; }
71405 main ()
71407 two();
71409 return 0;
71411 _ACEOF
71412 if ac_fn_c_try_link "$LINENO"; then :
71413 ac_gcsections=yes
71414 else
71415 ac_gcsections=no
71417 rm -f core conftest.err conftest.$ac_objext \
71418 conftest$ac_exeext conftest.$ac_ext
71419 if test "$ac_gcsections" = "yes"; then
71420 rm -f conftest.c
71421 touch conftest.c
71422 if $CC -c conftest.c; then
71423 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71424 grep "Warning: gc-sections option ignored" > /dev/null; then
71425 ac_gcsections=no
71428 rm -f conftest.c conftest.o conftest
71430 if test "$ac_gcsections" = "yes"; then
71431 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71434 $as_echo "$ac_gcsections" >&6; }
71436 if test "$ac_test_CFLAGS" = set; then
71437 CFLAGS="$ac_save_CFLAGS"
71438 else
71439 # this is the suspicious part
71440 CFLAGS=''
71444 # Set -z,relro.
71445 # Note this is only for shared objects.
71446 ac_ld_relro=no
71447 if test x"$with_gnu_ld" = x"yes"; then
71448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71449 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71450 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71451 if test -n "$cxx_z_relo"; then
71452 OPT_LDFLAGS="-Wl,-z,relro"
71453 ac_ld_relro=yes
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71456 $as_echo "$ac_ld_relro" >&6; }
71459 # Set linker optimization flags.
71460 if test x"$with_gnu_ld" = x"yes"; then
71461 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71467 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71469 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71471 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71473 # All of the dependencies for wide character support are here, so
71474 # turn it on.
71475 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71477 # These two C99 functions are present only in Solaris >= 10
71478 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71480 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71482 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71484 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71486 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71488 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71491 *-tpf)
71492 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71493 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71495 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71497 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71499 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71501 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71503 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71505 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71507 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71509 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71511 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71513 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71515 if test x"long_double_math_on_this_cpu" = x"yes"; then
71516 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71518 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71520 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71522 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71526 *-*vms*)
71527 # Check for available headers.
71528 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71531 ac_save_CXXFLAGS="$CXXFLAGS"
71532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71535 $as_echo_n "checking for sin in -lm... " >&6; }
71536 if test "${ac_cv_lib_m_sin+set}" = set; then :
71537 $as_echo_n "(cached) " >&6
71538 else
71539 ac_check_lib_save_LIBS=$LIBS
71540 LIBS="-lm $LIBS"
71541 if test x$gcc_no_link = xyes; then
71542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71545 /* end confdefs.h. */
71547 /* Override any GCC internal prototype to avoid an error.
71548 Use char because int might match the return type of a GCC
71549 builtin and then its argument prototype would still apply. */
71550 #ifdef __cplusplus
71551 extern "C"
71552 #endif
71553 char sin ();
71555 main ()
71557 return sin ();
71559 return 0;
71561 _ACEOF
71562 if ac_fn_c_try_link "$LINENO"; then :
71563 ac_cv_lib_m_sin=yes
71564 else
71565 ac_cv_lib_m_sin=no
71567 rm -f core conftest.err conftest.$ac_objext \
71568 conftest$ac_exeext conftest.$ac_ext
71569 LIBS=$ac_check_lib_save_LIBS
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71572 $as_echo "$ac_cv_lib_m_sin" >&6; }
71573 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71574 libm="-lm"
71577 ac_save_LIBS="$LIBS"
71578 LIBS="$LIBS $libm"
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71583 $as_echo_n "checking for isinf declaration... " >&6; }
71584 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71585 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71586 $as_echo_n "(cached) " >&6
71587 else
71590 ac_ext=cpp
71591 ac_cpp='$CXXCPP $CPPFLAGS'
71592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71597 /* end confdefs.h. */
71598 #include <math.h>
71599 #ifdef HAVE_IEEEFP_H
71600 #include <ieeefp.h>
71601 #endif
71604 main ()
71606 isinf(0);
71608 return 0;
71610 _ACEOF
71611 if ac_fn_cxx_try_compile "$LINENO"; then :
71612 glibcxx_cv_func_isinf_use=yes
71613 else
71614 glibcxx_cv_func_isinf_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_isinf_use" >&5
71628 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71630 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71631 for ac_func in isinf
71632 do :
71633 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71634 if test "x$ac_cv_func_isinf" = x""yes; then :
71635 cat >>confdefs.h <<_ACEOF
71636 #define HAVE_ISINF 1
71637 _ACEOF
71640 done
71642 else
71644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71645 $as_echo_n "checking for _isinf declaration... " >&6; }
71646 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71647 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71648 $as_echo_n "(cached) " >&6
71649 else
71652 ac_ext=cpp
71653 ac_cpp='$CXXCPP $CPPFLAGS'
71654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71659 /* end confdefs.h. */
71660 #include <math.h>
71661 #ifdef HAVE_IEEEFP_H
71662 #include <ieeefp.h>
71663 #endif
71666 main ()
71668 _isinf(0);
71670 return 0;
71672 _ACEOF
71673 if ac_fn_cxx_try_compile "$LINENO"; then :
71674 glibcxx_cv_func__isinf_use=yes
71675 else
71676 glibcxx_cv_func__isinf_use=no
71678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71679 ac_ext=c
71680 ac_cpp='$CPP $CPPFLAGS'
71681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71690 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71692 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71693 for ac_func in _isinf
71694 do :
71695 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71696 if test "x$ac_cv_func__isinf" = x""yes; then :
71697 cat >>confdefs.h <<_ACEOF
71698 #define HAVE__ISINF 1
71699 _ACEOF
71702 done
71711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71712 $as_echo_n "checking for isnan declaration... " >&6; }
71713 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71714 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71715 $as_echo_n "(cached) " >&6
71716 else
71719 ac_ext=cpp
71720 ac_cpp='$CXXCPP $CPPFLAGS'
71721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71726 /* end confdefs.h. */
71727 #include <math.h>
71728 #ifdef HAVE_IEEEFP_H
71729 #include <ieeefp.h>
71730 #endif
71733 main ()
71735 isnan(0);
71737 return 0;
71739 _ACEOF
71740 if ac_fn_cxx_try_compile "$LINENO"; then :
71741 glibcxx_cv_func_isnan_use=yes
71742 else
71743 glibcxx_cv_func_isnan_use=no
71745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71746 ac_ext=c
71747 ac_cpp='$CPP $CPPFLAGS'
71748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71757 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71759 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71760 for ac_func in isnan
71761 do :
71762 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71763 if test "x$ac_cv_func_isnan" = x""yes; then :
71764 cat >>confdefs.h <<_ACEOF
71765 #define HAVE_ISNAN 1
71766 _ACEOF
71769 done
71771 else
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71774 $as_echo_n "checking for _isnan declaration... " >&6; }
71775 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71776 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71777 $as_echo_n "(cached) " >&6
71778 else
71781 ac_ext=cpp
71782 ac_cpp='$CXXCPP $CPPFLAGS'
71783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h. */
71789 #include <math.h>
71790 #ifdef HAVE_IEEEFP_H
71791 #include <ieeefp.h>
71792 #endif
71795 main ()
71797 _isnan(0);
71799 return 0;
71801 _ACEOF
71802 if ac_fn_cxx_try_compile "$LINENO"; then :
71803 glibcxx_cv_func__isnan_use=yes
71804 else
71805 glibcxx_cv_func__isnan_use=no
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 ac_ext=c
71809 ac_cpp='$CPP $CPPFLAGS'
71810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71819 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71821 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71822 for ac_func in _isnan
71823 do :
71824 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71825 if test "x$ac_cv_func__isnan" = x""yes; then :
71826 cat >>confdefs.h <<_ACEOF
71827 #define HAVE__ISNAN 1
71828 _ACEOF
71831 done
71840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71841 $as_echo_n "checking for finite declaration... " >&6; }
71842 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71843 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71844 $as_echo_n "(cached) " >&6
71845 else
71848 ac_ext=cpp
71849 ac_cpp='$CXXCPP $CPPFLAGS'
71850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71855 /* end confdefs.h. */
71856 #include <math.h>
71857 #ifdef HAVE_IEEEFP_H
71858 #include <ieeefp.h>
71859 #endif
71862 main ()
71864 finite(0);
71866 return 0;
71868 _ACEOF
71869 if ac_fn_cxx_try_compile "$LINENO"; then :
71870 glibcxx_cv_func_finite_use=yes
71871 else
71872 glibcxx_cv_func_finite_use=no
71874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71875 ac_ext=c
71876 ac_cpp='$CPP $CPPFLAGS'
71877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71886 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71888 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71889 for ac_func in finite
71890 do :
71891 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71892 if test "x$ac_cv_func_finite" = x""yes; then :
71893 cat >>confdefs.h <<_ACEOF
71894 #define HAVE_FINITE 1
71895 _ACEOF
71898 done
71900 else
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71903 $as_echo_n "checking for _finite declaration... " >&6; }
71904 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71905 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71906 $as_echo_n "(cached) " >&6
71907 else
71910 ac_ext=cpp
71911 ac_cpp='$CXXCPP $CPPFLAGS'
71912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 #ifdef HAVE_IEEEFP_H
71920 #include <ieeefp.h>
71921 #endif
71924 main ()
71926 _finite(0);
71928 return 0;
71930 _ACEOF
71931 if ac_fn_cxx_try_compile "$LINENO"; then :
71932 glibcxx_cv_func__finite_use=yes
71933 else
71934 glibcxx_cv_func__finite_use=no
71936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71937 ac_ext=c
71938 ac_cpp='$CPP $CPPFLAGS'
71939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71948 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71950 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71951 for ac_func in _finite
71952 do :
71953 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71954 if test "x$ac_cv_func__finite" = x""yes; then :
71955 cat >>confdefs.h <<_ACEOF
71956 #define HAVE__FINITE 1
71957 _ACEOF
71960 done
71969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71970 $as_echo_n "checking for sincos declaration... " >&6; }
71971 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71972 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71973 $as_echo_n "(cached) " >&6
71974 else
71977 ac_ext=cpp
71978 ac_cpp='$CXXCPP $CPPFLAGS'
71979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71984 /* end confdefs.h. */
71985 #include <math.h>
71987 main ()
71989 sincos(0, 0, 0);
71991 return 0;
71993 _ACEOF
71994 if ac_fn_cxx_try_compile "$LINENO"; then :
71995 glibcxx_cv_func_sincos_use=yes
71996 else
71997 glibcxx_cv_func_sincos_use=no
71999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72000 ac_ext=c
72001 ac_cpp='$CPP $CPPFLAGS'
72002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72011 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72013 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72014 for ac_func in sincos
72015 do :
72016 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72017 if test "x$ac_cv_func_sincos" = x""yes; then :
72018 cat >>confdefs.h <<_ACEOF
72019 #define HAVE_SINCOS 1
72020 _ACEOF
72023 done
72025 else
72027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72028 $as_echo_n "checking for _sincos declaration... " >&6; }
72029 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72030 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72031 $as_echo_n "(cached) " >&6
72032 else
72035 ac_ext=cpp
72036 ac_cpp='$CXXCPP $CPPFLAGS'
72037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72042 /* end confdefs.h. */
72043 #include <math.h>
72045 main ()
72047 _sincos(0, 0, 0);
72049 return 0;
72051 _ACEOF
72052 if ac_fn_cxx_try_compile "$LINENO"; then :
72053 glibcxx_cv_func__sincos_use=yes
72054 else
72055 glibcxx_cv_func__sincos_use=no
72057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72058 ac_ext=c
72059 ac_cpp='$CPP $CPPFLAGS'
72060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72069 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72071 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72072 for ac_func in _sincos
72073 do :
72074 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72075 if test "x$ac_cv_func__sincos" = x""yes; then :
72076 cat >>confdefs.h <<_ACEOF
72077 #define HAVE__SINCOS 1
72078 _ACEOF
72081 done
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72091 $as_echo_n "checking for fpclass declaration... " >&6; }
72092 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72093 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72094 $as_echo_n "(cached) " >&6
72095 else
72098 ac_ext=cpp
72099 ac_cpp='$CXXCPP $CPPFLAGS'
72100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72105 /* end confdefs.h. */
72106 #include <math.h>
72107 #ifdef HAVE_IEEEFP_H
72108 #include <ieeefp.h>
72109 #endif
72112 main ()
72114 fpclass(0);
72116 return 0;
72118 _ACEOF
72119 if ac_fn_cxx_try_compile "$LINENO"; then :
72120 glibcxx_cv_func_fpclass_use=yes
72121 else
72122 glibcxx_cv_func_fpclass_use=no
72124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72125 ac_ext=c
72126 ac_cpp='$CPP $CPPFLAGS'
72127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72136 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72138 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72139 for ac_func in fpclass
72140 do :
72141 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72142 if test "x$ac_cv_func_fpclass" = x""yes; then :
72143 cat >>confdefs.h <<_ACEOF
72144 #define HAVE_FPCLASS 1
72145 _ACEOF
72148 done
72150 else
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72153 $as_echo_n "checking for _fpclass declaration... " >&6; }
72154 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72155 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72156 $as_echo_n "(cached) " >&6
72157 else
72160 ac_ext=cpp
72161 ac_cpp='$CXXCPP $CPPFLAGS'
72162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72167 /* end confdefs.h. */
72168 #include <math.h>
72169 #ifdef HAVE_IEEEFP_H
72170 #include <ieeefp.h>
72171 #endif
72174 main ()
72176 _fpclass(0);
72178 return 0;
72180 _ACEOF
72181 if ac_fn_cxx_try_compile "$LINENO"; then :
72182 glibcxx_cv_func__fpclass_use=yes
72183 else
72184 glibcxx_cv_func__fpclass_use=no
72186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72187 ac_ext=c
72188 ac_cpp='$CPP $CPPFLAGS'
72189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72198 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72200 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72201 for ac_func in _fpclass
72202 do :
72203 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72204 if test "x$ac_cv_func__fpclass" = x""yes; then :
72205 cat >>confdefs.h <<_ACEOF
72206 #define HAVE__FPCLASS 1
72207 _ACEOF
72210 done
72219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72220 $as_echo_n "checking for qfpclass declaration... " >&6; }
72221 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72222 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72223 $as_echo_n "(cached) " >&6
72224 else
72227 ac_ext=cpp
72228 ac_cpp='$CXXCPP $CPPFLAGS'
72229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72234 /* end confdefs.h. */
72235 #include <math.h>
72236 #ifdef HAVE_IEEEFP_H
72237 #include <ieeefp.h>
72238 #endif
72241 main ()
72243 qfpclass(0);
72245 return 0;
72247 _ACEOF
72248 if ac_fn_cxx_try_compile "$LINENO"; then :
72249 glibcxx_cv_func_qfpclass_use=yes
72250 else
72251 glibcxx_cv_func_qfpclass_use=no
72253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72254 ac_ext=c
72255 ac_cpp='$CPP $CPPFLAGS'
72256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72265 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72267 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72268 for ac_func in qfpclass
72269 do :
72270 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72271 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72272 cat >>confdefs.h <<_ACEOF
72273 #define HAVE_QFPCLASS 1
72274 _ACEOF
72277 done
72279 else
72281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72282 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72283 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72284 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72285 $as_echo_n "(cached) " >&6
72286 else
72289 ac_ext=cpp
72290 ac_cpp='$CXXCPP $CPPFLAGS'
72291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72296 /* end confdefs.h. */
72297 #include <math.h>
72298 #ifdef HAVE_IEEEFP_H
72299 #include <ieeefp.h>
72300 #endif
72303 main ()
72305 _qfpclass(0);
72307 return 0;
72309 _ACEOF
72310 if ac_fn_cxx_try_compile "$LINENO"; then :
72311 glibcxx_cv_func__qfpclass_use=yes
72312 else
72313 glibcxx_cv_func__qfpclass_use=no
72315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72316 ac_ext=c
72317 ac_cpp='$CPP $CPPFLAGS'
72318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72327 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72329 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72330 for ac_func in _qfpclass
72331 do :
72332 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72333 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72334 cat >>confdefs.h <<_ACEOF
72335 #define HAVE__QFPCLASS 1
72336 _ACEOF
72339 done
72348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72349 $as_echo_n "checking for hypot declaration... " >&6; }
72350 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72351 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72352 $as_echo_n "(cached) " >&6
72353 else
72356 ac_ext=cpp
72357 ac_cpp='$CXXCPP $CPPFLAGS'
72358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72363 /* end confdefs.h. */
72364 #include <math.h>
72366 main ()
72368 hypot(0, 0);
72370 return 0;
72372 _ACEOF
72373 if ac_fn_cxx_try_compile "$LINENO"; then :
72374 glibcxx_cv_func_hypot_use=yes
72375 else
72376 glibcxx_cv_func_hypot_use=no
72378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72379 ac_ext=c
72380 ac_cpp='$CPP $CPPFLAGS'
72381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72390 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72392 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72393 for ac_func in hypot
72394 do :
72395 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72396 if test "x$ac_cv_func_hypot" = x""yes; then :
72397 cat >>confdefs.h <<_ACEOF
72398 #define HAVE_HYPOT 1
72399 _ACEOF
72402 done
72404 else
72406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72407 $as_echo_n "checking for _hypot declaration... " >&6; }
72408 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72409 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72410 $as_echo_n "(cached) " >&6
72411 else
72414 ac_ext=cpp
72415 ac_cpp='$CXXCPP $CPPFLAGS'
72416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72421 /* end confdefs.h. */
72422 #include <math.h>
72424 main ()
72426 _hypot(0, 0);
72428 return 0;
72430 _ACEOF
72431 if ac_fn_cxx_try_compile "$LINENO"; then :
72432 glibcxx_cv_func__hypot_use=yes
72433 else
72434 glibcxx_cv_func__hypot_use=no
72436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72437 ac_ext=c
72438 ac_cpp='$CPP $CPPFLAGS'
72439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72448 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72450 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72451 for ac_func in _hypot
72452 do :
72453 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72454 if test "x$ac_cv_func__hypot" = x""yes; then :
72455 cat >>confdefs.h <<_ACEOF
72456 #define HAVE__HYPOT 1
72457 _ACEOF
72460 done
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72470 $as_echo_n "checking for float trig functions... " >&6; }
72471 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72472 $as_echo_n "(cached) " >&6
72473 else
72476 ac_ext=cpp
72477 ac_cpp='$CXXCPP $CPPFLAGS'
72478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72483 /* end confdefs.h. */
72484 #include <math.h>
72486 main ()
72488 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72490 return 0;
72492 _ACEOF
72493 if ac_fn_cxx_try_compile "$LINENO"; then :
72494 glibcxx_cv_func_float_trig_use=yes
72495 else
72496 glibcxx_cv_func_float_trig_use=no
72498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72499 ac_ext=c
72500 ac_cpp='$CPP $CPPFLAGS'
72501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72508 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72509 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72510 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72511 do :
72512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72514 eval as_val=\$$as_ac_var
72515 if test "x$as_val" = x""yes; then :
72516 cat >>confdefs.h <<_ACEOF
72517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72518 _ACEOF
72521 done
72523 else
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72525 $as_echo_n "checking for _float trig functions... " >&6; }
72526 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72527 $as_echo_n "(cached) " >&6
72528 else
72531 ac_ext=cpp
72532 ac_cpp='$CXXCPP $CPPFLAGS'
72533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72538 /* end confdefs.h. */
72539 #include <math.h>
72541 main ()
72543 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72545 return 0;
72547 _ACEOF
72548 if ac_fn_cxx_try_compile "$LINENO"; then :
72549 glibcxx_cv_func__float_trig_use=yes
72550 else
72551 glibcxx_cv_func__float_trig_use=no
72553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72554 ac_ext=c
72555 ac_cpp='$CPP $CPPFLAGS'
72556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72563 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72564 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72565 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72566 do :
72567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72569 eval as_val=\$$as_ac_var
72570 if test "x$as_val" = x""yes; then :
72571 cat >>confdefs.h <<_ACEOF
72572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72573 _ACEOF
72576 done
72585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72586 $as_echo_n "checking for float round functions... " >&6; }
72587 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72588 $as_echo_n "(cached) " >&6
72589 else
72592 ac_ext=cpp
72593 ac_cpp='$CXXCPP $CPPFLAGS'
72594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72599 /* end confdefs.h. */
72600 #include <math.h>
72602 main ()
72604 ceilf (0); floorf (0);
72606 return 0;
72608 _ACEOF
72609 if ac_fn_cxx_try_compile "$LINENO"; then :
72610 glibcxx_cv_func_float_round_use=yes
72611 else
72612 glibcxx_cv_func_float_round_use=no
72614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72615 ac_ext=c
72616 ac_cpp='$CPP $CPPFLAGS'
72617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72624 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72625 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72626 for ac_func in ceilf floorf
72627 do :
72628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72630 eval as_val=\$$as_ac_var
72631 if test "x$as_val" = x""yes; then :
72632 cat >>confdefs.h <<_ACEOF
72633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72634 _ACEOF
72637 done
72639 else
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72641 $as_echo_n "checking for _float round functions... " >&6; }
72642 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72643 $as_echo_n "(cached) " >&6
72644 else
72647 ac_ext=cpp
72648 ac_cpp='$CXXCPP $CPPFLAGS'
72649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72654 /* end confdefs.h. */
72655 #include <math.h>
72657 main ()
72659 _ceilf (0); _floorf (0);
72661 return 0;
72663 _ACEOF
72664 if ac_fn_cxx_try_compile "$LINENO"; then :
72665 glibcxx_cv_func__float_round_use=yes
72666 else
72667 glibcxx_cv_func__float_round_use=no
72669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72670 ac_ext=c
72671 ac_cpp='$CPP $CPPFLAGS'
72672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72679 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72680 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72681 for ac_func in _ceilf _floorf
72682 do :
72683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72685 eval as_val=\$$as_ac_var
72686 if test "x$as_val" = x""yes; then :
72687 cat >>confdefs.h <<_ACEOF
72688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72689 _ACEOF
72692 done
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72703 $as_echo_n "checking for expf declaration... " >&6; }
72704 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72705 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72706 $as_echo_n "(cached) " >&6
72707 else
72710 ac_ext=cpp
72711 ac_cpp='$CXXCPP $CPPFLAGS'
72712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72717 /* end confdefs.h. */
72718 #include <math.h>
72719 #ifdef HAVE_IEEEFP_H
72720 #include <ieeefp.h>
72721 #endif
72724 main ()
72726 expf(0);
72728 return 0;
72730 _ACEOF
72731 if ac_fn_cxx_try_compile "$LINENO"; then :
72732 glibcxx_cv_func_expf_use=yes
72733 else
72734 glibcxx_cv_func_expf_use=no
72736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72737 ac_ext=c
72738 ac_cpp='$CPP $CPPFLAGS'
72739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72748 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72750 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72751 for ac_func in expf
72752 do :
72753 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72754 if test "x$ac_cv_func_expf" = x""yes; then :
72755 cat >>confdefs.h <<_ACEOF
72756 #define HAVE_EXPF 1
72757 _ACEOF
72760 done
72762 else
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72765 $as_echo_n "checking for _expf declaration... " >&6; }
72766 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72767 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72768 $as_echo_n "(cached) " >&6
72769 else
72772 ac_ext=cpp
72773 ac_cpp='$CXXCPP $CPPFLAGS'
72774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72779 /* end confdefs.h. */
72780 #include <math.h>
72781 #ifdef HAVE_IEEEFP_H
72782 #include <ieeefp.h>
72783 #endif
72786 main ()
72788 _expf(0);
72790 return 0;
72792 _ACEOF
72793 if ac_fn_cxx_try_compile "$LINENO"; then :
72794 glibcxx_cv_func__expf_use=yes
72795 else
72796 glibcxx_cv_func__expf_use=no
72798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72799 ac_ext=c
72800 ac_cpp='$CPP $CPPFLAGS'
72801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72810 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72812 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72813 for ac_func in _expf
72814 do :
72815 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72816 if test "x$ac_cv_func__expf" = x""yes; then :
72817 cat >>confdefs.h <<_ACEOF
72818 #define HAVE__EXPF 1
72819 _ACEOF
72822 done
72831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72832 $as_echo_n "checking for isnanf declaration... " >&6; }
72833 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72834 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72835 $as_echo_n "(cached) " >&6
72836 else
72839 ac_ext=cpp
72840 ac_cpp='$CXXCPP $CPPFLAGS'
72841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72846 /* end confdefs.h. */
72847 #include <math.h>
72848 #ifdef HAVE_IEEEFP_H
72849 #include <ieeefp.h>
72850 #endif
72853 main ()
72855 isnanf(0);
72857 return 0;
72859 _ACEOF
72860 if ac_fn_cxx_try_compile "$LINENO"; then :
72861 glibcxx_cv_func_isnanf_use=yes
72862 else
72863 glibcxx_cv_func_isnanf_use=no
72865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72866 ac_ext=c
72867 ac_cpp='$CPP $CPPFLAGS'
72868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72877 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72879 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72880 for ac_func in isnanf
72881 do :
72882 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72883 if test "x$ac_cv_func_isnanf" = x""yes; then :
72884 cat >>confdefs.h <<_ACEOF
72885 #define HAVE_ISNANF 1
72886 _ACEOF
72889 done
72891 else
72893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72894 $as_echo_n "checking for _isnanf declaration... " >&6; }
72895 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72896 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72897 $as_echo_n "(cached) " >&6
72898 else
72901 ac_ext=cpp
72902 ac_cpp='$CXXCPP $CPPFLAGS'
72903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72908 /* end confdefs.h. */
72909 #include <math.h>
72910 #ifdef HAVE_IEEEFP_H
72911 #include <ieeefp.h>
72912 #endif
72915 main ()
72917 _isnanf(0);
72919 return 0;
72921 _ACEOF
72922 if ac_fn_cxx_try_compile "$LINENO"; then :
72923 glibcxx_cv_func__isnanf_use=yes
72924 else
72925 glibcxx_cv_func__isnanf_use=no
72927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72928 ac_ext=c
72929 ac_cpp='$CPP $CPPFLAGS'
72930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72939 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72941 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72942 for ac_func in _isnanf
72943 do :
72944 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72945 if test "x$ac_cv_func__isnanf" = x""yes; then :
72946 cat >>confdefs.h <<_ACEOF
72947 #define HAVE__ISNANF 1
72948 _ACEOF
72951 done
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72961 $as_echo_n "checking for isinff declaration... " >&6; }
72962 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72963 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72964 $as_echo_n "(cached) " >&6
72965 else
72968 ac_ext=cpp
72969 ac_cpp='$CXXCPP $CPPFLAGS'
72970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72975 /* end confdefs.h. */
72976 #include <math.h>
72977 #ifdef HAVE_IEEEFP_H
72978 #include <ieeefp.h>
72979 #endif
72982 main ()
72984 isinff(0);
72986 return 0;
72988 _ACEOF
72989 if ac_fn_cxx_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_isinff_use=yes
72991 else
72992 glibcxx_cv_func_isinff_use=no
72994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72995 ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73006 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73008 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73009 for ac_func in isinff
73010 do :
73011 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73012 if test "x$ac_cv_func_isinff" = x""yes; then :
73013 cat >>confdefs.h <<_ACEOF
73014 #define HAVE_ISINFF 1
73015 _ACEOF
73018 done
73020 else
73022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73023 $as_echo_n "checking for _isinff declaration... " >&6; }
73024 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73025 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73026 $as_echo_n "(cached) " >&6
73027 else
73030 ac_ext=cpp
73031 ac_cpp='$CXXCPP $CPPFLAGS'
73032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73037 /* end confdefs.h. */
73038 #include <math.h>
73039 #ifdef HAVE_IEEEFP_H
73040 #include <ieeefp.h>
73041 #endif
73044 main ()
73046 _isinff(0);
73048 return 0;
73050 _ACEOF
73051 if ac_fn_cxx_try_compile "$LINENO"; then :
73052 glibcxx_cv_func__isinff_use=yes
73053 else
73054 glibcxx_cv_func__isinff_use=no
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057 ac_ext=c
73058 ac_cpp='$CPP $CPPFLAGS'
73059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73068 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73070 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73071 for ac_func in _isinff
73072 do :
73073 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73074 if test "x$ac_cv_func__isinff" = x""yes; then :
73075 cat >>confdefs.h <<_ACEOF
73076 #define HAVE__ISINFF 1
73077 _ACEOF
73080 done
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73090 $as_echo_n "checking for atan2f declaration... " >&6; }
73091 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73092 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73093 $as_echo_n "(cached) " >&6
73094 else
73097 ac_ext=cpp
73098 ac_cpp='$CXXCPP $CPPFLAGS'
73099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73104 /* end confdefs.h. */
73105 #include <math.h>
73107 main ()
73109 atan2f(0, 0);
73111 return 0;
73113 _ACEOF
73114 if ac_fn_cxx_try_compile "$LINENO"; then :
73115 glibcxx_cv_func_atan2f_use=yes
73116 else
73117 glibcxx_cv_func_atan2f_use=no
73119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73120 ac_ext=c
73121 ac_cpp='$CPP $CPPFLAGS'
73122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73131 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73133 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73134 for ac_func in atan2f
73135 do :
73136 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73137 if test "x$ac_cv_func_atan2f" = x""yes; then :
73138 cat >>confdefs.h <<_ACEOF
73139 #define HAVE_ATAN2F 1
73140 _ACEOF
73143 done
73145 else
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73148 $as_echo_n "checking for _atan2f declaration... " >&6; }
73149 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73150 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73151 $as_echo_n "(cached) " >&6
73152 else
73155 ac_ext=cpp
73156 ac_cpp='$CXXCPP $CPPFLAGS'
73157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73162 /* end confdefs.h. */
73163 #include <math.h>
73165 main ()
73167 _atan2f(0, 0);
73169 return 0;
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173 glibcxx_cv_func__atan2f_use=yes
73174 else
73175 glibcxx_cv_func__atan2f_use=no
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73189 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73191 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73192 for ac_func in _atan2f
73193 do :
73194 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73195 if test "x$ac_cv_func__atan2f" = x""yes; then :
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE__ATAN2F 1
73198 _ACEOF
73201 done
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73211 $as_echo_n "checking for fabsf declaration... " >&6; }
73212 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73213 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73214 $as_echo_n "(cached) " >&6
73215 else
73218 ac_ext=cpp
73219 ac_cpp='$CXXCPP $CPPFLAGS'
73220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73225 /* end confdefs.h. */
73226 #include <math.h>
73227 #ifdef HAVE_IEEEFP_H
73228 #include <ieeefp.h>
73229 #endif
73232 main ()
73234 fabsf(0);
73236 return 0;
73238 _ACEOF
73239 if ac_fn_cxx_try_compile "$LINENO"; then :
73240 glibcxx_cv_func_fabsf_use=yes
73241 else
73242 glibcxx_cv_func_fabsf_use=no
73244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73245 ac_ext=c
73246 ac_cpp='$CPP $CPPFLAGS'
73247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73256 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73258 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73259 for ac_func in fabsf
73260 do :
73261 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73262 if test "x$ac_cv_func_fabsf" = x""yes; then :
73263 cat >>confdefs.h <<_ACEOF
73264 #define HAVE_FABSF 1
73265 _ACEOF
73268 done
73270 else
73272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73273 $as_echo_n "checking for _fabsf declaration... " >&6; }
73274 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73275 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73276 $as_echo_n "(cached) " >&6
73277 else
73280 ac_ext=cpp
73281 ac_cpp='$CXXCPP $CPPFLAGS'
73282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73287 /* end confdefs.h. */
73288 #include <math.h>
73289 #ifdef HAVE_IEEEFP_H
73290 #include <ieeefp.h>
73291 #endif
73294 main ()
73296 _fabsf(0);
73298 return 0;
73300 _ACEOF
73301 if ac_fn_cxx_try_compile "$LINENO"; then :
73302 glibcxx_cv_func__fabsf_use=yes
73303 else
73304 glibcxx_cv_func__fabsf_use=no
73306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73307 ac_ext=c
73308 ac_cpp='$CPP $CPPFLAGS'
73309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73318 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73320 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73321 for ac_func in _fabsf
73322 do :
73323 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73324 if test "x$ac_cv_func__fabsf" = x""yes; then :
73325 cat >>confdefs.h <<_ACEOF
73326 #define HAVE__FABSF 1
73327 _ACEOF
73330 done
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73340 $as_echo_n "checking for fmodf declaration... " >&6; }
73341 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73342 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73343 $as_echo_n "(cached) " >&6
73344 else
73347 ac_ext=cpp
73348 ac_cpp='$CXXCPP $CPPFLAGS'
73349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73354 /* end confdefs.h. */
73355 #include <math.h>
73357 main ()
73359 fmodf(0, 0);
73361 return 0;
73363 _ACEOF
73364 if ac_fn_cxx_try_compile "$LINENO"; then :
73365 glibcxx_cv_func_fmodf_use=yes
73366 else
73367 glibcxx_cv_func_fmodf_use=no
73369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73381 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73383 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73384 for ac_func in fmodf
73385 do :
73386 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73387 if test "x$ac_cv_func_fmodf" = x""yes; then :
73388 cat >>confdefs.h <<_ACEOF
73389 #define HAVE_FMODF 1
73390 _ACEOF
73393 done
73395 else
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73398 $as_echo_n "checking for _fmodf declaration... " >&6; }
73399 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73400 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73401 $as_echo_n "(cached) " >&6
73402 else
73405 ac_ext=cpp
73406 ac_cpp='$CXXCPP $CPPFLAGS'
73407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73412 /* end confdefs.h. */
73413 #include <math.h>
73415 main ()
73417 _fmodf(0, 0);
73419 return 0;
73421 _ACEOF
73422 if ac_fn_cxx_try_compile "$LINENO"; then :
73423 glibcxx_cv_func__fmodf_use=yes
73424 else
73425 glibcxx_cv_func__fmodf_use=no
73427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73428 ac_ext=c
73429 ac_cpp='$CPP $CPPFLAGS'
73430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73439 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73441 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73442 for ac_func in _fmodf
73443 do :
73444 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73445 if test "x$ac_cv_func__fmodf" = x""yes; then :
73446 cat >>confdefs.h <<_ACEOF
73447 #define HAVE__FMODF 1
73448 _ACEOF
73451 done
73460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73461 $as_echo_n "checking for frexpf declaration... " >&6; }
73462 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73463 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73464 $as_echo_n "(cached) " >&6
73465 else
73468 ac_ext=cpp
73469 ac_cpp='$CXXCPP $CPPFLAGS'
73470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73475 /* end confdefs.h. */
73476 #include <math.h>
73478 main ()
73480 frexpf(0, 0);
73482 return 0;
73484 _ACEOF
73485 if ac_fn_cxx_try_compile "$LINENO"; then :
73486 glibcxx_cv_func_frexpf_use=yes
73487 else
73488 glibcxx_cv_func_frexpf_use=no
73490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73491 ac_ext=c
73492 ac_cpp='$CPP $CPPFLAGS'
73493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73502 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73504 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73505 for ac_func in frexpf
73506 do :
73507 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73508 if test "x$ac_cv_func_frexpf" = x""yes; then :
73509 cat >>confdefs.h <<_ACEOF
73510 #define HAVE_FREXPF 1
73511 _ACEOF
73514 done
73516 else
73518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73519 $as_echo_n "checking for _frexpf declaration... " >&6; }
73520 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73521 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73522 $as_echo_n "(cached) " >&6
73523 else
73526 ac_ext=cpp
73527 ac_cpp='$CXXCPP $CPPFLAGS'
73528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73533 /* end confdefs.h. */
73534 #include <math.h>
73536 main ()
73538 _frexpf(0, 0);
73540 return 0;
73542 _ACEOF
73543 if ac_fn_cxx_try_compile "$LINENO"; then :
73544 glibcxx_cv_func__frexpf_use=yes
73545 else
73546 glibcxx_cv_func__frexpf_use=no
73548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73549 ac_ext=c
73550 ac_cpp='$CPP $CPPFLAGS'
73551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73560 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73562 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73563 for ac_func in _frexpf
73564 do :
73565 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73566 if test "x$ac_cv_func__frexpf" = x""yes; then :
73567 cat >>confdefs.h <<_ACEOF
73568 #define HAVE__FREXPF 1
73569 _ACEOF
73572 done
73581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73582 $as_echo_n "checking for hypotf declaration... " >&6; }
73583 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73584 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73585 $as_echo_n "(cached) " >&6
73586 else
73589 ac_ext=cpp
73590 ac_cpp='$CXXCPP $CPPFLAGS'
73591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73596 /* end confdefs.h. */
73597 #include <math.h>
73599 main ()
73601 hypotf(0, 0);
73603 return 0;
73605 _ACEOF
73606 if ac_fn_cxx_try_compile "$LINENO"; then :
73607 glibcxx_cv_func_hypotf_use=yes
73608 else
73609 glibcxx_cv_func_hypotf_use=no
73611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73612 ac_ext=c
73613 ac_cpp='$CPP $CPPFLAGS'
73614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73623 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73625 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73626 for ac_func in hypotf
73627 do :
73628 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73629 if test "x$ac_cv_func_hypotf" = x""yes; then :
73630 cat >>confdefs.h <<_ACEOF
73631 #define HAVE_HYPOTF 1
73632 _ACEOF
73635 done
73637 else
73639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73640 $as_echo_n "checking for _hypotf declaration... " >&6; }
73641 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73642 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73643 $as_echo_n "(cached) " >&6
73644 else
73647 ac_ext=cpp
73648 ac_cpp='$CXXCPP $CPPFLAGS'
73649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73654 /* end confdefs.h. */
73655 #include <math.h>
73657 main ()
73659 _hypotf(0, 0);
73661 return 0;
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__hypotf_use=yes
73666 else
73667 glibcxx_cv_func__hypotf_use=no
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73681 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73683 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73684 for ac_func in _hypotf
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73687 if test "x$ac_cv_func__hypotf" = x""yes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__HYPOTF 1
73690 _ACEOF
73693 done
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73703 $as_echo_n "checking for ldexpf declaration... " >&6; }
73704 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73705 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73706 $as_echo_n "(cached) " >&6
73707 else
73710 ac_ext=cpp
73711 ac_cpp='$CXXCPP $CPPFLAGS'
73712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717 /* end confdefs.h. */
73718 #include <math.h>
73720 main ()
73722 ldexpf(0, 0);
73724 return 0;
73726 _ACEOF
73727 if ac_fn_cxx_try_compile "$LINENO"; then :
73728 glibcxx_cv_func_ldexpf_use=yes
73729 else
73730 glibcxx_cv_func_ldexpf_use=no
73732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73733 ac_ext=c
73734 ac_cpp='$CPP $CPPFLAGS'
73735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73744 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73746 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73747 for ac_func in ldexpf
73748 do :
73749 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73750 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73751 cat >>confdefs.h <<_ACEOF
73752 #define HAVE_LDEXPF 1
73753 _ACEOF
73756 done
73758 else
73760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73761 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73762 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73763 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73764 $as_echo_n "(cached) " >&6
73765 else
73768 ac_ext=cpp
73769 ac_cpp='$CXXCPP $CPPFLAGS'
73770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73775 /* end confdefs.h. */
73776 #include <math.h>
73778 main ()
73780 _ldexpf(0, 0);
73782 return 0;
73784 _ACEOF
73785 if ac_fn_cxx_try_compile "$LINENO"; then :
73786 glibcxx_cv_func__ldexpf_use=yes
73787 else
73788 glibcxx_cv_func__ldexpf_use=no
73790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73791 ac_ext=c
73792 ac_cpp='$CPP $CPPFLAGS'
73793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73802 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73804 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73805 for ac_func in _ldexpf
73806 do :
73807 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73808 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73809 cat >>confdefs.h <<_ACEOF
73810 #define HAVE__LDEXPF 1
73811 _ACEOF
73814 done
73823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73824 $as_echo_n "checking for logf declaration... " >&6; }
73825 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73826 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73827 $as_echo_n "(cached) " >&6
73828 else
73831 ac_ext=cpp
73832 ac_cpp='$CXXCPP $CPPFLAGS'
73833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73838 /* end confdefs.h. */
73839 #include <math.h>
73840 #ifdef HAVE_IEEEFP_H
73841 #include <ieeefp.h>
73842 #endif
73845 main ()
73847 logf(0);
73849 return 0;
73851 _ACEOF
73852 if ac_fn_cxx_try_compile "$LINENO"; then :
73853 glibcxx_cv_func_logf_use=yes
73854 else
73855 glibcxx_cv_func_logf_use=no
73857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73858 ac_ext=c
73859 ac_cpp='$CPP $CPPFLAGS'
73860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73869 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73871 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73872 for ac_func in logf
73873 do :
73874 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73875 if test "x$ac_cv_func_logf" = x""yes; then :
73876 cat >>confdefs.h <<_ACEOF
73877 #define HAVE_LOGF 1
73878 _ACEOF
73881 done
73883 else
73885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73886 $as_echo_n "checking for _logf declaration... " >&6; }
73887 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73888 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73889 $as_echo_n "(cached) " >&6
73890 else
73893 ac_ext=cpp
73894 ac_cpp='$CXXCPP $CPPFLAGS'
73895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73900 /* end confdefs.h. */
73901 #include <math.h>
73902 #ifdef HAVE_IEEEFP_H
73903 #include <ieeefp.h>
73904 #endif
73907 main ()
73909 _logf(0);
73911 return 0;
73913 _ACEOF
73914 if ac_fn_cxx_try_compile "$LINENO"; then :
73915 glibcxx_cv_func__logf_use=yes
73916 else
73917 glibcxx_cv_func__logf_use=no
73919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73931 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73933 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73934 for ac_func in _logf
73935 do :
73936 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73937 if test "x$ac_cv_func__logf" = x""yes; then :
73938 cat >>confdefs.h <<_ACEOF
73939 #define HAVE__LOGF 1
73940 _ACEOF
73943 done
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73953 $as_echo_n "checking for log10f declaration... " >&6; }
73954 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73955 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73956 $as_echo_n "(cached) " >&6
73957 else
73960 ac_ext=cpp
73961 ac_cpp='$CXXCPP $CPPFLAGS'
73962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73967 /* end confdefs.h. */
73968 #include <math.h>
73969 #ifdef HAVE_IEEEFP_H
73970 #include <ieeefp.h>
73971 #endif
73974 main ()
73976 log10f(0);
73978 return 0;
73980 _ACEOF
73981 if ac_fn_cxx_try_compile "$LINENO"; then :
73982 glibcxx_cv_func_log10f_use=yes
73983 else
73984 glibcxx_cv_func_log10f_use=no
73986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73987 ac_ext=c
73988 ac_cpp='$CPP $CPPFLAGS'
73989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73998 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74000 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74001 for ac_func in log10f
74002 do :
74003 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74004 if test "x$ac_cv_func_log10f" = x""yes; then :
74005 cat >>confdefs.h <<_ACEOF
74006 #define HAVE_LOG10F 1
74007 _ACEOF
74010 done
74012 else
74014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74015 $as_echo_n "checking for _log10f declaration... " >&6; }
74016 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74017 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74018 $as_echo_n "(cached) " >&6
74019 else
74022 ac_ext=cpp
74023 ac_cpp='$CXXCPP $CPPFLAGS'
74024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74029 /* end confdefs.h. */
74030 #include <math.h>
74031 #ifdef HAVE_IEEEFP_H
74032 #include <ieeefp.h>
74033 #endif
74036 main ()
74038 _log10f(0);
74040 return 0;
74042 _ACEOF
74043 if ac_fn_cxx_try_compile "$LINENO"; then :
74044 glibcxx_cv_func__log10f_use=yes
74045 else
74046 glibcxx_cv_func__log10f_use=no
74048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74049 ac_ext=c
74050 ac_cpp='$CPP $CPPFLAGS'
74051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74060 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74062 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74063 for ac_func in _log10f
74064 do :
74065 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74066 if test "x$ac_cv_func__log10f" = x""yes; then :
74067 cat >>confdefs.h <<_ACEOF
74068 #define HAVE__LOG10F 1
74069 _ACEOF
74072 done
74081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74082 $as_echo_n "checking for modff declaration... " >&6; }
74083 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74084 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74085 $as_echo_n "(cached) " >&6
74086 else
74089 ac_ext=cpp
74090 ac_cpp='$CXXCPP $CPPFLAGS'
74091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74096 /* end confdefs.h. */
74097 #include <math.h>
74099 main ()
74101 modff(0, 0);
74103 return 0;
74105 _ACEOF
74106 if ac_fn_cxx_try_compile "$LINENO"; then :
74107 glibcxx_cv_func_modff_use=yes
74108 else
74109 glibcxx_cv_func_modff_use=no
74111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74112 ac_ext=c
74113 ac_cpp='$CPP $CPPFLAGS'
74114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74123 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74125 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74126 for ac_func in modff
74127 do :
74128 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74129 if test "x$ac_cv_func_modff" = x""yes; then :
74130 cat >>confdefs.h <<_ACEOF
74131 #define HAVE_MODFF 1
74132 _ACEOF
74135 done
74137 else
74139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74140 $as_echo_n "checking for _modff declaration... " >&6; }
74141 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74142 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74143 $as_echo_n "(cached) " >&6
74144 else
74147 ac_ext=cpp
74148 ac_cpp='$CXXCPP $CPPFLAGS'
74149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74154 /* end confdefs.h. */
74155 #include <math.h>
74157 main ()
74159 _modff(0, 0);
74161 return 0;
74163 _ACEOF
74164 if ac_fn_cxx_try_compile "$LINENO"; then :
74165 glibcxx_cv_func__modff_use=yes
74166 else
74167 glibcxx_cv_func__modff_use=no
74169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74170 ac_ext=c
74171 ac_cpp='$CPP $CPPFLAGS'
74172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74181 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74183 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74184 for ac_func in _modff
74185 do :
74186 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74187 if test "x$ac_cv_func__modff" = x""yes; then :
74188 cat >>confdefs.h <<_ACEOF
74189 #define HAVE__MODFF 1
74190 _ACEOF
74193 done
74202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74203 $as_echo_n "checking for modf declaration... " >&6; }
74204 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74205 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74206 $as_echo_n "(cached) " >&6
74207 else
74210 ac_ext=cpp
74211 ac_cpp='$CXXCPP $CPPFLAGS'
74212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74217 /* end confdefs.h. */
74218 #include <math.h>
74220 main ()
74222 modf(0, 0);
74224 return 0;
74226 _ACEOF
74227 if ac_fn_cxx_try_compile "$LINENO"; then :
74228 glibcxx_cv_func_modf_use=yes
74229 else
74230 glibcxx_cv_func_modf_use=no
74232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74233 ac_ext=c
74234 ac_cpp='$CPP $CPPFLAGS'
74235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74244 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74246 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74247 for ac_func in modf
74248 do :
74249 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74250 if test "x$ac_cv_func_modf" = x""yes; then :
74251 cat >>confdefs.h <<_ACEOF
74252 #define HAVE_MODF 1
74253 _ACEOF
74256 done
74258 else
74260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74261 $as_echo_n "checking for _modf declaration... " >&6; }
74262 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74263 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74264 $as_echo_n "(cached) " >&6
74265 else
74268 ac_ext=cpp
74269 ac_cpp='$CXXCPP $CPPFLAGS'
74270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74275 /* end confdefs.h. */
74276 #include <math.h>
74278 main ()
74280 _modf(0, 0);
74282 return 0;
74284 _ACEOF
74285 if ac_fn_cxx_try_compile "$LINENO"; then :
74286 glibcxx_cv_func__modf_use=yes
74287 else
74288 glibcxx_cv_func__modf_use=no
74290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74291 ac_ext=c
74292 ac_cpp='$CPP $CPPFLAGS'
74293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74302 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74304 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74305 for ac_func in _modf
74306 do :
74307 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74308 if test "x$ac_cv_func__modf" = x""yes; then :
74309 cat >>confdefs.h <<_ACEOF
74310 #define HAVE__MODF 1
74311 _ACEOF
74314 done
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74324 $as_echo_n "checking for powf declaration... " >&6; }
74325 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74326 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74331 ac_ext=cpp
74332 ac_cpp='$CXXCPP $CPPFLAGS'
74333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74339 #include <math.h>
74341 main ()
74343 powf(0, 0);
74345 return 0;
74347 _ACEOF
74348 if ac_fn_cxx_try_compile "$LINENO"; then :
74349 glibcxx_cv_func_powf_use=yes
74350 else
74351 glibcxx_cv_func_powf_use=no
74353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354 ac_ext=c
74355 ac_cpp='$CPP $CPPFLAGS'
74356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74365 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74367 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74368 for ac_func in powf
74369 do :
74370 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74371 if test "x$ac_cv_func_powf" = x""yes; then :
74372 cat >>confdefs.h <<_ACEOF
74373 #define HAVE_POWF 1
74374 _ACEOF
74377 done
74379 else
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74382 $as_echo_n "checking for _powf declaration... " >&6; }
74383 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74384 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74385 $as_echo_n "(cached) " >&6
74386 else
74389 ac_ext=cpp
74390 ac_cpp='$CXXCPP $CPPFLAGS'
74391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396 /* end confdefs.h. */
74397 #include <math.h>
74399 main ()
74401 _powf(0, 0);
74403 return 0;
74405 _ACEOF
74406 if ac_fn_cxx_try_compile "$LINENO"; then :
74407 glibcxx_cv_func__powf_use=yes
74408 else
74409 glibcxx_cv_func__powf_use=no
74411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412 ac_ext=c
74413 ac_cpp='$CPP $CPPFLAGS'
74414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74423 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74425 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74426 for ac_func in _powf
74427 do :
74428 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74429 if test "x$ac_cv_func__powf" = x""yes; then :
74430 cat >>confdefs.h <<_ACEOF
74431 #define HAVE__POWF 1
74432 _ACEOF
74435 done
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74445 $as_echo_n "checking for sqrtf declaration... " >&6; }
74446 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74447 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74448 $as_echo_n "(cached) " >&6
74449 else
74452 ac_ext=cpp
74453 ac_cpp='$CXXCPP $CPPFLAGS'
74454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74460 #include <math.h>
74461 #ifdef HAVE_IEEEFP_H
74462 #include <ieeefp.h>
74463 #endif
74466 main ()
74468 sqrtf(0);
74470 return 0;
74472 _ACEOF
74473 if ac_fn_cxx_try_compile "$LINENO"; then :
74474 glibcxx_cv_func_sqrtf_use=yes
74475 else
74476 glibcxx_cv_func_sqrtf_use=no
74478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74479 ac_ext=c
74480 ac_cpp='$CPP $CPPFLAGS'
74481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74490 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74492 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74493 for ac_func in sqrtf
74494 do :
74495 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74496 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74497 cat >>confdefs.h <<_ACEOF
74498 #define HAVE_SQRTF 1
74499 _ACEOF
74502 done
74504 else
74506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74507 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74508 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74509 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74510 $as_echo_n "(cached) " >&6
74511 else
74514 ac_ext=cpp
74515 ac_cpp='$CXXCPP $CPPFLAGS'
74516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521 /* end confdefs.h. */
74522 #include <math.h>
74523 #ifdef HAVE_IEEEFP_H
74524 #include <ieeefp.h>
74525 #endif
74528 main ()
74530 _sqrtf(0);
74532 return 0;
74534 _ACEOF
74535 if ac_fn_cxx_try_compile "$LINENO"; then :
74536 glibcxx_cv_func__sqrtf_use=yes
74537 else
74538 glibcxx_cv_func__sqrtf_use=no
74540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74552 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74554 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74555 for ac_func in _sqrtf
74556 do :
74557 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74558 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74559 cat >>confdefs.h <<_ACEOF
74560 #define HAVE__SQRTF 1
74561 _ACEOF
74564 done
74573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74574 $as_echo_n "checking for sincosf declaration... " >&6; }
74575 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74576 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74577 $as_echo_n "(cached) " >&6
74578 else
74581 ac_ext=cpp
74582 ac_cpp='$CXXCPP $CPPFLAGS'
74583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74588 /* end confdefs.h. */
74589 #include <math.h>
74591 main ()
74593 sincosf(0, 0, 0);
74595 return 0;
74597 _ACEOF
74598 if ac_fn_cxx_try_compile "$LINENO"; then :
74599 glibcxx_cv_func_sincosf_use=yes
74600 else
74601 glibcxx_cv_func_sincosf_use=no
74603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74604 ac_ext=c
74605 ac_cpp='$CPP $CPPFLAGS'
74606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74615 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74617 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74618 for ac_func in sincosf
74619 do :
74620 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74621 if test "x$ac_cv_func_sincosf" = x""yes; then :
74622 cat >>confdefs.h <<_ACEOF
74623 #define HAVE_SINCOSF 1
74624 _ACEOF
74627 done
74629 else
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74632 $as_echo_n "checking for _sincosf declaration... " >&6; }
74633 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74634 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74635 $as_echo_n "(cached) " >&6
74636 else
74639 ac_ext=cpp
74640 ac_cpp='$CXXCPP $CPPFLAGS'
74641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74646 /* end confdefs.h. */
74647 #include <math.h>
74649 main ()
74651 _sincosf(0, 0, 0);
74653 return 0;
74655 _ACEOF
74656 if ac_fn_cxx_try_compile "$LINENO"; then :
74657 glibcxx_cv_func__sincosf_use=yes
74658 else
74659 glibcxx_cv_func__sincosf_use=no
74661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74662 ac_ext=c
74663 ac_cpp='$CPP $CPPFLAGS'
74664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74673 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74675 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74676 for ac_func in _sincosf
74677 do :
74678 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74679 if test "x$ac_cv_func__sincosf" = x""yes; then :
74680 cat >>confdefs.h <<_ACEOF
74681 #define HAVE__SINCOSF 1
74682 _ACEOF
74685 done
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74695 $as_echo_n "checking for finitef declaration... " >&6; }
74696 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74697 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74698 $as_echo_n "(cached) " >&6
74699 else
74702 ac_ext=cpp
74703 ac_cpp='$CXXCPP $CPPFLAGS'
74704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74709 /* end confdefs.h. */
74710 #include <math.h>
74711 #ifdef HAVE_IEEEFP_H
74712 #include <ieeefp.h>
74713 #endif
74716 main ()
74718 finitef(0);
74720 return 0;
74722 _ACEOF
74723 if ac_fn_cxx_try_compile "$LINENO"; then :
74724 glibcxx_cv_func_finitef_use=yes
74725 else
74726 glibcxx_cv_func_finitef_use=no
74728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74729 ac_ext=c
74730 ac_cpp='$CPP $CPPFLAGS'
74731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74740 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74742 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74743 for ac_func in finitef
74744 do :
74745 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74746 if test "x$ac_cv_func_finitef" = x""yes; then :
74747 cat >>confdefs.h <<_ACEOF
74748 #define HAVE_FINITEF 1
74749 _ACEOF
74752 done
74754 else
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74757 $as_echo_n "checking for _finitef declaration... " >&6; }
74758 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74759 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74760 $as_echo_n "(cached) " >&6
74761 else
74764 ac_ext=cpp
74765 ac_cpp='$CXXCPP $CPPFLAGS'
74766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74771 /* end confdefs.h. */
74772 #include <math.h>
74773 #ifdef HAVE_IEEEFP_H
74774 #include <ieeefp.h>
74775 #endif
74778 main ()
74780 _finitef(0);
74782 return 0;
74784 _ACEOF
74785 if ac_fn_cxx_try_compile "$LINENO"; then :
74786 glibcxx_cv_func__finitef_use=yes
74787 else
74788 glibcxx_cv_func__finitef_use=no
74790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74791 ac_ext=c
74792 ac_cpp='$CPP $CPPFLAGS'
74793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74802 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74804 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74805 for ac_func in _finitef
74806 do :
74807 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74808 if test "x$ac_cv_func__finitef" = x""yes; then :
74809 cat >>confdefs.h <<_ACEOF
74810 #define HAVE__FINITEF 1
74811 _ACEOF
74814 done
74823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74824 $as_echo_n "checking for long double trig functions... " >&6; }
74825 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74826 $as_echo_n "(cached) " >&6
74827 else
74830 ac_ext=cpp
74831 ac_cpp='$CXXCPP $CPPFLAGS'
74832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74837 /* end confdefs.h. */
74838 #include <math.h>
74840 main ()
74842 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74844 return 0;
74846 _ACEOF
74847 if ac_fn_cxx_try_compile "$LINENO"; then :
74848 glibcxx_cv_func_long_double_trig_use=yes
74849 else
74850 glibcxx_cv_func_long_double_trig_use=no
74852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74853 ac_ext=c
74854 ac_cpp='$CPP $CPPFLAGS'
74855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74862 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74863 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74864 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74865 do :
74866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74868 eval as_val=\$$as_ac_var
74869 if test "x$as_val" = x""yes; then :
74870 cat >>confdefs.h <<_ACEOF
74871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74872 _ACEOF
74875 done
74877 else
74878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74879 $as_echo_n "checking for _long double trig functions... " >&6; }
74880 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74881 $as_echo_n "(cached) " >&6
74882 else
74885 ac_ext=cpp
74886 ac_cpp='$CXXCPP $CPPFLAGS'
74887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74892 /* end confdefs.h. */
74893 #include <math.h>
74895 main ()
74897 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74899 return 0;
74901 _ACEOF
74902 if ac_fn_cxx_try_compile "$LINENO"; then :
74903 glibcxx_cv_func__long_double_trig_use=yes
74904 else
74905 glibcxx_cv_func__long_double_trig_use=no
74907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74908 ac_ext=c
74909 ac_cpp='$CPP $CPPFLAGS'
74910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74917 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74918 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74919 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74920 do :
74921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74923 eval as_val=\$$as_ac_var
74924 if test "x$as_val" = x""yes; then :
74925 cat >>confdefs.h <<_ACEOF
74926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74927 _ACEOF
74930 done
74939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74940 $as_echo_n "checking for long double round functions... " >&6; }
74941 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74942 $as_echo_n "(cached) " >&6
74943 else
74946 ac_ext=cpp
74947 ac_cpp='$CXXCPP $CPPFLAGS'
74948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74953 /* end confdefs.h. */
74954 #include <math.h>
74956 main ()
74958 ceill (0); floorl (0);
74960 return 0;
74962 _ACEOF
74963 if ac_fn_cxx_try_compile "$LINENO"; then :
74964 glibcxx_cv_func_long_double_round_use=yes
74965 else
74966 glibcxx_cv_func_long_double_round_use=no
74968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74969 ac_ext=c
74970 ac_cpp='$CPP $CPPFLAGS'
74971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74978 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74979 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74980 for ac_func in ceill floorl
74981 do :
74982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74984 eval as_val=\$$as_ac_var
74985 if test "x$as_val" = x""yes; then :
74986 cat >>confdefs.h <<_ACEOF
74987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74988 _ACEOF
74991 done
74993 else
74994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74995 $as_echo_n "checking for _long double round functions... " >&6; }
74996 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74997 $as_echo_n "(cached) " >&6
74998 else
75001 ac_ext=cpp
75002 ac_cpp='$CXXCPP $CPPFLAGS'
75003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75008 /* end confdefs.h. */
75009 #include <math.h>
75011 main ()
75013 _ceill (0); _floorl (0);
75015 return 0;
75017 _ACEOF
75018 if ac_fn_cxx_try_compile "$LINENO"; then :
75019 glibcxx_cv_func__long_double_round_use=yes
75020 else
75021 glibcxx_cv_func__long_double_round_use=no
75023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75024 ac_ext=c
75025 ac_cpp='$CPP $CPPFLAGS'
75026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75033 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75034 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75035 for ac_func in _ceill _floorl
75036 do :
75037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75039 eval as_val=\$$as_ac_var
75040 if test "x$as_val" = x""yes; then :
75041 cat >>confdefs.h <<_ACEOF
75042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75043 _ACEOF
75046 done
75056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75057 $as_echo_n "checking for isnanl declaration... " >&6; }
75058 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75059 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75060 $as_echo_n "(cached) " >&6
75061 else
75064 ac_ext=cpp
75065 ac_cpp='$CXXCPP $CPPFLAGS'
75066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75071 /* end confdefs.h. */
75072 #include <math.h>
75073 #ifdef HAVE_IEEEFP_H
75074 #include <ieeefp.h>
75075 #endif
75078 main ()
75080 isnanl(0);
75082 return 0;
75084 _ACEOF
75085 if ac_fn_cxx_try_compile "$LINENO"; then :
75086 glibcxx_cv_func_isnanl_use=yes
75087 else
75088 glibcxx_cv_func_isnanl_use=no
75090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75091 ac_ext=c
75092 ac_cpp='$CPP $CPPFLAGS'
75093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75102 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75104 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75105 for ac_func in isnanl
75106 do :
75107 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75108 if test "x$ac_cv_func_isnanl" = x""yes; then :
75109 cat >>confdefs.h <<_ACEOF
75110 #define HAVE_ISNANL 1
75111 _ACEOF
75114 done
75116 else
75118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75119 $as_echo_n "checking for _isnanl declaration... " >&6; }
75120 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75121 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75122 $as_echo_n "(cached) " >&6
75123 else
75126 ac_ext=cpp
75127 ac_cpp='$CXXCPP $CPPFLAGS'
75128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75133 /* end confdefs.h. */
75134 #include <math.h>
75135 #ifdef HAVE_IEEEFP_H
75136 #include <ieeefp.h>
75137 #endif
75140 main ()
75142 _isnanl(0);
75144 return 0;
75146 _ACEOF
75147 if ac_fn_cxx_try_compile "$LINENO"; then :
75148 glibcxx_cv_func__isnanl_use=yes
75149 else
75150 glibcxx_cv_func__isnanl_use=no
75152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153 ac_ext=c
75154 ac_cpp='$CPP $CPPFLAGS'
75155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75164 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75166 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75167 for ac_func in _isnanl
75168 do :
75169 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75170 if test "x$ac_cv_func__isnanl" = x""yes; then :
75171 cat >>confdefs.h <<_ACEOF
75172 #define HAVE__ISNANL 1
75173 _ACEOF
75176 done
75185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75186 $as_echo_n "checking for isinfl declaration... " >&6; }
75187 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75188 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75189 $as_echo_n "(cached) " >&6
75190 else
75193 ac_ext=cpp
75194 ac_cpp='$CXXCPP $CPPFLAGS'
75195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75200 /* end confdefs.h. */
75201 #include <math.h>
75202 #ifdef HAVE_IEEEFP_H
75203 #include <ieeefp.h>
75204 #endif
75207 main ()
75209 isinfl(0);
75211 return 0;
75213 _ACEOF
75214 if ac_fn_cxx_try_compile "$LINENO"; then :
75215 glibcxx_cv_func_isinfl_use=yes
75216 else
75217 glibcxx_cv_func_isinfl_use=no
75219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75220 ac_ext=c
75221 ac_cpp='$CPP $CPPFLAGS'
75222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75231 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75233 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75234 for ac_func in isinfl
75235 do :
75236 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75237 if test "x$ac_cv_func_isinfl" = x""yes; then :
75238 cat >>confdefs.h <<_ACEOF
75239 #define HAVE_ISINFL 1
75240 _ACEOF
75243 done
75245 else
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75248 $as_echo_n "checking for _isinfl declaration... " >&6; }
75249 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75250 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75264 #ifdef HAVE_IEEEFP_H
75265 #include <ieeefp.h>
75266 #endif
75269 main ()
75271 _isinfl(0);
75273 return 0;
75275 _ACEOF
75276 if ac_fn_cxx_try_compile "$LINENO"; then :
75277 glibcxx_cv_func__isinfl_use=yes
75278 else
75279 glibcxx_cv_func__isinfl_use=no
75281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75282 ac_ext=c
75283 ac_cpp='$CPP $CPPFLAGS'
75284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75293 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75295 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75296 for ac_func in _isinfl
75297 do :
75298 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75299 if test "x$ac_cv_func__isinfl" = x""yes; then :
75300 cat >>confdefs.h <<_ACEOF
75301 #define HAVE__ISINFL 1
75302 _ACEOF
75305 done
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75315 $as_echo_n "checking for atan2l declaration... " >&6; }
75316 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75317 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75318 $as_echo_n "(cached) " >&6
75319 else
75322 ac_ext=cpp
75323 ac_cpp='$CXXCPP $CPPFLAGS'
75324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75329 /* end confdefs.h. */
75330 #include <math.h>
75332 main ()
75334 atan2l(0, 0);
75336 return 0;
75338 _ACEOF
75339 if ac_fn_cxx_try_compile "$LINENO"; then :
75340 glibcxx_cv_func_atan2l_use=yes
75341 else
75342 glibcxx_cv_func_atan2l_use=no
75344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75345 ac_ext=c
75346 ac_cpp='$CPP $CPPFLAGS'
75347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75356 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75358 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75359 for ac_func in atan2l
75360 do :
75361 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75362 if test "x$ac_cv_func_atan2l" = x""yes; then :
75363 cat >>confdefs.h <<_ACEOF
75364 #define HAVE_ATAN2L 1
75365 _ACEOF
75368 done
75370 else
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75373 $as_echo_n "checking for _atan2l declaration... " >&6; }
75374 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75375 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75376 $as_echo_n "(cached) " >&6
75377 else
75380 ac_ext=cpp
75381 ac_cpp='$CXXCPP $CPPFLAGS'
75382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75387 /* end confdefs.h. */
75388 #include <math.h>
75390 main ()
75392 _atan2l(0, 0);
75394 return 0;
75396 _ACEOF
75397 if ac_fn_cxx_try_compile "$LINENO"; then :
75398 glibcxx_cv_func__atan2l_use=yes
75399 else
75400 glibcxx_cv_func__atan2l_use=no
75402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75403 ac_ext=c
75404 ac_cpp='$CPP $CPPFLAGS'
75405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75414 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75416 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75417 for ac_func in _atan2l
75418 do :
75419 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75420 if test "x$ac_cv_func__atan2l" = x""yes; then :
75421 cat >>confdefs.h <<_ACEOF
75422 #define HAVE__ATAN2L 1
75423 _ACEOF
75426 done
75435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75436 $as_echo_n "checking for expl declaration... " >&6; }
75437 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75438 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75439 $as_echo_n "(cached) " >&6
75440 else
75443 ac_ext=cpp
75444 ac_cpp='$CXXCPP $CPPFLAGS'
75445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75450 /* end confdefs.h. */
75451 #include <math.h>
75452 #ifdef HAVE_IEEEFP_H
75453 #include <ieeefp.h>
75454 #endif
75457 main ()
75459 expl(0);
75461 return 0;
75463 _ACEOF
75464 if ac_fn_cxx_try_compile "$LINENO"; then :
75465 glibcxx_cv_func_expl_use=yes
75466 else
75467 glibcxx_cv_func_expl_use=no
75469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75470 ac_ext=c
75471 ac_cpp='$CPP $CPPFLAGS'
75472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75481 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75483 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75484 for ac_func in expl
75485 do :
75486 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75487 if test "x$ac_cv_func_expl" = x""yes; then :
75488 cat >>confdefs.h <<_ACEOF
75489 #define HAVE_EXPL 1
75490 _ACEOF
75493 done
75495 else
75497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75498 $as_echo_n "checking for _expl declaration... " >&6; }
75499 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75500 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75501 $as_echo_n "(cached) " >&6
75502 else
75505 ac_ext=cpp
75506 ac_cpp='$CXXCPP $CPPFLAGS'
75507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75512 /* end confdefs.h. */
75513 #include <math.h>
75514 #ifdef HAVE_IEEEFP_H
75515 #include <ieeefp.h>
75516 #endif
75519 main ()
75521 _expl(0);
75523 return 0;
75525 _ACEOF
75526 if ac_fn_cxx_try_compile "$LINENO"; then :
75527 glibcxx_cv_func__expl_use=yes
75528 else
75529 glibcxx_cv_func__expl_use=no
75531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75532 ac_ext=c
75533 ac_cpp='$CPP $CPPFLAGS'
75534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75543 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75545 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75546 for ac_func in _expl
75547 do :
75548 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75549 if test "x$ac_cv_func__expl" = x""yes; then :
75550 cat >>confdefs.h <<_ACEOF
75551 #define HAVE__EXPL 1
75552 _ACEOF
75555 done
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75565 $as_echo_n "checking for fabsl declaration... " >&6; }
75566 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75567 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75568 $as_echo_n "(cached) " >&6
75569 else
75572 ac_ext=cpp
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75579 /* end confdefs.h. */
75580 #include <math.h>
75581 #ifdef HAVE_IEEEFP_H
75582 #include <ieeefp.h>
75583 #endif
75586 main ()
75588 fabsl(0);
75590 return 0;
75592 _ACEOF
75593 if ac_fn_cxx_try_compile "$LINENO"; then :
75594 glibcxx_cv_func_fabsl_use=yes
75595 else
75596 glibcxx_cv_func_fabsl_use=no
75598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75599 ac_ext=c
75600 ac_cpp='$CPP $CPPFLAGS'
75601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75610 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75612 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75613 for ac_func in fabsl
75614 do :
75615 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75616 if test "x$ac_cv_func_fabsl" = x""yes; then :
75617 cat >>confdefs.h <<_ACEOF
75618 #define HAVE_FABSL 1
75619 _ACEOF
75622 done
75624 else
75626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75627 $as_echo_n "checking for _fabsl declaration... " >&6; }
75628 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75629 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75630 $as_echo_n "(cached) " >&6
75631 else
75634 ac_ext=cpp
75635 ac_cpp='$CXXCPP $CPPFLAGS'
75636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75641 /* end confdefs.h. */
75642 #include <math.h>
75643 #ifdef HAVE_IEEEFP_H
75644 #include <ieeefp.h>
75645 #endif
75648 main ()
75650 _fabsl(0);
75652 return 0;
75654 _ACEOF
75655 if ac_fn_cxx_try_compile "$LINENO"; then :
75656 glibcxx_cv_func__fabsl_use=yes
75657 else
75658 glibcxx_cv_func__fabsl_use=no
75660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75661 ac_ext=c
75662 ac_cpp='$CPP $CPPFLAGS'
75663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75672 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75674 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75675 for ac_func in _fabsl
75676 do :
75677 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75678 if test "x$ac_cv_func__fabsl" = x""yes; then :
75679 cat >>confdefs.h <<_ACEOF
75680 #define HAVE__FABSL 1
75681 _ACEOF
75684 done
75693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75694 $as_echo_n "checking for fmodl declaration... " >&6; }
75695 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75696 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75697 $as_echo_n "(cached) " >&6
75698 else
75701 ac_ext=cpp
75702 ac_cpp='$CXXCPP $CPPFLAGS'
75703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75708 /* end confdefs.h. */
75709 #include <math.h>
75711 main ()
75713 fmodl(0, 0);
75715 return 0;
75717 _ACEOF
75718 if ac_fn_cxx_try_compile "$LINENO"; then :
75719 glibcxx_cv_func_fmodl_use=yes
75720 else
75721 glibcxx_cv_func_fmodl_use=no
75723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75724 ac_ext=c
75725 ac_cpp='$CPP $CPPFLAGS'
75726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75735 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75737 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75738 for ac_func in fmodl
75739 do :
75740 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75741 if test "x$ac_cv_func_fmodl" = x""yes; then :
75742 cat >>confdefs.h <<_ACEOF
75743 #define HAVE_FMODL 1
75744 _ACEOF
75747 done
75749 else
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75752 $as_echo_n "checking for _fmodl declaration... " >&6; }
75753 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75754 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75755 $as_echo_n "(cached) " >&6
75756 else
75759 ac_ext=cpp
75760 ac_cpp='$CXXCPP $CPPFLAGS'
75761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75766 /* end confdefs.h. */
75767 #include <math.h>
75769 main ()
75771 _fmodl(0, 0);
75773 return 0;
75775 _ACEOF
75776 if ac_fn_cxx_try_compile "$LINENO"; then :
75777 glibcxx_cv_func__fmodl_use=yes
75778 else
75779 glibcxx_cv_func__fmodl_use=no
75781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75782 ac_ext=c
75783 ac_cpp='$CPP $CPPFLAGS'
75784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75793 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75795 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75796 for ac_func in _fmodl
75797 do :
75798 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75799 if test "x$ac_cv_func__fmodl" = x""yes; then :
75800 cat >>confdefs.h <<_ACEOF
75801 #define HAVE__FMODL 1
75802 _ACEOF
75805 done
75814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75815 $as_echo_n "checking for frexpl declaration... " >&6; }
75816 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75817 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75818 $as_echo_n "(cached) " >&6
75819 else
75822 ac_ext=cpp
75823 ac_cpp='$CXXCPP $CPPFLAGS'
75824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75829 /* end confdefs.h. */
75830 #include <math.h>
75832 main ()
75834 frexpl(0, 0);
75836 return 0;
75838 _ACEOF
75839 if ac_fn_cxx_try_compile "$LINENO"; then :
75840 glibcxx_cv_func_frexpl_use=yes
75841 else
75842 glibcxx_cv_func_frexpl_use=no
75844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75845 ac_ext=c
75846 ac_cpp='$CPP $CPPFLAGS'
75847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75856 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75858 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75859 for ac_func in frexpl
75860 do :
75861 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75862 if test "x$ac_cv_func_frexpl" = x""yes; then :
75863 cat >>confdefs.h <<_ACEOF
75864 #define HAVE_FREXPL 1
75865 _ACEOF
75868 done
75870 else
75872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75873 $as_echo_n "checking for _frexpl declaration... " >&6; }
75874 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75875 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75876 $as_echo_n "(cached) " >&6
75877 else
75880 ac_ext=cpp
75881 ac_cpp='$CXXCPP $CPPFLAGS'
75882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75887 /* end confdefs.h. */
75888 #include <math.h>
75890 main ()
75892 _frexpl(0, 0);
75894 return 0;
75896 _ACEOF
75897 if ac_fn_cxx_try_compile "$LINENO"; then :
75898 glibcxx_cv_func__frexpl_use=yes
75899 else
75900 glibcxx_cv_func__frexpl_use=no
75902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75903 ac_ext=c
75904 ac_cpp='$CPP $CPPFLAGS'
75905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75914 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75916 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75917 for ac_func in _frexpl
75918 do :
75919 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75920 if test "x$ac_cv_func__frexpl" = x""yes; then :
75921 cat >>confdefs.h <<_ACEOF
75922 #define HAVE__FREXPL 1
75923 _ACEOF
75926 done
75935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75936 $as_echo_n "checking for hypotl declaration... " >&6; }
75937 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75938 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75939 $as_echo_n "(cached) " >&6
75940 else
75943 ac_ext=cpp
75944 ac_cpp='$CXXCPP $CPPFLAGS'
75945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75950 /* end confdefs.h. */
75951 #include <math.h>
75953 main ()
75955 hypotl(0, 0);
75957 return 0;
75959 _ACEOF
75960 if ac_fn_cxx_try_compile "$LINENO"; then :
75961 glibcxx_cv_func_hypotl_use=yes
75962 else
75963 glibcxx_cv_func_hypotl_use=no
75965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75966 ac_ext=c
75967 ac_cpp='$CPP $CPPFLAGS'
75968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75977 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75979 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75980 for ac_func in hypotl
75981 do :
75982 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75983 if test "x$ac_cv_func_hypotl" = x""yes; then :
75984 cat >>confdefs.h <<_ACEOF
75985 #define HAVE_HYPOTL 1
75986 _ACEOF
75989 done
75991 else
75993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75994 $as_echo_n "checking for _hypotl declaration... " >&6; }
75995 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75996 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75997 $as_echo_n "(cached) " >&6
75998 else
76001 ac_ext=cpp
76002 ac_cpp='$CXXCPP $CPPFLAGS'
76003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76008 /* end confdefs.h. */
76009 #include <math.h>
76011 main ()
76013 _hypotl(0, 0);
76015 return 0;
76017 _ACEOF
76018 if ac_fn_cxx_try_compile "$LINENO"; then :
76019 glibcxx_cv_func__hypotl_use=yes
76020 else
76021 glibcxx_cv_func__hypotl_use=no
76023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76024 ac_ext=c
76025 ac_cpp='$CPP $CPPFLAGS'
76026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76035 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76037 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76038 for ac_func in _hypotl
76039 do :
76040 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76041 if test "x$ac_cv_func__hypotl" = x""yes; then :
76042 cat >>confdefs.h <<_ACEOF
76043 #define HAVE__HYPOTL 1
76044 _ACEOF
76047 done
76056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76057 $as_echo_n "checking for ldexpl declaration... " >&6; }
76058 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76059 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76060 $as_echo_n "(cached) " >&6
76061 else
76064 ac_ext=cpp
76065 ac_cpp='$CXXCPP $CPPFLAGS'
76066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76072 #include <math.h>
76074 main ()
76076 ldexpl(0, 0);
76078 return 0;
76080 _ACEOF
76081 if ac_fn_cxx_try_compile "$LINENO"; then :
76082 glibcxx_cv_func_ldexpl_use=yes
76083 else
76084 glibcxx_cv_func_ldexpl_use=no
76086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76087 ac_ext=c
76088 ac_cpp='$CPP $CPPFLAGS'
76089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76098 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76100 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76101 for ac_func in ldexpl
76102 do :
76103 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76104 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76105 cat >>confdefs.h <<_ACEOF
76106 #define HAVE_LDEXPL 1
76107 _ACEOF
76110 done
76112 else
76114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76115 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76116 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76117 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76118 $as_echo_n "(cached) " >&6
76119 else
76122 ac_ext=cpp
76123 ac_cpp='$CXXCPP $CPPFLAGS'
76124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76129 /* end confdefs.h. */
76130 #include <math.h>
76132 main ()
76134 _ldexpl(0, 0);
76136 return 0;
76138 _ACEOF
76139 if ac_fn_cxx_try_compile "$LINENO"; then :
76140 glibcxx_cv_func__ldexpl_use=yes
76141 else
76142 glibcxx_cv_func__ldexpl_use=no
76144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76145 ac_ext=c
76146 ac_cpp='$CPP $CPPFLAGS'
76147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76156 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76158 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76159 for ac_func in _ldexpl
76160 do :
76161 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76162 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76163 cat >>confdefs.h <<_ACEOF
76164 #define HAVE__LDEXPL 1
76165 _ACEOF
76168 done
76177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76178 $as_echo_n "checking for logl declaration... " >&6; }
76179 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76180 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76181 $as_echo_n "(cached) " >&6
76182 else
76185 ac_ext=cpp
76186 ac_cpp='$CXXCPP $CPPFLAGS'
76187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76192 /* end confdefs.h. */
76193 #include <math.h>
76194 #ifdef HAVE_IEEEFP_H
76195 #include <ieeefp.h>
76196 #endif
76199 main ()
76201 logl(0);
76203 return 0;
76205 _ACEOF
76206 if ac_fn_cxx_try_compile "$LINENO"; then :
76207 glibcxx_cv_func_logl_use=yes
76208 else
76209 glibcxx_cv_func_logl_use=no
76211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76212 ac_ext=c
76213 ac_cpp='$CPP $CPPFLAGS'
76214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76223 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76225 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76226 for ac_func in logl
76227 do :
76228 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76229 if test "x$ac_cv_func_logl" = x""yes; then :
76230 cat >>confdefs.h <<_ACEOF
76231 #define HAVE_LOGL 1
76232 _ACEOF
76235 done
76237 else
76239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76240 $as_echo_n "checking for _logl declaration... " >&6; }
76241 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76242 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76243 $as_echo_n "(cached) " >&6
76244 else
76247 ac_ext=cpp
76248 ac_cpp='$CXXCPP $CPPFLAGS'
76249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76254 /* end confdefs.h. */
76255 #include <math.h>
76256 #ifdef HAVE_IEEEFP_H
76257 #include <ieeefp.h>
76258 #endif
76261 main ()
76263 _logl(0);
76265 return 0;
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func__logl_use=yes
76270 else
76271 glibcxx_cv_func__logl_use=no
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76285 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76287 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76288 for ac_func in _logl
76289 do :
76290 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76291 if test "x$ac_cv_func__logl" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE__LOGL 1
76294 _ACEOF
76297 done
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76307 $as_echo_n "checking for log10l declaration... " >&6; }
76308 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76309 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76310 $as_echo_n "(cached) " >&6
76311 else
76314 ac_ext=cpp
76315 ac_cpp='$CXXCPP $CPPFLAGS'
76316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76321 /* end confdefs.h. */
76322 #include <math.h>
76323 #ifdef HAVE_IEEEFP_H
76324 #include <ieeefp.h>
76325 #endif
76328 main ()
76330 log10l(0);
76332 return 0;
76334 _ACEOF
76335 if ac_fn_cxx_try_compile "$LINENO"; then :
76336 glibcxx_cv_func_log10l_use=yes
76337 else
76338 glibcxx_cv_func_log10l_use=no
76340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76341 ac_ext=c
76342 ac_cpp='$CPP $CPPFLAGS'
76343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76352 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76354 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76355 for ac_func in log10l
76356 do :
76357 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76358 if test "x$ac_cv_func_log10l" = x""yes; then :
76359 cat >>confdefs.h <<_ACEOF
76360 #define HAVE_LOG10L 1
76361 _ACEOF
76364 done
76366 else
76368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76369 $as_echo_n "checking for _log10l declaration... " >&6; }
76370 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76371 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76372 $as_echo_n "(cached) " >&6
76373 else
76376 ac_ext=cpp
76377 ac_cpp='$CXXCPP $CPPFLAGS'
76378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76383 /* end confdefs.h. */
76384 #include <math.h>
76385 #ifdef HAVE_IEEEFP_H
76386 #include <ieeefp.h>
76387 #endif
76390 main ()
76392 _log10l(0);
76394 return 0;
76396 _ACEOF
76397 if ac_fn_cxx_try_compile "$LINENO"; then :
76398 glibcxx_cv_func__log10l_use=yes
76399 else
76400 glibcxx_cv_func__log10l_use=no
76402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76403 ac_ext=c
76404 ac_cpp='$CPP $CPPFLAGS'
76405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76414 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76416 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76417 for ac_func in _log10l
76418 do :
76419 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76420 if test "x$ac_cv_func__log10l" = x""yes; then :
76421 cat >>confdefs.h <<_ACEOF
76422 #define HAVE__LOG10L 1
76423 _ACEOF
76426 done
76435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76436 $as_echo_n "checking for modfl declaration... " >&6; }
76437 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76438 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76439 $as_echo_n "(cached) " >&6
76440 else
76443 ac_ext=cpp
76444 ac_cpp='$CXXCPP $CPPFLAGS'
76445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76450 /* end confdefs.h. */
76451 #include <math.h>
76453 main ()
76455 modfl(0, 0);
76457 return 0;
76459 _ACEOF
76460 if ac_fn_cxx_try_compile "$LINENO"; then :
76461 glibcxx_cv_func_modfl_use=yes
76462 else
76463 glibcxx_cv_func_modfl_use=no
76465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76466 ac_ext=c
76467 ac_cpp='$CPP $CPPFLAGS'
76468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76477 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76479 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76480 for ac_func in modfl
76481 do :
76482 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76483 if test "x$ac_cv_func_modfl" = x""yes; then :
76484 cat >>confdefs.h <<_ACEOF
76485 #define HAVE_MODFL 1
76486 _ACEOF
76489 done
76491 else
76493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76494 $as_echo_n "checking for _modfl declaration... " >&6; }
76495 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76496 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76497 $as_echo_n "(cached) " >&6
76498 else
76501 ac_ext=cpp
76502 ac_cpp='$CXXCPP $CPPFLAGS'
76503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76508 /* end confdefs.h. */
76509 #include <math.h>
76511 main ()
76513 _modfl(0, 0);
76515 return 0;
76517 _ACEOF
76518 if ac_fn_cxx_try_compile "$LINENO"; then :
76519 glibcxx_cv_func__modfl_use=yes
76520 else
76521 glibcxx_cv_func__modfl_use=no
76523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76524 ac_ext=c
76525 ac_cpp='$CPP $CPPFLAGS'
76526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76535 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76537 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76538 for ac_func in _modfl
76539 do :
76540 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76541 if test "x$ac_cv_func__modfl" = x""yes; then :
76542 cat >>confdefs.h <<_ACEOF
76543 #define HAVE__MODFL 1
76544 _ACEOF
76547 done
76556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76557 $as_echo_n "checking for powl declaration... " >&6; }
76558 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76559 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76560 $as_echo_n "(cached) " >&6
76561 else
76564 ac_ext=cpp
76565 ac_cpp='$CXXCPP $CPPFLAGS'
76566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76571 /* end confdefs.h. */
76572 #include <math.h>
76574 main ()
76576 powl(0, 0);
76578 return 0;
76580 _ACEOF
76581 if ac_fn_cxx_try_compile "$LINENO"; then :
76582 glibcxx_cv_func_powl_use=yes
76583 else
76584 glibcxx_cv_func_powl_use=no
76586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76587 ac_ext=c
76588 ac_cpp='$CPP $CPPFLAGS'
76589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76598 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76600 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76601 for ac_func in powl
76602 do :
76603 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76604 if test "x$ac_cv_func_powl" = x""yes; then :
76605 cat >>confdefs.h <<_ACEOF
76606 #define HAVE_POWL 1
76607 _ACEOF
76610 done
76612 else
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76615 $as_echo_n "checking for _powl declaration... " >&6; }
76616 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76617 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76618 $as_echo_n "(cached) " >&6
76619 else
76622 ac_ext=cpp
76623 ac_cpp='$CXXCPP $CPPFLAGS'
76624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76629 /* end confdefs.h. */
76630 #include <math.h>
76632 main ()
76634 _powl(0, 0);
76636 return 0;
76638 _ACEOF
76639 if ac_fn_cxx_try_compile "$LINENO"; then :
76640 glibcxx_cv_func__powl_use=yes
76641 else
76642 glibcxx_cv_func__powl_use=no
76644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76645 ac_ext=c
76646 ac_cpp='$CPP $CPPFLAGS'
76647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76656 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76658 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76659 for ac_func in _powl
76660 do :
76661 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76662 if test "x$ac_cv_func__powl" = x""yes; then :
76663 cat >>confdefs.h <<_ACEOF
76664 #define HAVE__POWL 1
76665 _ACEOF
76668 done
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76678 $as_echo_n "checking for sqrtl declaration... " >&6; }
76679 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76680 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76681 $as_echo_n "(cached) " >&6
76682 else
76685 ac_ext=cpp
76686 ac_cpp='$CXXCPP $CPPFLAGS'
76687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76692 /* end confdefs.h. */
76693 #include <math.h>
76694 #ifdef HAVE_IEEEFP_H
76695 #include <ieeefp.h>
76696 #endif
76699 main ()
76701 sqrtl(0);
76703 return 0;
76705 _ACEOF
76706 if ac_fn_cxx_try_compile "$LINENO"; then :
76707 glibcxx_cv_func_sqrtl_use=yes
76708 else
76709 glibcxx_cv_func_sqrtl_use=no
76711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76712 ac_ext=c
76713 ac_cpp='$CPP $CPPFLAGS'
76714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76723 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76725 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76726 for ac_func in sqrtl
76727 do :
76728 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76729 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76730 cat >>confdefs.h <<_ACEOF
76731 #define HAVE_SQRTL 1
76732 _ACEOF
76735 done
76737 else
76739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76740 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76741 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76742 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76743 $as_echo_n "(cached) " >&6
76744 else
76747 ac_ext=cpp
76748 ac_cpp='$CXXCPP $CPPFLAGS'
76749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76754 /* end confdefs.h. */
76755 #include <math.h>
76756 #ifdef HAVE_IEEEFP_H
76757 #include <ieeefp.h>
76758 #endif
76761 main ()
76763 _sqrtl(0);
76765 return 0;
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_func__sqrtl_use=yes
76770 else
76771 glibcxx_cv_func__sqrtl_use=no
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 ac_ext=c
76775 ac_cpp='$CPP $CPPFLAGS'
76776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76785 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76787 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76788 for ac_func in _sqrtl
76789 do :
76790 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76791 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76792 cat >>confdefs.h <<_ACEOF
76793 #define HAVE__SQRTL 1
76794 _ACEOF
76797 done
76806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76807 $as_echo_n "checking for sincosl declaration... " >&6; }
76808 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76809 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76810 $as_echo_n "(cached) " >&6
76811 else
76814 ac_ext=cpp
76815 ac_cpp='$CXXCPP $CPPFLAGS'
76816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76821 /* end confdefs.h. */
76822 #include <math.h>
76824 main ()
76826 sincosl(0, 0, 0);
76828 return 0;
76830 _ACEOF
76831 if ac_fn_cxx_try_compile "$LINENO"; then :
76832 glibcxx_cv_func_sincosl_use=yes
76833 else
76834 glibcxx_cv_func_sincosl_use=no
76836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76837 ac_ext=c
76838 ac_cpp='$CPP $CPPFLAGS'
76839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76848 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76850 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76851 for ac_func in sincosl
76852 do :
76853 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76854 if test "x$ac_cv_func_sincosl" = x""yes; then :
76855 cat >>confdefs.h <<_ACEOF
76856 #define HAVE_SINCOSL 1
76857 _ACEOF
76860 done
76862 else
76864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76865 $as_echo_n "checking for _sincosl declaration... " >&6; }
76866 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76867 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76868 $as_echo_n "(cached) " >&6
76869 else
76872 ac_ext=cpp
76873 ac_cpp='$CXXCPP $CPPFLAGS'
76874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76879 /* end confdefs.h. */
76880 #include <math.h>
76882 main ()
76884 _sincosl(0, 0, 0);
76886 return 0;
76888 _ACEOF
76889 if ac_fn_cxx_try_compile "$LINENO"; then :
76890 glibcxx_cv_func__sincosl_use=yes
76891 else
76892 glibcxx_cv_func__sincosl_use=no
76894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76895 ac_ext=c
76896 ac_cpp='$CPP $CPPFLAGS'
76897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76906 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76908 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76909 for ac_func in _sincosl
76910 do :
76911 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76912 if test "x$ac_cv_func__sincosl" = x""yes; then :
76913 cat >>confdefs.h <<_ACEOF
76914 #define HAVE__SINCOSL 1
76915 _ACEOF
76918 done
76927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76928 $as_echo_n "checking for finitel declaration... " >&6; }
76929 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76930 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76931 $as_echo_n "(cached) " >&6
76932 else
76935 ac_ext=cpp
76936 ac_cpp='$CXXCPP $CPPFLAGS'
76937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76942 /* end confdefs.h. */
76943 #include <math.h>
76944 #ifdef HAVE_IEEEFP_H
76945 #include <ieeefp.h>
76946 #endif
76949 main ()
76951 finitel(0);
76953 return 0;
76955 _ACEOF
76956 if ac_fn_cxx_try_compile "$LINENO"; then :
76957 glibcxx_cv_func_finitel_use=yes
76958 else
76959 glibcxx_cv_func_finitel_use=no
76961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76962 ac_ext=c
76963 ac_cpp='$CPP $CPPFLAGS'
76964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76973 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76975 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76976 for ac_func in finitel
76977 do :
76978 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76979 if test "x$ac_cv_func_finitel" = x""yes; then :
76980 cat >>confdefs.h <<_ACEOF
76981 #define HAVE_FINITEL 1
76982 _ACEOF
76985 done
76987 else
76989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76990 $as_echo_n "checking for _finitel declaration... " >&6; }
76991 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76992 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76993 $as_echo_n "(cached) " >&6
76994 else
76997 ac_ext=cpp
76998 ac_cpp='$CXXCPP $CPPFLAGS'
76999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77004 /* end confdefs.h. */
77005 #include <math.h>
77006 #ifdef HAVE_IEEEFP_H
77007 #include <ieeefp.h>
77008 #endif
77011 main ()
77013 _finitel(0);
77015 return 0;
77017 _ACEOF
77018 if ac_fn_cxx_try_compile "$LINENO"; then :
77019 glibcxx_cv_func__finitel_use=yes
77020 else
77021 glibcxx_cv_func__finitel_use=no
77023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77024 ac_ext=c
77025 ac_cpp='$CPP $CPPFLAGS'
77026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77035 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77037 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77038 for ac_func in _finitel
77039 do :
77040 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77041 if test "x$ac_cv_func__finitel" = x""yes; then :
77042 cat >>confdefs.h <<_ACEOF
77043 #define HAVE__FINITEL 1
77044 _ACEOF
77047 done
77055 LIBS="$ac_save_LIBS"
77056 CXXFLAGS="$ac_save_CXXFLAGS"
77059 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77060 ac_save_CXXFLAGS="$CXXFLAGS"
77061 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77065 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77066 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77067 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <stdlib.h>
77082 main ()
77084 at_quick_exit(0);
77086 return 0;
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func_at_quick_exit_use=yes
77091 else
77092 glibcxx_cv_func_at_quick_exit_use=no
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77106 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77107 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77108 for ac_func in at_quick_exit
77109 do :
77110 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77111 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77112 cat >>confdefs.h <<_ACEOF
77113 #define HAVE_AT_QUICK_EXIT 1
77114 _ACEOF
77117 done
77122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77123 $as_echo_n "checking for quick_exit declaration... " >&6; }
77124 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77125 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77126 $as_echo_n "(cached) " >&6
77127 else
77130 ac_ext=cpp
77131 ac_cpp='$CXXCPP $CPPFLAGS'
77132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77137 /* end confdefs.h. */
77138 #include <stdlib.h>
77140 main ()
77142 quick_exit(0);
77144 return 0;
77146 _ACEOF
77147 if ac_fn_cxx_try_compile "$LINENO"; then :
77148 glibcxx_cv_func_quick_exit_use=yes
77149 else
77150 glibcxx_cv_func_quick_exit_use=no
77152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77153 ac_ext=c
77154 ac_cpp='$CPP $CPPFLAGS'
77155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77164 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77165 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77166 for ac_func in quick_exit
77167 do :
77168 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77169 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77170 cat >>confdefs.h <<_ACEOF
77171 #define HAVE_QUICK_EXIT 1
77172 _ACEOF
77175 done
77180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77181 $as_echo_n "checking for strtold declaration... " >&6; }
77182 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77183 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77184 $as_echo_n "(cached) " >&6
77185 else
77188 ac_ext=cpp
77189 ac_cpp='$CXXCPP $CPPFLAGS'
77190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77195 /* end confdefs.h. */
77196 #include <stdlib.h>
77198 main ()
77200 strtold(0, 0);
77202 return 0;
77204 _ACEOF
77205 if ac_fn_cxx_try_compile "$LINENO"; then :
77206 glibcxx_cv_func_strtold_use=yes
77207 else
77208 glibcxx_cv_func_strtold_use=no
77210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77211 ac_ext=c
77212 ac_cpp='$CPP $CPPFLAGS'
77213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77222 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77223 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77224 for ac_func in strtold
77225 do :
77226 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77227 if test "x$ac_cv_func_strtold" = x""yes; then :
77228 cat >>confdefs.h <<_ACEOF
77229 #define HAVE_STRTOLD 1
77230 _ACEOF
77233 done
77240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77241 $as_echo_n "checking for strtof declaration... " >&6; }
77242 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77243 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77244 $as_echo_n "(cached) " >&6
77245 else
77248 ac_ext=cpp
77249 ac_cpp='$CXXCPP $CPPFLAGS'
77250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77255 /* end confdefs.h. */
77256 #include <stdlib.h>
77258 main ()
77260 strtof(0, 0);
77262 return 0;
77264 _ACEOF
77265 if ac_fn_cxx_try_compile "$LINENO"; then :
77266 glibcxx_cv_func_strtof_use=yes
77267 else
77268 glibcxx_cv_func_strtof_use=no
77270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77271 ac_ext=c
77272 ac_cpp='$CPP $CPPFLAGS'
77273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77282 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77283 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77284 for ac_func in strtof
77285 do :
77286 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77287 if test "x$ac_cv_func_strtof" = x""yes; then :
77288 cat >>confdefs.h <<_ACEOF
77289 #define HAVE_STRTOF 1
77290 _ACEOF
77293 done
77300 CXXFLAGS="$ac_save_CXXFLAGS"
77303 *-vxworks)
77304 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77306 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77308 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77310 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77312 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77314 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77316 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77318 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77320 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77322 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77324 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77326 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77328 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77330 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77332 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77334 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77336 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77338 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77340 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77342 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77346 as_fn_error "No support for this host/target combination." "$LINENO" 5
77348 esac
77352 # At some point, we should differentiate between architectures
77353 # like x86, which have long double versions, and alpha/powerpc/etc.,
77354 # which don't. For the time being, punt.
77355 if test x"long_double_math_on_this_cpu" = x"yes"; then
77356 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77358 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77360 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77362 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77364 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77366 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77368 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77370 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77372 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77374 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77376 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77378 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77380 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77382 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77384 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77386 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77388 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77390 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77392 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77394 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77396 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77398 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77400 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77405 # Check for _Unwind_GetIPInfo.
77408 # Check whether --with-system-libunwind was given.
77409 if test "${with_system_libunwind+set}" = set; then :
77410 withval=$with_system_libunwind;
77413 # If system-libunwind was not specifically set, pick a default setting.
77414 if test x$with_system_libunwind = x; then
77415 case ${target} in
77416 ia64-*-hpux*) with_system_libunwind=yes ;;
77417 *) with_system_libunwind=no ;;
77418 esac
77420 # Based on system-libunwind and target, do we have ipinfo?
77421 if test x$with_system_libunwind = xyes; then
77422 case ${target} in
77423 ia64-*-*) have_unwind_getipinfo=no ;;
77424 *) have_unwind_getipinfo=yes ;;
77425 esac
77426 else
77427 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77429 case ${target} in
77430 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77431 *) have_unwind_getipinfo=yes ;;
77432 esac
77436 if test x$have_unwind_getipinfo = xyes; then
77438 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77443 # Check whether --enable-linux-futex was given.
77444 if test "${enable_linux_futex+set}" = set; then :
77445 enableval=$enable_linux_futex;
77446 case "$enableval" in
77447 yes|no|default) ;;
77448 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77449 esac
77451 else
77452 enable_linux_futex=default
77456 case "$target" in
77457 *-linux*)
77458 case "$enable_linux_futex" in
77459 default)
77460 # If headers don't have gettid/futex syscalls definition, then
77461 # default to no, otherwise there will be compile time failures.
77462 # Otherwise, default to yes. If we don't detect we are
77463 # compiled/linked against NPTL and not cross-compiling, check
77464 # if programs are run by default against NPTL and if not, issue
77465 # a warning.
77466 enable_linux_futex=no
77467 if test x$gcc_no_link = xyes; then
77468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77471 /* end confdefs.h. */
77472 #include <sys/syscall.h>
77473 int lk;
77475 main ()
77477 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77479 return 0;
77481 _ACEOF
77482 if ac_fn_c_try_link "$LINENO"; then :
77483 save_LIBS="$LIBS"
77484 LIBS="-lpthread $LIBS"
77485 if test x$gcc_no_link = xyes; then
77486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77489 /* end confdefs.h. */
77490 #ifndef _GNU_SOURCE
77491 #define _GNU_SOURCE 1
77492 #endif
77493 #include <pthread.h>
77494 pthread_t th; void *status;
77496 main ()
77498 pthread_tryjoin_np (th, &status);
77500 return 0;
77502 _ACEOF
77503 if ac_fn_c_try_link "$LINENO"; then :
77504 enable_linux_futex=yes
77505 else
77506 if test x$cross_compiling = xno; then
77507 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77508 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77510 If so, please configure with --disable-linux-futex" >&5
77511 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77512 If so, please configure with --disable-linux-futex" >&2;}
77515 enable_linux_futex=yes
77517 rm -f core conftest.err conftest.$ac_objext \
77518 conftest$ac_exeext conftest.$ac_ext
77519 LIBS="$save_LIBS"
77521 rm -f core conftest.err conftest.$ac_objext \
77522 conftest$ac_exeext conftest.$ac_ext
77524 yes)
77525 if test x$gcc_no_link = xyes; then
77526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77529 /* end confdefs.h. */
77530 #include <sys/syscall.h>
77531 int lk;
77533 main ()
77535 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77537 return 0;
77539 _ACEOF
77540 if ac_fn_c_try_link "$LINENO"; then :
77542 else
77543 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77545 rm -f core conftest.err conftest.$ac_objext \
77546 conftest$ac_exeext conftest.$ac_ext
77548 esac
77551 enable_linux_futex=no
77553 esac
77554 if test x$enable_linux_futex = xyes; then
77556 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77563 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77565 acx_cv_header_stdint=stddef.h
77566 acx_cv_header_stdint_kind="(already complete)"
77567 for i in stdint.h $inttype_headers; do
77568 unset ac_cv_type_uintptr_t
77569 unset ac_cv_type_uintmax_t
77570 unset ac_cv_type_int_least32_t
77571 unset ac_cv_type_int_fast32_t
77572 unset ac_cv_type_uint64_t
77573 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77574 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77575 #include <$i>
77577 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77578 acx_cv_header_stdint=$i
77579 else
77580 continue
77583 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77584 #include <$i>
77586 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77588 else
77589 acx_cv_header_stdint_kind="(mostly complete)"
77592 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77593 #include <$i>
77595 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77597 else
77598 acx_cv_header_stdint_kind="(mostly complete)"
77601 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77602 #include <$i>
77604 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77606 else
77607 acx_cv_header_stdint_kind="(mostly complete)"
77610 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77611 #include <$i>
77613 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77615 else
77616 acx_cv_header_stdint_kind="(lacks uint64_t)"
77619 break
77620 done
77621 if test "$acx_cv_header_stdint" = stddef.h; then
77622 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77623 for i in stdint.h $inttype_headers; do
77624 unset ac_cv_type_uintptr_t
77625 unset ac_cv_type_uint32_t
77626 unset ac_cv_type_uint64_t
77627 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77628 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77629 #include <$i>
77631 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77632 acx_cv_header_stdint=$i
77633 else
77634 continue
77637 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77638 #include <$i>
77640 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77644 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77645 #include <$i>
77647 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77651 break
77652 done
77654 if test "$acx_cv_header_stdint" = stddef.h; then
77655 acx_cv_header_stdint_kind="(u_intXX_t style)"
77656 for i in sys/types.h $inttype_headers; do
77657 unset ac_cv_type_u_int32_t
77658 unset ac_cv_type_u_int64_t
77659 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77660 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77661 #include <$i>
77663 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77664 acx_cv_header_stdint=$i
77665 else
77666 continue
77669 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77670 #include <$i>
77672 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77676 break
77677 done
77679 if test "$acx_cv_header_stdint" = stddef.h; then
77680 acx_cv_header_stdint_kind="(using manual detection)"
77683 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77684 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77685 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77686 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77687 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77689 # ----------------- Summarize what we found so far
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77692 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77694 case `$as_basename -- include/gstdint.h ||
77695 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77696 Xinclude/gstdint.h : 'X\(//\)$' \| \
77697 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77698 $as_echo X/include/gstdint.h |
77699 sed '/^.*\/\([^/][^/]*\)\/*$/{
77700 s//\1/
77703 /^X\/\(\/\/\)$/{
77704 s//\1/
77707 /^X\/\(\/\).*/{
77708 s//\1/
77711 s/.*/./; q'` in
77712 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77713 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77714 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77715 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77716 *) ;;
77717 esac
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77720 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77722 # ----------------- done included file, check C basic types --------
77724 # Lacking an uintptr_t? Test size of void *
77725 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77726 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77729 # This bug is HP SR number 8606223364.
77730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77731 $as_echo_n "checking size of void *... " >&6; }
77732 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77733 $as_echo_n "(cached) " >&6
77734 else
77735 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77737 else
77738 if test "$ac_cv_type_void_p" = yes; then
77739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77741 { as_fn_set_status 77
77742 as_fn_error "cannot compute sizeof (void *)
77743 See \`config.log' for more details." "$LINENO" 5; }; }
77744 else
77745 ac_cv_sizeof_void_p=0
77750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77751 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77755 cat >>confdefs.h <<_ACEOF
77756 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77757 _ACEOF
77760 esac
77762 # Lacking an uint64_t? Test size of long
77763 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77764 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77767 # This bug is HP SR number 8606223364.
77768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77769 $as_echo_n "checking size of long... " >&6; }
77770 if test "${ac_cv_sizeof_long+set}" = set; then :
77771 $as_echo_n "(cached) " >&6
77772 else
77773 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77775 else
77776 if test "$ac_cv_type_long" = yes; then
77777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77779 { as_fn_set_status 77
77780 as_fn_error "cannot compute sizeof (long)
77781 See \`config.log' for more details." "$LINENO" 5; }; }
77782 else
77783 ac_cv_sizeof_long=0
77788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77789 $as_echo "$ac_cv_sizeof_long" >&6; }
77793 cat >>confdefs.h <<_ACEOF
77794 #define SIZEOF_LONG $ac_cv_sizeof_long
77795 _ACEOF
77798 esac
77800 if test $acx_cv_header_stdint = stddef.h; then
77801 # Lacking a good header? Test size of everything and deduce all types.
77802 # The cast to long int works around a bug in the HP C Compiler
77803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77805 # This bug is HP SR number 8606223364.
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77807 $as_echo_n "checking size of int... " >&6; }
77808 if test "${ac_cv_sizeof_int+set}" = set; then :
77809 $as_echo_n "(cached) " >&6
77810 else
77811 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77813 else
77814 if test "$ac_cv_type_int" = yes; then
77815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77817 { as_fn_set_status 77
77818 as_fn_error "cannot compute sizeof (int)
77819 See \`config.log' for more details." "$LINENO" 5; }; }
77820 else
77821 ac_cv_sizeof_int=0
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77827 $as_echo "$ac_cv_sizeof_int" >&6; }
77831 cat >>confdefs.h <<_ACEOF
77832 #define SIZEOF_INT $ac_cv_sizeof_int
77833 _ACEOF
77836 # The cast to long int works around a bug in the HP C Compiler
77837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77839 # This bug is HP SR number 8606223364.
77840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77841 $as_echo_n "checking size of short... " >&6; }
77842 if test "${ac_cv_sizeof_short+set}" = set; then :
77843 $as_echo_n "(cached) " >&6
77844 else
77845 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77847 else
77848 if test "$ac_cv_type_short" = yes; then
77849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77851 { as_fn_set_status 77
77852 as_fn_error "cannot compute sizeof (short)
77853 See \`config.log' for more details." "$LINENO" 5; }; }
77854 else
77855 ac_cv_sizeof_short=0
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77861 $as_echo "$ac_cv_sizeof_short" >&6; }
77865 cat >>confdefs.h <<_ACEOF
77866 #define SIZEOF_SHORT $ac_cv_sizeof_short
77867 _ACEOF
77870 # The cast to long int works around a bug in the HP C Compiler
77871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77873 # This bug is HP SR number 8606223364.
77874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77875 $as_echo_n "checking size of char... " >&6; }
77876 if test "${ac_cv_sizeof_char+set}" = set; then :
77877 $as_echo_n "(cached) " >&6
77878 else
77879 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77881 else
77882 if test "$ac_cv_type_char" = yes; then
77883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77885 { as_fn_set_status 77
77886 as_fn_error "cannot compute sizeof (char)
77887 See \`config.log' for more details." "$LINENO" 5; }; }
77888 else
77889 ac_cv_sizeof_char=0
77894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77895 $as_echo "$ac_cv_sizeof_char" >&6; }
77899 cat >>confdefs.h <<_ACEOF
77900 #define SIZEOF_CHAR $ac_cv_sizeof_char
77901 _ACEOF
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77906 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77907 case "$ac_cv_sizeof_char" in
77908 1) acx_cv_type_int8_t=char ;;
77909 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77910 esac
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77912 $as_echo "$acx_cv_type_int8_t" >&6; }
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77915 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77916 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77917 2:*) acx_cv_type_int16_t=int ;;
77918 *:2) acx_cv_type_int16_t=short ;;
77919 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77920 esac
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77922 $as_echo "$acx_cv_type_int16_t" >&6; }
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77925 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77926 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77927 4:*) acx_cv_type_int32_t=int ;;
77928 *:4) acx_cv_type_int32_t=long ;;
77929 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77930 esac
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77932 $as_echo "$acx_cv_type_int32_t" >&6; }
77935 # These tests are here to make the output prettier
77937 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77938 case "$ac_cv_sizeof_long" in
77939 8) acx_cv_type_int64_t=long ;;
77940 esac
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77942 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77944 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77947 # Now we can use the above types
77949 if test "$ac_cv_type_uintptr_t" != yes; then
77950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77951 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77952 case $ac_cv_sizeof_void_p in
77953 2) acx_cv_type_intptr_t=int16_t ;;
77954 4) acx_cv_type_intptr_t=int32_t ;;
77955 8) acx_cv_type_intptr_t=int64_t ;;
77956 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77957 esac
77958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77959 $as_echo "$acx_cv_type_intptr_t" >&6; }
77962 # ----------------- done all checks, emit header -------------
77963 ac_config_commands="$ac_config_commands include/gstdint.h"
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77970 $as_echo_n "checking for GNU c++filt... " >&6; }
77971 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77972 $as_echo_n "(cached) " >&6
77973 else
77974 if test -z "$CXXFILT"; then
77975 ac_path_CXXFILT_found=false
77976 # Loop through the user's path and test for each of PROGNAME-LIST
77977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77978 for as_dir in $PATH
77980 IFS=$as_save_IFS
77981 test -z "$as_dir" && as_dir=.
77982 for ac_prog in c++filt gc++filt; do
77983 for ac_exec_ext in '' $ac_executable_extensions; do
77984 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77985 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77986 # Check for GNU $ac_path_CXXFILT
77987 case `"$ac_path_CXXFILT" --version 2>&1` in
77988 *GNU*)
77989 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77990 esac
77992 $ac_path_CXXFILT_found && break 3
77993 done
77994 done
77995 done
77996 IFS=$as_save_IFS
77997 if test -z "$ac_cv_path_CXXFILT"; then
78000 else
78001 ac_cv_path_CXXFILT=$CXXFILT
78005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78006 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78007 CXXFILT=$ac_cv_path_CXXFILT
78011 # Check whether --enable-symvers was given.
78012 if test "${enable_symvers+set}" = set; then :
78013 enableval=$enable_symvers;
78014 case "$enableval" in
78015 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78016 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78017 esac
78019 else
78020 enable_symvers=yes
78025 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78026 # don't know enough about $LD to do tricks...
78028 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78029 # with extern "C++" in version scripts.
78032 # Turn a 'yes' into a suitable default.
78033 if test x$enable_symvers = xyes ; then
78034 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78035 enable_symvers=no
78036 else
78037 if test $with_gnu_ld = yes ; then
78038 case ${target_os} in
78039 hpux*)
78040 enable_symvers=no ;;
78042 enable_symvers=gnu ;;
78043 esac
78044 else
78045 case ${target_os} in
78046 darwin*)
78047 enable_symvers=darwin ;;
78048 # Sun symbol versioning exists since Solaris 2.5.
78049 solaris2.[5-9]* | solaris2.1[0-9]*)
78050 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78051 # version scripts, so disable symbol versioning if none can be
78052 # found.
78053 if test -z "$ac_cv_path_CXXFILT"; then
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78055 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78057 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78059 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78060 enable_symvers=no
78061 else
78062 enable_symvers=sun
78066 enable_symvers=no ;;
78067 esac
78072 # Check to see if 'darwin' or 'darwin-export' can win.
78073 if test x$enable_symvers = xdarwin-export ; then
78074 enable_symvers=darwin
78077 # Check if 'sun' was requested on non-Solaris 2 platforms.
78078 if test x$enable_symvers = xsun ; then
78079 case ${target_os} in
78080 solaris2*)
78081 # All fine.
78084 # Unlikely to work.
78085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78086 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78088 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78090 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78091 enable_symvers=no
78093 esac
78096 # Check to see if 'gnu' can win.
78097 if test $enable_symvers = gnu ||
78098 test $enable_symvers = gnu-versioned-namespace ||
78099 test $enable_symvers = sun; then
78100 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78102 $as_echo_n "checking for shared libgcc... " >&6; }
78103 ac_save_CFLAGS="$CFLAGS"
78104 CFLAGS=' -lgcc_s'
78105 if test x$gcc_no_link = xyes; then
78106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78109 /* end confdefs.h. */
78112 main ()
78114 return 0;
78116 return 0;
78118 _ACEOF
78119 if ac_fn_c_try_link "$LINENO"; then :
78120 glibcxx_shared_libgcc=yes
78121 else
78122 glibcxx_shared_libgcc=no
78124 rm -f core conftest.err conftest.$ac_objext \
78125 conftest$ac_exeext conftest.$ac_ext
78126 CFLAGS="$ac_save_CFLAGS"
78127 if test $glibcxx_shared_libgcc = no; then
78128 cat > conftest.c <<EOF
78129 int main (void) { return 0; }
78131 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78132 -shared -shared-libgcc -o conftest.so \
78133 conftest.c -v 2>&1 >/dev/null \
78134 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78135 rm -f conftest.c conftest.so
78136 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78137 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78138 if test x$gcc_no_link = xyes; then
78139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78142 /* end confdefs.h. */
78145 main ()
78147 return 0;
78149 return 0;
78151 _ACEOF
78152 if ac_fn_c_try_link "$LINENO"; then :
78153 glibcxx_shared_libgcc=yes
78155 rm -f core conftest.err conftest.$ac_objext \
78156 conftest$ac_exeext conftest.$ac_ext
78157 CFLAGS="$ac_save_CFLAGS"
78160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78161 $as_echo "$glibcxx_shared_libgcc" >&6; }
78163 # For GNU ld, we need at least this version. The format is described in
78164 # GLIBCXX_CHECK_LINKER_FEATURES above.
78165 glibcxx_min_gnu_ld_version=21400
78167 # If no shared libgcc, can't win.
78168 if test $glibcxx_shared_libgcc != yes; then
78169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78170 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78172 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78174 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78175 enable_symvers=no
78176 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78177 : All interesting versions of Sun ld support sun style symbol versioning.
78178 elif test $with_gnu_ld != yes ; then
78179 # just fail for now
78180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78181 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78183 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78185 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78186 enable_symvers=no
78187 elif test $glibcxx_ld_is_gold = yes ; then
78188 : All versions of gold support symbol versioning.
78189 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78190 # The right tools, the right setup, but too old. Fallbacks?
78191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78192 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78194 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78196 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78198 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78200 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78201 enable_symvers=no
78205 # For libtool versioning info, format is CURRENT:REVISION:AGE
78206 libtool_VERSION=6:22:0
78208 # Everything parsed; figure out what files and settings to use.
78209 case $enable_symvers in
78211 SYMVER_FILE=config/abi/pre/none.ver
78213 gnu)
78214 SYMVER_FILE=config/abi/pre/gnu.ver
78216 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78219 gnu-versioned-namespace)
78220 libtool_VERSION=7:0:0
78221 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78223 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78226 darwin)
78227 SYMVER_FILE=config/abi/pre/gnu.ver
78229 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78232 sun)
78233 SYMVER_FILE=config/abi/pre/gnu.ver
78235 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78238 esac
78240 if test x$enable_symvers != xno ; then
78242 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78247 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78248 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78249 $as_echo_n "(cached) " >&6
78250 else
78252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78253 /* end confdefs.h. */
78254 void foo (void); __asm (".symver foo, bar@SYMVER");
78256 main ()
78260 return 0;
78262 _ACEOF
78263 if ac_fn_c_try_compile "$LINENO"; then :
78264 glibcxx_cv_have_as_symver_directive=yes
78265 else
78266 glibcxx_cv_have_as_symver_directive=no
78268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78271 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78272 if test $glibcxx_cv_have_as_symver_directive = yes; then
78274 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78285 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78286 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78288 if test $enable_symvers != no ; then
78289 case ${target_os} in
78290 # The Solaris 2 runtime linker doesn't support the GNU extension of
78291 # binding the same symbol to different versions
78292 solaris2*)
78294 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78297 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78300 esac
78303 # Now, set up compatibility support, if any.
78304 # In addition, need this to deal with std::size_t mangling in
78305 # src/compatibility.cc. In a perfect world, could use
78306 # typeid(std::size_t).name()[0] to do direct substitution.
78307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78308 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78309 ac_save_CFLAGS="$CFLAGS"
78310 CFLAGS="-Werror"
78311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78312 /* end confdefs.h. */
78315 main ()
78317 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78319 return 0;
78321 _ACEOF
78322 if ac_fn_c_try_compile "$LINENO"; then :
78323 glibcxx_size_t_is_i=yes
78324 else
78325 glibcxx_size_t_is_i=no
78327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78328 CFLAGS=$ac_save_CFLAGS
78329 if test "$glibcxx_size_t_is_i" = yes; then
78331 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78335 $as_echo "$glibcxx_size_t_is_i" >&6; }
78337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78338 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78339 ac_save_CFLAGS="$CFLAGS"
78340 CFLAGS="-Werror"
78341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78342 /* end confdefs.h. */
78345 main ()
78347 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78349 return 0;
78351 _ACEOF
78352 if ac_fn_c_try_compile "$LINENO"; then :
78353 glibcxx_ptrdiff_t_is_i=yes
78354 else
78355 glibcxx_ptrdiff_t_is_i=no
78357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78358 CFLAGS=$ac_save_CFLAGS
78359 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78361 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78365 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78370 # Check whether --enable-libstdcxx-visibility was given.
78371 if test "${enable_libstdcxx_visibility+set}" = set; then :
78372 enableval=$enable_libstdcxx_visibility;
78373 case "$enableval" in
78374 yes|no) ;;
78375 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78376 esac
78378 else
78379 enable_libstdcxx_visibility=yes
78384 if test x$enable_libstdcxx_visibility = xyes ; then
78385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78386 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78387 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78388 $as_echo_n "(cached) " >&6
78389 else
78391 save_CFLAGS="$CFLAGS"
78392 CFLAGS="$CFLAGS -Werror"
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78395 void __attribute__((visibility("hidden"))) foo(void) { }
78397 main ()
78401 return 0;
78403 _ACEOF
78404 if ac_fn_c_try_compile "$LINENO"; then :
78405 glibcxx_cv_have_attribute_visibility=yes
78406 else
78407 glibcxx_cv_have_attribute_visibility=no
78409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78410 CFLAGS="$save_CFLAGS"
78412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78413 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78414 if test $glibcxx_cv_have_attribute_visibility = no; then
78415 enable_libstdcxx_visibility=no
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78421 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78425 # Check whether --enable-libstdcxx-dual-abi was given.
78426 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78427 enableval=$enable_libstdcxx_dual_abi;
78428 case "$enableval" in
78429 yes|no) ;;
78430 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78431 esac
78433 else
78434 enable_libstdcxx_dual_abi=yes
78438 if test x$enable_symvers = xgnu-versioned-namespace; then
78439 # gnu-versioned-namespace is incompatible with the dual ABI.
78440 enable_libstdcxx_dual_abi="no"
78442 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78443 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78444 $as_echo "$as_me: dual ABI is disabled" >&6;}
78445 default_libstdcxx_abi="gcc4-compatible"
78450 if test x$enable_libstdcxx_dual_abi = xyes; then
78451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78452 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78454 # Check whether --with-default-libstdcxx-abi was given.
78455 if test "${with_default_libstdcxx_abi+set}" = set; then :
78456 withval=$with_default_libstdcxx_abi; case "$withval" in
78457 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
78458 new|cxx11) default_libstdcxx_abi="new" ;;
78459 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
78460 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78461 esac
78463 else
78464 default_libstdcxx_abi="new"
78467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78468 $as_echo "${default_libstdcxx_abi}" >&6; }
78470 if test $default_libstdcxx_abi = "new"; then
78471 glibcxx_cxx11_abi=1
78472 glibcxx_cxx98_abi=0
78473 else
78474 glibcxx_cxx11_abi=0
78475 glibcxx_cxx98_abi=1
78481 ac_ldbl_compat=no
78482 case "$target" in
78483 powerpc*-*-linux* | \
78484 sparc*-*-linux* | \
78485 s390*-*-linux* | \
78486 alpha*-*-linux*)
78487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78488 /* end confdefs.h. */
78491 main ()
78494 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78495 #error no need for long double compatibility
78496 #endif
78499 return 0;
78501 _ACEOF
78502 if ac_fn_c_try_compile "$LINENO"; then :
78503 ac_ldbl_compat=yes
78504 else
78505 ac_ldbl_compat=no
78507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78508 if test "$ac_ldbl_compat" = yes; then
78510 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78512 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78514 esac
78517 # Check if assembler supports disabling hardware capability support.
78519 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78521 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78522 # with a different meaning.
78523 case ${target_os} in
78524 solaris2*)
78525 ac_save_CFLAGS="$CFLAGS"
78526 CFLAGS="$CFLAGS -Wa,-nH"
78528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78529 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78531 /* end confdefs.h. */
78534 main ()
78536 return 0;
78538 return 0;
78540 _ACEOF
78541 if ac_fn_c_try_compile "$LINENO"; then :
78542 ac_hwcap_flags=yes
78543 else
78544 ac_hwcap_flags=no
78546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78547 if test "$ac_hwcap_flags" = "yes"; then
78548 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78551 $as_echo "$ac_hwcap_flags" >&6; }
78553 CFLAGS="$ac_save_CFLAGS"
78555 esac
78560 # Check if assembler supports rdrand opcode.
78562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78563 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78564 if test "${ac_cv_x86_rdrand+set}" = set; then :
78565 $as_echo_n "(cached) " >&6
78566 else
78568 ac_cv_x86_rdrand=no
78569 case "$target" in
78570 i?86-*-* | \
78571 x86_64-*-*)
78572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78573 /* end confdefs.h. */
78576 main ()
78578 asm("rdrand %eax");
78580 return 0;
78582 _ACEOF
78583 if ac_fn_c_try_compile "$LINENO"; then :
78584 ac_cv_x86_rdrand=yes
78585 else
78586 ac_cv_x86_rdrand=no
78588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78589 esac
78593 if test $ac_cv_x86_rdrand = yes; then
78595 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78599 $as_echo "$ac_cv_x86_rdrand" >&6; }
78602 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78604 if $GLIBCXX_IS_NATIVE ; then
78605 # Do checks for resource limit functions.
78607 setrlimit_have_headers=yes
78608 for ac_header in unistd.h sys/time.h sys/resource.h
78609 do :
78610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78611 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78612 eval as_val=\$$as_ac_Header
78613 if test "x$as_val" = x""yes; then :
78614 cat >>confdefs.h <<_ACEOF
78615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78616 _ACEOF
78618 else
78619 setrlimit_have_headers=no
78622 done
78624 # If don't have the headers, then we can't run the tests now, and we
78625 # won't be seeing any of these during testsuite compilation.
78626 if test $setrlimit_have_headers = yes; then
78627 # Can't do these in a loop, else the resulting syntax is wrong.
78629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78630 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78632 /* end confdefs.h. */
78633 #include <unistd.h>
78634 #include <sys/time.h>
78635 #include <sys/resource.h>
78638 main ()
78640 int f = RLIMIT_DATA ;
78642 return 0;
78644 _ACEOF
78645 if ac_fn_c_try_compile "$LINENO"; then :
78646 glibcxx_mresult=1
78647 else
78648 glibcxx_mresult=0
78650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78652 cat >>confdefs.h <<_ACEOF
78653 #define HAVE_LIMIT_DATA $glibcxx_mresult
78654 _ACEOF
78656 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78658 $as_echo "$res" >&6; }
78661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78662 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78664 /* end confdefs.h. */
78665 #include <unistd.h>
78666 #include <sys/time.h>
78667 #include <sys/resource.h>
78670 main ()
78672 int f = RLIMIT_RSS ;
78674 return 0;
78676 _ACEOF
78677 if ac_fn_c_try_compile "$LINENO"; then :
78678 glibcxx_mresult=1
78679 else
78680 glibcxx_mresult=0
78682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78684 cat >>confdefs.h <<_ACEOF
78685 #define HAVE_LIMIT_RSS $glibcxx_mresult
78686 _ACEOF
78688 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78690 $as_echo "$res" >&6; }
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78694 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78696 /* end confdefs.h. */
78697 #include <unistd.h>
78698 #include <sys/time.h>
78699 #include <sys/resource.h>
78702 main ()
78704 int f = RLIMIT_VMEM ;
78706 return 0;
78708 _ACEOF
78709 if ac_fn_c_try_compile "$LINENO"; then :
78710 glibcxx_mresult=1
78711 else
78712 glibcxx_mresult=0
78714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78716 cat >>confdefs.h <<_ACEOF
78717 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78718 _ACEOF
78720 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78722 $as_echo "$res" >&6; }
78725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78726 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78728 /* end confdefs.h. */
78729 #include <unistd.h>
78730 #include <sys/time.h>
78731 #include <sys/resource.h>
78734 main ()
78736 int f = RLIMIT_AS ;
78738 return 0;
78740 _ACEOF
78741 if ac_fn_c_try_compile "$LINENO"; then :
78742 glibcxx_mresult=1
78743 else
78744 glibcxx_mresult=0
78746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78748 cat >>confdefs.h <<_ACEOF
78749 #define HAVE_LIMIT_AS $glibcxx_mresult
78750 _ACEOF
78752 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78754 $as_echo "$res" >&6; }
78757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78758 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78760 /* end confdefs.h. */
78761 #include <unistd.h>
78762 #include <sys/time.h>
78763 #include <sys/resource.h>
78766 main ()
78768 int f = RLIMIT_FSIZE ;
78770 return 0;
78772 _ACEOF
78773 if ac_fn_c_try_compile "$LINENO"; then :
78774 glibcxx_mresult=1
78775 else
78776 glibcxx_mresult=0
78778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78780 cat >>confdefs.h <<_ACEOF
78781 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78782 _ACEOF
78784 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78786 $as_echo "$res" >&6; }
78789 # Check for rlimit, setrlimit.
78790 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78791 $as_echo_n "(cached) " >&6
78792 else
78794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78795 /* end confdefs.h. */
78796 #include <unistd.h>
78797 #include <sys/time.h>
78798 #include <sys/resource.h>
78801 main ()
78803 struct rlimit r;
78804 setrlimit(0, &r);
78806 return 0;
78808 _ACEOF
78809 if ac_fn_c_try_compile "$LINENO"; then :
78810 glibcxx_cv_setrlimit=yes
78811 else
78812 glibcxx_cv_setrlimit=no
78814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78821 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78822 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78823 ac_res_limits=yes
78825 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78827 else
78828 ac_res_limits=no
78830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78831 $as_echo "$ac_res_limits" >&6; }
78834 # Look for setenv, so that extended locale tests can be performed.
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78837 $as_echo_n "checking for setenv declaration... " >&6; }
78838 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78839 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78840 $as_echo_n "(cached) " >&6
78841 else
78844 ac_ext=cpp
78845 ac_cpp='$CXXCPP $CPPFLAGS'
78846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78851 /* end confdefs.h. */
78852 #include <stdlib.h>
78854 main ()
78856 setenv(0, 0, 0);
78858 return 0;
78860 _ACEOF
78861 if ac_fn_cxx_try_compile "$LINENO"; then :
78862 glibcxx_cv_func_setenv_use=yes
78863 else
78864 glibcxx_cv_func_setenv_use=no
78866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78867 ac_ext=c
78868 ac_cpp='$CPP $CPPFLAGS'
78869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78878 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78879 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78880 for ac_func in setenv
78881 do :
78882 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78883 if test "x$ac_cv_func_setenv" = x""yes; then :
78884 cat >>confdefs.h <<_ACEOF
78885 #define HAVE_SETENV 1
78886 _ACEOF
78889 done
78895 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78896 test $enable_symvers != no; then
78897 case "$host" in
78898 *-*-cygwin*)
78899 enable_abi_check=no ;;
78901 enable_abi_check=yes ;;
78902 esac
78903 else
78904 # Only build this as native, since automake does not understand
78905 # CXX_FOR_BUILD.
78906 enable_abi_check=no
78909 # Export file names for ABI checking.
78910 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78912 baseline_subdir_switch="$abi_baseline_subdir_switch"
78916 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78918 # Check whether --enable-libstdcxx-threads was given.
78919 if test "${enable_libstdcxx_threads+set}" = set; then :
78920 enableval=$enable_libstdcxx_threads;
78921 case "$enableval" in
78922 yes|no) ;;
78923 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78924 esac
78926 else
78927 enable_libstdcxx_threads=auto
78932 if test x$enable_libstdcxx_threads = xauto ||
78933 test x$enable_libstdcxx_threads = xyes; then
78936 ac_ext=cpp
78937 ac_cpp='$CXXCPP $CPPFLAGS'
78938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78943 ac_save_CXXFLAGS="$CXXFLAGS"
78944 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78945 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78947 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78948 case $target_thread_file in
78949 posix)
78950 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78951 esac
78953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78954 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78957 /* end confdefs.h. */
78958 #include <unistd.h>
78960 main ()
78963 // In case of POSIX threads check _POSIX_TIMEOUTS.
78964 #if (defined(_PTHREADS) \
78965 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78966 #error
78967 #endif
78970 return 0;
78972 _ACEOF
78973 if ac_fn_cxx_try_compile "$LINENO"; then :
78974 ac_gthread_use_mutex_timedlock=1
78975 else
78976 ac_gthread_use_mutex_timedlock=0
78978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78981 cat >>confdefs.h <<_ACEOF
78982 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78983 _ACEOF
78986 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78987 else res_mutex_timedlock=no ; fi
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78989 $as_echo "$res_mutex_timedlock" >&6; }
78991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78992 $as_echo_n "checking for gthreads library... " >&6; }
78994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78995 /* end confdefs.h. */
78996 #include "gthr.h"
78998 main ()
79001 #ifndef __GTHREADS_CXX0X
79002 #error
79003 #endif
79006 return 0;
79008 _ACEOF
79009 if ac_fn_cxx_try_compile "$LINENO"; then :
79010 ac_has_gthreads=yes
79011 else
79012 ac_has_gthreads=no
79014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79015 else
79016 ac_has_gthreads=no
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79020 $as_echo "$ac_has_gthreads" >&6; }
79022 if test x"$ac_has_gthreads" = x"yes"; then
79024 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79027 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79028 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79030 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79032 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79038 CXXFLAGS="$ac_save_CXXFLAGS"
79039 ac_ext=c
79040 ac_cpp='$CPP $CPPFLAGS'
79041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79047 # For Filesystem TS.
79048 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79049 do :
79050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79051 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79052 eval as_val=\$$as_ac_Header
79053 if test "x$as_val" = x""yes; then :
79054 cat >>confdefs.h <<_ACEOF
79055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79056 _ACEOF
79060 done
79063 # Check whether --enable-libstdcxx-filesystem-ts was given.
79064 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79065 enableval=$enable_libstdcxx_filesystem_ts;
79066 case "$enableval" in
79067 yes|no|auto) ;;
79068 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79069 esac
79071 else
79072 enable_libstdcxx_filesystem_ts=auto
79077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79078 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79079 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79080 enable_libstdcxx_filesystem_ts=no
79082 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79083 case "${target_os}" in
79084 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79085 enable_libstdcxx_filesystem_ts=yes
79087 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79088 enable_libstdcxx_filesystem_ts=yes
79090 solaris*)
79091 enable_libstdcxx_filesystem_ts=yes
79094 enable_libstdcxx_filesystem_ts=no
79096 esac
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79099 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79103 ac_ext=cpp
79104 ac_cpp='$CXXCPP $CPPFLAGS'
79105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79109 ac_save_CXXFLAGS="$CXXFLAGS"
79110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79112 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79113 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79116 if test x$gcc_no_link = xyes; then
79117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79118 /* end confdefs.h. */
79119 #include <dirent.h>
79121 main ()
79124 struct dirent d;
79125 if (sizeof d.d_type) return 0;
79128 return 0;
79130 _ACEOF
79131 if ac_fn_cxx_try_compile "$LINENO"; then :
79132 glibcxx_cv_dirent_d_type=yes
79133 else
79134 glibcxx_cv_dirent_d_type=no
79136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79137 else
79138 if test x$gcc_no_link = xyes; then
79139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79142 /* end confdefs.h. */
79143 #include <dirent.h>
79145 main ()
79148 struct dirent d;
79149 if (sizeof d.d_type) return 0;
79152 return 0;
79154 _ACEOF
79155 if ac_fn_cxx_try_link "$LINENO"; then :
79156 glibcxx_cv_dirent_d_type=yes
79157 else
79158 glibcxx_cv_dirent_d_type=no
79160 rm -f core conftest.err conftest.$ac_objext \
79161 conftest$ac_exeext conftest.$ac_ext
79166 if test $glibcxx_cv_dirent_d_type = yes; then
79168 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
79171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
79172 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79174 $as_echo_n "checking for realpath... " >&6; }
79175 if test "${glibcxx_cv_realpath+set}" = set; then :
79176 $as_echo_n "(cached) " >&6
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79180 /* end confdefs.h. */
79182 #include <stdlib.h>
79183 #include <unistd.h>
79186 main ()
79189 #if _XOPEN_VERSION < 500
79190 #error
79191 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79192 char *tmp = realpath((const char*)NULL, (char*)NULL);
79193 #else
79194 #error
79195 #endif
79198 return 0;
79200 _ACEOF
79201 if ac_fn_cxx_try_compile "$LINENO"; then :
79202 glibcxx_cv_realpath=yes
79203 else
79204 glibcxx_cv_realpath=no
79206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79207 else
79208 if test x$gcc_no_link = xyes; then
79209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79212 /* end confdefs.h. */
79214 #include <stdlib.h>
79215 #include <unistd.h>
79218 main ()
79221 #if _XOPEN_VERSION < 500
79222 #error
79223 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
79224 char *tmp = realpath((const char*)NULL, (char*)NULL);
79225 #else
79226 #error
79227 #endif
79230 return 0;
79232 _ACEOF
79233 if ac_fn_cxx_try_link "$LINENO"; then :
79234 glibcxx_cv_realpath=yes
79235 else
79236 glibcxx_cv_realpath=no
79238 rm -f core conftest.err conftest.$ac_objext \
79239 conftest$ac_exeext conftest.$ac_ext
79244 if test $glibcxx_cv_realpath = yes; then
79246 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79250 $as_echo "$glibcxx_cv_realpath" >&6; }
79251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79252 $as_echo_n "checking for utimensat... " >&6; }
79253 if test "${glibcxx_cv_utimensat+set}" = set; then :
79254 $as_echo_n "(cached) " >&6
79255 else
79256 if test x$gcc_no_link = xyes; then
79257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79258 /* end confdefs.h. */
79260 #include <fcntl.h>
79261 #include <sys/stat.h>
79264 main ()
79267 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79268 int i = utimensat(AT_FDCWD, "path", ts, 0);
79271 return 0;
79273 _ACEOF
79274 if ac_fn_cxx_try_compile "$LINENO"; then :
79275 glibcxx_cv_utimensat=yes
79276 else
79277 glibcxx_cv_utimensat=no
79279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79280 else
79281 if test x$gcc_no_link = xyes; then
79282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79285 /* end confdefs.h. */
79287 #include <fcntl.h>
79288 #include <sys/stat.h>
79291 main ()
79294 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79295 int i = utimensat(AT_FDCWD, "path", ts, 0);
79298 return 0;
79300 _ACEOF
79301 if ac_fn_cxx_try_link "$LINENO"; then :
79302 glibcxx_cv_utimensat=yes
79303 else
79304 glibcxx_cv_utimensat=no
79306 rm -f core conftest.err conftest.$ac_objext \
79307 conftest$ac_exeext conftest.$ac_ext
79312 if test $glibcxx_cv_utimensat = yes; then
79314 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79318 $as_echo "$glibcxx_cv_utimensat" >&6; }
79319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79320 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79321 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79322 $as_echo_n "(cached) " >&6
79323 else
79324 if test x$gcc_no_link = xyes; then
79325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79326 /* end confdefs.h. */
79327 #include <sys/stat.h>
79329 main ()
79332 struct stat st;
79333 return st.st_mtim.tv_nsec;
79336 return 0;
79338 _ACEOF
79339 if ac_fn_cxx_try_compile "$LINENO"; then :
79340 glibcxx_cv_st_mtim=yes
79341 else
79342 glibcxx_cv_st_mtim=no
79344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79345 else
79346 if test x$gcc_no_link = xyes; then
79347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79350 /* end confdefs.h. */
79351 #include <sys/stat.h>
79353 main ()
79356 struct stat st;
79357 return st.st_mtim.tv_nsec;
79360 return 0;
79362 _ACEOF
79363 if ac_fn_cxx_try_link "$LINENO"; then :
79364 glibcxx_cv_st_mtim=yes
79365 else
79366 glibcxx_cv_st_mtim=no
79368 rm -f core conftest.err conftest.$ac_objext \
79369 conftest$ac_exeext conftest.$ac_ext
79374 if test $glibcxx_cv_st_mtim = yes; then
79376 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79380 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79382 $as_echo_n "checking for fchmod... " >&6; }
79383 if test "${glibcxx_cv_fchmod+set}" = set; then :
79384 $as_echo_n "(cached) " >&6
79385 else
79386 if test x$gcc_no_link = xyes; then
79387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79388 /* end confdefs.h. */
79389 #include <sys/stat.h>
79391 main ()
79393 fchmod(1, S_IWUSR);
79395 return 0;
79397 _ACEOF
79398 if ac_fn_cxx_try_compile "$LINENO"; then :
79399 glibcxx_cv_fchmod=yes
79400 else
79401 glibcxx_cv_fchmod=no
79403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79404 else
79405 if test x$gcc_no_link = xyes; then
79406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79409 /* end confdefs.h. */
79410 #include <sys/stat.h>
79412 main ()
79414 fchmod(1, S_IWUSR);
79416 return 0;
79418 _ACEOF
79419 if ac_fn_cxx_try_link "$LINENO"; then :
79420 glibcxx_cv_fchmod=yes
79421 else
79422 glibcxx_cv_fchmod=no
79424 rm -f core conftest.err conftest.$ac_objext \
79425 conftest$ac_exeext conftest.$ac_ext
79430 if test $glibcxx_cv_fchmod = yes; then
79432 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79436 $as_echo "$glibcxx_cv_fchmod" >&6; }
79437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79438 $as_echo_n "checking for fchmodat... " >&6; }
79439 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79440 $as_echo_n "(cached) " >&6
79441 else
79442 if test x$gcc_no_link = xyes; then
79443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79444 /* end confdefs.h. */
79446 #include <fcntl.h>
79447 #include <sys/stat.h>
79450 main ()
79452 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79454 return 0;
79456 _ACEOF
79457 if ac_fn_cxx_try_compile "$LINENO"; then :
79458 glibcxx_cv_fchmodat=yes
79459 else
79460 glibcxx_cv_fchmodat=no
79462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79463 else
79464 if test x$gcc_no_link = xyes; then
79465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79468 /* end confdefs.h. */
79470 #include <fcntl.h>
79471 #include <sys/stat.h>
79474 main ()
79476 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79478 return 0;
79480 _ACEOF
79481 if ac_fn_cxx_try_link "$LINENO"; then :
79482 glibcxx_cv_fchmodat=yes
79483 else
79484 glibcxx_cv_fchmodat=no
79486 rm -f core conftest.err conftest.$ac_objext \
79487 conftest$ac_exeext conftest.$ac_ext
79492 if test $glibcxx_cv_fchmodat = yes; then
79494 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79498 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79500 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79501 if test "${glibcxx_cv_sendfile+set}" = set; then :
79502 $as_echo_n "(cached) " >&6
79503 else
79504 case "${target_os}" in
79505 gnu* | linux* | solaris*)
79506 if test x$gcc_no_link = xyes; then
79507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79508 /* end confdefs.h. */
79509 #include <sys/sendfile.h>
79511 main ()
79513 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79515 return 0;
79517 _ACEOF
79518 if ac_fn_cxx_try_compile "$LINENO"; then :
79519 glibcxx_cv_sendfile=yes
79520 else
79521 glibcxx_cv_sendfile=no
79523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79524 else
79525 if test x$gcc_no_link = xyes; then
79526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79530 #include <sys/sendfile.h>
79532 main ()
79534 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79536 return 0;
79538 _ACEOF
79539 if ac_fn_cxx_try_link "$LINENO"; then :
79540 glibcxx_cv_sendfile=yes
79541 else
79542 glibcxx_cv_sendfile=no
79544 rm -f core conftest.err conftest.$ac_objext \
79545 conftest$ac_exeext conftest.$ac_ext
79549 glibcxx_cv_sendfile=no
79551 esac
79555 if test $glibcxx_cv_sendfile = yes; then
79557 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79561 $as_echo "$glibcxx_cv_sendfile" >&6; }
79562 CXXFLAGS="$ac_save_CXXFLAGS"
79563 ac_ext=c
79564 ac_cpp='$CPP $CPPFLAGS'
79565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79571 # Define documentation rules conditionally.
79573 # See if makeinfo has been installed and is modern enough
79574 # that we can use it.
79576 # Extract the first word of "makeinfo", so it can be a program name with args.
79577 set dummy makeinfo; ac_word=$2
79578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79579 $as_echo_n "checking for $ac_word... " >&6; }
79580 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79581 $as_echo_n "(cached) " >&6
79582 else
79583 if test -n "$MAKEINFO"; then
79584 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79585 else
79586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79587 for as_dir in $PATH
79589 IFS=$as_save_IFS
79590 test -z "$as_dir" && as_dir=.
79591 for ac_exec_ext in '' $ac_executable_extensions; do
79592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79593 ac_cv_prog_MAKEINFO="makeinfo"
79594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79595 break 2
79597 done
79598 done
79599 IFS=$as_save_IFS
79603 MAKEINFO=$ac_cv_prog_MAKEINFO
79604 if test -n "$MAKEINFO"; then
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79606 $as_echo "$MAKEINFO" >&6; }
79607 else
79608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79609 $as_echo "no" >&6; }
79613 if test -n "$MAKEINFO"; then
79614 # Found it, now check the version.
79615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79616 $as_echo_n "checking for modern makeinfo... " >&6; }
79617 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79618 $as_echo_n "(cached) " >&6
79619 else
79620 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79621 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79623 case $ac_prog_version in
79624 '') gcc_cv_prog_makeinfo_modern=no;;
79625 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79626 *) gcc_cv_prog_makeinfo_modern=no;;
79627 esac
79630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79631 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79632 else
79633 gcc_cv_prog_makeinfo_modern=no
79635 if test $gcc_cv_prog_makeinfo_modern = no; then
79636 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79639 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79640 BUILD_INFO_TRUE=
79641 BUILD_INFO_FALSE='#'
79642 else
79643 BUILD_INFO_TRUE='#'
79644 BUILD_INFO_FALSE=
79648 # Check for doxygen
79649 # Extract the first word of "doxygen", so it can be a program name with args.
79650 set dummy doxygen; ac_word=$2
79651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79652 $as_echo_n "checking for $ac_word... " >&6; }
79653 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79654 $as_echo_n "(cached) " >&6
79655 else
79656 if test -n "$DOXYGEN"; then
79657 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79658 else
79659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79660 for as_dir in $PATH
79662 IFS=$as_save_IFS
79663 test -z "$as_dir" && as_dir=.
79664 for ac_exec_ext in '' $ac_executable_extensions; do
79665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79666 ac_cv_prog_DOXYGEN="yes"
79667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79668 break 2
79670 done
79671 done
79672 IFS=$as_save_IFS
79674 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79677 DOXYGEN=$ac_cv_prog_DOXYGEN
79678 if test -n "$DOXYGEN"; then
79679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79680 $as_echo "$DOXYGEN" >&6; }
79681 else
79682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79683 $as_echo "no" >&6; }
79687 # Extract the first word of "dot", so it can be a program name with args.
79688 set dummy dot; ac_word=$2
79689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79690 $as_echo_n "checking for $ac_word... " >&6; }
79691 if test "${ac_cv_prog_DOT+set}" = set; then :
79692 $as_echo_n "(cached) " >&6
79693 else
79694 if test -n "$DOT"; then
79695 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79696 else
79697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79698 for as_dir in $PATH
79700 IFS=$as_save_IFS
79701 test -z "$as_dir" && as_dir=.
79702 for ac_exec_ext in '' $ac_executable_extensions; do
79703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79704 ac_cv_prog_DOT="yes"
79705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79706 break 2
79708 done
79709 done
79710 IFS=$as_save_IFS
79712 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79715 DOT=$ac_cv_prog_DOT
79716 if test -n "$DOT"; then
79717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79718 $as_echo "$DOT" >&6; }
79719 else
79720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79721 $as_echo "no" >&6; }
79726 # Check for docbook
79727 # Extract the first word of "xsltproc", so it can be a program name with args.
79728 set dummy xsltproc; ac_word=$2
79729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79730 $as_echo_n "checking for $ac_word... " >&6; }
79731 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79732 $as_echo_n "(cached) " >&6
79733 else
79734 if test -n "$XSLTPROC"; then
79735 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79736 else
79737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79738 for as_dir in $PATH
79740 IFS=$as_save_IFS
79741 test -z "$as_dir" && as_dir=.
79742 for ac_exec_ext in '' $ac_executable_extensions; do
79743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79744 ac_cv_prog_XSLTPROC="yes"
79745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79746 break 2
79748 done
79749 done
79750 IFS=$as_save_IFS
79752 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79755 XSLTPROC=$ac_cv_prog_XSLTPROC
79756 if test -n "$XSLTPROC"; then
79757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79758 $as_echo "$XSLTPROC" >&6; }
79759 else
79760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79761 $as_echo "no" >&6; }
79765 # Extract the first word of "xmllint", so it can be a program name with args.
79766 set dummy xmllint; ac_word=$2
79767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79768 $as_echo_n "checking for $ac_word... " >&6; }
79769 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79770 $as_echo_n "(cached) " >&6
79771 else
79772 if test -n "$XMLLINT"; then
79773 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79774 else
79775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79776 for as_dir in $PATH
79778 IFS=$as_save_IFS
79779 test -z "$as_dir" && as_dir=.
79780 for ac_exec_ext in '' $ac_executable_extensions; do
79781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79782 ac_cv_prog_XMLLINT="yes"
79783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79784 break 2
79786 done
79787 done
79788 IFS=$as_save_IFS
79790 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79793 XMLLINT=$ac_cv_prog_XMLLINT
79794 if test -n "$XMLLINT"; then
79795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79796 $as_echo "$XMLLINT" >&6; }
79797 else
79798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79799 $as_echo "no" >&6; }
79805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79806 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79807 glibcxx_stylesheets=no
79808 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
79809 glibcxx_stylesheets=yes
79811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79812 $as_echo "$glibcxx_stylesheets" >&6; }
79814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79815 $as_echo_n "checking for local stylesheet directory... " >&6; }
79816 glibcxx_local_stylesheets=no
79817 if test x"$glibcxx_stylesheets" = x"yes"; then
79818 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79819 glibcxx_local_stylesheets=yes
79820 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79822 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79823 glibcxx_local_stylesheets=yes
79824 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79826 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79827 glibcxx_local_stylesheets=yes
79828 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79832 $as_echo "$glibcxx_local_stylesheets" >&6; }
79834 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79836 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79837 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79838 else
79839 glibcxx_stylesheets=no
79842 # Check for epub3 dependencies.
79843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79844 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79845 glibcxx_epub_stylesheets=no
79846 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79847 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79848 glibcxx_epub_stylesheets=yes
79851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79852 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79853 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79854 BUILD_EPUB_TRUE=
79855 BUILD_EPUB_FALSE='#'
79856 else
79857 BUILD_EPUB_TRUE='#'
79858 BUILD_EPUB_FALSE=
79864 # Check for xml/html dependencies.
79865 if test $ac_cv_prog_DOXYGEN = "yes" &&
79866 test $ac_cv_prog_DOT = "yes" &&
79867 test $ac_cv_prog_XSLTPROC = "yes" &&
79868 test $ac_cv_prog_XMLLINT = "yes" &&
79869 test $glibcxx_stylesheets = "yes"; then
79870 BUILD_XML_TRUE=
79871 BUILD_XML_FALSE='#'
79872 else
79873 BUILD_XML_TRUE='#'
79874 BUILD_XML_FALSE=
79878 if test $ac_cv_prog_DOXYGEN = "yes" &&
79879 test $ac_cv_prog_DOT = "yes" &&
79880 test $ac_cv_prog_XSLTPROC = "yes" &&
79881 test $ac_cv_prog_XMLLINT = "yes" &&
79882 test $glibcxx_stylesheets = "yes"; then
79883 BUILD_HTML_TRUE=
79884 BUILD_HTML_FALSE='#'
79885 else
79886 BUILD_HTML_TRUE='#'
79887 BUILD_HTML_FALSE=
79891 # Check for man dependencies.
79892 if test $ac_cv_prog_DOXYGEN = "yes" &&
79893 test $ac_cv_prog_DOT = "yes"; then
79894 BUILD_MAN_TRUE=
79895 BUILD_MAN_FALSE='#'
79896 else
79897 BUILD_MAN_TRUE='#'
79898 BUILD_MAN_FALSE=
79902 # Check for pdf dependencies.
79903 # Extract the first word of "dblatex", so it can be a program name with args.
79904 set dummy dblatex; ac_word=$2
79905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79906 $as_echo_n "checking for $ac_word... " >&6; }
79907 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79908 $as_echo_n "(cached) " >&6
79909 else
79910 if test -n "$DBLATEX"; then
79911 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79912 else
79913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79914 for as_dir in $PATH
79916 IFS=$as_save_IFS
79917 test -z "$as_dir" && as_dir=.
79918 for ac_exec_ext in '' $ac_executable_extensions; do
79919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79920 ac_cv_prog_DBLATEX="yes"
79921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79922 break 2
79924 done
79925 done
79926 IFS=$as_save_IFS
79928 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79931 DBLATEX=$ac_cv_prog_DBLATEX
79932 if test -n "$DBLATEX"; then
79933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79934 $as_echo "$DBLATEX" >&6; }
79935 else
79936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79937 $as_echo "no" >&6; }
79941 # Extract the first word of "pdflatex", so it can be a program name with args.
79942 set dummy pdflatex; ac_word=$2
79943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79944 $as_echo_n "checking for $ac_word... " >&6; }
79945 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79946 $as_echo_n "(cached) " >&6
79947 else
79948 if test -n "$PDFLATEX"; then
79949 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79950 else
79951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79952 for as_dir in $PATH
79954 IFS=$as_save_IFS
79955 test -z "$as_dir" && as_dir=.
79956 for ac_exec_ext in '' $ac_executable_extensions; do
79957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79958 ac_cv_prog_PDFLATEX="yes"
79959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79960 break 2
79962 done
79963 done
79964 IFS=$as_save_IFS
79966 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79969 PDFLATEX=$ac_cv_prog_PDFLATEX
79970 if test -n "$PDFLATEX"; then
79971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79972 $as_echo "$PDFLATEX" >&6; }
79973 else
79974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79975 $as_echo "no" >&6; }
79979 if test $ac_cv_prog_DBLATEX = "yes" &&
79980 test $ac_cv_prog_PDFLATEX = "yes"; then
79981 BUILD_PDF_TRUE=
79982 BUILD_PDF_FALSE='#'
79983 else
79984 BUILD_PDF_TRUE='#'
79985 BUILD_PDF_FALSE=
79990 # Propagate the target-specific source directories through the build chain.
79991 ATOMICITY_SRCDIR=config/${atomicity_dir}
79992 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79993 ATOMIC_FLAGS=${atomic_flags}
79994 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79995 OS_INC_SRCDIR=config/${os_include_dir}
79996 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79997 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79998 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79999 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80011 # Determine cross-compile flags and AM_CONDITIONALs.
80012 #AC_SUBST(GLIBCXX_IS_NATIVE)
80013 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80014 if test $is_hosted = yes; then
80015 GLIBCXX_HOSTED_TRUE=
80016 GLIBCXX_HOSTED_FALSE='#'
80017 else
80018 GLIBCXX_HOSTED_TRUE='#'
80019 GLIBCXX_HOSTED_FALSE=
80023 if test $enable_libstdcxx_pch = yes; then
80024 GLIBCXX_BUILD_PCH_TRUE=
80025 GLIBCXX_BUILD_PCH_FALSE='#'
80026 else
80027 GLIBCXX_BUILD_PCH_TRUE='#'
80028 GLIBCXX_BUILD_PCH_FALSE=
80032 if test $enable_cheaders = c; then
80033 GLIBCXX_C_HEADERS_C_TRUE=
80034 GLIBCXX_C_HEADERS_C_FALSE='#'
80035 else
80036 GLIBCXX_C_HEADERS_C_TRUE='#'
80037 GLIBCXX_C_HEADERS_C_FALSE=
80041 if test $enable_cheaders = c_std; then
80042 GLIBCXX_C_HEADERS_C_STD_TRUE=
80043 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80044 else
80045 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80046 GLIBCXX_C_HEADERS_C_STD_FALSE=
80050 if test $enable_cheaders = c_global; then
80051 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
80052 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
80053 else
80054 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
80055 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
80059 if test $c_compatibility = yes; then
80060 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
80061 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
80062 else
80063 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
80064 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
80068 if test $enable_libstdcxx_debug = yes; then
80069 GLIBCXX_BUILD_DEBUG_TRUE=
80070 GLIBCXX_BUILD_DEBUG_FALSE='#'
80071 else
80072 GLIBCXX_BUILD_DEBUG_TRUE='#'
80073 GLIBCXX_BUILD_DEBUG_FALSE=
80077 if test $enable_extern_template = yes; then
80078 ENABLE_EXTERN_TEMPLATE_TRUE=
80079 ENABLE_EXTERN_TEMPLATE_FALSE='#'
80080 else
80081 ENABLE_EXTERN_TEMPLATE_TRUE='#'
80082 ENABLE_EXTERN_TEMPLATE_FALSE=
80086 if test $python_mod_dir != no; then
80087 ENABLE_PYTHONDIR_TRUE=
80088 ENABLE_PYTHONDIR_FALSE='#'
80089 else
80090 ENABLE_PYTHONDIR_TRUE='#'
80091 ENABLE_PYTHONDIR_FALSE=
80095 if test $enable_werror = yes; then
80096 ENABLE_WERROR_TRUE=
80097 ENABLE_WERROR_FALSE='#'
80098 else
80099 ENABLE_WERROR_TRUE='#'
80100 ENABLE_WERROR_FALSE=
80104 if test $enable_vtable_verify = yes; then
80105 ENABLE_VTABLE_VERIFY_TRUE=
80106 ENABLE_VTABLE_VERIFY_FALSE='#'
80107 else
80108 ENABLE_VTABLE_VERIFY_TRUE='#'
80109 ENABLE_VTABLE_VERIFY_FALSE=
80113 if test $enable_symvers != no; then
80114 ENABLE_SYMVERS_TRUE=
80115 ENABLE_SYMVERS_FALSE='#'
80116 else
80117 ENABLE_SYMVERS_TRUE='#'
80118 ENABLE_SYMVERS_FALSE=
80122 if test $enable_symvers = gnu; then
80123 ENABLE_SYMVERS_GNU_TRUE=
80124 ENABLE_SYMVERS_GNU_FALSE='#'
80125 else
80126 ENABLE_SYMVERS_GNU_TRUE='#'
80127 ENABLE_SYMVERS_GNU_FALSE=
80131 if test $enable_symvers = gnu-versioned-namespace; then
80132 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
80133 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
80134 else
80135 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
80136 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
80140 if test $enable_symvers = darwin; then
80141 ENABLE_SYMVERS_DARWIN_TRUE=
80142 ENABLE_SYMVERS_DARWIN_FALSE='#'
80143 else
80144 ENABLE_SYMVERS_DARWIN_TRUE='#'
80145 ENABLE_SYMVERS_DARWIN_FALSE=
80149 if test $enable_symvers = sun; then
80150 ENABLE_SYMVERS_SUN_TRUE=
80151 ENABLE_SYMVERS_SUN_FALSE='#'
80152 else
80153 ENABLE_SYMVERS_SUN_TRUE='#'
80154 ENABLE_SYMVERS_SUN_FALSE=
80158 if test $enable_libstdcxx_visibility = yes; then
80159 ENABLE_VISIBILITY_TRUE=
80160 ENABLE_VISIBILITY_FALSE='#'
80161 else
80162 ENABLE_VISIBILITY_TRUE='#'
80163 ENABLE_VISIBILITY_FALSE=
80167 if test $enable_libstdcxx_dual_abi = yes; then
80168 ENABLE_DUAL_ABI_TRUE=
80169 ENABLE_DUAL_ABI_FALSE='#'
80170 else
80171 ENABLE_DUAL_ABI_TRUE='#'
80172 ENABLE_DUAL_ABI_FALSE=
80176 if test $glibcxx_cxx11_abi = 1; then
80177 ENABLE_CXX11_ABI_TRUE=
80178 ENABLE_CXX11_ABI_FALSE='#'
80179 else
80180 ENABLE_CXX11_ABI_TRUE='#'
80181 ENABLE_CXX11_ABI_FALSE=
80185 if test $ac_ldbl_compat = yes; then
80186 GLIBCXX_LDBL_COMPAT_TRUE=
80187 GLIBCXX_LDBL_COMPAT_FALSE='#'
80188 else
80189 GLIBCXX_LDBL_COMPAT_TRUE='#'
80190 GLIBCXX_LDBL_COMPAT_FALSE=
80194 if test $enable_libstdcxx_filesystem_ts = yes; then
80195 ENABLE_FILESYSTEM_TS_TRUE=
80196 ENABLE_FILESYSTEM_TS_FALSE='#'
80197 else
80198 ENABLE_FILESYSTEM_TS_TRUE='#'
80199 ENABLE_FILESYSTEM_TS_FALSE=
80205 cat >confcache <<\_ACEOF
80206 # This file is a shell script that caches the results of configure
80207 # tests run on this system so they can be shared between configure
80208 # scripts and configure runs, see configure's option --config-cache.
80209 # It is not useful on other systems. If it contains results you don't
80210 # want to keep, you may remove or edit it.
80212 # config.status only pays attention to the cache file if you give it
80213 # the --recheck option to rerun configure.
80215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80217 # following values.
80219 _ACEOF
80221 # The following way of writing the cache mishandles newlines in values,
80222 # but we know of no workaround that is simple, portable, and efficient.
80223 # So, we kill variables containing newlines.
80224 # Ultrix sh set writes to stderr and can't be redirected directly,
80225 # and sets the high bit in the cache file unless we assign to the vars.
80227 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80228 eval ac_val=\$$ac_var
80229 case $ac_val in #(
80230 *${as_nl}*)
80231 case $ac_var in #(
80232 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80234 esac
80235 case $ac_var in #(
80236 _ | IFS | as_nl) ;; #(
80237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80238 *) { eval $ac_var=; unset $ac_var;} ;;
80239 esac ;;
80240 esac
80241 done
80243 (set) 2>&1 |
80244 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80245 *${as_nl}ac_space=\ *)
80246 # `set' does not quote correctly, so add quotes: double-quote
80247 # substitution turns \\\\ into \\, and sed turns \\ into \.
80248 sed -n \
80249 "s/'/'\\\\''/g;
80250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80251 ;; #(
80253 # `set' quotes correctly as required by POSIX, so do not add quotes.
80254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80256 esac |
80257 sort
80259 sed '
80260 /^ac_cv_env_/b end
80261 t clear
80262 :clear
80263 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80264 t end
80265 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80266 :end' >>confcache
80267 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80268 if test -w "$cache_file"; then
80269 test "x$cache_file" != "x/dev/null" &&
80270 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80271 $as_echo "$as_me: updating cache $cache_file" >&6;}
80272 cat confcache >$cache_file
80273 else
80274 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80275 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80278 rm -f confcache
80280 if test ${multilib} = yes; then
80281 multilib_arg="--enable-multilib"
80282 else
80283 multilib_arg=
80286 # Export all the install information.
80288 glibcxx_toolexecdir=no
80289 glibcxx_toolexeclibdir=no
80290 glibcxx_prefixdir=$prefix
80292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80293 $as_echo_n "checking for gxx-include-dir... " >&6; }
80295 # Check whether --with-gxx-include-dir was given.
80296 if test "${with_gxx_include_dir+set}" = set; then :
80297 withval=$with_gxx_include_dir; case "$withval" in
80298 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80299 no) gxx_include_dir=no ;;
80300 *) gxx_include_dir=$withval ;;
80301 esac
80302 else
80303 gxx_include_dir=no
80306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80307 $as_echo "$gxx_include_dir" >&6; }
80309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80310 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80311 # Check whether --enable-version-specific-runtime-libs was given.
80312 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80313 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80314 yes) version_specific_libs=yes ;;
80315 no) version_specific_libs=no ;;
80316 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80317 esac
80318 else
80319 version_specific_libs=no
80322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80323 $as_echo "$version_specific_libs" >&6; }
80325 # Default case for install directory for include files.
80326 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80327 gxx_include_dir='include/c++/${gcc_version}'
80328 if test -n "$with_cross_host" &&
80329 test x"$with_cross_host" != x"no"; then
80330 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80331 else
80332 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80336 # Version-specific runtime libs processing.
80337 if test $version_specific_libs = yes; then
80338 # Need the gcc compiler version to know where to install libraries
80339 # and header files if --enable-version-specific-runtime-libs option
80340 # is selected. FIXME: these variables are misnamed, there are
80341 # no executables installed in _toolexecdir or _toolexeclibdir.
80342 if test x"$gxx_include_dir" = x"no"; then
80343 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80345 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80346 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80349 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80350 # Install a library built with a cross compiler in tooldir, not libdir.
80351 if test x"$glibcxx_toolexecdir" = x"no"; then
80352 if test -n "$with_cross_host" &&
80353 test x"$with_cross_host" != x"no"; then
80354 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80355 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80356 else
80357 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80358 glibcxx_toolexeclibdir='${libdir}'
80360 multi_os_directory=`$CXX -print-multi-os-directory`
80361 case $multi_os_directory in
80362 .) ;; # Avoid trailing /.
80363 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80364 esac
80367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80368 $as_echo_n "checking for install location... " >&6; }
80369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80370 $as_echo "$gxx_include_dir" >&6; }
80378 # Export all the include and flag information to Makefiles.
80380 # Used for every C++ compile we perform.
80381 GLIBCXX_INCLUDES="\
80382 -I$glibcxx_builddir/include/$host_alias \
80383 -I$glibcxx_builddir/include \
80384 -I$glibcxx_srcdir/libsupc++"
80386 # For Canadian crosses, pick this up too.
80387 if test $CANADIAN = yes; then
80388 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80391 # Stuff in the actual top level. Currently only used by libsupc++ to
80392 # get unwind* headers from the libgcc dir.
80393 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80394 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80396 # Now, export this to all the little Makefiles....
80401 # Optimization flags that are probably a good idea for thrill-seekers. Just
80402 # uncomment the lines below and make, everything else is ready to go...
80403 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80404 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80407 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80411 ac_config_files="$ac_config_files Makefile"
80413 ac_config_files="$ac_config_files scripts/testsuite_flags"
80415 ac_config_files="$ac_config_files scripts/extract_symvers"
80417 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80420 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80421 # that multilib installs will end up installed in the correct place.
80422 # The testsuite needs it for multilib-aware ABI baseline files.
80423 # To work around this not being passed down from config-ml.in ->
80424 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80425 # append it here. Only modify Makefiles that have just been created.
80427 # Also, get rid of this simulated-VPATH thing that automake does.
80428 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"
80431 ac_config_commands="$ac_config_commands generate-headers"
80434 cat >confcache <<\_ACEOF
80435 # This file is a shell script that caches the results of configure
80436 # tests run on this system so they can be shared between configure
80437 # scripts and configure runs, see configure's option --config-cache.
80438 # It is not useful on other systems. If it contains results you don't
80439 # want to keep, you may remove or edit it.
80441 # config.status only pays attention to the cache file if you give it
80442 # the --recheck option to rerun configure.
80444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80446 # following values.
80448 _ACEOF
80450 # The following way of writing the cache mishandles newlines in values,
80451 # but we know of no workaround that is simple, portable, and efficient.
80452 # So, we kill variables containing newlines.
80453 # Ultrix sh set writes to stderr and can't be redirected directly,
80454 # and sets the high bit in the cache file unless we assign to the vars.
80456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80457 eval ac_val=\$$ac_var
80458 case $ac_val in #(
80459 *${as_nl}*)
80460 case $ac_var in #(
80461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80463 esac
80464 case $ac_var in #(
80465 _ | IFS | as_nl) ;; #(
80466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80467 *) { eval $ac_var=; unset $ac_var;} ;;
80468 esac ;;
80469 esac
80470 done
80472 (set) 2>&1 |
80473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80474 *${as_nl}ac_space=\ *)
80475 # `set' does not quote correctly, so add quotes: double-quote
80476 # substitution turns \\\\ into \\, and sed turns \\ into \.
80477 sed -n \
80478 "s/'/'\\\\''/g;
80479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80480 ;; #(
80482 # `set' quotes correctly as required by POSIX, so do not add quotes.
80483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80485 esac |
80486 sort
80488 sed '
80489 /^ac_cv_env_/b end
80490 t clear
80491 :clear
80492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80493 t end
80494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80495 :end' >>confcache
80496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80497 if test -w "$cache_file"; then
80498 test "x$cache_file" != "x/dev/null" &&
80499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80500 $as_echo "$as_me: updating cache $cache_file" >&6;}
80501 cat confcache >$cache_file
80502 else
80503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80507 rm -f confcache
80509 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80510 # Let make expand exec_prefix.
80511 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80513 DEFS=-DHAVE_CONFIG_H
80515 ac_libobjs=
80516 ac_ltlibobjs=
80517 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80518 # 1. Remove the extension, and $U if already installed.
80519 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80520 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80521 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80522 # will be set to the directory where LIBOBJS objects are built.
80523 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80524 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80525 done
80526 LIBOBJS=$ac_libobjs
80528 LTLIBOBJS=$ac_ltlibobjs
80531 if test -n "$EXEEXT"; then
80532 am__EXEEXT_TRUE=
80533 am__EXEEXT_FALSE='#'
80534 else
80535 am__EXEEXT_TRUE='#'
80536 am__EXEEXT_FALSE=
80539 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80540 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80543 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80544 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80547 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80548 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80551 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80552 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80555 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80556 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80559 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80560 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80563 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80564 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80567 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80568 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80571 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80572 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80575 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80576 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80579 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80580 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80583 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80584 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80587 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80588 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80591 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80592 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80595 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80596 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80599 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80600 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80603 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80604 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80607 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80608 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80611 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80612 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80615 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80616 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80619 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80620 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80623 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80624 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80627 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80628 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80631 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80632 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80635 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80636 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80639 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80640 as_fn_error "conditional \"BUILD_XML\" was never defined.
80641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80643 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80644 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80647 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80648 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80651 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80652 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80656 : ${CONFIG_STATUS=./config.status}
80657 ac_write_fail=0
80658 ac_clean_files_save=$ac_clean_files
80659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80660 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80661 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80662 as_write_fail=0
80663 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80664 #! $SHELL
80665 # Generated by $as_me.
80666 # Run this file to recreate the current configuration.
80667 # Compiler output produced by configure, useful for debugging
80668 # configure, is in config.log if it exists.
80670 debug=false
80671 ac_cs_recheck=false
80672 ac_cs_silent=false
80674 SHELL=\${CONFIG_SHELL-$SHELL}
80675 export SHELL
80676 _ASEOF
80677 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80678 ## -------------------- ##
80679 ## M4sh Initialization. ##
80680 ## -------------------- ##
80682 # Be more Bourne compatible
80683 DUALCASE=1; export DUALCASE # for MKS sh
80684 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80685 emulate sh
80686 NULLCMD=:
80687 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80688 # is contrary to our usage. Disable this feature.
80689 alias -g '${1+"$@"}'='"$@"'
80690 setopt NO_GLOB_SUBST
80691 else
80692 case `(set -o) 2>/dev/null` in #(
80693 *posix*) :
80694 set -o posix ;; #(
80695 *) :
80697 esac
80701 as_nl='
80703 export as_nl
80704 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80705 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80707 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80708 # Prefer a ksh shell builtin over an external printf program on Solaris,
80709 # but without wasting forks for bash or zsh.
80710 if test -z "$BASH_VERSION$ZSH_VERSION" \
80711 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80712 as_echo='print -r --'
80713 as_echo_n='print -rn --'
80714 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80715 as_echo='printf %s\n'
80716 as_echo_n='printf %s'
80717 else
80718 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80719 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80720 as_echo_n='/usr/ucb/echo -n'
80721 else
80722 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80723 as_echo_n_body='eval
80724 arg=$1;
80725 case $arg in #(
80726 *"$as_nl"*)
80727 expr "X$arg" : "X\\(.*\\)$as_nl";
80728 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80729 esac;
80730 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80732 export as_echo_n_body
80733 as_echo_n='sh -c $as_echo_n_body as_echo'
80735 export as_echo_body
80736 as_echo='sh -c $as_echo_body as_echo'
80739 # The user is always right.
80740 if test "${PATH_SEPARATOR+set}" != set; then
80741 PATH_SEPARATOR=:
80742 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80743 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80744 PATH_SEPARATOR=';'
80749 # IFS
80750 # We need space, tab and new line, in precisely that order. Quoting is
80751 # there to prevent editors from complaining about space-tab.
80752 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80753 # splitting by setting IFS to empty value.)
80754 IFS=" "" $as_nl"
80756 # Find who we are. Look in the path if we contain no directory separator.
80757 case $0 in #((
80758 *[\\/]* ) as_myself=$0 ;;
80759 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80760 for as_dir in $PATH
80762 IFS=$as_save_IFS
80763 test -z "$as_dir" && as_dir=.
80764 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80765 done
80766 IFS=$as_save_IFS
80769 esac
80770 # We did not find ourselves, most probably we were run as `sh COMMAND'
80771 # in which case we are not to be found in the path.
80772 if test "x$as_myself" = x; then
80773 as_myself=$0
80775 if test ! -f "$as_myself"; then
80776 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80777 exit 1
80780 # Unset variables that we do not need and which cause bugs (e.g. in
80781 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80782 # suppresses any "Segmentation fault" message there. '((' could
80783 # trigger a bug in pdksh 5.2.14.
80784 for as_var in BASH_ENV ENV MAIL MAILPATH
80785 do eval test x\${$as_var+set} = xset \
80786 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80787 done
80788 PS1='$ '
80789 PS2='> '
80790 PS4='+ '
80792 # NLS nuisances.
80793 LC_ALL=C
80794 export LC_ALL
80795 LANGUAGE=C
80796 export LANGUAGE
80798 # CDPATH.
80799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80802 # as_fn_error ERROR [LINENO LOG_FD]
80803 # ---------------------------------
80804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80806 # script with status $?, using 1 if that was 0.
80807 as_fn_error ()
80809 as_status=$?; test $as_status -eq 0 && as_status=1
80810 if test "$3"; then
80811 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80812 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80814 $as_echo "$as_me: error: $1" >&2
80815 as_fn_exit $as_status
80816 } # as_fn_error
80819 # as_fn_set_status STATUS
80820 # -----------------------
80821 # Set $? to STATUS, without forking.
80822 as_fn_set_status ()
80824 return $1
80825 } # as_fn_set_status
80827 # as_fn_exit STATUS
80828 # -----------------
80829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80830 as_fn_exit ()
80832 set +e
80833 as_fn_set_status $1
80834 exit $1
80835 } # as_fn_exit
80837 # as_fn_unset VAR
80838 # ---------------
80839 # Portably unset VAR.
80840 as_fn_unset ()
80842 { eval $1=; unset $1;}
80844 as_unset=as_fn_unset
80845 # as_fn_append VAR VALUE
80846 # ----------------------
80847 # Append the text in VALUE to the end of the definition contained in VAR. Take
80848 # advantage of any shell optimizations that allow amortized linear growth over
80849 # repeated appends, instead of the typical quadratic growth present in naive
80850 # implementations.
80851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80852 eval 'as_fn_append ()
80854 eval $1+=\$2
80856 else
80857 as_fn_append ()
80859 eval $1=\$$1\$2
80861 fi # as_fn_append
80863 # as_fn_arith ARG...
80864 # ------------------
80865 # Perform arithmetic evaluation on the ARGs, and store the result in the
80866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80867 # must be portable across $(()) and expr.
80868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80869 eval 'as_fn_arith ()
80871 as_val=$(( $* ))
80873 else
80874 as_fn_arith ()
80876 as_val=`expr "$@" || test $? -eq 1`
80878 fi # as_fn_arith
80881 if expr a : '\(a\)' >/dev/null 2>&1 &&
80882 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80883 as_expr=expr
80884 else
80885 as_expr=false
80888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80889 as_basename=basename
80890 else
80891 as_basename=false
80894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80895 as_dirname=dirname
80896 else
80897 as_dirname=false
80900 as_me=`$as_basename -- "$0" ||
80901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80902 X"$0" : 'X\(//\)$' \| \
80903 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80904 $as_echo X/"$0" |
80905 sed '/^.*\/\([^/][^/]*\)\/*$/{
80906 s//\1/
80909 /^X\/\(\/\/\)$/{
80910 s//\1/
80913 /^X\/\(\/\).*/{
80914 s//\1/
80917 s/.*/./; q'`
80919 # Avoid depending upon Character Ranges.
80920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80923 as_cr_digits='0123456789'
80924 as_cr_alnum=$as_cr_Letters$as_cr_digits
80926 ECHO_C= ECHO_N= ECHO_T=
80927 case `echo -n x` in #(((((
80928 -n*)
80929 case `echo 'xy\c'` in
80930 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80931 xy) ECHO_C='\c';;
80932 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80933 ECHO_T=' ';;
80934 esac;;
80936 ECHO_N='-n';;
80937 esac
80939 rm -f conf$$ conf$$.exe conf$$.file
80940 if test -d conf$$.dir; then
80941 rm -f conf$$.dir/conf$$.file
80942 else
80943 rm -f conf$$.dir
80944 mkdir conf$$.dir 2>/dev/null
80946 if (echo >conf$$.file) 2>/dev/null; then
80947 if ln -s conf$$.file conf$$ 2>/dev/null; then
80948 as_ln_s='ln -s'
80949 # ... but there are two gotchas:
80950 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80951 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80952 # In both cases, we have to default to `cp -p'.
80953 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80954 as_ln_s='cp -p'
80955 elif ln conf$$.file conf$$ 2>/dev/null; then
80956 as_ln_s=ln
80957 else
80958 as_ln_s='cp -p'
80960 else
80961 as_ln_s='cp -p'
80963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80964 rmdir conf$$.dir 2>/dev/null
80967 # as_fn_mkdir_p
80968 # -------------
80969 # Create "$as_dir" as a directory, including parents if necessary.
80970 as_fn_mkdir_p ()
80973 case $as_dir in #(
80974 -*) as_dir=./$as_dir;;
80975 esac
80976 test -d "$as_dir" || eval $as_mkdir_p || {
80977 as_dirs=
80978 while :; do
80979 case $as_dir in #(
80980 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80981 *) as_qdir=$as_dir;;
80982 esac
80983 as_dirs="'$as_qdir' $as_dirs"
80984 as_dir=`$as_dirname -- "$as_dir" ||
80985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80986 X"$as_dir" : 'X\(//\)[^/]' \| \
80987 X"$as_dir" : 'X\(//\)$' \| \
80988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80989 $as_echo X"$as_dir" |
80990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80991 s//\1/
80994 /^X\(\/\/\)[^/].*/{
80995 s//\1/
80998 /^X\(\/\/\)$/{
80999 s//\1/
81002 /^X\(\/\).*/{
81003 s//\1/
81006 s/.*/./; q'`
81007 test -d "$as_dir" && break
81008 done
81009 test -z "$as_dirs" || eval "mkdir $as_dirs"
81010 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81013 } # as_fn_mkdir_p
81014 if mkdir -p . 2>/dev/null; then
81015 as_mkdir_p='mkdir -p "$as_dir"'
81016 else
81017 test -d ./-p && rmdir ./-p
81018 as_mkdir_p=false
81021 if test -x / >/dev/null 2>&1; then
81022 as_test_x='test -x'
81023 else
81024 if ls -dL / >/dev/null 2>&1; then
81025 as_ls_L_option=L
81026 else
81027 as_ls_L_option=
81029 as_test_x='
81030 eval sh -c '\''
81031 if test -d "$1"; then
81032 test -d "$1/.";
81033 else
81034 case $1 in #(
81035 -*)set "./$1";;
81036 esac;
81037 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81038 ???[sx]*):;;*)false;;esac;fi
81039 '\'' sh
81042 as_executable_p=$as_test_x
81044 # Sed expression to map a string onto a valid CPP name.
81045 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
81047 # Sed expression to map a string onto a valid variable name.
81048 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
81051 exec 6>&1
81052 ## ----------------------------------- ##
81053 ## Main body of $CONFIG_STATUS script. ##
81054 ## ----------------------------------- ##
81055 _ASEOF
81056 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
81058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81059 # Save the log message, to keep $0 and so on meaningful, and to
81060 # report actual input values of CONFIG_FILES etc. instead of their
81061 # values after options handling.
81062 ac_log="
81063 This file was extended by package-unused $as_me version-unused, which was
81064 generated by GNU Autoconf 2.64. Invocation command line was
81066 CONFIG_FILES = $CONFIG_FILES
81067 CONFIG_HEADERS = $CONFIG_HEADERS
81068 CONFIG_LINKS = $CONFIG_LINKS
81069 CONFIG_COMMANDS = $CONFIG_COMMANDS
81070 $ $0 $@
81072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
81075 _ACEOF
81077 case $ac_config_files in *"
81078 "*) set x $ac_config_files; shift; ac_config_files=$*;;
81079 esac
81081 case $ac_config_headers in *"
81082 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
81083 esac
81086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81087 # Files that config.status was made for.
81088 config_files="$ac_config_files"
81089 config_headers="$ac_config_headers"
81090 config_commands="$ac_config_commands"
81092 _ACEOF
81094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81095 ac_cs_usage="\
81096 \`$as_me' instantiates files and other configuration actions
81097 from templates according to the current configuration. Unless the files
81098 and actions are specified as TAGs, all are instantiated by default.
81100 Usage: $0 [OPTION]... [TAG]...
81102 -h, --help print this help, then exit
81103 -V, --version print version number and configuration settings, then exit
81104 -q, --quiet, --silent
81105 do not print progress messages
81106 -d, --debug don't remove temporary files
81107 --recheck update $as_me by reconfiguring in the same conditions
81108 --file=FILE[:TEMPLATE]
81109 instantiate the configuration file FILE
81110 --header=FILE[:TEMPLATE]
81111 instantiate the configuration header FILE
81113 Configuration files:
81114 $config_files
81116 Configuration headers:
81117 $config_headers
81119 Configuration commands:
81120 $config_commands
81122 Report bugs to the package provider."
81124 _ACEOF
81125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81126 ac_cs_version="\\
81127 package-unused config.status version-unused
81128 configured by $0, generated by GNU Autoconf 2.64,
81129 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
81131 Copyright (C) 2009 Free Software Foundation, Inc.
81132 This config.status script is free software; the Free Software Foundation
81133 gives unlimited permission to copy, distribute and modify it."
81135 ac_pwd='$ac_pwd'
81136 srcdir='$srcdir'
81137 INSTALL='$INSTALL'
81138 MKDIR_P='$MKDIR_P'
81139 AWK='$AWK'
81140 test -n "\$AWK" || AWK=awk
81141 _ACEOF
81143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81144 # The default lists apply if the user does not specify any file.
81145 ac_need_defaults=:
81146 while test $# != 0
81148 case $1 in
81149 --*=*)
81150 ac_option=`expr "X$1" : 'X\([^=]*\)='`
81151 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
81152 ac_shift=:
81155 ac_option=$1
81156 ac_optarg=$2
81157 ac_shift=shift
81159 esac
81161 case $ac_option in
81162 # Handling of the options.
81163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
81164 ac_cs_recheck=: ;;
81165 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
81166 $as_echo "$ac_cs_version"; exit ;;
81167 --debug | --debu | --deb | --de | --d | -d )
81168 debug=: ;;
81169 --file | --fil | --fi | --f )
81170 $ac_shift
81171 case $ac_optarg in
81172 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81173 esac
81174 as_fn_append CONFIG_FILES " '$ac_optarg'"
81175 ac_need_defaults=false;;
81176 --header | --heade | --head | --hea )
81177 $ac_shift
81178 case $ac_optarg in
81179 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
81180 esac
81181 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
81182 ac_need_defaults=false;;
81183 --he | --h)
81184 # Conflict between --help and --header
81185 as_fn_error "ambiguous option: \`$1'
81186 Try \`$0 --help' for more information.";;
81187 --help | --hel | -h )
81188 $as_echo "$ac_cs_usage"; exit ;;
81189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81190 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81191 ac_cs_silent=: ;;
81193 # This is an error.
81194 -*) as_fn_error "unrecognized option: \`$1'
81195 Try \`$0 --help' for more information." ;;
81197 *) as_fn_append ac_config_targets " $1"
81198 ac_need_defaults=false ;;
81200 esac
81201 shift
81202 done
81204 ac_configure_extra_args=
81206 if $ac_cs_silent; then
81207 exec 6>/dev/null
81208 ac_configure_extra_args="$ac_configure_extra_args --silent"
81211 _ACEOF
81212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81213 if \$ac_cs_recheck; then
81214 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81215 shift
81216 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81217 CONFIG_SHELL='$SHELL'
81218 export CONFIG_SHELL
81219 exec "\$@"
81222 _ACEOF
81223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81224 exec 5>>config.log
81226 echo
81227 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81228 ## Running $as_me. ##
81229 _ASBOX
81230 $as_echo "$ac_log"
81231 } >&5
81233 _ACEOF
81234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81236 # INIT-COMMANDS
81239 srcdir="$srcdir"
81240 host="$host"
81241 target="$target"
81242 with_multisubdir="$with_multisubdir"
81243 with_multisrctop="$with_multisrctop"
81244 with_target_subdir="$with_target_subdir"
81245 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81246 multi_basedir="$multi_basedir"
81247 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81248 CC="$CC"
81249 CXX="$CXX"
81250 GFORTRAN="$GFORTRAN"
81251 GCJ="$GCJ"
81254 # The HP-UX ksh and POSIX shell print the target directory to stdout
81255 # if CDPATH is set.
81256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81258 sed_quote_subst='$sed_quote_subst'
81259 double_quote_subst='$double_quote_subst'
81260 delay_variable_subst='$delay_variable_subst'
81261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81269 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81270 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81271 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81272 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81273 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81274 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81275 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81276 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81277 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81278 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81279 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81280 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81281 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81282 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81283 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81284 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81285 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81286 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81287 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81288 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81289 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81290 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81291 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81292 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81293 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81296 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81297 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81298 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81299 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81300 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81301 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81302 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81303 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81304 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81305 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81306 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81307 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81308 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81309 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"`'
81310 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81311 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81312 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81313 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81314 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81315 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81316 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81317 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81318 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81319 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81320 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81321 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81322 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81323 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81324 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81325 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81326 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81327 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81328 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81329 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81330 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81331 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81332 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81333 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81334 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81335 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81336 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81337 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81338 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81339 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81340 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81341 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81342 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81343 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81344 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81345 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81346 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81347 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81348 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81349 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81350 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81351 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81352 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81353 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81354 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81355 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81356 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81357 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81358 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81359 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81360 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81361 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81362 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81363 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81364 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81365 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81366 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81367 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81368 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81369 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81370 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81371 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81372 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81373 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81374 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81375 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81376 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81377 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81378 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81379 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81380 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81381 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81382 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81383 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81384 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81385 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81386 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81387 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81388 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81389 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81390 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81391 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81392 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81393 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81394 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81395 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81396 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81397 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81398 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81399 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81400 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81401 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81402 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81403 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81404 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81405 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81406 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81407 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81408 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81409 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81410 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81411 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81412 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81413 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81414 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81415 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81416 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81417 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81418 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81419 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81420 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81421 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81422 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81423 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81424 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81425 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81426 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81427 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81428 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81429 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81430 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81431 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81432 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81433 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81434 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81435 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81437 LTCC='$LTCC'
81438 LTCFLAGS='$LTCFLAGS'
81439 compiler='$compiler_DEFAULT'
81441 # A function that is used when there is no print builtin or printf.
81442 func_fallback_echo ()
81444 eval 'cat <<_LTECHO_EOF
81446 _LTECHO_EOF'
81449 # Quote evaled strings.
81450 for var in SHELL \
81451 ECHO \
81452 SED \
81453 GREP \
81454 EGREP \
81455 FGREP \
81456 LD \
81457 NM \
81458 LN_S \
81459 lt_SP2NL \
81460 lt_NL2SP \
81461 reload_flag \
81462 OBJDUMP \
81463 deplibs_check_method \
81464 file_magic_cmd \
81465 AR \
81466 AR_FLAGS \
81467 STRIP \
81468 RANLIB \
81469 CC \
81470 CFLAGS \
81471 compiler \
81472 lt_cv_sys_global_symbol_pipe \
81473 lt_cv_sys_global_symbol_to_cdecl \
81474 lt_cv_sys_global_symbol_to_c_name_address \
81475 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81476 lt_prog_compiler_no_builtin_flag \
81477 lt_prog_compiler_wl \
81478 lt_prog_compiler_pic \
81479 lt_prog_compiler_static \
81480 lt_cv_prog_compiler_c_o \
81481 need_locks \
81482 DSYMUTIL \
81483 NMEDIT \
81484 LIPO \
81485 OTOOL \
81486 OTOOL64 \
81487 shrext_cmds \
81488 export_dynamic_flag_spec \
81489 whole_archive_flag_spec \
81490 compiler_needs_object \
81491 with_gnu_ld \
81492 allow_undefined_flag \
81493 no_undefined_flag \
81494 hardcode_libdir_flag_spec \
81495 hardcode_libdir_flag_spec_ld \
81496 hardcode_libdir_separator \
81497 fix_srcfile_path \
81498 exclude_expsyms \
81499 include_expsyms \
81500 file_list_spec \
81501 variables_saved_for_relink \
81502 libname_spec \
81503 library_names_spec \
81504 soname_spec \
81505 install_override_mode \
81506 finish_eval \
81507 old_striplib \
81508 striplib \
81509 compiler_lib_search_dirs \
81510 predep_objects \
81511 postdep_objects \
81512 predeps \
81513 postdeps \
81514 compiler_lib_search_path \
81515 LD_CXX \
81516 reload_flag_CXX \
81517 compiler_CXX \
81518 lt_prog_compiler_no_builtin_flag_CXX \
81519 lt_prog_compiler_wl_CXX \
81520 lt_prog_compiler_pic_CXX \
81521 lt_prog_compiler_static_CXX \
81522 lt_cv_prog_compiler_c_o_CXX \
81523 export_dynamic_flag_spec_CXX \
81524 whole_archive_flag_spec_CXX \
81525 compiler_needs_object_CXX \
81526 with_gnu_ld_CXX \
81527 allow_undefined_flag_CXX \
81528 no_undefined_flag_CXX \
81529 hardcode_libdir_flag_spec_CXX \
81530 hardcode_libdir_flag_spec_ld_CXX \
81531 hardcode_libdir_separator_CXX \
81532 fix_srcfile_path_CXX \
81533 exclude_expsyms_CXX \
81534 include_expsyms_CXX \
81535 file_list_spec_CXX \
81536 compiler_lib_search_dirs_CXX \
81537 predep_objects_CXX \
81538 postdep_objects_CXX \
81539 predeps_CXX \
81540 postdeps_CXX \
81541 compiler_lib_search_path_CXX; do
81542 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81543 *[\\\\\\\`\\"\\\$]*)
81544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81549 esac
81550 done
81552 # Double-quote double-evaled strings.
81553 for var in reload_cmds \
81554 old_postinstall_cmds \
81555 old_postuninstall_cmds \
81556 old_archive_cmds \
81557 extract_expsyms_cmds \
81558 old_archive_from_new_cmds \
81559 old_archive_from_expsyms_cmds \
81560 archive_cmds \
81561 archive_expsym_cmds \
81562 module_cmds \
81563 module_expsym_cmds \
81564 export_symbols_cmds \
81565 prelink_cmds \
81566 postinstall_cmds \
81567 postuninstall_cmds \
81568 finish_cmds \
81569 sys_lib_search_path_spec \
81570 sys_lib_dlsearch_path_spec \
81571 reload_cmds_CXX \
81572 old_archive_cmds_CXX \
81573 old_archive_from_new_cmds_CXX \
81574 old_archive_from_expsyms_cmds_CXX \
81575 archive_cmds_CXX \
81576 archive_expsym_cmds_CXX \
81577 module_cmds_CXX \
81578 module_expsym_cmds_CXX \
81579 export_symbols_cmds_CXX \
81580 prelink_cmds_CXX; do
81581 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81582 *[\\\\\\\`\\"\\\$]*)
81583 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81586 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81588 esac
81589 done
81591 ac_aux_dir='$ac_aux_dir'
81592 xsi_shell='$xsi_shell'
81593 lt_shell_append='$lt_shell_append'
81595 # See if we are running on zsh, and set the options which allow our
81596 # commands through without removal of \ escapes INIT.
81597 if test -n "\${ZSH_VERSION+set}" ; then
81598 setopt NO_GLOB_SUBST
81602 PACKAGE='$PACKAGE'
81603 VERSION='$VERSION'
81604 TIMESTAMP='$TIMESTAMP'
81605 RM='$RM'
81606 ofile='$ofile'
81613 GCC="$GCC"
81614 CC="$CC"
81615 acx_cv_header_stdint="$acx_cv_header_stdint"
81616 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81617 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81618 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81619 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81620 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81621 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81622 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81623 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81624 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81625 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81626 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81627 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81628 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81631 _ACEOF
81633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81635 # Handling of arguments.
81636 for ac_config_target in $ac_config_targets
81638 case $ac_config_target in
81639 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81640 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81641 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81642 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81644 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81645 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81646 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81647 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81648 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81649 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81650 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81651 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81652 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81653 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81654 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81655 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81656 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81657 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81659 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81660 esac
81661 done
81664 # If the user did not use the arguments to specify the items to instantiate,
81665 # then the envvar interface is used. Set only those that are not.
81666 # We use the long form for the default assignment because of an extremely
81667 # bizarre bug on SunOS 4.1.3.
81668 if $ac_need_defaults; then
81669 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81670 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81671 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81674 # Have a temporary directory for convenience. Make it in the build tree
81675 # simply because there is no reason against having it here, and in addition,
81676 # creating and moving files from /tmp can sometimes cause problems.
81677 # Hook for its removal unless debugging.
81678 # Note that there is a small window in which the directory will not be cleaned:
81679 # after its creation but before its name has been assigned to `$tmp'.
81680 $debug ||
81682 tmp=
81683 trap 'exit_status=$?
81684 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81686 trap 'as_fn_exit 1' 1 2 13 15
81688 # Create a (secure) tmp directory for tmp files.
81691 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81692 test -n "$tmp" && test -d "$tmp"
81693 } ||
81695 tmp=./conf$$-$RANDOM
81696 (umask 077 && mkdir "$tmp")
81697 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81699 # Set up the scripts for CONFIG_FILES section.
81700 # No need to generate them if there are no CONFIG_FILES.
81701 # This happens for instance with `./config.status config.h'.
81702 if test -n "$CONFIG_FILES"; then
81705 ac_cr=`echo X | tr X '\015'`
81706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81707 # But we know of no other shell where ac_cr would be empty at this
81708 # point, so we can use a bashism as a fallback.
81709 if test "x$ac_cr" = x; then
81710 eval ac_cr=\$\'\\r\'
81712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81714 ac_cs_awk_cr='\r'
81715 else
81716 ac_cs_awk_cr=$ac_cr
81719 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81720 _ACEOF
81724 echo "cat >conf$$subs.awk <<_ACEOF" &&
81725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81726 echo "_ACEOF"
81727 } >conf$$subs.sh ||
81728 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81730 ac_delim='%!_!# '
81731 for ac_last_try in false false false false false :; do
81732 . ./conf$$subs.sh ||
81733 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81735 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81736 if test $ac_delim_n = $ac_delim_num; then
81737 break
81738 elif $ac_last_try; then
81739 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81740 else
81741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81743 done
81744 rm -f conf$$subs.sh
81746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81747 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81748 _ACEOF
81749 sed -n '
81751 s/^/S["/; s/!.*/"]=/
81754 s/^[^!]*!//
81755 :repl
81756 t repl
81757 s/'"$ac_delim"'$//
81758 t delim
81761 s/\(.\{148\}\).*/\1/
81762 t more1
81763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81766 b repl
81767 :more1
81768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81771 s/.\{148\}//
81772 t nl
81773 :delim
81775 s/\(.\{148\}\).*/\1/
81776 t more2
81777 s/["\\]/\\&/g; s/^/"/; s/$/"/
81780 :more2
81781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81784 s/.\{148\}//
81785 t delim
81786 ' <conf$$subs.awk | sed '
81787 /^[^""]/{
81789 s/\n//
81791 ' >>$CONFIG_STATUS || ac_write_fail=1
81792 rm -f conf$$subs.awk
81793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81794 _ACAWK
81795 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81796 for (key in S) S_is_set[key] = 1
81797 FS = "\a"
81801 line = $ 0
81802 nfields = split(line, field, "@")
81803 substed = 0
81804 len = length(field[1])
81805 for (i = 2; i < nfields; i++) {
81806 key = field[i]
81807 keylen = length(key)
81808 if (S_is_set[key]) {
81809 value = S[key]
81810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81811 len += length(value) + length(field[++i])
81812 substed = 1
81813 } else
81814 len += 1 + keylen
81817 print line
81820 _ACAWK
81821 _ACEOF
81822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81824 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81825 else
81827 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81828 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81829 _ACEOF
81831 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81832 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81833 # trailing colons and then remove the whole line if VPATH becomes empty
81834 # (actually we leave an empty line to preserve line numbers).
81835 if test "x$srcdir" = x.; then
81836 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81837 s/:*\$(srcdir):*/:/
81838 s/:*\${srcdir}:*/:/
81839 s/:*@srcdir@:*/:/
81840 s/^\([^=]*=[ ]*\):*/\1/
81841 s/:*$//
81842 s/^[^=]*=[ ]*$//
81846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81847 fi # test -n "$CONFIG_FILES"
81849 # Set up the scripts for CONFIG_HEADERS section.
81850 # No need to generate them if there are no CONFIG_HEADERS.
81851 # This happens for instance with `./config.status Makefile'.
81852 if test -n "$CONFIG_HEADERS"; then
81853 cat >"$tmp/defines.awk" <<\_ACAWK ||
81854 BEGIN {
81855 _ACEOF
81857 # Transform confdefs.h into an awk script `defines.awk', embedded as
81858 # here-document in config.status, that substitutes the proper values into
81859 # config.h.in to produce config.h.
81861 # Create a delimiter string that does not exist in confdefs.h, to ease
81862 # handling of long lines.
81863 ac_delim='%!_!# '
81864 for ac_last_try in false false :; do
81865 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81866 if test -z "$ac_t"; then
81867 break
81868 elif $ac_last_try; then
81869 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81870 else
81871 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81873 done
81875 # For the awk script, D is an array of macro values keyed by name,
81876 # likewise P contains macro parameters if any. Preserve backslash
81877 # newline sequences.
81879 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81880 sed -n '
81881 s/.\{148\}/&'"$ac_delim"'/g
81882 t rset
81883 :rset
81884 s/^[ ]*#[ ]*define[ ][ ]*/ /
81885 t def
81887 :def
81888 s/\\$//
81889 t bsnl
81890 s/["\\]/\\&/g
81891 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81892 D["\1"]=" \3"/p
81893 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81895 :bsnl
81896 s/["\\]/\\&/g
81897 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81898 D["\1"]=" \3\\\\\\n"\\/p
81899 t cont
81900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81901 t cont
81903 :cont
81905 s/.\{148\}/&'"$ac_delim"'/g
81906 t clear
81907 :clear
81908 s/\\$//
81909 t bsnlc
81910 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81912 :bsnlc
81913 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81914 b cont
81915 ' <confdefs.h | sed '
81916 s/'"$ac_delim"'/"\\\
81917 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81920 for (key in D) D_is_set[key] = 1
81921 FS = "\a"
81923 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81924 line = \$ 0
81925 split(line, arg, " ")
81926 if (arg[1] == "#") {
81927 defundef = arg[2]
81928 mac1 = arg[3]
81929 } else {
81930 defundef = substr(arg[1], 2)
81931 mac1 = arg[2]
81933 split(mac1, mac2, "(") #)
81934 macro = mac2[1]
81935 prefix = substr(line, 1, index(line, defundef) - 1)
81936 if (D_is_set[macro]) {
81937 # Preserve the white space surrounding the "#".
81938 print prefix "define", macro P[macro] D[macro]
81939 next
81940 } else {
81941 # Replace #undef with comments. This is necessary, for example,
81942 # in the case of _POSIX_SOURCE, which is predefined and required
81943 # on some systems where configure will not decide to define it.
81944 if (defundef == "undef") {
81945 print "/*", prefix defundef, macro, "*/"
81946 next
81950 { print }
81951 _ACAWK
81952 _ACEOF
81953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81954 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81955 fi # test -n "$CONFIG_HEADERS"
81958 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81959 shift
81960 for ac_tag
81962 case $ac_tag in
81963 :[FHLC]) ac_mode=$ac_tag; continue;;
81964 esac
81965 case $ac_mode$ac_tag in
81966 :[FHL]*:*);;
81967 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81968 :[FH]-) ac_tag=-:-;;
81969 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81970 esac
81971 ac_save_IFS=$IFS
81972 IFS=:
81973 set x $ac_tag
81974 IFS=$ac_save_IFS
81975 shift
81976 ac_file=$1
81977 shift
81979 case $ac_mode in
81980 :L) ac_source=$1;;
81981 :[FH])
81982 ac_file_inputs=
81983 for ac_f
81985 case $ac_f in
81986 -) ac_f="$tmp/stdin";;
81987 *) # Look for the file first in the build tree, then in the source tree
81988 # (if the path is not absolute). The absolute path cannot be DOS-style,
81989 # because $ac_f cannot contain `:'.
81990 test -f "$ac_f" ||
81991 case $ac_f in
81992 [\\/$]*) false;;
81993 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81994 esac ||
81995 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81996 esac
81997 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81998 as_fn_append ac_file_inputs " '$ac_f'"
81999 done
82001 # Let's still pretend it is `configure' which instantiates (i.e., don't
82002 # use $as_me), people would be surprised to read:
82003 # /* config.h. Generated by config.status. */
82004 configure_input='Generated from '`
82005 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82006 `' by configure.'
82007 if test x"$ac_file" != x-; then
82008 configure_input="$ac_file. $configure_input"
82009 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82010 $as_echo "$as_me: creating $ac_file" >&6;}
82012 # Neutralize special characters interpreted by sed in replacement strings.
82013 case $configure_input in #(
82014 *\&* | *\|* | *\\* )
82015 ac_sed_conf_input=`$as_echo "$configure_input" |
82016 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82017 *) ac_sed_conf_input=$configure_input;;
82018 esac
82020 case $ac_tag in
82021 *:-:* | *:-) cat >"$tmp/stdin" \
82022 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82023 esac
82025 esac
82027 ac_dir=`$as_dirname -- "$ac_file" ||
82028 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82029 X"$ac_file" : 'X\(//\)[^/]' \| \
82030 X"$ac_file" : 'X\(//\)$' \| \
82031 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82032 $as_echo X"$ac_file" |
82033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82034 s//\1/
82037 /^X\(\/\/\)[^/].*/{
82038 s//\1/
82041 /^X\(\/\/\)$/{
82042 s//\1/
82045 /^X\(\/\).*/{
82046 s//\1/
82049 s/.*/./; q'`
82050 as_dir="$ac_dir"; as_fn_mkdir_p
82051 ac_builddir=.
82053 case "$ac_dir" in
82054 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
82056 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
82057 # A ".." for each directory in $ac_dir_suffix.
82058 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
82059 case $ac_top_builddir_sub in
82060 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
82061 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
82062 esac ;;
82063 esac
82064 ac_abs_top_builddir=$ac_pwd
82065 ac_abs_builddir=$ac_pwd$ac_dir_suffix
82066 # for backward compatibility:
82067 ac_top_builddir=$ac_top_build_prefix
82069 case $srcdir in
82070 .) # We are building in place.
82071 ac_srcdir=.
82072 ac_top_srcdir=$ac_top_builddir_sub
82073 ac_abs_top_srcdir=$ac_pwd ;;
82074 [\\/]* | ?:[\\/]* ) # Absolute name.
82075 ac_srcdir=$srcdir$ac_dir_suffix;
82076 ac_top_srcdir=$srcdir
82077 ac_abs_top_srcdir=$srcdir ;;
82078 *) # Relative name.
82079 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
82080 ac_top_srcdir=$ac_top_build_prefix$srcdir
82081 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
82082 esac
82083 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
82086 case $ac_mode in
82089 # CONFIG_FILE
82092 case $INSTALL in
82093 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
82094 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
82095 esac
82096 ac_MKDIR_P=$MKDIR_P
82097 case $MKDIR_P in
82098 [\\/$]* | ?:[\\/]* ) ;;
82099 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
82100 esac
82101 _ACEOF
82103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82104 # If the template does not know about datarootdir, expand it.
82105 # FIXME: This hack should be removed a few years after 2.60.
82106 ac_datarootdir_hack=; ac_datarootdir_seen=
82107 ac_sed_dataroot='
82108 /datarootdir/ {
82112 /@datadir@/p
82113 /@docdir@/p
82114 /@infodir@/p
82115 /@localedir@/p
82116 /@mandir@/p'
82117 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
82118 *datarootdir*) ac_datarootdir_seen=yes;;
82119 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
82120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
82121 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
82122 _ACEOF
82123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82124 ac_datarootdir_hack='
82125 s&@datadir@&$datadir&g
82126 s&@docdir@&$docdir&g
82127 s&@infodir@&$infodir&g
82128 s&@localedir@&$localedir&g
82129 s&@mandir@&$mandir&g
82130 s&\\\${datarootdir}&$datarootdir&g' ;;
82131 esac
82132 _ACEOF
82134 # Neutralize VPATH when `$srcdir' = `.'.
82135 # Shell code in configure.ac might set extrasub.
82136 # FIXME: do we really want to maintain this feature?
82137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82138 ac_sed_extra="$ac_vpsub
82139 $extrasub
82140 _ACEOF
82141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
82144 s|@configure_input@|$ac_sed_conf_input|;t t
82145 s&@top_builddir@&$ac_top_builddir_sub&;t t
82146 s&@top_build_prefix@&$ac_top_build_prefix&;t t
82147 s&@srcdir@&$ac_srcdir&;t t
82148 s&@abs_srcdir@&$ac_abs_srcdir&;t t
82149 s&@top_srcdir@&$ac_top_srcdir&;t t
82150 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
82151 s&@builddir@&$ac_builddir&;t t
82152 s&@abs_builddir@&$ac_abs_builddir&;t t
82153 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
82154 s&@INSTALL@&$ac_INSTALL&;t t
82155 s&@MKDIR_P@&$ac_MKDIR_P&;t t
82156 $ac_datarootdir_hack
82158 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
82159 || as_fn_error "could not create $ac_file" "$LINENO" 5
82161 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
82162 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
82163 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
82164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82165 which seems to be undefined. Please make sure it is defined." >&5
82166 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
82167 which seems to be undefined. Please make sure it is defined." >&2;}
82169 rm -f "$tmp/stdin"
82170 case $ac_file in
82171 -) cat "$tmp/out" && rm -f "$tmp/out";;
82172 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
82173 esac \
82174 || as_fn_error "could not create $ac_file" "$LINENO" 5
82178 # CONFIG_HEADER
82180 if test x"$ac_file" != x-; then
82182 $as_echo "/* $configure_input */" \
82183 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
82184 } >"$tmp/config.h" \
82185 || as_fn_error "could not create $ac_file" "$LINENO" 5
82186 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
82187 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
82188 $as_echo "$as_me: $ac_file is unchanged" >&6;}
82189 else
82190 rm -f "$ac_file"
82191 mv "$tmp/config.h" "$ac_file" \
82192 || as_fn_error "could not create $ac_file" "$LINENO" 5
82194 else
82195 $as_echo "/* $configure_input */" \
82196 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82197 || as_fn_error "could not create -" "$LINENO" 5
82199 # Compute "$ac_file"'s index in $config_headers.
82200 _am_arg="$ac_file"
82201 _am_stamp_count=1
82202 for _am_header in $config_headers :; do
82203 case $_am_header in
82204 $_am_arg | $_am_arg:* )
82205 break ;;
82207 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82208 esac
82209 done
82210 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82211 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82212 X"$_am_arg" : 'X\(//\)[^/]' \| \
82213 X"$_am_arg" : 'X\(//\)$' \| \
82214 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82215 $as_echo X"$_am_arg" |
82216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82217 s//\1/
82220 /^X\(\/\/\)[^/].*/{
82221 s//\1/
82224 /^X\(\/\/\)$/{
82225 s//\1/
82228 /^X\(\/\).*/{
82229 s//\1/
82232 s/.*/./; q'`/stamp-h$_am_stamp_count
82235 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82236 $as_echo "$as_me: executing $ac_file commands" >&6;}
82238 esac
82241 case $ac_file$ac_mode in
82242 "default-1":C)
82243 # Only add multilib support code if we just rebuilt the top-level
82244 # Makefile.
82245 case " $CONFIG_FILES " in
82246 *" Makefile "*)
82247 ac_file=Makefile . ${multi_basedir}/config-ml.in
82249 esac ;;
82250 "libtool":C)
82252 # See if we are running on zsh, and set the options which allow our
82253 # commands through without removal of \ escapes.
82254 if test -n "${ZSH_VERSION+set}" ; then
82255 setopt NO_GLOB_SUBST
82258 cfgfile="${ofile}T"
82259 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82260 $RM "$cfgfile"
82262 cat <<_LT_EOF >> "$cfgfile"
82263 #! $SHELL
82265 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82266 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82268 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82270 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82271 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82272 # Written by Gordon Matzigkeit, 1996
82274 # This file is part of GNU Libtool.
82276 # GNU Libtool is free software; you can redistribute it and/or
82277 # modify it under the terms of the GNU General Public License as
82278 # published by the Free Software Foundation; either version 2 of
82279 # the License, or (at your option) any later version.
82281 # As a special exception to the GNU General Public License,
82282 # if you distribute this file as part of a program or library that
82283 # is built using GNU Libtool, you may include this file under the
82284 # same distribution terms that you use for the rest of that program.
82286 # GNU Libtool is distributed in the hope that it will be useful,
82287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82289 # GNU General Public License for more details.
82291 # You should have received a copy of the GNU General Public License
82292 # along with GNU Libtool; see the file COPYING. If not, a copy
82293 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82294 # obtained by writing to the Free Software Foundation, Inc.,
82295 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82298 # The names of the tagged configurations supported by this script.
82299 available_tags="CXX "
82301 # ### BEGIN LIBTOOL CONFIG
82303 # Which release of libtool.m4 was used?
82304 macro_version=$macro_version
82305 macro_revision=$macro_revision
82307 # Whether or not to build shared libraries.
82308 build_libtool_libs=$enable_shared
82310 # Whether or not to build static libraries.
82311 build_old_libs=$enable_static
82313 # What type of objects to build.
82314 pic_mode=$pic_mode
82316 # Whether or not to optimize for fast installation.
82317 fast_install=$enable_fast_install
82319 # Shell to use when invoking shell scripts.
82320 SHELL=$lt_SHELL
82322 # An echo program that protects backslashes.
82323 ECHO=$lt_ECHO
82325 # The host system.
82326 host_alias=$host_alias
82327 host=$host
82328 host_os=$host_os
82330 # The build system.
82331 build_alias=$build_alias
82332 build=$build
82333 build_os=$build_os
82335 # A sed program that does not truncate output.
82336 SED=$lt_SED
82338 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82339 Xsed="\$SED -e 1s/^X//"
82341 # A grep program that handles long lines.
82342 GREP=$lt_GREP
82344 # An ERE matcher.
82345 EGREP=$lt_EGREP
82347 # A literal string matcher.
82348 FGREP=$lt_FGREP
82350 # A BSD- or MS-compatible name lister.
82351 NM=$lt_NM
82353 # Whether we need soft or hard links.
82354 LN_S=$lt_LN_S
82356 # What is the maximum length of a command?
82357 max_cmd_len=$max_cmd_len
82359 # Object file suffix (normally "o").
82360 objext=$ac_objext
82362 # Executable file suffix (normally "").
82363 exeext=$exeext
82365 # whether the shell understands "unset".
82366 lt_unset=$lt_unset
82368 # turn spaces into newlines.
82369 SP2NL=$lt_lt_SP2NL
82371 # turn newlines into spaces.
82372 NL2SP=$lt_lt_NL2SP
82374 # An object symbol dumper.
82375 OBJDUMP=$lt_OBJDUMP
82377 # Method to check whether dependent libraries are shared objects.
82378 deplibs_check_method=$lt_deplibs_check_method
82380 # Command to use when deplibs_check_method == "file_magic".
82381 file_magic_cmd=$lt_file_magic_cmd
82383 # The archiver.
82384 AR=$lt_AR
82385 AR_FLAGS=$lt_AR_FLAGS
82387 # A symbol stripping program.
82388 STRIP=$lt_STRIP
82390 # Commands used to install an old-style archive.
82391 RANLIB=$lt_RANLIB
82392 old_postinstall_cmds=$lt_old_postinstall_cmds
82393 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82395 # Whether to use a lock for old archive extraction.
82396 lock_old_archive_extraction=$lock_old_archive_extraction
82398 # A C compiler.
82399 LTCC=$lt_CC
82401 # LTCC compiler flags.
82402 LTCFLAGS=$lt_CFLAGS
82404 # Take the output of nm and produce a listing of raw symbols and C names.
82405 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82407 # Transform the output of nm in a proper C declaration.
82408 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82410 # Transform the output of nm in a C name address pair.
82411 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82413 # Transform the output of nm in a C name address pair when lib prefix is needed.
82414 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82416 # The name of the directory that contains temporary libtool files.
82417 objdir=$objdir
82419 # Used to examine libraries when file_magic_cmd begins with "file".
82420 MAGIC_CMD=$MAGIC_CMD
82422 # Must we lock files when doing compilation?
82423 need_locks=$lt_need_locks
82425 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82426 DSYMUTIL=$lt_DSYMUTIL
82428 # Tool to change global to local symbols on Mac OS X.
82429 NMEDIT=$lt_NMEDIT
82431 # Tool to manipulate fat objects and archives on Mac OS X.
82432 LIPO=$lt_LIPO
82434 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82435 OTOOL=$lt_OTOOL
82437 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82438 OTOOL64=$lt_OTOOL64
82440 # Old archive suffix (normally "a").
82441 libext=$libext
82443 # Shared library suffix (normally ".so").
82444 shrext_cmds=$lt_shrext_cmds
82446 # The commands to extract the exported symbol list from a shared archive.
82447 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82449 # Variables whose values should be saved in libtool wrapper scripts and
82450 # restored at link time.
82451 variables_saved_for_relink=$lt_variables_saved_for_relink
82453 # Do we need the "lib" prefix for modules?
82454 need_lib_prefix=$need_lib_prefix
82456 # Do we need a version for libraries?
82457 need_version=$need_version
82459 # Library versioning type.
82460 version_type=$version_type
82462 # Shared library runtime path variable.
82463 runpath_var=$runpath_var
82465 # Shared library path variable.
82466 shlibpath_var=$shlibpath_var
82468 # Is shlibpath searched before the hard-coded library search path?
82469 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82471 # Format of library name prefix.
82472 libname_spec=$lt_libname_spec
82474 # List of archive names. First name is the real one, the rest are links.
82475 # The last name is the one that the linker finds with -lNAME
82476 library_names_spec=$lt_library_names_spec
82478 # The coded name of the library, if different from the real name.
82479 soname_spec=$lt_soname_spec
82481 # Permission mode override for installation of shared libraries.
82482 install_override_mode=$lt_install_override_mode
82484 # Command to use after installation of a shared archive.
82485 postinstall_cmds=$lt_postinstall_cmds
82487 # Command to use after uninstallation of a shared archive.
82488 postuninstall_cmds=$lt_postuninstall_cmds
82490 # Commands used to finish a libtool library installation in a directory.
82491 finish_cmds=$lt_finish_cmds
82493 # As "finish_cmds", except a single script fragment to be evaled but
82494 # not shown.
82495 finish_eval=$lt_finish_eval
82497 # Whether we should hardcode library paths into libraries.
82498 hardcode_into_libs=$hardcode_into_libs
82500 # Compile-time system search path for libraries.
82501 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82503 # Run-time system search path for libraries.
82504 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82506 # Whether dlopen is supported.
82507 dlopen_support=$enable_dlopen
82509 # Whether dlopen of programs is supported.
82510 dlopen_self=$enable_dlopen_self
82512 # Whether dlopen of statically linked programs is supported.
82513 dlopen_self_static=$enable_dlopen_self_static
82515 # Commands to strip libraries.
82516 old_striplib=$lt_old_striplib
82517 striplib=$lt_striplib
82520 # The linker used to build libraries.
82521 LD=$lt_LD
82523 # How to create reloadable object files.
82524 reload_flag=$lt_reload_flag
82525 reload_cmds=$lt_reload_cmds
82527 # Commands used to build an old-style archive.
82528 old_archive_cmds=$lt_old_archive_cmds
82530 # A language specific compiler.
82531 CC=$lt_compiler
82533 # Is the compiler the GNU compiler?
82534 with_gcc=$GCC
82536 # Compiler flag to turn off builtin functions.
82537 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82539 # How to pass a linker flag through the compiler.
82540 wl=$lt_lt_prog_compiler_wl
82542 # Additional compiler flags for building library objects.
82543 pic_flag=$lt_lt_prog_compiler_pic
82545 # Compiler flag to prevent dynamic linking.
82546 link_static_flag=$lt_lt_prog_compiler_static
82548 # Does compiler simultaneously support -c and -o options?
82549 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82551 # Whether or not to add -lc for building shared libraries.
82552 build_libtool_need_lc=$archive_cmds_need_lc
82554 # Whether or not to disallow shared libs when runtime libs are static.
82555 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82557 # Compiler flag to allow reflexive dlopens.
82558 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82560 # Compiler flag to generate shared objects directly from archives.
82561 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82563 # Whether the compiler copes with passing no objects directly.
82564 compiler_needs_object=$lt_compiler_needs_object
82566 # Create an old-style archive from a shared archive.
82567 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82569 # Create a temporary old-style archive to link instead of a shared archive.
82570 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82572 # Commands used to build a shared archive.
82573 archive_cmds=$lt_archive_cmds
82574 archive_expsym_cmds=$lt_archive_expsym_cmds
82576 # Commands used to build a loadable module if different from building
82577 # a shared archive.
82578 module_cmds=$lt_module_cmds
82579 module_expsym_cmds=$lt_module_expsym_cmds
82581 # Whether we are building with GNU ld or not.
82582 with_gnu_ld=$lt_with_gnu_ld
82584 # Flag that allows shared libraries with undefined symbols to be built.
82585 allow_undefined_flag=$lt_allow_undefined_flag
82587 # Flag that enforces no undefined symbols.
82588 no_undefined_flag=$lt_no_undefined_flag
82590 # Flag to hardcode \$libdir into a binary during linking.
82591 # This must work even if \$libdir does not exist
82592 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82594 # If ld is used when linking, flag to hardcode \$libdir into a binary
82595 # during linking. This must work even if \$libdir does not exist.
82596 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82598 # Whether we need a single "-rpath" flag with a separated argument.
82599 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82601 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82602 # DIR into the resulting binary.
82603 hardcode_direct=$hardcode_direct
82605 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82606 # DIR into the resulting binary and the resulting library dependency is
82607 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82608 # library is relocated.
82609 hardcode_direct_absolute=$hardcode_direct_absolute
82611 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82612 # into the resulting binary.
82613 hardcode_minus_L=$hardcode_minus_L
82615 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82616 # into the resulting binary.
82617 hardcode_shlibpath_var=$hardcode_shlibpath_var
82619 # Set to "yes" if building a shared library automatically hardcodes DIR
82620 # into the library and all subsequent libraries and executables linked
82621 # against it.
82622 hardcode_automatic=$hardcode_automatic
82624 # Set to yes if linker adds runtime paths of dependent libraries
82625 # to runtime path list.
82626 inherit_rpath=$inherit_rpath
82628 # Whether libtool must link a program against all its dependency libraries.
82629 link_all_deplibs=$link_all_deplibs
82631 # Fix the shell variable \$srcfile for the compiler.
82632 fix_srcfile_path=$lt_fix_srcfile_path
82634 # Set to "yes" if exported symbols are required.
82635 always_export_symbols=$always_export_symbols
82637 # The commands to list exported symbols.
82638 export_symbols_cmds=$lt_export_symbols_cmds
82640 # Symbols that should not be listed in the preloaded symbols.
82641 exclude_expsyms=$lt_exclude_expsyms
82643 # Symbols that must always be exported.
82644 include_expsyms=$lt_include_expsyms
82646 # Commands necessary for linking programs (against libraries) with templates.
82647 prelink_cmds=$lt_prelink_cmds
82649 # Specify filename containing input files.
82650 file_list_spec=$lt_file_list_spec
82652 # How to hardcode a shared library path into an executable.
82653 hardcode_action=$hardcode_action
82655 # The directories searched by this compiler when creating a shared library.
82656 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82658 # Dependencies to place before and after the objects being linked to
82659 # create a shared library.
82660 predep_objects=$lt_predep_objects
82661 postdep_objects=$lt_postdep_objects
82662 predeps=$lt_predeps
82663 postdeps=$lt_postdeps
82665 # The library search path used internally by the compiler when linking
82666 # a shared library.
82667 compiler_lib_search_path=$lt_compiler_lib_search_path
82669 # ### END LIBTOOL CONFIG
82671 _LT_EOF
82673 case $host_os in
82674 aix3*)
82675 cat <<\_LT_EOF >> "$cfgfile"
82676 # AIX sometimes has problems with the GCC collect2 program. For some
82677 # reason, if we set the COLLECT_NAMES environment variable, the problems
82678 # vanish in a puff of smoke.
82679 if test "X${COLLECT_NAMES+set}" != Xset; then
82680 COLLECT_NAMES=
82681 export COLLECT_NAMES
82683 _LT_EOF
82685 esac
82688 ltmain="$ac_aux_dir/ltmain.sh"
82691 # We use sed instead of cat because bash on DJGPP gets confused if
82692 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82693 # text mode, it properly converts lines to CR/LF. This bash problem
82694 # is reportedly fixed, but why not run on old versions too?
82695 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82696 || (rm -f "$cfgfile"; exit 1)
82698 case $xsi_shell in
82699 yes)
82700 cat << \_LT_EOF >> "$cfgfile"
82702 # func_dirname file append nondir_replacement
82703 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82704 # otherwise set result to NONDIR_REPLACEMENT.
82705 func_dirname ()
82707 case ${1} in
82708 */*) func_dirname_result="${1%/*}${2}" ;;
82709 * ) func_dirname_result="${3}" ;;
82710 esac
82713 # func_basename file
82714 func_basename ()
82716 func_basename_result="${1##*/}"
82719 # func_dirname_and_basename file append nondir_replacement
82720 # perform func_basename and func_dirname in a single function
82721 # call:
82722 # dirname: Compute the dirname of FILE. If nonempty,
82723 # add APPEND to the result, otherwise set result
82724 # to NONDIR_REPLACEMENT.
82725 # value returned in "$func_dirname_result"
82726 # basename: Compute filename of FILE.
82727 # value retuned in "$func_basename_result"
82728 # Implementation must be kept synchronized with func_dirname
82729 # and func_basename. For efficiency, we do not delegate to
82730 # those functions but instead duplicate the functionality here.
82731 func_dirname_and_basename ()
82733 case ${1} in
82734 */*) func_dirname_result="${1%/*}${2}" ;;
82735 * ) func_dirname_result="${3}" ;;
82736 esac
82737 func_basename_result="${1##*/}"
82740 # func_stripname prefix suffix name
82741 # strip PREFIX and SUFFIX off of NAME.
82742 # PREFIX and SUFFIX must not contain globbing or regex special
82743 # characters, hashes, percent signs, but SUFFIX may contain a leading
82744 # dot (in which case that matches only a dot).
82745 func_stripname ()
82747 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82748 # positional parameters, so assign one to ordinary parameter first.
82749 func_stripname_result=${3}
82750 func_stripname_result=${func_stripname_result#"${1}"}
82751 func_stripname_result=${func_stripname_result%"${2}"}
82754 # func_opt_split
82755 func_opt_split ()
82757 func_opt_split_opt=${1%%=*}
82758 func_opt_split_arg=${1#*=}
82761 # func_lo2o object
82762 func_lo2o ()
82764 case ${1} in
82765 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82766 *) func_lo2o_result=${1} ;;
82767 esac
82770 # func_xform libobj-or-source
82771 func_xform ()
82773 func_xform_result=${1%.*}.lo
82776 # func_arith arithmetic-term...
82777 func_arith ()
82779 func_arith_result=$(( $* ))
82782 # func_len string
82783 # STRING may not start with a hyphen.
82784 func_len ()
82786 func_len_result=${#1}
82789 _LT_EOF
82791 *) # Bourne compatible functions.
82792 cat << \_LT_EOF >> "$cfgfile"
82794 # func_dirname file append nondir_replacement
82795 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82796 # otherwise set result to NONDIR_REPLACEMENT.
82797 func_dirname ()
82799 # Extract subdirectory from the argument.
82800 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82801 if test "X$func_dirname_result" = "X${1}"; then
82802 func_dirname_result="${3}"
82803 else
82804 func_dirname_result="$func_dirname_result${2}"
82808 # func_basename file
82809 func_basename ()
82811 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82815 # func_stripname prefix suffix name
82816 # strip PREFIX and SUFFIX off of NAME.
82817 # PREFIX and SUFFIX must not contain globbing or regex special
82818 # characters, hashes, percent signs, but SUFFIX may contain a leading
82819 # dot (in which case that matches only a dot).
82820 # func_strip_suffix prefix name
82821 func_stripname ()
82823 case ${2} in
82824 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82825 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82826 esac
82829 # sed scripts:
82830 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82831 my_sed_long_arg='1s/^-[^=]*=//'
82833 # func_opt_split
82834 func_opt_split ()
82836 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82837 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82840 # func_lo2o object
82841 func_lo2o ()
82843 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82846 # func_xform libobj-or-source
82847 func_xform ()
82849 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82852 # func_arith arithmetic-term...
82853 func_arith ()
82855 func_arith_result=`expr "$@"`
82858 # func_len string
82859 # STRING may not start with a hyphen.
82860 func_len ()
82862 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82865 _LT_EOF
82866 esac
82868 case $lt_shell_append in
82869 yes)
82870 cat << \_LT_EOF >> "$cfgfile"
82872 # func_append var value
82873 # Append VALUE to the end of shell variable VAR.
82874 func_append ()
82876 eval "$1+=\$2"
82878 _LT_EOF
82881 cat << \_LT_EOF >> "$cfgfile"
82883 # func_append var value
82884 # Append VALUE to the end of shell variable VAR.
82885 func_append ()
82887 eval "$1=\$$1\$2"
82890 _LT_EOF
82892 esac
82895 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82896 || (rm -f "$cfgfile"; exit 1)
82898 mv -f "$cfgfile" "$ofile" ||
82899 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82900 chmod +x "$ofile"
82903 cat <<_LT_EOF >> "$ofile"
82905 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82907 # The linker used to build libraries.
82908 LD=$lt_LD_CXX
82910 # How to create reloadable object files.
82911 reload_flag=$lt_reload_flag_CXX
82912 reload_cmds=$lt_reload_cmds_CXX
82914 # Commands used to build an old-style archive.
82915 old_archive_cmds=$lt_old_archive_cmds_CXX
82917 # A language specific compiler.
82918 CC=$lt_compiler_CXX
82920 # Is the compiler the GNU compiler?
82921 with_gcc=$GCC_CXX
82923 # Compiler flag to turn off builtin functions.
82924 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82926 # How to pass a linker flag through the compiler.
82927 wl=$lt_lt_prog_compiler_wl_CXX
82929 # Additional compiler flags for building library objects.
82930 pic_flag=$lt_lt_prog_compiler_pic_CXX
82932 # Compiler flag to prevent dynamic linking.
82933 link_static_flag=$lt_lt_prog_compiler_static_CXX
82935 # Does compiler simultaneously support -c and -o options?
82936 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82938 # Whether or not to add -lc for building shared libraries.
82939 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82941 # Whether or not to disallow shared libs when runtime libs are static.
82942 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82944 # Compiler flag to allow reflexive dlopens.
82945 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82947 # Compiler flag to generate shared objects directly from archives.
82948 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82950 # Whether the compiler copes with passing no objects directly.
82951 compiler_needs_object=$lt_compiler_needs_object_CXX
82953 # Create an old-style archive from a shared archive.
82954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82956 # Create a temporary old-style archive to link instead of a shared archive.
82957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82959 # Commands used to build a shared archive.
82960 archive_cmds=$lt_archive_cmds_CXX
82961 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82963 # Commands used to build a loadable module if different from building
82964 # a shared archive.
82965 module_cmds=$lt_module_cmds_CXX
82966 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82968 # Whether we are building with GNU ld or not.
82969 with_gnu_ld=$lt_with_gnu_ld_CXX
82971 # Flag that allows shared libraries with undefined symbols to be built.
82972 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82974 # Flag that enforces no undefined symbols.
82975 no_undefined_flag=$lt_no_undefined_flag_CXX
82977 # Flag to hardcode \$libdir into a binary during linking.
82978 # This must work even if \$libdir does not exist
82979 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82981 # If ld is used when linking, flag to hardcode \$libdir into a binary
82982 # during linking. This must work even if \$libdir does not exist.
82983 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82985 # Whether we need a single "-rpath" flag with a separated argument.
82986 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82988 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82989 # DIR into the resulting binary.
82990 hardcode_direct=$hardcode_direct_CXX
82992 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82993 # DIR into the resulting binary and the resulting library dependency is
82994 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82995 # library is relocated.
82996 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82998 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82999 # into the resulting binary.
83000 hardcode_minus_L=$hardcode_minus_L_CXX
83002 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83003 # into the resulting binary.
83004 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83006 # Set to "yes" if building a shared library automatically hardcodes DIR
83007 # into the library and all subsequent libraries and executables linked
83008 # against it.
83009 hardcode_automatic=$hardcode_automatic_CXX
83011 # Set to yes if linker adds runtime paths of dependent libraries
83012 # to runtime path list.
83013 inherit_rpath=$inherit_rpath_CXX
83015 # Whether libtool must link a program against all its dependency libraries.
83016 link_all_deplibs=$link_all_deplibs_CXX
83018 # Fix the shell variable \$srcfile for the compiler.
83019 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83021 # Set to "yes" if exported symbols are required.
83022 always_export_symbols=$always_export_symbols_CXX
83024 # The commands to list exported symbols.
83025 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83027 # Symbols that should not be listed in the preloaded symbols.
83028 exclude_expsyms=$lt_exclude_expsyms_CXX
83030 # Symbols that must always be exported.
83031 include_expsyms=$lt_include_expsyms_CXX
83033 # Commands necessary for linking programs (against libraries) with templates.
83034 prelink_cmds=$lt_prelink_cmds_CXX
83036 # Specify filename containing input files.
83037 file_list_spec=$lt_file_list_spec_CXX
83039 # How to hardcode a shared library path into an executable.
83040 hardcode_action=$hardcode_action_CXX
83042 # The directories searched by this compiler when creating a shared library.
83043 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83045 # Dependencies to place before and after the objects being linked to
83046 # create a shared library.
83047 predep_objects=$lt_predep_objects_CXX
83048 postdep_objects=$lt_postdep_objects_CXX
83049 predeps=$lt_predeps_CXX
83050 postdeps=$lt_postdeps_CXX
83052 # The library search path used internally by the compiler when linking
83053 # a shared library.
83054 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
83056 # ### END LIBTOOL TAG CONFIG: CXX
83057 _LT_EOF
83060 "include/gstdint.h":C)
83061 if test "$GCC" = yes; then
83062 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
83063 else
83064 echo "/* generated for $CC */" > tmp-stdint.h
83067 sed 's/^ *//' >> tmp-stdint.h <<EOF
83069 #ifndef GCC_GENERATED_STDINT_H
83070 #define GCC_GENERATED_STDINT_H 1
83072 #include <sys/types.h>
83075 if test "$acx_cv_header_stdint" != stdint.h; then
83076 echo "#include <stddef.h>" >> tmp-stdint.h
83078 if test "$acx_cv_header_stdint" != stddef.h; then
83079 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
83082 sed 's/^ *//' >> tmp-stdint.h <<EOF
83083 /* glibc uses these symbols as guards to prevent redefinitions. */
83084 #ifdef __int8_t_defined
83085 #define _INT8_T
83086 #define _INT16_T
83087 #define _INT32_T
83088 #endif
83089 #ifdef __uint32_t_defined
83090 #define _UINT32_T
83091 #endif
83095 # ----------------- done header, emit basic int types -------------
83096 if test "$acx_cv_header_stdint" = stddef.h; then
83097 sed 's/^ *//' >> tmp-stdint.h <<EOF
83099 #ifndef _UINT8_T
83100 #define _UINT8_T
83101 #ifndef __uint8_t_defined
83102 #define __uint8_t_defined
83103 #ifndef uint8_t
83104 typedef unsigned $acx_cv_type_int8_t uint8_t;
83105 #endif
83106 #endif
83107 #endif
83109 #ifndef _UINT16_T
83110 #define _UINT16_T
83111 #ifndef __uint16_t_defined
83112 #define __uint16_t_defined
83113 #ifndef uint16_t
83114 typedef unsigned $acx_cv_type_int16_t uint16_t;
83115 #endif
83116 #endif
83117 #endif
83119 #ifndef _UINT32_T
83120 #define _UINT32_T
83121 #ifndef __uint32_t_defined
83122 #define __uint32_t_defined
83123 #ifndef uint32_t
83124 typedef unsigned $acx_cv_type_int32_t uint32_t;
83125 #endif
83126 #endif
83127 #endif
83129 #ifndef _INT8_T
83130 #define _INT8_T
83131 #ifndef __int8_t_defined
83132 #define __int8_t_defined
83133 #ifndef int8_t
83134 typedef $acx_cv_type_int8_t int8_t;
83135 #endif
83136 #endif
83137 #endif
83139 #ifndef _INT16_T
83140 #define _INT16_T
83141 #ifndef __int16_t_defined
83142 #define __int16_t_defined
83143 #ifndef int16_t
83144 typedef $acx_cv_type_int16_t int16_t;
83145 #endif
83146 #endif
83147 #endif
83149 #ifndef _INT32_T
83150 #define _INT32_T
83151 #ifndef __int32_t_defined
83152 #define __int32_t_defined
83153 #ifndef int32_t
83154 typedef $acx_cv_type_int32_t int32_t;
83155 #endif
83156 #endif
83157 #endif
83159 elif test "$ac_cv_type_u_int32_t" = yes; then
83160 sed 's/^ *//' >> tmp-stdint.h <<EOF
83162 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
83163 #ifndef _INT8_T
83164 #define _INT8_T
83165 #endif
83166 #ifndef _INT16_T
83167 #define _INT16_T
83168 #endif
83169 #ifndef _INT32_T
83170 #define _INT32_T
83171 #endif
83173 #ifndef _UINT8_T
83174 #define _UINT8_T
83175 #ifndef __uint8_t_defined
83176 #define __uint8_t_defined
83177 #ifndef uint8_t
83178 typedef u_int8_t uint8_t;
83179 #endif
83180 #endif
83181 #endif
83183 #ifndef _UINT16_T
83184 #define _UINT16_T
83185 #ifndef __uint16_t_defined
83186 #define __uint16_t_defined
83187 #ifndef uint16_t
83188 typedef u_int16_t uint16_t;
83189 #endif
83190 #endif
83191 #endif
83193 #ifndef _UINT32_T
83194 #define _UINT32_T
83195 #ifndef __uint32_t_defined
83196 #define __uint32_t_defined
83197 #ifndef uint32_t
83198 typedef u_int32_t uint32_t;
83199 #endif
83200 #endif
83201 #endif
83203 else
83204 sed 's/^ *//' >> tmp-stdint.h <<EOF
83206 /* Some systems have guard macros to prevent redefinitions, define them. */
83207 #ifndef _INT8_T
83208 #define _INT8_T
83209 #endif
83210 #ifndef _INT16_T
83211 #define _INT16_T
83212 #endif
83213 #ifndef _INT32_T
83214 #define _INT32_T
83215 #endif
83216 #ifndef _UINT8_T
83217 #define _UINT8_T
83218 #endif
83219 #ifndef _UINT16_T
83220 #define _UINT16_T
83221 #endif
83222 #ifndef _UINT32_T
83223 #define _UINT32_T
83224 #endif
83228 # ------------- done basic int types, emit int64_t types ------------
83229 if test "$ac_cv_type_uint64_t" = yes; then
83230 sed 's/^ *//' >> tmp-stdint.h <<EOF
83232 /* system headers have good uint64_t and int64_t */
83233 #ifndef _INT64_T
83234 #define _INT64_T
83235 #endif
83236 #ifndef _UINT64_T
83237 #define _UINT64_T
83238 #endif
83240 elif test "$ac_cv_type_u_int64_t" = yes; then
83241 sed 's/^ *//' >> tmp-stdint.h <<EOF
83243 /* system headers have an u_int64_t (and int64_t) */
83244 #ifndef _INT64_T
83245 #define _INT64_T
83246 #endif
83247 #ifndef _UINT64_T
83248 #define _UINT64_T
83249 #ifndef __uint64_t_defined
83250 #define __uint64_t_defined
83251 #ifndef uint64_t
83252 typedef u_int64_t uint64_t;
83253 #endif
83254 #endif
83255 #endif
83257 elif test -n "$acx_cv_type_int64_t"; then
83258 sed 's/^ *//' >> tmp-stdint.h <<EOF
83260 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83261 #ifndef _INT64_T
83262 #define _INT64_T
83263 #ifndef int64_t
83264 typedef $acx_cv_type_int64_t int64_t;
83265 #endif
83266 #endif
83267 #ifndef _UINT64_T
83268 #define _UINT64_T
83269 #ifndef __uint64_t_defined
83270 #define __uint64_t_defined
83271 #ifndef uint64_t
83272 typedef unsigned $acx_cv_type_int64_t uint64_t;
83273 #endif
83274 #endif
83275 #endif
83277 else
83278 sed 's/^ *//' >> tmp-stdint.h <<EOF
83280 /* some common heuristics for int64_t, using compiler-specific tests */
83281 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83282 #ifndef _INT64_T
83283 #define _INT64_T
83284 #ifndef __int64_t_defined
83285 #ifndef int64_t
83286 typedef long long int64_t;
83287 #endif
83288 #endif
83289 #endif
83290 #ifndef _UINT64_T
83291 #define _UINT64_T
83292 #ifndef uint64_t
83293 typedef unsigned long long uint64_t;
83294 #endif
83295 #endif
83297 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83298 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83299 does not implement __extension__. But that compiler doesn't define
83300 __GNUC_MINOR__. */
83301 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83302 # define __extension__
83303 # endif
83305 # ifndef _INT64_T
83306 # define _INT64_T
83307 # ifndef int64_t
83308 __extension__ typedef long long int64_t;
83309 # endif
83310 # endif
83311 # ifndef _UINT64_T
83312 # define _UINT64_T
83313 # ifndef uint64_t
83314 __extension__ typedef unsigned long long uint64_t;
83315 # endif
83316 # endif
83318 #elif !defined __STRICT_ANSI__
83319 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83321 # ifndef _INT64_T
83322 # define _INT64_T
83323 # ifndef int64_t
83324 typedef __int64 int64_t;
83325 # endif
83326 # endif
83327 # ifndef _UINT64_T
83328 # define _UINT64_T
83329 # ifndef uint64_t
83330 typedef unsigned __int64 uint64_t;
83331 # endif
83332 # endif
83333 # endif /* compiler */
83335 #endif /* ANSI version */
83339 # ------------- done int64_t types, emit intptr types ------------
83340 if test "$ac_cv_type_uintptr_t" != yes; then
83341 sed 's/^ *//' >> tmp-stdint.h <<EOF
83343 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83344 #ifndef __uintptr_t_defined
83345 #ifndef uintptr_t
83346 typedef u$acx_cv_type_intptr_t uintptr_t;
83347 #endif
83348 #endif
83349 #ifndef __intptr_t_defined
83350 #ifndef intptr_t
83351 typedef $acx_cv_type_intptr_t intptr_t;
83352 #endif
83353 #endif
83357 # ------------- done intptr types, emit int_least types ------------
83358 if test "$ac_cv_type_int_least32_t" != yes; then
83359 sed 's/^ *//' >> tmp-stdint.h <<EOF
83361 /* Define int_least types */
83362 typedef int8_t int_least8_t;
83363 typedef int16_t int_least16_t;
83364 typedef int32_t int_least32_t;
83365 #ifdef _INT64_T
83366 typedef int64_t int_least64_t;
83367 #endif
83369 typedef uint8_t uint_least8_t;
83370 typedef uint16_t uint_least16_t;
83371 typedef uint32_t uint_least32_t;
83372 #ifdef _UINT64_T
83373 typedef uint64_t uint_least64_t;
83374 #endif
83378 # ------------- done intptr types, emit int_fast types ------------
83379 if test "$ac_cv_type_int_fast32_t" != yes; then
83380 sed 's/^ *//' >> tmp-stdint.h <<EOF
83382 /* Define int_fast types. short is often slow */
83383 typedef int8_t int_fast8_t;
83384 typedef int int_fast16_t;
83385 typedef int32_t int_fast32_t;
83386 #ifdef _INT64_T
83387 typedef int64_t int_fast64_t;
83388 #endif
83390 typedef uint8_t uint_fast8_t;
83391 typedef unsigned int uint_fast16_t;
83392 typedef uint32_t uint_fast32_t;
83393 #ifdef _UINT64_T
83394 typedef uint64_t uint_fast64_t;
83395 #endif
83399 if test "$ac_cv_type_uintmax_t" != yes; then
83400 sed 's/^ *//' >> tmp-stdint.h <<EOF
83402 /* Define intmax based on what we found */
83403 #ifndef intmax_t
83404 #ifdef _INT64_T
83405 typedef int64_t intmax_t;
83406 #else
83407 typedef long intmax_t;
83408 #endif
83409 #endif
83410 #ifndef uintmax_t
83411 #ifdef _UINT64_T
83412 typedef uint64_t uintmax_t;
83413 #else
83414 typedef unsigned long uintmax_t;
83415 #endif
83416 #endif
83420 sed 's/^ *//' >> tmp-stdint.h <<EOF
83422 #endif /* GCC_GENERATED_STDINT_H */
83425 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83426 rm -f tmp-stdint.h
83427 else
83428 mv -f tmp-stdint.h include/gstdint.h
83432 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83433 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83434 "include/Makefile":F) cat > vpsed$$ << \_EOF
83435 s!`test -f '$<' || echo '$(srcdir)/'`!!
83436 _EOF
83437 sed -f vpsed$$ $ac_file > tmp$$
83438 mv tmp$$ $ac_file
83439 rm vpsed$$
83440 echo 'MULTISUBDIR =' >> $ac_file
83441 ml_norecursion=yes
83442 . ${multi_basedir}/config-ml.in
83443 { ml_norecursion=; unset ml_norecursion;}
83445 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83446 s!`test -f '$<' || echo '$(srcdir)/'`!!
83447 _EOF
83448 sed -f vpsed$$ $ac_file > tmp$$
83449 mv tmp$$ $ac_file
83450 rm vpsed$$
83451 echo 'MULTISUBDIR =' >> $ac_file
83452 ml_norecursion=yes
83453 . ${multi_basedir}/config-ml.in
83454 { ml_norecursion=; unset ml_norecursion;}
83456 "src/Makefile":F) cat > vpsed$$ << \_EOF
83457 s!`test -f '$<' || echo '$(srcdir)/'`!!
83458 _EOF
83459 sed -f vpsed$$ $ac_file > tmp$$
83460 mv tmp$$ $ac_file
83461 rm vpsed$$
83462 echo 'MULTISUBDIR =' >> $ac_file
83463 ml_norecursion=yes
83464 . ${multi_basedir}/config-ml.in
83465 { ml_norecursion=; unset ml_norecursion;}
83467 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83468 s!`test -f '$<' || echo '$(srcdir)/'`!!
83469 _EOF
83470 sed -f vpsed$$ $ac_file > tmp$$
83471 mv tmp$$ $ac_file
83472 rm vpsed$$
83473 echo 'MULTISUBDIR =' >> $ac_file
83474 ml_norecursion=yes
83475 . ${multi_basedir}/config-ml.in
83476 { ml_norecursion=; unset ml_norecursion;}
83478 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83479 s!`test -f '$<' || echo '$(srcdir)/'`!!
83480 _EOF
83481 sed -f vpsed$$ $ac_file > tmp$$
83482 mv tmp$$ $ac_file
83483 rm vpsed$$
83484 echo 'MULTISUBDIR =' >> $ac_file
83485 ml_norecursion=yes
83486 . ${multi_basedir}/config-ml.in
83487 { ml_norecursion=; unset ml_norecursion;}
83489 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83490 s!`test -f '$<' || echo '$(srcdir)/'`!!
83491 _EOF
83492 sed -f vpsed$$ $ac_file > tmp$$
83493 mv tmp$$ $ac_file
83494 rm vpsed$$
83495 echo 'MULTISUBDIR =' >> $ac_file
83496 ml_norecursion=yes
83497 . ${multi_basedir}/config-ml.in
83498 { ml_norecursion=; unset ml_norecursion;}
83500 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83501 s!`test -f '$<' || echo '$(srcdir)/'`!!
83502 _EOF
83503 sed -f vpsed$$ $ac_file > tmp$$
83504 mv tmp$$ $ac_file
83505 rm vpsed$$
83506 echo 'MULTISUBDIR =' >> $ac_file
83507 ml_norecursion=yes
83508 . ${multi_basedir}/config-ml.in
83509 { ml_norecursion=; unset ml_norecursion;}
83511 "po/Makefile":F) cat > vpsed$$ << \_EOF
83512 s!`test -f '$<' || echo '$(srcdir)/'`!!
83513 _EOF
83514 sed -f vpsed$$ $ac_file > tmp$$
83515 mv tmp$$ $ac_file
83516 rm vpsed$$
83517 echo 'MULTISUBDIR =' >> $ac_file
83518 ml_norecursion=yes
83519 . ${multi_basedir}/config-ml.in
83520 { ml_norecursion=; unset ml_norecursion;}
83522 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83523 s!`test -f '$<' || echo '$(srcdir)/'`!!
83524 _EOF
83525 sed -f vpsed$$ $ac_file > tmp$$
83526 mv tmp$$ $ac_file
83527 rm vpsed$$
83528 echo 'MULTISUBDIR =' >> $ac_file
83529 ml_norecursion=yes
83530 . ${multi_basedir}/config-ml.in
83531 { ml_norecursion=; unset ml_norecursion;}
83533 "python/Makefile":F) cat > vpsed$$ << \_EOF
83534 s!`test -f '$<' || echo '$(srcdir)/'`!!
83535 _EOF
83536 sed -f vpsed$$ $ac_file > tmp$$
83537 mv tmp$$ $ac_file
83538 rm vpsed$$
83539 echo 'MULTISUBDIR =' >> $ac_file
83540 ml_norecursion=yes
83541 . ${multi_basedir}/config-ml.in
83542 { ml_norecursion=; unset ml_norecursion;}
83544 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83546 esac
83547 done # for ac_tag
83550 as_fn_exit 0
83551 _ACEOF
83552 ac_clean_files=$ac_clean_files_save
83554 test $ac_write_fail = 0 ||
83555 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83558 # configure is writing to config.log, and then calls config.status.
83559 # config.status does its own redirection, appending to config.log.
83560 # Unfortunately, on DOS this fails, as config.log is still kept open
83561 # by configure, so config.status won't be able to write to it; its
83562 # output is simply discarded. So we exec the FD to /dev/null,
83563 # effectively closing config.log, so it can be properly (re)opened and
83564 # appended to by config.status. When coming back to configure, we
83565 # need to make the FD available again.
83566 if test "$no_create" != yes; then
83567 ac_cs_success=:
83568 ac_config_status_args=
83569 test "$silent" = yes &&
83570 ac_config_status_args="$ac_config_status_args --quiet"
83571 exec 5>/dev/null
83572 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83573 exec 5>>config.log
83574 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83575 # would make configure fail if this is the last instruction.
83576 $ac_cs_success || as_fn_exit $?
83578 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83580 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}