* doc/invoke.texi: Update documentation of hppa -mjump-in-delay option.
[official-gcc.git] / libstdc++-v3 / configure
blob3f5fc9a24a1abcd75189c20b84967ae7b4cbc6dc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 ENABLE_VISIBILITY_FALSE
649 ENABLE_VISIBILITY_TRUE
650 libtool_VERSION
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_VTABLE_VERIFY_FALSE
670 ENABLE_VTABLE_VERIFY_TRUE
671 VTV_CXXLINKFLAGS
672 VTV_PCH_CXXFLAGS
673 VTV_CXXFLAGS
674 ENABLE_WERROR_FALSE
675 ENABLE_WERROR_TRUE
676 ENABLE_PYTHONDIR_FALSE
677 ENABLE_PYTHONDIR_TRUE
678 python_mod_dir
679 ENABLE_EXTERN_TEMPLATE_FALSE
680 ENABLE_EXTERN_TEMPLATE_TRUE
681 EXTRA_CXX_FLAGS
682 GLIBCXX_BUILD_DEBUG_FALSE
683 GLIBCXX_BUILD_DEBUG_TRUE
684 DEBUG_FLAGS
685 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
686 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
687 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
688 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
689 GLIBCXX_C_HEADERS_C_STD_FALSE
690 GLIBCXX_C_HEADERS_C_STD_TRUE
691 GLIBCXX_C_HEADERS_C_FALSE
692 GLIBCXX_C_HEADERS_C_TRUE
693 C_INCLUDE_DIR
694 ALLOCATOR_NAME
695 ALLOCATOR_H
696 CLOCALE_INTERNAL_H
697 CLOCALE_CC
698 CTIME_CC
699 CTIME_H
700 CNUMERIC_CC
701 CMONEY_CC
702 CMESSAGES_CC
703 CCTYPE_CC
704 CCOLLATE_CC
705 CCODECVT_CC
706 CMESSAGES_H
707 CLOCALE_H
708 USE_NLS
709 glibcxx_localedir
710 glibcxx_POFILES
711 glibcxx_MOFILES
712 check_msgfmt
713 BASIC_FILE_CC
714 BASIC_FILE_H
715 CSTDIO_H
716 SECTION_FLAGS
717 WERROR
718 thread_header
719 glibcxx_PCHFLAGS
720 GLIBCXX_BUILD_PCH_FALSE
721 GLIBCXX_BUILD_PCH_TRUE
722 GLIBCXX_HOSTED_FALSE
723 GLIBCXX_HOSTED_TRUE
724 glibcxx_compiler_shared_flag
725 glibcxx_compiler_pic_flag
726 glibcxx_lt_pic_flag
727 enable_static
728 enable_shared
729 lt_host_flags
730 CXXCPP
731 OTOOL64
732 OTOOL
733 LIPO
734 NMEDIT
735 DSYMUTIL
736 OBJDUMP
738 ac_ct_DUMPBIN
739 DUMPBIN
741 FGREP
743 LIBTOOL
744 EGREP
745 GREP
747 MAINT
748 MAINTAINER_MODE_FALSE
749 MAINTAINER_MODE_TRUE
750 RANLIB
753 LN_S
754 toplevel_srcdir
755 toplevel_builddir
756 glibcxx_srcdir
757 glibcxx_builddir
758 ac_ct_CXX
759 CXXFLAGS
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
768 am__untar
769 am__tar
770 AMTAR
771 am__leading_dot
772 SET_MAKE
774 mkdir_p
775 MKDIR_P
776 INSTALL_STRIP_PROGRAM
777 STRIP
778 install_sh
779 MAKEINFO
780 AUTOHEADER
781 AUTOMAKE
782 AUTOCONF
783 ACLOCAL
784 VERSION
785 PACKAGE
786 CYGPATH_W
787 am__isrc
788 INSTALL_DATA
789 INSTALL_SCRIPT
790 INSTALL_PROGRAM
791 target_os
792 target_vendor
793 target_cpu
794 target
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 multi_basedir
804 target_alias
805 host_alias
806 build_alias
807 LIBS
808 ECHO_T
809 ECHO_N
810 ECHO_C
811 DEFS
812 mandir
813 localedir
814 libdir
815 psdir
816 pdfdir
817 dvidir
818 htmldir
819 infodir
820 docdir
821 oldincludedir
822 includedir
823 localstatedir
824 sharedstatedir
825 sysconfdir
826 datadir
827 datarootdir
828 libexecdir
829 sbindir
830 bindir
831 program_transform_name
832 prefix
833 exec_prefix
834 PACKAGE_URL
835 PACKAGE_BUGREPORT
836 PACKAGE_STRING
837 PACKAGE_VERSION
838 PACKAGE_TARNAME
839 PACKAGE_NAME
840 PATH_SEPARATOR
841 SHELL'
842 ac_subst_files=''
843 ac_user_opts='
844 enable_option_checking
845 enable_multilib
846 with_target_subdir
847 with_cross_host
848 with_newlib
849 enable_maintainer_mode
850 enable_shared
851 enable_static
852 with_pic
853 enable_fast_install
854 with_gnu_ld
855 enable_libtool_lock
856 enable_hosted_libstdcxx
857 enable_libstdcxx_verbose
858 enable_sjlj_exceptions
859 enable_libstdcxx_pch
860 enable_cstdio
861 enable_clocale
862 enable_nls
863 enable_libstdcxx_allocator
864 enable_cheaders
865 enable_long_long
866 enable_wchar_t
867 enable_c99
868 enable_concept_checks
869 enable_libstdcxx_debug_flags
870 enable_libstdcxx_debug
871 enable_cxx_flags
872 enable_fully_dynamic_string
873 enable_extern_template
874 with_python_dir
875 enable_werror
876 enable_vtable_verify
877 enable_libstdcxx_time
878 enable_tls
879 enable_rpath
880 with_libiconv_prefix
881 with_system_libunwind
882 enable_linux_futex
883 enable_symvers
884 enable_libstdcxx_visibility
885 enable_libstdcxx_cxx11_abi
886 enable_libstdcxx_threads
887 with_gxx_include_dir
888 enable_version_specific_runtime_libs
890 ac_precious_vars='build_alias
891 host_alias
892 target_alias
894 CFLAGS
895 LDFLAGS
896 LIBS
897 CPPFLAGS
899 CXXFLAGS
902 CXXCPP
903 CXXFILT'
906 # Initialize some variables set by options.
907 ac_init_help=
908 ac_init_version=false
909 ac_unrecognized_opts=
910 ac_unrecognized_sep=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
913 cache_file=/dev/null
914 exec_prefix=NONE
915 no_create=
916 no_recursion=
917 prefix=NONE
918 program_prefix=NONE
919 program_suffix=NONE
920 program_transform_name=s,x,x,
921 silent=
922 site=
923 srcdir=
924 verbose=
925 x_includes=NONE
926 x_libraries=NONE
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir='${exec_prefix}/bin'
935 sbindir='${exec_prefix}/sbin'
936 libexecdir='${exec_prefix}/libexec'
937 datarootdir='${prefix}/share'
938 datadir='${datarootdir}'
939 sysconfdir='${prefix}/etc'
940 sharedstatedir='${prefix}/com'
941 localstatedir='${prefix}/var'
942 includedir='${prefix}/include'
943 oldincludedir='/usr/include'
944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir='${datarootdir}/info'
946 htmldir='${docdir}'
947 dvidir='${docdir}'
948 pdfdir='${docdir}'
949 psdir='${docdir}'
950 libdir='${exec_prefix}/lib'
951 localedir='${datarootdir}/locale'
952 mandir='${datarootdir}/man'
954 ac_prev=
955 ac_dashdash=
956 for ac_option
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\$ac_option
961 ac_prev=
962 continue
965 case $ac_option in
966 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 *) ac_optarg=yes ;;
968 esac
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
974 ac_dashdash=yes ;;
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 ac_prev=bindir ;;
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 bindir=$ac_optarg ;;
981 -build | --build | --buil | --bui | --bu)
982 ac_prev=build_alias ;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias=$ac_optarg ;;
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev=cache_file ;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file=$ac_optarg ;;
993 --config-cache | -C)
994 cache_file=config.cache ;;
996 -datadir | --datadir | --datadi | --datad)
997 ac_prev=datadir ;;
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir=$ac_optarg ;;
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev=datarootdir ;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir=$ac_optarg ;;
1008 -disable-* | --disable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval enable_$ac_useropt=no ;;
1024 -docdir | --docdir | --docdi | --doc | --do)
1025 ac_prev=docdir ;;
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir=$ac_optarg ;;
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 ac_prev=dvidir ;;
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir=$ac_optarg ;;
1034 -enable-* | --enable-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error "invalid feature name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "enable_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval enable_$ac_useropt=\$ac_optarg ;;
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev=exec_prefix ;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix=$ac_optarg ;;
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1061 with_gas=yes ;;
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help=long ;;
1065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1066 ac_init_help=recursive ;;
1067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1068 ac_init_help=short ;;
1070 -host | --host | --hos | --ho)
1071 ac_prev=host_alias ;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias=$ac_optarg ;;
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 ac_prev=htmldir ;;
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 | --ht=*)
1079 htmldir=$ac_optarg ;;
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev=includedir ;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir=$ac_optarg ;;
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 ac_prev=infodir ;;
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir=$ac_optarg ;;
1093 -libdir | --libdir | --libdi | --libd)
1094 ac_prev=libdir ;;
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir=$ac_optarg ;;
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev=libexecdir ;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir=$ac_optarg ;;
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev=localedir ;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir=$ac_optarg ;;
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev=localstatedir ;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir=$ac_optarg ;;
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 ac_prev=mandir ;;
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir=$ac_optarg ;;
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1124 with_fp=no ;;
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1128 no_create=yes ;;
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 no_recursion=yes ;;
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev=oldincludedir ;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir=$ac_optarg ;;
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 ac_prev=prefix ;;
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix=$ac_optarg ;;
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev=program_prefix ;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix=$ac_optarg ;;
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev=program_suffix ;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix=$ac_optarg ;;
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 ac_prev=pdfdir ;;
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir=$ac_optarg ;;
1184 -psdir | --psdir | --psdi | --psd | --ps)
1185 ac_prev=psdir ;;
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 psdir=$ac_optarg ;;
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1191 silent=yes ;;
1193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 ac_prev=sbindir ;;
1195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 | --sbi=* | --sb=*)
1197 sbindir=$ac_optarg ;;
1199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1201 | --sharedst | --shareds | --shared | --share | --shar \
1202 | --sha | --sh)
1203 ac_prev=sharedstatedir ;;
1204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 | --sha=* | --sh=*)
1208 sharedstatedir=$ac_optarg ;;
1210 -site | --site | --sit)
1211 ac_prev=site ;;
1212 -site=* | --site=* | --sit=*)
1213 site=$ac_optarg ;;
1215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 ac_prev=srcdir ;;
1217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1218 srcdir=$ac_optarg ;;
1220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1221 | --syscon | --sysco | --sysc | --sys | --sy)
1222 ac_prev=sysconfdir ;;
1223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1225 sysconfdir=$ac_optarg ;;
1227 -target | --target | --targe | --targ | --tar | --ta | --t)
1228 ac_prev=target_alias ;;
1229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1230 target_alias=$ac_optarg ;;
1232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 verbose=yes ;;
1235 -version | --version | --versio | --versi | --vers | -V)
1236 ac_init_version=: ;;
1238 -with-* | --with-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242 as_fn_error "invalid package name: $ac_useropt"
1243 ac_useropt_orig=$ac_useropt
1244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1247 "with_$ac_useropt"
1248 "*) ;;
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1250 ac_unrecognized_sep=', ';;
1251 esac
1252 eval with_$ac_useropt=\$ac_optarg ;;
1254 -without-* | --without-*)
1255 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error "invalid package name: $ac_useropt"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1263 "with_$ac_useropt"
1264 "*) ;;
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1267 esac
1268 eval with_$ac_useropt=no ;;
1270 --x)
1271 # Obsolete; use --with-x.
1272 with_x=yes ;;
1274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1275 | --x-incl | --x-inc | --x-in | --x-i)
1276 ac_prev=x_includes ;;
1277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1279 x_includes=$ac_optarg ;;
1281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1283 ac_prev=x_libraries ;;
1284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1286 x_libraries=$ac_optarg ;;
1288 -*) as_fn_error "unrecognized option: \`$ac_option'
1289 Try \`$0 --help' for more information."
1292 *=*)
1293 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1294 # Reject names that are not valid shell variable names.
1295 case $ac_envvar in #(
1296 '' | [0-9]* | *[!_$as_cr_alnum]* )
1297 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1298 esac
1299 eval $ac_envvar=\$ac_optarg
1300 export $ac_envvar ;;
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1310 esac
1311 done
1313 if test -n "$ac_prev"; then
1314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1315 as_fn_error "missing argument to $ac_option"
1318 if test -n "$ac_unrecognized_opts"; then
1319 case $enable_option_checking in
1320 no) ;;
1321 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 esac
1326 # Check all directory arguments for consistency.
1327 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1332 eval ac_val=\$$ac_var
1333 # Remove trailing slashes.
1334 case $ac_val in
1335 */ )
1336 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\$ac_val;;
1338 esac
1339 # Be sure to have absolute directory names.
1340 case $ac_val in
1341 [\\/$]* | ?:[\\/]* ) continue;;
1342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343 esac
1344 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1345 done
1347 # There might be people who depend on the old broken behavior: `$host'
1348 # used to hold the argument of --host etc.
1349 # FIXME: To remove some day.
1350 build=$build_alias
1351 host=$host_alias
1352 target=$target_alias
1354 # FIXME: To remove some day.
1355 if test "x$host_alias" != x; then
1356 if test "x$build_alias" = x; then
1357 cross_compiling=maybe
1358 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1359 If a cross compiler is detected then cross compile mode will be used." >&2
1360 elif test "x$build_alias" != "x$host_alias"; then
1361 cross_compiling=yes
1365 ac_tool_prefix=
1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1368 test "$silent" = yes && exec 6>/dev/null
1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1372 ac_ls_di=`ls -di .` &&
1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1374 as_fn_error "working directory cannot be determined"
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 as_fn_error "pwd does not report name of working directory"
1379 # Find the source files, if location was not specified.
1380 if test -z "$srcdir"; then
1381 ac_srcdir_defaulted=yes
1382 # Try the directory containing this script, then the parent directory.
1383 ac_confdir=`$as_dirname -- "$as_myself" ||
1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1385 X"$as_myself" : 'X\(//\)[^/]' \| \
1386 X"$as_myself" : 'X\(//\)$' \| \
1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1388 $as_echo X"$as_myself" |
1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 s//\1/
1393 /^X\(\/\/\)[^/].*/{
1394 s//\1/
1397 /^X\(\/\/\)$/{
1398 s//\1/
1401 /^X\(\/\).*/{
1402 s//\1/
1405 s/.*/./; q'`
1406 srcdir=$ac_confdir
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 srcdir=..
1410 else
1411 ac_srcdir_defaulted=no
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1415 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 ac_abs_confdir=`(
1419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1420 pwd)`
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 srcdir=.
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1428 case $srcdir in
1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 esac
1431 for ac_var in $ac_precious_vars; do
1432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_${ac_var}_value=\$${ac_var}
1434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436 done
1439 # Report the --help message.
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1444 cat <<_ACEOF
1445 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1452 Defaults for the options are specified in brackets.
1454 Configuration:
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 [PREFIX]
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1476 For better control, use the options below.
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1498 _ACEOF
1500 cat <<\_ACEOF
1502 Program names:
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1507 System types:
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 --target=TARGET configure for building compilers for TARGET [HOST]
1511 _ACEOF
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of package-unused version-unused:";;
1517 esac
1518 cat <<\_ACEOF
1520 Optional Features:
1521 --disable-option-checking ignore unrecognized --enable/--with options
1522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1524 --enable-multilib build many library versions (default)
1525 --enable-maintainer-mode enable make rules and dependencies not useful
1526 (and sometimes confusing) to the casual installer
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-static[=PKGS] build static libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --disable-hosted-libstdcxx
1533 only build freestanding C++ runtime support
1534 --disable-libstdcxx-verbose
1535 disable termination messages to standard error
1536 --enable-sjlj-exceptions
1537 force use of builtin_setjmp for exceptions
1538 [default=auto]
1539 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1540 [default=$is_hosted]
1541 --enable-cstdio[=PACKAGE]
1542 use target-specific I/O package [default=stdio]
1543 --enable-clocale[=MODEL]
1544 use MODEL for target locale package [default=auto]
1545 --enable-nls use Native Language Support (default)
1546 --enable-libstdcxx-allocator[=KIND]
1547 use KIND for target std::allocator base
1548 [default=auto]
1549 --enable-cheaders[=KIND]
1550 construct "C" headers for g++ [default=$c_model]
1551 --enable-long-long enable template specializations for 'long long'
1552 [default=yes]
1553 --enable-wchar_t enable template specializations for 'wchar_t'
1554 [default=yes]
1555 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1556 --enable-concept-checks use Boost-derived template checks [default=no]
1557 --enable-libstdcxx-debug-flags=FLAGS
1558 pass compiler FLAGS when building debug library
1559 [default="-gdwarf-4 -g3 -O0"]
1560 --enable-libstdcxx-debug
1561 build extra debug library [default=no]
1562 --enable-cxx-flags=FLAGS
1563 pass compiler FLAGS when building library [default=]
1564 --enable-fully-dynamic-string
1565 do not put empty strings in per-process static
1566 memory [default=no]
1567 --enable-extern-template
1568 enable extern template [default=yes]
1569 --enable-werror turns on -Werror [default=yes]
1570 --enable-vtable-verify enable vtable verify [default=no]
1571 --enable-libstdcxx-time[=KIND]
1572 use KIND for check type [default=auto]
1573 --enable-tls Use thread-local storage [default=yes]
1574 --disable-rpath do not hardcode runtime library paths
1575 --enable-linux-futex use the Linux futex system call [default=default]
1576 --enable-symvers[=STYLE]
1577 enables symbol versioning of the shared library
1578 [default=yes]
1579 --enable-libstdcxx-visibility
1580 enables visibility safe usage [default=yes]
1581 --disable-libstdcxx-cxx11-abi
1582 disable the C++11-conforming ABI
1583 --enable-libstdcxx-threads
1584 enable C++11 threads support [default=auto]
1585 --enable-version-specific-runtime-libs
1586 Specify that runtime libraries should be installed
1587 in a compiler-specific directory
1589 Optional Packages:
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-target-subdir=SUBDIR
1593 configuring in a subdirectory
1594 --with-cross-host=HOST configuring with a cross compiler
1595 --with-newlib assume newlib as a system C library
1596 --with-pic try to use only PIC/non-PIC objects [default=use
1597 both]
1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1599 --with-python-dir the location to install Python modules. This path is
1600 relative starting from the prefix.
1601 --with-gnu-ld assume the C compiler uses GNU ld default=no
1602 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1603 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1604 --with-system-libunwind use installed libunwind
1605 --with-gxx-include-dir=DIR
1606 installation directory for include files
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1616 CXX C++ compiler command
1617 CXXFLAGS C++ compiler flags
1618 CPP C preprocessor
1619 CXXCPP C++ preprocessor
1620 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1621 `c++filt', `gc++filt' on PATH.
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1626 Report bugs to the package provider.
1627 _ACEOF
1628 ac_status=$?
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1636 continue
1637 ac_builddir=.
1639 case "$ac_dir" in
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1648 esac ;;
1649 esac
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1655 case $srcdir in
1656 .) # We are building in place.
1657 ac_srcdir=.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1664 *) # Relative name.
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1668 esac
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1674 echo &&
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1677 echo &&
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1679 else
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 fi || ac_status=$?
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1683 done
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1688 cat <<\_ACEOF
1689 package-unused configure version-unused
1690 generated by GNU Autoconf 2.64
1692 Copyright (C) 2009 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1695 _ACEOF
1696 exit
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1711 case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1718 ac_status=$?
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1729 ac_retval=0
1730 else
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=1
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 return $ac_retval
1739 } # ac_fn_c_try_compile
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1749 case "(($ac_try" in
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1756 ac_status=$?
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1767 ac_retval=0
1768 else
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1772 ac_retval=1
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 return $ac_retval
1777 } # ac_fn_cxx_try_compile
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_cpp ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1786 case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1793 ac_status=$?
1794 if test -s conftest.err; then
1795 grep -v '^ *+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } >/dev/null && {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 }; then :
1804 ac_retval=0
1805 else
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=1
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 return $ac_retval
1814 } # ac_fn_c_try_cpp
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_c_try_link ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1824 case "(($ac_try" in
1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1827 esac
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1831 ac_status=$?
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 $as_test_x conftest$ac_exeext
1844 }; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=1
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1860 } # ac_fn_c_try_link
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1877 #include <$2>
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 eval "$3=yes"
1881 else
1882 eval "$3=no"
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 eval ac_res=\$$3
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 } # ac_fn_c_check_header_compile
1893 # ac_fn_c_try_run LINENO
1894 # ----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896 # that executables *can* be run.
1897 ac_fn_c_try_run ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_link"
1901 case "(($ac_try" in
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1904 esac
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>&5
1908 ac_status=$?
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1911 { { case "(($ac_try" in
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1914 esac
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_try") 2>&5
1918 ac_status=$?
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; }; }; then :
1921 ac_retval=0
1922 else
1923 $as_echo "$as_me: program exited with status $ac_status" >&5
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1927 ac_retval=$ac_status
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 return $ac_retval
1933 } # ac_fn_c_try_run
1935 # ac_fn_c_check_func LINENO FUNC VAR
1936 # ----------------------------------
1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1938 ac_fn_c_check_func ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test x$gcc_no_link = xyes; then
1947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1960 #ifdef __STDC__
1961 # include <limits.h>
1962 #else
1963 # include <assert.h>
1964 #endif
1966 #undef $2
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1971 #ifdef __cplusplus
1972 extern "C"
1973 #endif
1974 char $2 ();
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1979 choke me
1980 #endif
1983 main ()
1985 return $2 ();
1987 return 0;
1989 _ACEOF
1990 if ac_fn_c_try_link "$LINENO"; then :
1991 eval "$3=yes"
1992 else
1993 eval "$3=no"
1995 rm -f core conftest.err conftest.$ac_objext \
1996 conftest$ac_exeext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 } # ac_fn_c_check_func
2005 # ac_fn_cxx_try_cpp LINENO
2006 # ------------------------
2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2008 ac_fn_cxx_try_cpp ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 if { { ac_try="$ac_cpp conftest.$ac_ext"
2012 case "(($ac_try" in
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 ac_status=$?
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } >/dev/null && {
2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2028 test ! -s conftest.err
2029 }; then :
2030 ac_retval=0
2031 else
2032 $as_echo "$as_me: failed program was:" >&5
2033 sed 's/^/| /' conftest.$ac_ext >&5
2035 ac_retval=1
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 return $ac_retval
2040 } # ac_fn_cxx_try_cpp
2042 # ac_fn_cxx_try_link LINENO
2043 # -------------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2045 ac_fn_cxx_try_link ()
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 rm -f conftest.$ac_objext conftest$ac_exeext
2049 if { { ac_try="$ac_link"
2050 case "(($ac_try" in
2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052 *) ac_try_echo=$ac_try;;
2053 esac
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>conftest.err
2057 ac_status=$?
2058 if test -s conftest.err; then
2059 grep -v '^ *+' conftest.err >conftest.er1
2060 cat conftest.er1 >&5
2061 mv -f conftest.er1 conftest.err
2063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064 test $ac_status = 0; } && {
2065 test -z "$ac_cxx_werror_flag" ||
2066 test ! -s conftest.err
2067 } && test -s conftest$ac_exeext && {
2068 test "$cross_compiling" = yes ||
2069 $as_test_x conftest$ac_exeext
2070 }; then :
2071 ac_retval=0
2072 else
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2076 ac_retval=1
2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080 # interfere with the next link command; also delete a directory that is
2081 # left behind by Apple's compiler. We do this before executing the actions.
2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2084 return $ac_retval
2086 } # ac_fn_cxx_try_link
2088 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2089 # -------------------------------------------------------
2090 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2091 # the include files in INCLUDES and setting the cache variable VAR
2092 # accordingly.
2093 ac_fn_c_check_header_mongrel ()
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2098 $as_echo_n "checking for $2... " >&6; }
2099 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2100 $as_echo_n "(cached) " >&6
2102 eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 else
2106 # Is the header compilable?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2108 $as_echo_n "checking $2 usability... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2112 #include <$2>
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_header_compiler=yes
2116 else
2117 ac_header_compiler=no
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2121 $as_echo "$ac_header_compiler" >&6; }
2123 # Is the header present?
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2125 $as_echo_n "checking $2 presence... " >&6; }
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 #include <$2>
2129 _ACEOF
2130 if ac_fn_c_try_cpp "$LINENO"; then :
2131 ac_header_preproc=yes
2132 else
2133 ac_header_preproc=no
2135 rm -f conftest.err conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2137 $as_echo "$ac_header_preproc" >&6; }
2139 # So? What about this header?
2140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141 yes:no: )
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2143 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 no:yes:* )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2149 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2151 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2153 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2155 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 esac
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2165 eval "$3=\$ac_header_compiler"
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173 } # ac_fn_c_check_header_mongrel
2175 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2176 # ---------------------------------------------------------
2177 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2178 # the include files in INCLUDES and setting the cache variable VAR
2179 # accordingly.
2180 ac_fn_cxx_check_header_mongrel ()
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 else
2193 # Is the header compilable?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2195 $as_echo_n "checking $2 usability... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2199 #include <$2>
2200 _ACEOF
2201 if ac_fn_cxx_try_compile "$LINENO"; then :
2202 ac_header_compiler=yes
2203 else
2204 ac_header_compiler=no
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2208 $as_echo "$ac_header_compiler" >&6; }
2210 # Is the header present?
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2212 $as_echo_n "checking $2 presence... " >&6; }
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2215 #include <$2>
2216 _ACEOF
2217 if ac_fn_cxx_try_cpp "$LINENO"; then :
2218 ac_header_preproc=yes
2219 else
2220 ac_header_preproc=no
2222 rm -f conftest.err conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2224 $as_echo "$ac_header_preproc" >&6; }
2226 # So? What about this header?
2227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2228 yes:no: )
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2230 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 no:yes:* )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2236 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2238 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2240 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2242 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 esac
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2250 $as_echo_n "(cached) " >&6
2251 else
2252 eval "$3=\$ac_header_compiler"
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2260 } # ac_fn_cxx_check_header_mongrel
2262 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2263 # --------------------------------------------
2264 # Tries to find the compile-time value of EXPR in a program that includes
2265 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2266 # computed
2267 ac_fn_c_compute_int ()
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 if test "$cross_compiling" = yes; then
2271 # Depending upon the size, compute the lo and hi bounds.
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2276 main ()
2278 static int test_array [1 - 2 * !(($2) >= 0)];
2279 test_array [0] = 0
2282 return 0;
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_lo=0 ac_mid=0
2287 while :; do
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2292 main ()
2294 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2295 test_array [0] = 0
2298 return 0;
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_hi=$ac_mid; break
2303 else
2304 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2305 if test $ac_lo -le $ac_mid; then
2306 ac_lo= ac_hi=
2307 break
2309 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 done
2313 else
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2318 main ()
2320 static int test_array [1 - 2 * !(($2) < 0)];
2321 test_array [0] = 0
2324 return 0;
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_hi=-1 ac_mid=-1
2329 while :; do
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2334 main ()
2336 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2337 test_array [0] = 0
2340 return 0;
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 ac_lo=$ac_mid; break
2345 else
2346 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2347 if test $ac_mid -le $ac_hi; then
2348 ac_lo= ac_hi=
2349 break
2351 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 else
2356 ac_lo= ac_hi=
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 # Binary search between lo and hi bounds.
2362 while test "x$ac_lo" != "x$ac_hi"; do
2363 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2368 main ()
2370 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2371 test_array [0] = 0
2374 return 0;
2376 _ACEOF
2377 if ac_fn_c_try_compile "$LINENO"; then :
2378 ac_hi=$ac_mid
2379 else
2380 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 done
2384 case $ac_lo in #((
2385 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2386 '') ac_retval=1 ;;
2387 esac
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2392 static long int longval () { return $2; }
2393 static unsigned long int ulongval () { return $2; }
2394 #include <stdio.h>
2395 #include <stdlib.h>
2397 main ()
2400 FILE *f = fopen ("conftest.val", "w");
2401 if (! f)
2402 return 1;
2403 if (($2) < 0)
2405 long int i = longval ();
2406 if (i != ($2))
2407 return 1;
2408 fprintf (f, "%ld", i);
2410 else
2412 unsigned long int i = ulongval ();
2413 if (i != ($2))
2414 return 1;
2415 fprintf (f, "%lu", i);
2417 /* Do not output a trailing newline, as this causes \r\n confusion
2418 on some platforms. */
2419 return ferror (f) || fclose (f) != 0;
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_run "$LINENO"; then :
2426 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2427 else
2428 ac_retval=1
2430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2431 conftest.$ac_objext conftest.beam conftest.$ac_ext
2432 rm -f conftest.val
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 return $ac_retval
2438 } # ac_fn_c_compute_int
2440 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2441 # -------------------------------------------
2442 # Tests whether TYPE exists after having included INCLUDES, setting cache
2443 # variable VAR accordingly.
2444 ac_fn_c_check_type ()
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=no"
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2457 main ()
2459 if (sizeof ($2))
2460 return 0;
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2470 main ()
2472 if (sizeof (($2)))
2473 return 0;
2475 return 0;
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2480 else
2481 eval "$3=yes"
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 eval ac_res=\$$3
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2492 } # ac_fn_c_check_type
2493 cat >config.log <<_ACEOF
2494 This file contains any messages produced by compilers while
2495 running configure, to aid debugging if configure makes a mistake.
2497 It was created by package-unused $as_me version-unused, which was
2498 generated by GNU Autoconf 2.64. Invocation command line was
2500 $ $0 $@
2502 _ACEOF
2503 exec 5>>config.log
2505 cat <<_ASUNAME
2506 ## --------- ##
2507 ## Platform. ##
2508 ## --------- ##
2510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2527 _ASUNAME
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 $as_echo "PATH: $as_dir"
2535 done
2536 IFS=$as_save_IFS
2538 } >&5
2540 cat >&5 <<_ACEOF
2543 ## ----------- ##
2544 ## Core tests. ##
2545 ## ----------- ##
2547 _ACEOF
2550 # Keep a trace of the command line.
2551 # Strip out --no-create and --no-recursion so they do not pile up.
2552 # Strip out --silent because we don't want to record it for future runs.
2553 # Also quote any args containing shell meta-characters.
2554 # Make two passes to allow for proper duplicate-argument suppression.
2555 ac_configure_args=
2556 ac_configure_args0=
2557 ac_configure_args1=
2558 ac_must_keep_next=false
2559 for ac_pass in 1 2
2561 for ac_arg
2563 case $ac_arg in
2564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2566 | -silent | --silent | --silen | --sile | --sil)
2567 continue ;;
2568 *\'*)
2569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2570 esac
2571 case $ac_pass in
2572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2574 as_fn_append ac_configure_args1 " '$ac_arg'"
2575 if test $ac_must_keep_next = true; then
2576 ac_must_keep_next=false # Got value, back to normal.
2577 else
2578 case $ac_arg in
2579 *=* | --config-cache | -C | -disable-* | --disable-* \
2580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2582 | -with-* | --with-* | -without-* | --without-* | --x)
2583 case "$ac_configure_args0 " in
2584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2585 esac
2587 -* ) ac_must_keep_next=true ;;
2588 esac
2590 as_fn_append ac_configure_args " '$ac_arg'"
2592 esac
2593 done
2594 done
2595 { ac_configure_args0=; unset ac_configure_args0;}
2596 { ac_configure_args1=; unset ac_configure_args1;}
2598 # When interrupted or exit'd, cleanup temporary files, and complete
2599 # config.log. We remove comments because anyway the quotes in there
2600 # would cause problems or look ugly.
2601 # WARNING: Use '\'' to represent an apostrophe within the trap.
2602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2603 trap 'exit_status=$?
2604 # Save into config.log some information that might help in debugging.
2606 echo
2608 cat <<\_ASBOX
2609 ## ---------------- ##
2610 ## Cache variables. ##
2611 ## ---------------- ##
2612 _ASBOX
2613 echo
2614 # The following way of writing the cache mishandles newlines in values,
2616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2617 eval ac_val=\$$ac_var
2618 case $ac_val in #(
2619 *${as_nl}*)
2620 case $ac_var in #(
2621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2623 esac
2624 case $ac_var in #(
2625 _ | IFS | as_nl) ;; #(
2626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2627 *) { eval $ac_var=; unset $ac_var;} ;;
2628 esac ;;
2629 esac
2630 done
2631 (set) 2>&1 |
2632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2633 *${as_nl}ac_space=\ *)
2634 sed -n \
2635 "s/'\''/'\''\\\\'\'''\''/g;
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2637 ;; #(
2639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2641 esac |
2642 sort
2644 echo
2646 cat <<\_ASBOX
2647 ## ----------------- ##
2648 ## Output variables. ##
2649 ## ----------------- ##
2650 _ASBOX
2651 echo
2652 for ac_var in $ac_subst_vars
2654 eval ac_val=\$$ac_var
2655 case $ac_val in
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 esac
2658 $as_echo "$ac_var='\''$ac_val'\''"
2659 done | sort
2660 echo
2662 if test -n "$ac_subst_files"; then
2663 cat <<\_ASBOX
2664 ## ------------------- ##
2665 ## File substitutions. ##
2666 ## ------------------- ##
2667 _ASBOX
2668 echo
2669 for ac_var in $ac_subst_files
2671 eval ac_val=\$$ac_var
2672 case $ac_val in
2673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2674 esac
2675 $as_echo "$ac_var='\''$ac_val'\''"
2676 done | sort
2677 echo
2680 if test -s confdefs.h; then
2681 cat <<\_ASBOX
2682 ## ----------- ##
2683 ## confdefs.h. ##
2684 ## ----------- ##
2685 _ASBOX
2686 echo
2687 cat confdefs.h
2688 echo
2690 test "$ac_signal" != 0 &&
2691 $as_echo "$as_me: caught signal $ac_signal"
2692 $as_echo "$as_me: exit $exit_status"
2693 } >&5
2694 rm -f core *.core core.conftest.* &&
2695 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2696 exit $exit_status
2698 for ac_signal in 1 2 13 15; do
2699 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2700 done
2701 ac_signal=0
2703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2704 rm -f -r conftest* confdefs.h
2706 $as_echo "/* confdefs.h */" > confdefs.h
2708 # Predefined preprocessor variables.
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_NAME "$PACKAGE_NAME"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2720 _ACEOF
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_STRING "$PACKAGE_STRING"
2724 _ACEOF
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2728 _ACEOF
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_URL "$PACKAGE_URL"
2732 _ACEOF
2735 # Let the site file select an alternate cache file if it wants to.
2736 # Prefer an explicitly selected file to automatically selected ones.
2737 ac_site_file1=NONE
2738 ac_site_file2=NONE
2739 if test -n "$CONFIG_SITE"; then
2740 ac_site_file1=$CONFIG_SITE
2741 elif test "x$prefix" != xNONE; then
2742 ac_site_file1=$prefix/share/config.site
2743 ac_site_file2=$prefix/etc/config.site
2744 else
2745 ac_site_file1=$ac_default_prefix/share/config.site
2746 ac_site_file2=$ac_default_prefix/etc/config.site
2748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2750 test "x$ac_site_file" = xNONE && continue
2751 if test -r "$ac_site_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2754 sed 's/^/| /' "$ac_site_file" >&5
2755 . "$ac_site_file"
2757 done
2759 if test -r "$cache_file"; then
2760 # Some versions of bash will fail to source /dev/null (special
2761 # files actually), so we avoid doing that.
2762 if test -f "$cache_file"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2764 $as_echo "$as_me: loading cache $cache_file" >&6;}
2765 case $cache_file in
2766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2767 *) . "./$cache_file";;
2768 esac
2770 else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2772 $as_echo "$as_me: creating cache $cache_file" >&6;}
2773 >$cache_file
2776 # Check that the precious variables saved in the cache have kept the same
2777 # value.
2778 ac_cache_corrupted=false
2779 for ac_var in $ac_precious_vars; do
2780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2781 eval ac_new_set=\$ac_env_${ac_var}_set
2782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2783 eval ac_new_val=\$ac_env_${ac_var}_value
2784 case $ac_old_set,$ac_new_set in
2785 set,)
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2787 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2788 ac_cache_corrupted=: ;;
2789 ,set)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2791 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2792 ac_cache_corrupted=: ;;
2793 ,);;
2795 if test "x$ac_old_val" != "x$ac_new_val"; then
2796 # differences in whitespace do not lead to failure.
2797 ac_old_val_w=`echo x $ac_old_val`
2798 ac_new_val_w=`echo x $ac_new_val`
2799 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2801 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2802 ac_cache_corrupted=:
2803 else
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2805 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2806 eval $ac_var=\$ac_old_val
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2809 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2811 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2812 fi;;
2813 esac
2814 # Pass precious variables to config.status.
2815 if test "$ac_new_set" = set; then
2816 case $ac_new_val in
2817 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2818 *) ac_arg=$ac_var=$ac_new_val ;;
2819 esac
2820 case " $ac_configure_args " in
2821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2822 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2823 esac
2825 done
2826 if $ac_cache_corrupted; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2830 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2831 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2833 ## -------------------- ##
2834 ## Main body of script. ##
2835 ## -------------------- ##
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2848 ac_config_headers="$ac_config_headers config.h"
2851 # This works around the fact that libtool configuration may change LD
2852 # for this particular configuration, but some shells, instead of
2853 # keeping the changes in LD private, export them just because LD is
2854 # exported. Only used at the end of this file.
2855 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2857 # Find the rest of the source tree framework.
2858 # Default to --enable-multilib
2859 # Check whether --enable-multilib was given.
2860 if test "${enable_multilib+set}" = set; then :
2861 enableval=$enable_multilib; case "$enableval" in
2862 yes) multilib=yes ;;
2863 no) multilib=no ;;
2864 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2865 esac
2866 else
2867 multilib=yes
2871 # We may get other options which we leave undocumented:
2872 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2873 # See config-ml.in if you want the gory details.
2875 if test "$srcdir" = "."; then
2876 if test "$with_target_subdir" != "."; then
2877 multi_basedir="$srcdir/$with_multisrctop../.."
2878 else
2879 multi_basedir="$srcdir/$with_multisrctop.."
2881 else
2882 multi_basedir="$srcdir/.."
2886 # Even if the default multilib is not a cross compilation,
2887 # it may be that some of the other multilibs are.
2888 if test $cross_compiling = no && test $multilib = yes \
2889 && test "x${with_multisubdir}" != x ; then
2890 cross_compiling=maybe
2893 ac_config_commands="$ac_config_commands default-1"
2896 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2898 # You will slowly go insane if you do not grok the following fact: when
2899 # building v3 as part of the compiler, the top-level /target/ becomes the
2900 # library's /host/. configure then causes --target to default to --host,
2901 # exactly like any other package using autoconf. Therefore, 'target' and
2902 # 'host' will always be the same. This makes sense both for native and
2903 # cross compilers, just think about it for a little while. :-)
2905 # Also, if v3 is being configured as part of a cross compiler, the top-level
2906 # configure script will pass the "real" host as $with_cross_host.
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 ac_aux_dir=
2911 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2912 for ac_t in install-sh install.sh shtool; do
2913 if test -f "$ac_dir/$ac_t"; then
2914 ac_aux_dir=$ac_dir
2915 ac_install_sh="$ac_aux_dir/$ac_t -c"
2916 break 2
2918 done
2919 done
2920 if test -z "$ac_aux_dir"; then
2921 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2924 # These three variables are undocumented and unsupported,
2925 # and are intended to be withdrawn in a future Autoconf release.
2926 # They can cause serious problems if a builder's source tree is in a directory
2927 # whose full name contains unusual characters.
2928 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2929 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2930 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if test "${ac_cv_build+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2954 *-*-*) ;;
2955 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2956 esac
2957 build=$ac_cv_build
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_build
2960 shift
2961 build_cpu=$1
2962 build_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 build_os=$*
2967 IFS=$ac_save_IFS
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if test "${ac_cv_host+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test "x$host_alias" = x; then
2977 ac_cv_host=$ac_cv_build
2978 else
2979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2986 case $ac_cv_host in
2987 *-*-*) ;;
2988 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2989 esac
2990 host=$ac_cv_host
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_host
2993 shift
2994 host_cpu=$1
2995 host_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 host_os=$*
3000 IFS=$ac_save_IFS
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3005 $as_echo_n "checking target system type... " >&6; }
3006 if test "${ac_cv_target+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test "x$target_alias" = x; then
3010 ac_cv_target=$ac_cv_host
3011 else
3012 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3018 $as_echo "$ac_cv_target" >&6; }
3019 case $ac_cv_target in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3022 esac
3023 target=$ac_cv_target
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_target
3026 shift
3027 target_cpu=$1
3028 target_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 target_os=$*
3033 IFS=$ac_save_IFS
3034 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3037 # The aliases save the names the user supplied, while $host etc.
3038 # will get canonicalized.
3039 test -n "$target_alias" &&
3040 test "$program_prefix$program_suffix$program_transform_name" = \
3041 NONENONEs,x,x, &&
3042 program_prefix=${target_alias}-
3044 target_alias=${target_alias-$host_alias}
3046 # Handy for debugging:
3047 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3049 if test "$build" != "$host"; then
3050 # We are being configured with some form of cross compiler.
3051 GLIBCXX_IS_NATIVE=false
3052 case "$host","$target" in
3053 # Darwin crosses can use the host system's libraries and headers,
3054 # because of the fat library support. Of course, it must be the
3055 # same version of Darwin on both sides. Allow the user to
3056 # just say --target=foo-darwin without a version number to mean
3057 # "the version on this system".
3058 *-*-darwin*,*-*-darwin*)
3059 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3060 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3061 if test $hostos = $targetos -o $targetos = darwin ; then
3062 GLIBCXX_IS_NATIVE=true
3069 esac
3070 else
3071 GLIBCXX_IS_NATIVE=true
3074 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3075 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3076 # 1.x: minimum required version
3077 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3078 # of other PACKAGE_* variables will, however, and there's nothing
3079 # we can do about that; they come from AC_INIT).
3080 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3081 # file in the top srcdir, etc, etc), so stop complaining.
3082 # no-dependencies: turns off auto dependency generation (just for now)
3083 # no-dist: we don't want 'dist' and related rules.
3084 # -Wall: turns on all automake warnings...
3085 # -Wno-portability: ...except this one, since GNU make is now required.
3086 am__api_version='1.11'
3088 # Find a good install program. We prefer a C program (faster),
3089 # so one script is as good as another. But avoid the broken or
3090 # incompatible versions:
3091 # SysV /etc/install, /usr/sbin/install
3092 # SunOS /usr/etc/install
3093 # IRIX /sbin/install
3094 # AIX /bin/install
3095 # AmigaOS /C/install, which installs bootblocks on floppy discs
3096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3099 # OS/2's system install, which has a completely different semantic
3100 # ./install, which can be erroneously created by make from ./install.sh.
3101 # Reject install programs that cannot install multiple files.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3103 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3104 if test -z "$INSTALL"; then
3105 if test "${ac_cv_path_install+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 # Account for people who put trailing slashes in PATH elements.
3114 case $as_dir/ in #((
3115 ./ | .// | /[cC]/* | \
3116 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3117 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3118 /usr/ucb/* ) ;;
3120 # OSF1 and SCO ODT 3.0 have their own names for install.
3121 # Don't use installbsd from OSF since it installs stuff as root
3122 # by default.
3123 for ac_prog in ginstall scoinst install; do
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3126 if test $ac_prog = install &&
3127 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 # AIX install. It has an incompatible calling convention.
3130 elif test $ac_prog = install &&
3131 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3132 # program-specific install script used by HP pwplus--don't use.
3134 else
3135 rm -rf conftest.one conftest.two conftest.dir
3136 echo one > conftest.one
3137 echo two > conftest.two
3138 mkdir conftest.dir
3139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3140 test -s conftest.one && test -s conftest.two &&
3141 test -s conftest.dir/conftest.one &&
3142 test -s conftest.dir/conftest.two
3143 then
3144 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3145 break 3
3149 done
3150 done
3152 esac
3154 done
3155 IFS=$as_save_IFS
3157 rm -rf conftest.one conftest.two conftest.dir
3160 if test "${ac_cv_path_install+set}" = set; then
3161 INSTALL=$ac_cv_path_install
3162 else
3163 # As a last resort, use the slow shell script. Don't cache a
3164 # value for INSTALL within a source directory, because that will
3165 # break other packages using the cache if that directory is
3166 # removed, or if the value is a relative name.
3167 INSTALL=$ac_install_sh
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3171 $as_echo "$INSTALL" >&6; }
3173 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3174 # It thinks the first close brace ends the variable substitution.
3175 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3177 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3179 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3182 $as_echo_n "checking whether build environment is sane... " >&6; }
3183 # Just in case
3184 sleep 1
3185 echo timestamp > conftest.file
3186 # Reject unsafe characters in $srcdir or the absolute working directory
3187 # name. Accept space and tab only in the latter.
3188 am_lf='
3190 case `pwd` in
3191 *[\\\"\#\$\&\'\`$am_lf]*)
3192 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3193 esac
3194 case $srcdir in
3195 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3196 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3197 esac
3199 # Do `set' in a subshell so we don't clobber the current shell's
3200 # arguments. Must try -L first in case configure is actually a
3201 # symlink; some systems play weird games with the mod time of symlinks
3202 # (eg FreeBSD returns the mod time of the symlink's containing
3203 # directory).
3204 if (
3205 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3206 if test "$*" = "X"; then
3207 # -L didn't work.
3208 set X `ls -t "$srcdir/configure" conftest.file`
3210 rm -f conftest.file
3211 if test "$*" != "X $srcdir/configure conftest.file" \
3212 && test "$*" != "X conftest.file $srcdir/configure"; then
3214 # If neither matched, then we have a broken ls. This can happen
3215 # if, for instance, CONFIG_SHELL is bash and it inherits a
3216 # broken ls alias from the environment. This has actually
3217 # happened. Such a system could not be considered "sane".
3218 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3219 alias in your environment" "$LINENO" 5
3222 test "$2" = conftest.file
3224 then
3225 # Ok.
3227 else
3228 as_fn_error "newly created file is older than distributed files!
3229 Check your system clock" "$LINENO" 5
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 test "$program_prefix" != NONE &&
3234 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3235 # Use a double $ so make ignores it.
3236 test "$program_suffix" != NONE &&
3237 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3238 # Double any \ or $.
3239 # By default was `s,x,x', remove it if useless.
3240 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3241 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3243 # expand $ac_aux_dir to an absolute path
3244 am_aux_dir=`cd $ac_aux_dir && pwd`
3246 if test x"${MISSING+set}" != xset; then
3247 case $am_aux_dir in
3248 *\ * | *\ *)
3249 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3251 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3252 esac
3254 # Use eval to expand $SHELL
3255 if eval "$MISSING --run true"; then
3256 am_missing_run="$MISSING --run "
3257 else
3258 am_missing_run=
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3260 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3263 if test x"${install_sh}" != xset; then
3264 case $am_aux_dir in
3265 *\ * | *\ *)
3266 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3268 install_sh="\${SHELL} $am_aux_dir/install-sh"
3269 esac
3272 # Installed binaries are usually stripped using `strip' when the user
3273 # run `make install-strip'. However `strip' might not be the right
3274 # tool to use in cross-compilation environments, therefore Automake
3275 # will honor the `STRIP' environment variable to overrule this program.
3276 if test "$cross_compiling" != no; then
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}strip; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_STRIP+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$STRIP"; then
3286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3299 done
3300 done
3301 IFS=$as_save_IFS
3305 STRIP=$ac_cv_prog_STRIP
3306 if test -n "$STRIP"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3308 $as_echo "$STRIP" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3316 if test -z "$ac_cv_prog_STRIP"; then
3317 ac_ct_STRIP=$STRIP
3318 # Extract the first word of "strip", so it can be a program name with args.
3319 set dummy strip; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 if test -n "$ac_ct_STRIP"; then
3326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3331 IFS=$as_save_IFS
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 ac_cv_prog_ac_ct_STRIP="strip"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 break 2
3339 done
3340 done
3341 IFS=$as_save_IFS
3345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3346 if test -n "$ac_ct_STRIP"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3348 $as_echo "$ac_ct_STRIP" >&6; }
3349 else
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3354 if test "x$ac_ct_STRIP" = x; then
3355 STRIP=":"
3356 else
3357 case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363 STRIP=$ac_ct_STRIP
3365 else
3366 STRIP="$ac_cv_prog_STRIP"
3370 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3373 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3374 if test -z "$MKDIR_P"; then
3375 if test "${ac_cv_path_mkdir+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_prog in mkdir gmkdir; do
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3386 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3387 'mkdir (GNU coreutils) '* | \
3388 'mkdir (coreutils) '* | \
3389 'mkdir (fileutils) '4.1*)
3390 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3391 break 3;;
3392 esac
3393 done
3394 done
3395 done
3396 IFS=$as_save_IFS
3400 if test "${ac_cv_path_mkdir+set}" = set; then
3401 MKDIR_P="$ac_cv_path_mkdir -p"
3402 else
3403 # As a last resort, use the slow shell script. Don't cache a
3404 # value for MKDIR_P within a source directory, because that will
3405 # break other packages using the cache if that directory is
3406 # removed, or if the value is a relative name.
3407 test -d ./--version && rmdir ./--version
3408 MKDIR_P="$ac_install_sh -d"
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3412 $as_echo "$MKDIR_P" >&6; }
3414 mkdir_p="$MKDIR_P"
3415 case $mkdir_p in
3416 [\\/$]* | ?:[\\/]*) ;;
3417 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3418 esac
3420 for ac_prog in gawk mawk nawk awk
3422 # Extract the first word of "$ac_prog", so it can be a program name with args.
3423 set dummy $ac_prog; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_AWK+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test -n "$AWK"; then
3430 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_AWK="$ac_prog"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 break 2
3443 done
3444 done
3445 IFS=$as_save_IFS
3449 AWK=$ac_cv_prog_AWK
3450 if test -n "$AWK"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3452 $as_echo "$AWK" >&6; }
3453 else
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3459 test -n "$AWK" && break
3460 done
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3464 set x ${MAKE-make}
3465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3467 $as_echo_n "(cached) " >&6
3468 else
3469 cat >conftest.make <<\_ACEOF
3470 SHELL = /bin/sh
3471 all:
3472 @echo '@@@%%%=$(MAKE)=@@@%%%'
3473 _ACEOF
3474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3476 *@@@%%%=?*=@@@%%%*)
3477 eval ac_cv_prog_make_${ac_make}_set=yes;;
3479 eval ac_cv_prog_make_${ac_make}_set=no;;
3480 esac
3481 rm -f conftest.make
3483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3486 SET_MAKE=
3487 else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3490 SET_MAKE="MAKE=${MAKE-make}"
3493 rm -rf .tst 2>/dev/null
3494 mkdir .tst 2>/dev/null
3495 if test -d .tst; then
3496 am__leading_dot=.
3497 else
3498 am__leading_dot=_
3500 rmdir .tst 2>/dev/null
3502 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3503 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3504 # is not polluted with repeated "-I."
3505 am__isrc=' -I$(srcdir)'
3506 # test to see if srcdir already configured
3507 if test -f $srcdir/config.status; then
3508 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3512 # test whether we have cygpath
3513 if test -z "$CYGPATH_W"; then
3514 if (cygpath --version) >/dev/null 2>/dev/null; then
3515 CYGPATH_W='cygpath -w'
3516 else
3517 CYGPATH_W=echo
3522 # Define the identity of the package.
3523 PACKAGE='libstdc++'
3524 VERSION='version-unused'
3527 # Some tools Automake needs.
3529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3543 # We need awk for the "check" target. The system "awk" is bad on
3544 # some platforms.
3545 # Always define AMTAR for backward compatibility.
3547 AMTAR=${AMTAR-"${am_missing_run}tar"}
3549 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3558 # -fno-builtin must be present here so that a non-conflicting form of
3559 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3561 save_CXXFLAGS="$CXXFLAGS"
3562 CXXFLAGS="$CXXFLAGS -fno-builtin"
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2
3590 done
3591 done
3592 IFS=$as_save_IFS
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3607 if test -z "$ac_cv_prog_CC"; then
3608 ac_ct_CC=$CC
3609 # Extract the first word of "gcc", so it can be a program name with args.
3610 set dummy gcc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$ac_ct_CC"; then
3617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_ac_ct_CC="gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3630 done
3631 done
3632 IFS=$as_save_IFS
3636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3637 if test -n "$ac_ct_CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3639 $as_echo "$ac_ct_CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3645 if test "x$ac_ct_CC" = x; then
3646 CC=""
3647 else
3648 case $cross_compiling:$ac_tool_warned in
3649 yes:)
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652 ac_tool_warned=yes ;;
3653 esac
3654 CC=$ac_ct_CC
3656 else
3657 CC="$ac_cv_prog_CC"
3660 if test -z "$CC"; then
3661 if test -n "$ac_tool_prefix"; then
3662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3663 set dummy ${ac_tool_prefix}cc; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_CC+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3668 else
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3675 IFS=$as_save_IFS
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_CC="${ac_tool_prefix}cc"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 break 2
3683 done
3684 done
3685 IFS=$as_save_IFS
3689 CC=$ac_cv_prog_CC
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3693 else
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3701 if test -z "$CC"; then
3702 # Extract the first word of "cc", so it can be a program name with args.
3703 set dummy cc; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 ac_prog_rejected=no
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3721 ac_prog_rejected=yes
3722 continue
3724 ac_cv_prog_CC="cc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3728 done
3729 done
3730 IFS=$as_save_IFS
3732 if test $ac_prog_rejected = yes; then
3733 # We found a bogon in the path, so make sure we never use it.
3734 set dummy $ac_cv_prog_CC
3735 shift
3736 if test $# != 0; then
3737 # We chose a different compiler from the bogus one.
3738 # However, it has the same basename, so the bogon will be chosen
3739 # first if we set CC to just the basename; use the full file name.
3740 shift
3741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3746 CC=$ac_cv_prog_CC
3747 if test -n "$CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3749 $as_echo "$CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3757 if test -z "$CC"; then
3758 if test -n "$ac_tool_prefix"; then
3759 for ac_prog in cl.exe
3761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_CC+set}" = set; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3774 IFS=$as_save_IFS
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3782 done
3783 done
3784 IFS=$as_save_IFS
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3798 test -n "$CC" && break
3799 done
3801 if test -z "$CC"; then
3802 ac_ct_CC=$CC
3803 for ac_prog in cl.exe
3805 # Extract the first word of "$ac_prog", so it can be a program name with args.
3806 set dummy $ac_prog; ac_word=$2
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3808 $as_echo_n "checking for $ac_word... " >&6; }
3809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 if test -n "$ac_ct_CC"; then
3813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3814 else
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_ac_ct_CC="$ac_prog"
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3826 done
3827 done
3828 IFS=$as_save_IFS
3832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3833 if test -n "$ac_ct_CC"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3835 $as_echo "$ac_ct_CC" >&6; }
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3842 test -n "$ac_ct_CC" && break
3843 done
3845 if test "x$ac_ct_CC" = x; then
3846 CC=""
3847 else
3848 case $cross_compiling:$ac_tool_warned in
3849 yes:)
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3852 ac_tool_warned=yes ;;
3853 esac
3854 CC=$ac_ct_CC
3861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error "no acceptable C compiler found in \$PATH
3864 See \`config.log' for more details." "$LINENO" 5; }
3866 # Provide some information about the compiler.
3867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3868 set X $ac_compile
3869 ac_compiler=$2
3870 for ac_option in --version -v -V -qversion; do
3871 { { ac_try="$ac_compiler $ac_option >&5"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3879 ac_status=$?
3880 if test -s conftest.err; then
3881 sed '10a\
3882 ... rest of stderr output deleted ...
3883 10q' conftest.err >conftest.er1
3884 cat conftest.er1 >&5
3885 rm -f conftest.er1 conftest.err
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 done
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3895 main ()
3899 return 0;
3901 _ACEOF
3902 # FIXME: Cleanup?
3903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3904 (eval $ac_link) 2>&5
3905 ac_status=$?
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }; then :
3908 gcc_no_link=no
3909 else
3910 gcc_no_link=yes
3912 if test x$gcc_no_link = xyes; then
3913 # Setting cross_compile will disable run tests; it will
3914 # also disable AC_CHECK_FILE but that's generally
3915 # correct if we can't link.
3916 cross_compiling=yes
3917 EXEEXT=
3918 else
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 main ()
3927 return 0;
3929 _ACEOF
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3934 # of exeext.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3936 $as_echo_n "checking for C compiler default output file name... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3942 ac_rmfiles=
3943 for ac_file in $ac_files
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 esac
3949 done
3950 rm -f $ac_rmfiles
3952 if { { ac_try="$ac_link_default"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3960 ac_status=$?
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3967 # Autoconf.
3968 for ac_file in $ac_files ''
3970 test -f "$ac_file" || continue
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3974 [ab].out )
3975 # We found the default executable, but exeext='' is most
3976 # certainly right.
3977 break;;
3978 *.* )
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3980 then :; else
3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3987 # actually working.
3988 break;;
3990 break;;
3991 esac
3992 done
3993 test "$ac_cv_exeext" = no && ac_cv_exeext=
3995 else
3996 ac_file=''
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3999 $as_echo "$ac_file" >&6; }
4000 if test -z "$ac_file"; then :
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 { as_fn_set_status 77
4007 as_fn_error "C compiler cannot create executables
4008 See \`config.log' for more details." "$LINENO" 5; }; }
4010 ac_exeext=$ac_cv_exeext
4012 # Check that the compiler produces executables we can run. If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4015 $as_echo_n "checking whether the C compiler works... " >&6; }
4016 # If not cross compiling, check that we can run a simple program.
4017 if test "$cross_compiling" != yes; then
4018 if { ac_try='./$ac_file'
4019 { { case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; }; then
4029 cross_compiling=no
4030 else
4031 if test "$cross_compiling" = maybe; then
4032 cross_compiling=yes
4033 else
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error "cannot run C compiled programs.
4037 If you meant to cross compile, use \`--host'.
4038 See \`config.log' for more details." "$LINENO" 5; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4045 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4046 ac_clean_files=$ac_clean_files_save
4047 # Check that the compiler produces executables we can run. If not, either
4048 # the compiler is broken, or we cross compile.
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4050 $as_echo_n "checking whether we are cross compiling... " >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4055 $as_echo_n "checking for suffix of executables... " >&6; }
4056 if { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4068 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4069 # work properly (i.e., refer to `conftest.exe'), while it won't with
4070 # `rm'.
4071 for ac_file in conftest.exe conftest conftest.*; do
4072 test -f "$ac_file" || continue
4073 case $ac_file in
4074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4075 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076 break;;
4077 * ) break;;
4078 esac
4079 done
4080 else
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of executables: cannot compile and link
4084 See \`config.log' for more details." "$LINENO" 5; }
4086 rm -f conftest$ac_cv_exeext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4088 $as_echo "$ac_cv_exeext" >&6; }
4090 rm -f conftest.$ac_ext
4091 EXEEXT=$ac_cv_exeext
4092 ac_exeext=$EXEEXT
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if test "${ac_cv_objext+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try="$ac_compile"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4127 break;;
4128 esac
4129 done
4130 else
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error "cannot compute suffix of object files: cannot compile
4137 See \`config.log' for more details." "$LINENO" 5; }
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4144 ac_objext=$OBJEXT
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4154 main ()
4156 #ifndef __GNUC__
4157 choke me
4158 #endif
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_compiler_gnu=yes
4166 else
4167 ac_compiler_gnu=no
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cc_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 ac_cv_prog_cc_g=no
4190 CFLAGS="-g"
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_prog_cc_g=yes
4204 else
4205 CFLAGS=""
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 main ()
4214 return 0;
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4219 else
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4249 CFLAGS="-g -O2"
4250 else
4251 CFLAGS="-g"
4253 else
4254 if test "$GCC" = yes; then
4255 CFLAGS="-O2"
4256 else
4257 CFLAGS=
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_cv_prog_cc_c89=no
4266 ac_save_CC=$CC
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <stdarg.h>
4270 #include <stdio.h>
4271 #include <sys/types.h>
4272 #include <sys/stat.h>
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4277 char **p;
4278 int i;
4280 return p[i];
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4284 char *s;
4285 va_list v;
4286 va_start (v,p);
4287 s = g (p, va_arg (v,int));
4288 va_end (v);
4289 return s;
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4303 #define FOO(x) 'x'
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4310 int argc;
4311 char **argv;
4313 main ()
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4317 return 0;
4319 _ACEOF
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 done
4330 rm -f conftest.$ac_ext
4331 CC=$ac_save_CC
4334 # AC_CACHE_VAL
4335 case "x$ac_cv_prog_cc_c89" in
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4339 xno)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 esac
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 ac_ext=cpp
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4364 CXX=$CCC
4365 else
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CXX+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4390 done
4391 done
4392 IFS=$as_save_IFS
4396 CXX=$ac_cv_prog_CXX
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CXX" && break
4407 done
4409 if test -z "$CXX"; then
4410 ac_ct_CXX=$CXX
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4434 done
4435 done
4436 IFS=$as_save_IFS
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CXX" && break
4451 done
4453 if test "x$ac_ct_CXX" = x; then
4454 CXX="g++"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CXX=$ac_ct_CXX
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4470 set X $ac_compile
4471 ac_compiler=$2
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 ac_status=$?
4482 if test -s conftest.err; then
4483 sed '10a\
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4491 done
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4502 main ()
4504 #ifndef __GNUC__
4505 choke me
4506 #endif
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_compiler_gnu=yes
4514 else
4515 ac_compiler_gnu=no
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4524 GXX=yes
4525 else
4526 GXX=
4528 ac_test_CXXFLAGS=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag=yes
4537 ac_cv_prog_cxx_g=no
4538 CXXFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_cv_prog_cxx_g=yes
4552 else
4553 CXXFLAGS=""
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 else
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4574 main ()
4578 return 0;
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4597 CXXFLAGS="-g -O2"
4598 else
4599 CXXFLAGS="-g"
4601 else
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-O2"
4604 else
4605 CXXFLAGS=
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614 CXXFLAGS="$save_CXXFLAGS"
4616 # Runs configure.host, and assorted other critical bits. Sets
4617 # up critical shell variables.
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4625 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4626 # On Suns, sometimes $CPP names a directory.
4627 if test -n "$CPP" && test -d "$CPP"; then
4628 CPP=
4630 if test -z "$CPP"; then
4631 if test "${ac_cv_prog_CPP+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 # Double quotes because CPP needs to be expanded
4635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4637 ac_preproc_ok=false
4638 for ac_c_preproc_warn_flag in '' yes
4640 # Use a header file that comes with gcc, so configuring glibc
4641 # with a fresh cross-compiler works.
4642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 # <limits.h> exists even on freestanding compilers.
4644 # On the NeXT, cc -E runs the code through the compiler's parser,
4645 # not just through cpp. "Syntax error" is here to catch this case.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #ifdef __STDC__
4649 # include <limits.h>
4650 #else
4651 # include <assert.h>
4652 #endif
4653 Syntax error
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4657 else
4658 # Broken: fails on valid input.
4659 continue
4661 rm -f conftest.err conftest.$ac_ext
4663 # OK, works on sane cases. Now check whether nonexistent headers
4664 # can be detected and how.
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #include <ac_nonexistent.h>
4668 _ACEOF
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4670 # Broken: success on invalid input.
4671 continue
4672 else
4673 # Passes both tests.
4674 ac_preproc_ok=:
4675 break
4677 rm -f conftest.err conftest.$ac_ext
4679 done
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.$ac_ext
4682 if $ac_preproc_ok; then :
4683 break
4686 done
4687 ac_cv_prog_CPP=$CPP
4690 CPP=$ac_cv_prog_CPP
4691 else
4692 ac_cv_prog_CPP=$CPP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4695 $as_echo "$CPP" >&6; }
4696 ac_preproc_ok=false
4697 for ac_c_preproc_warn_flag in '' yes
4699 # Use a header file that comes with gcc, so configuring glibc
4700 # with a fresh cross-compiler works.
4701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702 # <limits.h> exists even on freestanding compilers.
4703 # On the NeXT, cc -E runs the code through the compiler's parser,
4704 # not just through cpp. "Syntax error" is here to catch this case.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #ifdef __STDC__
4708 # include <limits.h>
4709 #else
4710 # include <assert.h>
4711 #endif
4712 Syntax error
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4716 else
4717 # Broken: fails on valid input.
4718 continue
4720 rm -f conftest.err conftest.$ac_ext
4722 # OK, works on sane cases. Now check whether nonexistent headers
4723 # can be detected and how.
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4729 # Broken: success on invalid input.
4730 continue
4731 else
4732 # Passes both tests.
4733 ac_preproc_ok=:
4734 break
4736 rm -f conftest.err conftest.$ac_ext
4738 done
4739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4740 rm -f conftest.err conftest.$ac_ext
4741 if $ac_preproc_ok; then :
4743 else
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4747 See \`config.log' for more details." "$LINENO" 5; }
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4758 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4759 if test "${ac_cv_path_GREP+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -z "$GREP"; then
4763 ac_path_GREP_found=false
4764 # Loop through the user's path and test for each of PROGNAME-LIST
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_prog in grep ggrep; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4773 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4774 # Check for GNU ac_path_GREP and select it if it is found.
4775 # Check for GNU $ac_path_GREP
4776 case `"$ac_path_GREP" --version 2>&1` in
4777 *GNU*)
4778 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4780 ac_count=0
4781 $as_echo_n 0123456789 >"conftest.in"
4782 while :
4784 cat "conftest.in" "conftest.in" >"conftest.tmp"
4785 mv "conftest.tmp" "conftest.in"
4786 cp "conftest.in" "conftest.nl"
4787 $as_echo 'GREP' >> "conftest.nl"
4788 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4789 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4790 as_fn_arith $ac_count + 1 && ac_count=$as_val
4791 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4792 # Best one so far, save it but keep looking for a better one
4793 ac_cv_path_GREP="$ac_path_GREP"
4794 ac_path_GREP_max=$ac_count
4796 # 10*(2^10) chars as input seems more than enough
4797 test $ac_count -gt 10 && break
4798 done
4799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 esac
4802 $ac_path_GREP_found && break 3
4803 done
4804 done
4805 done
4806 IFS=$as_save_IFS
4807 if test -z "$ac_cv_path_GREP"; then
4808 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4810 else
4811 ac_cv_path_GREP=$GREP
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4816 $as_echo "$ac_cv_path_GREP" >&6; }
4817 GREP="$ac_cv_path_GREP"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4821 $as_echo_n "checking for egrep... " >&6; }
4822 if test "${ac_cv_path_EGREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4826 then ac_cv_path_EGREP="$GREP -E"
4827 else
4828 if test -z "$EGREP"; then
4829 ac_path_EGREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in egrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4840 # Check for GNU ac_path_EGREP and select it if it is found.
4841 # Check for GNU $ac_path_EGREP
4842 case `"$ac_path_EGREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'EGREP' >> "conftest.nl"
4854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_EGREP="$ac_path_EGREP"
4860 ac_path_EGREP_max=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4868 $ac_path_EGREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_EGREP"; then
4874 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 else
4877 ac_cv_path_EGREP=$EGREP
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4883 $as_echo "$ac_cv_path_EGREP" >&6; }
4884 EGREP="$ac_cv_path_EGREP"
4888 # Keep these sync'd with the list in Makefile.am. The first provides an
4889 # expandable list at autoconf time; the second provides an expandable list
4890 # (i.e., shell variable) at configure time.
4892 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4894 # These need to be absolute paths, yet at the same time need to
4895 # canonicalize only relative paths, because then amd will not unmount
4896 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4897 glibcxx_builddir=`${PWDCMD-pwd}`
4898 case $srcdir in
4899 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4900 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4901 esac
4902 toplevel_builddir=${glibcxx_builddir}/..
4903 toplevel_srcdir=${glibcxx_srcdir}/..
4909 # We use these options to decide which functions to include. They are
4910 # set from the top level.
4912 # Check whether --with-target-subdir was given.
4913 if test "${with_target_subdir+set}" = set; then :
4914 withval=$with_target_subdir;
4919 # Check whether --with-cross-host was given.
4920 if test "${with_cross_host+set}" = set; then :
4921 withval=$with_cross_host;
4926 # Check whether --with-newlib was given.
4927 if test "${with_newlib+set}" = set; then :
4928 withval=$with_newlib;
4932 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4933 # available). Uncomment the next line to force a particular method.
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4936 LN_S=$as_ln_s
4937 if test "$LN_S" = "ln -s"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4945 #LN_S='cp -p'
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4949 set dummy ${ac_tool_prefix}as; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_AS+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$AS"; then
4956 ac_cv_prog_AS="$AS" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_AS="${ac_tool_prefix}as"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4971 IFS=$as_save_IFS
4975 AS=$ac_cv_prog_AS
4976 if test -n "$AS"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4978 $as_echo "$AS" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4986 if test -z "$ac_cv_prog_AS"; then
4987 ac_ct_AS=$AS
4988 # Extract the first word of "as", so it can be a program name with args.
4989 set dummy as; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$ac_ct_AS"; then
4996 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_ac_ct_AS="as"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5009 done
5010 done
5011 IFS=$as_save_IFS
5015 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5016 if test -n "$ac_ct_AS"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5018 $as_echo "$ac_ct_AS" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5024 if test "x$ac_ct_AS" = x; then
5025 AS=""
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AS=$ac_ct_AS
5035 else
5036 AS="$ac_cv_prog_AS"
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}ar; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_AR+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$AR"; then
5048 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_AR="${ac_tool_prefix}ar"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 AR=$ac_cv_prog_AR
5068 if test -n "$AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5070 $as_echo "$AR" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5078 if test -z "$ac_cv_prog_AR"; then
5079 ac_ct_AR=$AR
5080 # Extract the first word of "ar", so it can be a program name with args.
5081 set dummy ar; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_AR="ar"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5116 if test "x$ac_ct_AR" = x; then
5117 AR=""
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 AR=$ac_ct_AR
5127 else
5128 AR="$ac_cv_prog_AR"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB="ranlib-not-found-in-path-error"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5227 # Check whether --enable-maintainer-mode was given.
5228 if test "${enable_maintainer_mode+set}" = set; then :
5229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5230 else
5231 USE_MAINTAINER_MODE=no
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5236 if test $USE_MAINTAINER_MODE = yes; then
5237 MAINTAINER_MODE_TRUE=
5238 MAINTAINER_MODE_FALSE='#'
5239 else
5240 MAINTAINER_MODE_TRUE='#'
5241 MAINTAINER_MODE_FALSE=
5244 MAINT=$MAINTAINER_MODE_TRUE
5248 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5249 # which are themselves conditionally expanded.
5250 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5251 ## other macros from doing the same. This should be automated.) -pme
5253 # Check for C library flavor since GNU/Linux platforms use different
5254 # configuration directories depending on the C library in use.
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5258 #include <stdio.h>
5259 #if __UCLIBC__
5260 _using_uclibc
5261 #endif
5263 _ACEOF
5264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5265 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5266 uclibc=yes
5267 else
5268 uclibc=no
5270 rm -f conftest*
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5276 #include <stdio.h>
5277 #if __BIONIC__
5278 _using_bionic
5279 #endif
5281 _ACEOF
5282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5283 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5284 bionic=yes
5285 else
5286 bionic=no
5288 rm -f conftest*
5291 # Find platform-specific directories containing configuration info.
5292 # Also possibly modify flags used elsewhere, as needed by the platform.
5294 . $glibcxx_srcdir/configure.host
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5296 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5298 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5302 # Libtool setup.
5303 if test "x${with_newlib}" != "xyes"; then
5304 enable_dlopen=yes
5309 case `pwd` in
5310 *\ * | *\ *)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5312 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5313 esac
5317 macro_version='2.2.7a'
5318 macro_revision='1.3134'
5332 ltmain="$ac_aux_dir/ltmain.sh"
5334 # Backslashify metacharacters that are still active within
5335 # double-quoted strings.
5336 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5338 # Same as above, but do not quote variable references.
5339 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5341 # Sed substitution to delay expansion of an escaped shell variable in a
5342 # double_quote_subst'ed string.
5343 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5345 # Sed substitution to delay expansion of an escaped single quote.
5346 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5348 # Sed substitution to avoid accidental globbing in evaled expressions
5349 no_glob_subst='s/\*/\\\*/g'
5351 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5352 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5356 $as_echo_n "checking how to print strings... " >&6; }
5357 # Test print first, because it will be a builtin if present.
5358 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5359 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5360 ECHO='print -r --'
5361 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5362 ECHO='printf %s\n'
5363 else
5364 # Use this function as a fallback that always works.
5365 func_fallback_echo ()
5367 eval 'cat <<_LTECHO_EOF
5369 _LTECHO_EOF'
5371 ECHO='func_fallback_echo'
5374 # func_echo_all arg...
5375 # Invoke $ECHO with all args, space-separated.
5376 func_echo_all ()
5378 $ECHO ""
5381 case "$ECHO" in
5382 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5383 $as_echo "printf" >&6; } ;;
5384 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5385 $as_echo "print -r" >&6; } ;;
5386 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5387 $as_echo "cat" >&6; } ;;
5388 esac
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5404 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5405 if test "${ac_cv_path_SED+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5409 for ac_i in 1 2 3 4 5 6 7; do
5410 ac_script="$ac_script$as_nl$ac_script"
5411 done
5412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5413 { ac_script=; unset ac_script;}
5414 if test -z "$SED"; then
5415 ac_path_SED_found=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_prog in sed gsed; do
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5425 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5426 # Check for GNU ac_path_SED and select it if it is found.
5427 # Check for GNU $ac_path_SED
5428 case `"$ac_path_SED" --version 2>&1` in
5429 *GNU*)
5430 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5432 ac_count=0
5433 $as_echo_n 0123456789 >"conftest.in"
5434 while :
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo '' >> "conftest.nl"
5440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val
5443 if test $ac_count -gt ${ac_path_SED_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_SED="$ac_path_SED"
5446 ac_path_SED_max=$ac_count
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5450 done
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5452 esac
5454 $ac_path_SED_found && break 3
5455 done
5456 done
5457 done
5458 IFS=$as_save_IFS
5459 if test -z "$ac_cv_path_SED"; then
5460 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5462 else
5463 ac_cv_path_SED=$SED
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5468 $as_echo "$ac_cv_path_SED" >&6; }
5469 SED="$ac_cv_path_SED"
5470 rm -f conftest.sed
5472 test -z "$SED" && SED=sed
5473 Xsed="$SED -e 1s/^X//"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5486 $as_echo_n "checking for fgrep... " >&6; }
5487 if test "${ac_cv_path_FGREP+set}" = set; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5491 then ac_cv_path_FGREP="$GREP -F"
5492 else
5493 if test -z "$FGREP"; then
5494 ac_path_FGREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in fgrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5504 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5505 # Check for GNU ac_path_FGREP and select it if it is found.
5506 # Check for GNU $ac_path_FGREP
5507 case `"$ac_path_FGREP" --version 2>&1` in
5508 *GNU*)
5509 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5511 ac_count=0
5512 $as_echo_n 0123456789 >"conftest.in"
5513 while :
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'FGREP' >> "conftest.nl"
5519 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_FGREP="$ac_path_FGREP"
5525 ac_path_FGREP_max=$ac_count
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5529 done
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5531 esac
5533 $ac_path_FGREP_found && break 3
5534 done
5535 done
5536 done
5537 IFS=$as_save_IFS
5538 if test -z "$ac_cv_path_FGREP"; then
5539 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5541 else
5542 ac_cv_path_FGREP=$FGREP
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5548 $as_echo "$ac_cv_path_FGREP" >&6; }
5549 FGREP="$ac_cv_path_FGREP"
5552 test -z "$GREP" && GREP=grep
5572 # Check whether --with-gnu-ld was given.
5573 if test "${with_gnu_ld+set}" = set; then :
5574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5575 else
5576 with_gnu_ld=no
5579 ac_prog=ld
5580 if test "$GCC" = yes; then
5581 # Check if gcc -print-prog-name=ld gives a path.
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5583 $as_echo_n "checking for ld used by $CC... " >&6; }
5584 case $host in
5585 *-*-mingw*)
5586 # gcc leaves a trailing carriage return which upsets mingw
5587 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5589 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5590 esac
5591 case $ac_prog in
5592 # Accept absolute paths.
5593 [\\/]* | ?:[\\/]*)
5594 re_direlt='/[^/][^/]*/\.\./'
5595 # Canonicalize the pathname of ld
5596 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5597 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5598 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5599 done
5600 test -z "$LD" && LD="$ac_prog"
5603 # If it fails, then pretend we aren't using GCC.
5604 ac_prog=ld
5607 # If it is relative, then search for the first ld in PATH.
5608 with_gnu_ld=unknown
5610 esac
5611 elif test "$with_gnu_ld" = yes; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5613 $as_echo_n "checking for GNU ld... " >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5616 $as_echo_n "checking for non-GNU ld... " >&6; }
5618 if test "${lt_cv_path_LD+set}" = set; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -z "$LD"; then
5622 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5623 for ac_dir in $PATH; do
5624 IFS="$lt_save_ifs"
5625 test -z "$ac_dir" && ac_dir=.
5626 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5627 lt_cv_path_LD="$ac_dir/$ac_prog"
5628 # Check to see if the program is GNU ld. I'd rather use --version,
5629 # but apparently some variants of GNU ld only accept -v.
5630 # Break only if it was the GNU/non-GNU ld that we prefer.
5631 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 test "$with_gnu_ld" != no && break
5636 test "$with_gnu_ld" != yes && break
5638 esac
5640 done
5641 IFS="$lt_save_ifs"
5642 else
5643 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5647 LD="$lt_cv_path_LD"
5648 if test -n "$LD"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5650 $as_echo "$LD" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5658 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5662 case `$LD -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 lt_cv_prog_gnu_ld=yes
5667 lt_cv_prog_gnu_ld=no
5669 esac
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5672 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5673 with_gnu_ld=$lt_cv_prog_gnu_ld
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5684 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5685 if test "${lt_cv_path_NM+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$NM"; then
5689 # Let the user override the test.
5690 lt_cv_path_NM="$NM"
5691 else
5692 lt_nm_to_check="${ac_tool_prefix}nm"
5693 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5694 lt_nm_to_check="$lt_nm_to_check nm"
5696 for lt_tmp_nm in $lt_nm_to_check; do
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5699 IFS="$lt_save_ifs"
5700 test -z "$ac_dir" && ac_dir=.
5701 tmp_nm="$ac_dir/$lt_tmp_nm"
5702 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5703 # Check to see if the nm accepts a BSD-compat flag.
5704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5705 # nm: unknown option "B" ignored
5706 # Tru64's nm complains that /dev/null is an invalid object file
5707 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5708 */dev/null* | *'Invalid file or object type'*)
5709 lt_cv_path_NM="$tmp_nm -B"
5710 break
5713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5714 */dev/null*)
5715 lt_cv_path_NM="$tmp_nm -p"
5716 break
5719 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5720 continue # so that we can try to find one that supports BSD flags
5722 esac
5724 esac
5726 done
5727 IFS="$lt_save_ifs"
5728 done
5729 : ${lt_cv_path_NM=no}
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5733 $as_echo "$lt_cv_path_NM" >&6; }
5734 if test "$lt_cv_path_NM" != "no"; then
5735 NM="$lt_cv_path_NM"
5736 else
5737 # Didn't find any BSD compatible name lister, look for dumpbin.
5738 if test -n "$DUMPBIN"; then :
5739 # Let the user override the test.
5740 else
5741 if test -n "$ac_tool_prefix"; then
5742 for ac_prog in dumpbin "link -dump"
5744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$DUMPBIN"; then
5752 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 DUMPBIN=$ac_cv_prog_DUMPBIN
5772 if test -n "$DUMPBIN"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5774 $as_echo "$DUMPBIN" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$DUMPBIN" && break
5782 done
5784 if test -z "$DUMPBIN"; then
5785 ac_ct_DUMPBIN=$DUMPBIN
5786 for ac_prog in dumpbin "link -dump"
5788 # Extract the first word of "$ac_prog", so it can be a program name with args.
5789 set dummy $ac_prog; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$ac_ct_DUMPBIN"; then
5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5805 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5809 done
5810 done
5811 IFS=$as_save_IFS
5815 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5816 if test -n "$ac_ct_DUMPBIN"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5818 $as_echo "$ac_ct_DUMPBIN" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 test -n "$ac_ct_DUMPBIN" && break
5826 done
5828 if test "x$ac_ct_DUMPBIN" = x; then
5829 DUMPBIN=":"
5830 else
5831 case $cross_compiling:$ac_tool_warned in
5832 yes:)
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned=yes ;;
5836 esac
5837 DUMPBIN=$ac_ct_DUMPBIN
5841 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5842 *COFF*)
5843 DUMPBIN="$DUMPBIN -symbols"
5846 DUMPBIN=:
5848 esac
5851 if test "$DUMPBIN" != ":"; then
5852 NM="$DUMPBIN"
5855 test -z "$NM" && NM=nm
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5863 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5864 if test "${lt_cv_nm_interface+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 lt_cv_nm_interface="BSD nm"
5868 echo "int some_variable = 0;" > conftest.$ac_ext
5869 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5870 (eval "$ac_compile" 2>conftest.err)
5871 cat conftest.err >&5
5872 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5873 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5876 cat conftest.out >&5
5877 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5878 lt_cv_nm_interface="MS dumpbin"
5880 rm -f conftest*
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5883 $as_echo "$lt_cv_nm_interface" >&6; }
5885 # find the maximum length of command line arguments
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5887 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5888 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5892 teststring="ABCD"
5894 case $build_os in
5895 msdosdjgpp*)
5896 # On DJGPP, this test can blow up pretty badly due to problems in libc
5897 # (any single argument exceeding 2000 bytes causes a buffer overrun
5898 # during glob expansion). Even if it were fixed, the result of this
5899 # check would be larger than it should be.
5900 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5903 gnu*)
5904 # Under GNU Hurd, this test is not required because there is
5905 # no limit to the length of command line arguments.
5906 # Libtool will interpret -1 as no limit whatsoever
5907 lt_cv_sys_max_cmd_len=-1;
5910 cygwin* | mingw* | cegcc*)
5911 # On Win9x/ME, this test blows up -- it succeeds, but takes
5912 # about 5 minutes as the teststring grows exponentially.
5913 # Worse, since 9x/ME are not pre-emptively multitasking,
5914 # you end up with a "frozen" computer, even though with patience
5915 # the test eventually succeeds (with a max line length of 256k).
5916 # Instead, let's just punt: use the minimum linelength reported by
5917 # all of the supported platforms: 8192 (on NT/2K/XP).
5918 lt_cv_sys_max_cmd_len=8192;
5921 mint*)
5922 # On MiNT this can take a long time and run out of memory.
5923 lt_cv_sys_max_cmd_len=8192;
5926 amigaos*)
5927 # On AmigaOS with pdksh, this test takes hours, literally.
5928 # So we just punt and use a minimum line length of 8192.
5929 lt_cv_sys_max_cmd_len=8192;
5932 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5933 # This has been around since 386BSD, at least. Likely further.
5934 if test -x /sbin/sysctl; then
5935 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5936 elif test -x /usr/sbin/sysctl; then
5937 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5938 else
5939 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5941 # And add a safety zone
5942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5946 interix*)
5947 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5948 lt_cv_sys_max_cmd_len=196608
5951 osf*)
5952 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5953 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5954 # nice to cause kernel panics so lets avoid the loop below.
5955 # First set a reasonable default.
5956 lt_cv_sys_max_cmd_len=16384
5958 if test -x /sbin/sysconfig; then
5959 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5960 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5961 esac
5964 sco3.2v5*)
5965 lt_cv_sys_max_cmd_len=102400
5967 sysv5* | sco5v6* | sysv4.2uw2*)
5968 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5969 if test -n "$kargmax"; then
5970 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5971 else
5972 lt_cv_sys_max_cmd_len=32768
5976 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5977 if test -n "$lt_cv_sys_max_cmd_len"; then
5978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5980 else
5981 # Make teststring a little bigger before we do anything with it.
5982 # a 1K string should be a reasonable start.
5983 for i in 1 2 3 4 5 6 7 8 ; do
5984 teststring=$teststring$teststring
5985 done
5986 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5987 # If test is not a shell built-in, we'll probably end up computing a
5988 # maximum length that is only half of the actual maximum length, but
5989 # we can't tell.
5990 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5991 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5992 test $i != 17 # 1/2 MB should be enough
5994 i=`expr $i + 1`
5995 teststring=$teststring$teststring
5996 done
5997 # Only check the string length outside the loop.
5998 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5999 teststring=
6000 # Add a significant safety factor because C++ compilers can tack on
6001 # massive amounts of additional arguments before passing them to the
6002 # linker. It appears as though 1/2 is a usable value.
6003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6006 esac
6010 if test -n $lt_cv_sys_max_cmd_len ; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6012 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6015 $as_echo "none" >&6; }
6017 max_cmd_len=$lt_cv_sys_max_cmd_len
6024 : ${CP="cp -f"}
6025 : ${MV="mv -f"}
6026 : ${RM="rm -f"}
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6029 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6030 # Try some XSI features
6031 xsi_shell=no
6032 ( _lt_dummy="a/b/c"
6033 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6034 = c,a/b,, \
6035 && eval 'test $(( 1 + 1 )) -eq 2 \
6036 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6037 && xsi_shell=yes
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6039 $as_echo "$xsi_shell" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6043 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6044 lt_shell_append=no
6045 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6046 >/dev/null 2>&1 \
6047 && lt_shell_append=yes
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6049 $as_echo "$lt_shell_append" >&6; }
6052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6053 lt_unset=unset
6054 else
6055 lt_unset=false
6062 # test EBCDIC or ASCII
6063 case `echo X|tr X '\101'` in
6064 A) # ASCII based system
6065 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6066 lt_SP2NL='tr \040 \012'
6067 lt_NL2SP='tr \015\012 \040\040'
6069 *) # EBCDIC based system
6070 lt_SP2NL='tr \100 \n'
6071 lt_NL2SP='tr \r\n \100\100'
6073 esac
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6084 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6085 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 lt_cv_ld_reload_flag='-r'
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6091 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6092 reload_flag=$lt_cv_ld_reload_flag
6093 case $reload_flag in
6094 "" | " "*) ;;
6095 *) reload_flag=" $reload_flag" ;;
6096 esac
6097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6098 case $host_os in
6099 darwin*)
6100 if test "$GCC" = yes; then
6101 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6102 else
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6106 esac
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$OBJDUMP"; then
6125 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 OBJDUMP=$ac_cv_prog_OBJDUMP
6145 if test -n "$OBJDUMP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6147 $as_echo "$OBJDUMP" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test -z "$ac_cv_prog_OBJDUMP"; then
6156 ac_ct_OBJDUMP=$OBJDUMP
6157 # Extract the first word of "objdump", so it can be a program name with args.
6158 set dummy objdump; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ac_ct_OBJDUMP"; then
6165 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6178 done
6179 done
6180 IFS=$as_save_IFS
6184 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6185 if test -n "$ac_ct_OBJDUMP"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6187 $as_echo "$ac_ct_OBJDUMP" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6193 if test "x$ac_ct_OBJDUMP" = x; then
6194 OBJDUMP="false"
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 OBJDUMP=$ac_ct_OBJDUMP
6204 else
6205 OBJDUMP="$ac_cv_prog_OBJDUMP"
6208 test -z "$OBJDUMP" && OBJDUMP=objdump
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6219 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6220 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 lt_cv_file_magic_cmd='$MAGIC_CMD'
6224 lt_cv_file_magic_test_file=
6225 lt_cv_deplibs_check_method='unknown'
6226 # Need to set the preceding variable on all platforms that support
6227 # interlibrary dependencies.
6228 # 'none' -- dependencies not supported.
6229 # `unknown' -- same as none, but documents that we really don't know.
6230 # 'pass_all' -- all dependencies passed with no checks.
6231 # 'test_compile' -- check by making test program.
6232 # 'file_magic [[regex]]' -- check by looking for files in library path
6233 # which responds to the $file_magic_cmd with a given extended regex.
6234 # If you have `file' or equivalent on your system and you're not sure
6235 # whether `pass_all' will *always* work, you probably want this one.
6237 case $host_os in
6238 aix[4-9]*)
6239 lt_cv_deplibs_check_method=pass_all
6242 beos*)
6243 lt_cv_deplibs_check_method=pass_all
6246 bsdi[45]*)
6247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6248 lt_cv_file_magic_cmd='/usr/bin/file -L'
6249 lt_cv_file_magic_test_file=/shlib/libc.so
6252 cygwin*)
6253 # func_win32_libid is a shell function defined in ltmain.sh
6254 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6255 lt_cv_file_magic_cmd='func_win32_libid'
6258 mingw* | pw32*)
6259 # Base MSYS/MinGW do not provide the 'file' command needed by
6260 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6261 # unless we find 'file', for example because we are cross-compiling.
6262 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6263 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6266 else
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6272 cegcc*)
6273 # use the weaker test based on 'objdump'. See mingw*.
6274 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275 lt_cv_file_magic_cmd='$OBJDUMP -f'
6278 darwin* | rhapsody*)
6279 lt_cv_deplibs_check_method=pass_all
6282 freebsd* | dragonfly*)
6283 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6284 case $host_cpu in
6285 i*86 )
6286 # Not sure whether the presence of OpenBSD here was a mistake.
6287 # Let's accept both of them until this is cleared up.
6288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6292 esac
6293 else
6294 lt_cv_deplibs_check_method=pass_all
6298 gnu*)
6299 lt_cv_deplibs_check_method=pass_all
6302 haiku*)
6303 lt_cv_deplibs_check_method=pass_all
6306 hpux10.20* | hpux11*)
6307 lt_cv_file_magic_cmd=/usr/bin/file
6308 case $host_cpu in
6309 ia64*)
6310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6311 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6313 hppa*64*)
6314 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]'
6315 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6319 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6321 esac
6324 interix[3-9]*)
6325 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6329 irix5* | irix6* | nonstopux*)
6330 case $LD in
6331 *-32|*"-32 ") libmagic=32-bit;;
6332 *-n32|*"-n32 ") libmagic=N32;;
6333 *-64|*"-64 ") libmagic=64-bit;;
6334 *) libmagic=never-match;;
6335 esac
6336 lt_cv_deplibs_check_method=pass_all
6339 # This must be Linux ELF.
6340 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6341 lt_cv_deplibs_check_method=pass_all
6344 netbsd*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 else
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6352 newos6*)
6353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6358 *nto* | *qnx*)
6359 lt_cv_deplibs_check_method=pass_all
6362 openbsd*)
6363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6365 else
6366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6370 osf3* | osf4* | osf5*)
6371 lt_cv_deplibs_check_method=pass_all
6374 rdos*)
6375 lt_cv_deplibs_check_method=pass_all
6378 solaris*)
6379 lt_cv_deplibs_check_method=pass_all
6382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6383 lt_cv_deplibs_check_method=pass_all
6386 sysv4 | sysv4.3*)
6387 case $host_vendor in
6388 motorola)
6389 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]'
6390 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6392 ncr)
6393 lt_cv_deplibs_check_method=pass_all
6395 sequent)
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6399 sni)
6400 lt_cv_file_magic_cmd='/bin/file'
6401 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6402 lt_cv_file_magic_test_file=/lib/libc.so
6404 siemens)
6405 lt_cv_deplibs_check_method=pass_all
6408 lt_cv_deplibs_check_method=pass_all
6410 esac
6413 tpf*)
6414 lt_cv_deplibs_check_method=pass_all
6416 esac
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6420 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6421 file_magic_cmd=$lt_cv_file_magic_cmd
6422 deplibs_check_method=$lt_cv_deplibs_check_method
6423 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}ar; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_AR+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$AR"; then
6445 ac_cv_prog_AR="$AR" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_AR="${ac_tool_prefix}ar"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 AR=$ac_cv_prog_AR
6465 if test -n "$AR"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6467 $as_echo "$AR" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6475 if test -z "$ac_cv_prog_AR"; then
6476 ac_ct_AR=$AR
6477 # Extract the first word of "ar", so it can be a program name with args.
6478 set dummy ar; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$ac_ct_AR"; then
6485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_AR="ar"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6498 done
6499 done
6500 IFS=$as_save_IFS
6504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6505 if test -n "$ac_ct_AR"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6507 $as_echo "$ac_ct_AR" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6513 if test "x$ac_ct_AR" = x; then
6514 AR="false"
6515 else
6516 case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522 AR=$ac_ct_AR
6524 else
6525 AR="$ac_cv_prog_AR"
6528 test -z "$AR" && AR=ar
6529 test -z "$AR_FLAGS" && AR_FLAGS=cru
6541 if test -n "$ac_tool_prefix"; then
6542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}strip; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_STRIP+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$STRIP"; then
6550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 STRIP=$ac_cv_prog_STRIP
6570 if test -n "$STRIP"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6572 $as_echo "$STRIP" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6580 if test -z "$ac_cv_prog_STRIP"; then
6581 ac_ct_STRIP=$STRIP
6582 # Extract the first word of "strip", so it can be a program name with args.
6583 set dummy strip; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 if test -n "$ac_ct_STRIP"; then
6590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6595 IFS=$as_save_IFS
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_ac_ct_STRIP="strip"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 break 2
6603 done
6604 done
6605 IFS=$as_save_IFS
6609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6610 if test -n "$ac_ct_STRIP"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6612 $as_echo "$ac_ct_STRIP" >&6; }
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6618 if test "x$ac_ct_STRIP" = x; then
6619 STRIP=":"
6620 else
6621 case $cross_compiling:$ac_tool_warned in
6622 yes:)
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6626 esac
6627 STRIP=$ac_ct_STRIP
6629 else
6630 STRIP="$ac_cv_prog_STRIP"
6633 test -z "$STRIP" && STRIP=:
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$RANLIB"; then
6649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 RANLIB=$ac_cv_prog_RANLIB
6669 if test -n "$RANLIB"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6671 $as_echo "$RANLIB" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_RANLIB"; then
6680 ac_ct_RANLIB=$RANLIB
6681 # Extract the first word of "ranlib", so it can be a program name with args.
6682 set dummy ranlib; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$ac_ct_RANLIB"; then
6689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_ac_ct_RANLIB="ranlib"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6709 if test -n "$ac_ct_RANLIB"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6711 $as_echo "$ac_ct_RANLIB" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_RANLIB" = x; then
6718 RANLIB=":"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 RANLIB=$ac_ct_RANLIB
6728 else
6729 RANLIB="$ac_cv_prog_RANLIB"
6732 test -z "$RANLIB" && RANLIB=:
6739 # Determine commands to create old-style static archives.
6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6741 old_postinstall_cmds='chmod 644 $oldlib'
6742 old_postuninstall_cmds=
6744 if test -n "$RANLIB"; then
6745 case $host_os in
6746 openbsd*)
6747 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6750 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6752 esac
6753 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6756 case $host_os in
6757 darwin*)
6758 lock_old_archive_extraction=yes ;;
6760 lock_old_archive_extraction=no ;;
6761 esac
6801 # If no C compiler was specified, use CC.
6802 LTCC=${LTCC-"$CC"}
6804 # If no C compiler flags were specified, use CFLAGS.
6805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6807 # Allow CC to be a program name with arguments.
6808 compiler=$CC
6811 # Check for command to grab the raw symbol name followed by C symbol from nm.
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6813 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6814 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6818 # These are sane defaults that work on at least a few old systems.
6819 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6821 # Character class describing NM global symbol codes.
6822 symcode='[BCDEGRST]'
6824 # Regexp to match symbols that can be accessed directly from C.
6825 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6827 # Define system-specific variables.
6828 case $host_os in
6829 aix*)
6830 symcode='[BCDT]'
6832 cygwin* | mingw* | pw32* | cegcc*)
6833 symcode='[ABCDGISTW]'
6835 hpux*)
6836 if test "$host_cpu" = ia64; then
6837 symcode='[ABCDEGRST]'
6840 irix* | nonstopux*)
6841 symcode='[BCDEGRST]'
6843 osf*)
6844 symcode='[BCDEGQRST]'
6846 solaris*)
6847 symcode='[BDRT]'
6849 sco3.2v5*)
6850 symcode='[DT]'
6852 sysv4.2uw2*)
6853 symcode='[DT]'
6855 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6856 symcode='[ABDT]'
6858 sysv4)
6859 symcode='[DFNSTU]'
6861 esac
6863 # If we're using GNU nm, then use its standard symbol codes.
6864 case `$NM -V 2>&1` in
6865 *GNU* | *'with BFD'*)
6866 symcode='[ABCDGIRSTW]' ;;
6867 esac
6869 # Transform an extracted symbol line into a proper C declaration.
6870 # Some systems (esp. on ia64) link data and code symbols differently,
6871 # so use this general approach.
6872 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6874 # Transform an extracted symbol line into symbol name and symbol address
6875 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6876 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'"
6878 # Handle CRLF in mingw tool chain
6879 opt_cr=
6880 case $build_os in
6881 mingw*)
6882 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6884 esac
6886 # Try without a prefix underscore, then with it.
6887 for ac_symprfx in "" "_"; do
6889 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6890 symxfrm="\\1 $ac_symprfx\\2 \\2"
6892 # Write the raw and C identifiers.
6893 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6894 # Fake it for dumpbin and say T for any non-static function
6895 # and D for any global variable.
6896 # Also find C++ and __fastcall symbols from MSVC++,
6897 # which start with @ or ?.
6898 lt_cv_sys_global_symbol_pipe="$AWK '"\
6899 " {last_section=section; section=\$ 3};"\
6900 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6901 " \$ 0!~/External *\|/{next};"\
6902 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6903 " {if(hide[section]) next};"\
6904 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6905 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6906 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6907 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6908 " ' prfx=^$ac_symprfx"
6909 else
6910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6913 # Check to see that the pipe works correctly.
6914 pipe_works=no
6916 rm -f conftest*
6917 cat > conftest.$ac_ext <<_LT_EOF
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6921 char nm_test_var;
6922 void nm_test_func(void);
6923 void nm_test_func(void){}
6924 #ifdef __cplusplus
6926 #endif
6927 int main(){nm_test_var='a';nm_test_func();return(0);}
6928 _LT_EOF
6930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6931 (eval $ac_compile) 2>&5
6932 ac_status=$?
6933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6934 test $ac_status = 0; }; then
6935 # Now try to grab the symbols.
6936 nlist=conftest.nm
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6938 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6939 ac_status=$?
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; } && test -s "$nlist"; then
6942 # Try sorting and uniquifying the output.
6943 if sort "$nlist" | uniq > "$nlist"T; then
6944 mv -f "$nlist"T "$nlist"
6945 else
6946 rm -f "$nlist"T
6949 # Make sure that we snagged all the symbols we need.
6950 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6951 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6952 cat <<_LT_EOF > conftest.$ac_ext
6953 #ifdef __cplusplus
6954 extern "C" {
6955 #endif
6957 _LT_EOF
6958 # Now generate the symbol file.
6959 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6961 cat <<_LT_EOF >> conftest.$ac_ext
6963 /* The mapping between symbol names and symbols. */
6964 const struct {
6965 const char *name;
6966 void *address;
6968 lt__PROGRAM__LTX_preloaded_symbols[] =
6970 { "@PROGRAM@", (void *) 0 },
6971 _LT_EOF
6972 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6973 cat <<\_LT_EOF >> conftest.$ac_ext
6974 {0, (void *) 0}
6977 /* This works around a problem in FreeBSD linker */
6978 #ifdef FREEBSD_WORKAROUND
6979 static const void *lt_preloaded_setup() {
6980 return lt__PROGRAM__LTX_preloaded_symbols;
6982 #endif
6984 #ifdef __cplusplus
6986 #endif
6987 _LT_EOF
6988 # Now try linking the two files.
6989 mv conftest.$ac_objext conftstm.$ac_objext
6990 lt_save_LIBS="$LIBS"
6991 lt_save_CFLAGS="$CFLAGS"
6992 LIBS="conftstm.$ac_objext"
6993 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6995 (eval $ac_link) 2>&5
6996 ac_status=$?
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6999 pipe_works=yes
7001 LIBS="$lt_save_LIBS"
7002 CFLAGS="$lt_save_CFLAGS"
7003 else
7004 echo "cannot find nm_test_func in $nlist" >&5
7006 else
7007 echo "cannot find nm_test_var in $nlist" >&5
7009 else
7010 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7012 else
7013 echo "$progname: failed program was:" >&5
7014 cat conftest.$ac_ext >&5
7016 rm -rf conftest* conftst*
7018 # Do not use the global_symbol_pipe unless it works.
7019 if test "$pipe_works" = yes; then
7020 break
7021 else
7022 lt_cv_sys_global_symbol_pipe=
7024 done
7028 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7029 lt_cv_sys_global_symbol_to_cdecl=
7031 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7033 $as_echo "failed" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7036 $as_echo "ok" >&6; }
7060 # Check whether --enable-libtool-lock was given.
7061 if test "${enable_libtool_lock+set}" = set; then :
7062 enableval=$enable_libtool_lock;
7065 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7067 # Some flags need to be propagated to the compiler or linker for good
7068 # libtool support.
7069 case $host in
7070 ia64-*-hpux*)
7071 # Find out which ABI we are using.
7072 echo 'int i;' > conftest.$ac_ext
7073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7075 ac_status=$?
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *ELF-32*)
7080 HPUX_IA64_MODE="32"
7082 *ELF-64*)
7083 HPUX_IA64_MODE="64"
7085 esac
7087 rm -rf conftest*
7089 *-*-irix6*)
7090 # Find out which ABI we are using.
7091 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7093 (eval $ac_compile) 2>&5
7094 ac_status=$?
7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7096 test $ac_status = 0; }; then
7097 if test "$lt_cv_prog_gnu_ld" = yes; then
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -melf32bsmip"
7102 *N32*)
7103 LD="${LD-ld} -melf32bmipn32"
7105 *64-bit*)
7106 LD="${LD-ld} -melf64bmip"
7108 esac
7109 else
7110 case `/usr/bin/file conftest.$ac_objext` in
7111 *32-bit*)
7112 LD="${LD-ld} -32"
7114 *N32*)
7115 LD="${LD-ld} -n32"
7117 *64-bit*)
7118 LD="${LD-ld} -64"
7120 esac
7123 rm -rf conftest*
7126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7132 ac_status=$?
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.o` in
7136 *32-bit*)
7137 case $host in
7138 x86_64-*kfreebsd*-gnu)
7139 LD="${LD-ld} -m elf_i386_fbsd"
7141 x86_64-*linux*)
7142 case `/usr/bin/file conftest.o` in
7143 *x86-64*)
7144 LD="${LD-ld} -m elf32_x86_64"
7147 LD="${LD-ld} -m elf_i386"
7149 esac
7151 powerpc64le-*linux*)
7152 LD="${LD-ld} -m elf32lppclinux"
7154 powerpc64-*linux*)
7155 LD="${LD-ld} -m elf32ppclinux"
7157 s390x-*linux*)
7158 LD="${LD-ld} -m elf_s390"
7160 sparc64-*linux*)
7161 LD="${LD-ld} -m elf32_sparc"
7163 esac
7165 *64-bit*)
7166 case $host in
7167 x86_64-*kfreebsd*-gnu)
7168 LD="${LD-ld} -m elf_x86_64_fbsd"
7170 x86_64-*linux*)
7171 LD="${LD-ld} -m elf_x86_64"
7173 powerpcle-*linux*)
7174 LD="${LD-ld} -m elf64lppc"
7176 powerpc-*linux*)
7177 LD="${LD-ld} -m elf64ppc"
7179 s390*-*linux*|s390*-*tpf*)
7180 LD="${LD-ld} -m elf64_s390"
7182 sparc*-*linux*)
7183 LD="${LD-ld} -m elf64_sparc"
7185 esac
7187 esac
7189 rm -rf conftest*
7192 *-*-sco3.2v5*)
7193 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7194 SAVE_CFLAGS="$CFLAGS"
7195 CFLAGS="$CFLAGS -belf"
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7197 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7198 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207 if test x$gcc_no_link = xyes; then
7208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7214 main ()
7218 return 0;
7220 _ACEOF
7221 if ac_fn_c_try_link "$LINENO"; then :
7222 lt_cv_cc_needs_belf=yes
7223 else
7224 lt_cv_cc_needs_belf=no
7226 rm -f core conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7228 ac_ext=c
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7236 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7237 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239 CFLAGS="$SAVE_CFLAGS"
7242 sparc*-*solaris*)
7243 # Find out which ABI we are using.
7244 echo 'int i;' > conftest.$ac_ext
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 case `/usr/bin/file conftest.o` in
7251 *64-bit*)
7252 case $lt_cv_prog_gnu_ld in
7253 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7255 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7256 LD="${LD-ld} -64"
7259 esac
7261 esac
7263 rm -rf conftest*
7265 esac
7267 need_locks="$enable_libtool_lock"
7270 case $host_os in
7271 rhapsody* | darwin*)
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$DSYMUTIL"; then
7281 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7301 if test -n "$DSYMUTIL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7303 $as_echo "$DSYMUTIL" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7311 if test -z "$ac_cv_prog_DSYMUTIL"; then
7312 ac_ct_DSYMUTIL=$DSYMUTIL
7313 # Extract the first word of "dsymutil", so it can be a program name with args.
7314 set dummy dsymutil; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7319 else
7320 if test -n "$ac_ct_DSYMUTIL"; then
7321 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7340 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7341 if test -n "$ac_ct_DSYMUTIL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7343 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7349 if test "x$ac_ct_DSYMUTIL" = x; then
7350 DSYMUTIL=":"
7351 else
7352 case $cross_compiling:$ac_tool_warned in
7353 yes:)
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356 ac_tool_warned=yes ;;
7357 esac
7358 DSYMUTIL=$ac_ct_DSYMUTIL
7360 else
7361 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7364 if test -n "$ac_tool_prefix"; then
7365 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7366 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$NMEDIT"; then
7373 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7386 done
7387 done
7388 IFS=$as_save_IFS
7392 NMEDIT=$ac_cv_prog_NMEDIT
7393 if test -n "$NMEDIT"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7395 $as_echo "$NMEDIT" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7403 if test -z "$ac_cv_prog_NMEDIT"; then
7404 ac_ct_NMEDIT=$NMEDIT
7405 # Extract the first word of "nmedit", so it can be a program name with args.
7406 set dummy nmedit; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7411 else
7412 if test -n "$ac_ct_NMEDIT"; then
7413 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7418 IFS=$as_save_IFS
7419 test -z "$as_dir" && as_dir=.
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 break 2
7426 done
7427 done
7428 IFS=$as_save_IFS
7432 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7433 if test -n "$ac_ct_NMEDIT"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7435 $as_echo "$ac_ct_NMEDIT" >&6; }
7436 else
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7441 if test "x$ac_ct_NMEDIT" = x; then
7442 NMEDIT=":"
7443 else
7444 case $cross_compiling:$ac_tool_warned in
7445 yes:)
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7448 ac_tool_warned=yes ;;
7449 esac
7450 NMEDIT=$ac_ct_NMEDIT
7452 else
7453 NMEDIT="$ac_cv_prog_NMEDIT"
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if test "${ac_cv_prog_LIPO+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$LIPO"; then
7465 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 LIPO=$ac_cv_prog_LIPO
7485 if test -n "$LIPO"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7487 $as_echo "$LIPO" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 if test -z "$ac_cv_prog_LIPO"; then
7496 ac_ct_LIPO=$LIPO
7497 # Extract the first word of "lipo", so it can be a program name with args.
7498 set dummy lipo; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_LIPO"; then
7505 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_prog_ac_ct_LIPO="lipo"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7518 done
7519 done
7520 IFS=$as_save_IFS
7524 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7525 if test -n "$ac_ct_LIPO"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7527 $as_echo "$ac_ct_LIPO" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 if test "x$ac_ct_LIPO" = x; then
7534 LIPO=":"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 LIPO=$ac_ct_LIPO
7544 else
7545 LIPO="$ac_cv_prog_LIPO"
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}otool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$OTOOL"; then
7557 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 OTOOL=$ac_cv_prog_OTOOL
7577 if test -n "$OTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7579 $as_echo "$OTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7587 if test -z "$ac_cv_prog_OTOOL"; then
7588 ac_ct_OTOOL=$OTOOL
7589 # Extract the first word of "otool", so it can be a program name with args.
7590 set dummy otool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_OTOOL"; then
7597 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606 ac_cv_prog_ac_ct_OTOOL="otool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7617 if test -n "$ac_ct_OTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7619 $as_echo "$ac_ct_OTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7625 if test "x$ac_ct_OTOOL" = x; then
7626 OTOOL=":"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 OTOOL=$ac_ct_OTOOL
7636 else
7637 OTOOL="$ac_cv_prog_OTOOL"
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 if test -n "$OTOOL64"; then
7649 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7650 else
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 break 2
7662 done
7663 done
7664 IFS=$as_save_IFS
7668 OTOOL64=$ac_cv_prog_OTOOL64
7669 if test -n "$OTOOL64"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7671 $as_echo "$OTOOL64" >&6; }
7672 else
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7679 if test -z "$ac_cv_prog_OTOOL64"; then
7680 ac_ct_OTOOL64=$OTOOL64
7681 # Extract the first word of "otool64", so it can be a program name with args.
7682 set dummy otool64; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7687 else
7688 if test -n "$ac_ct_OTOOL64"; then
7689 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7690 else
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 for as_dir in $PATH
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_ac_ct_OTOOL64="otool64"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 break 2
7702 done
7703 done
7704 IFS=$as_save_IFS
7708 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7709 if test -n "$ac_ct_OTOOL64"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7711 $as_echo "$ac_ct_OTOOL64" >&6; }
7712 else
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7717 if test "x$ac_ct_OTOOL64" = x; then
7718 OTOOL64=":"
7719 else
7720 case $cross_compiling:$ac_tool_warned in
7721 yes:)
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7724 ac_tool_warned=yes ;;
7725 esac
7726 OTOOL64=$ac_ct_OTOOL64
7728 else
7729 OTOOL64="$ac_cv_prog_OTOOL64"
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7759 $as_echo_n "checking for -single_module linker flag... " >&6; }
7760 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 lt_cv_apple_cc_single_mod=no
7764 if test -z "${LT_MULTI_MODULE}"; then
7765 # By default we will add the -single_module flag. You can override
7766 # by either setting the environment variable LT_MULTI_MODULE
7767 # non-empty at configure time, or by adding -multi_module to the
7768 # link flags.
7769 rm -rf libconftest.dylib*
7770 echo "int foo(void){return 1;}" > conftest.c
7771 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772 -dynamiclib -Wl,-single_module conftest.c" >&5
7773 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7775 _lt_result=$?
7776 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7777 lt_cv_apple_cc_single_mod=yes
7778 else
7779 cat conftest.err >&5
7781 rm -rf libconftest.dylib*
7782 rm -f conftest.*
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7786 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7788 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7789 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7791 else
7792 lt_cv_ld_exported_symbols_list=no
7793 save_LDFLAGS=$LDFLAGS
7794 echo "_main" > conftest.sym
7795 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7796 if test x$gcc_no_link = xyes; then
7797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7803 main ()
7807 return 0;
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"; then :
7811 lt_cv_ld_exported_symbols_list=yes
7812 else
7813 lt_cv_ld_exported_symbols_list=no
7815 rm -f core conftest.err conftest.$ac_objext \
7816 conftest$ac_exeext conftest.$ac_ext
7817 LDFLAGS="$save_LDFLAGS"
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7821 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7823 $as_echo_n "checking for -force_load linker flag... " >&6; }
7824 if test "${lt_cv_ld_force_load+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7826 else
7827 lt_cv_ld_force_load=no
7828 cat > conftest.c << _LT_EOF
7829 int forced_loaded() { return 2;}
7830 _LT_EOF
7831 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7832 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7833 echo "$AR cru libconftest.a conftest.o" >&5
7834 $AR cru libconftest.a conftest.o 2>&5
7835 cat > conftest.c << _LT_EOF
7836 int main() { return 0;}
7837 _LT_EOF
7838 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7840 _lt_result=$?
7841 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7842 lt_cv_ld_force_load=yes
7843 else
7844 cat conftest.err >&5
7846 rm -f conftest.err libconftest.a conftest conftest.c
7847 rm -rf conftest.dSYM
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7851 $as_echo "$lt_cv_ld_force_load" >&6; }
7852 case $host_os in
7853 rhapsody* | darwin1.[012])
7854 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855 darwin1.*)
7856 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7857 darwin*) # darwin 5.x on
7858 # if running on 10.5 or later, the deployment target defaults
7859 # to the OS version, if on x86, and 10.4, the deployment
7860 # target defaults to 10.4. Don't you love it?
7861 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7862 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 10.[012]*)
7865 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 10.*)
7867 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7868 esac
7870 esac
7871 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7872 _lt_dar_single_mod='$single_module'
7874 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7875 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876 else
7877 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7879 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7880 _lt_dsymutil='~$DSYMUTIL $lib || :'
7881 else
7882 _lt_dsymutil=
7885 esac
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7888 $as_echo_n "checking for ANSI C header files... " >&6; }
7889 if test "${ac_cv_header_stdc+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7895 #include <stdarg.h>
7896 #include <string.h>
7897 #include <float.h>
7900 main ()
7904 return 0;
7906 _ACEOF
7907 if ac_fn_c_try_compile "$LINENO"; then :
7908 ac_cv_header_stdc=yes
7909 else
7910 ac_cv_header_stdc=no
7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7914 if test $ac_cv_header_stdc = yes; then
7915 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 #include <string.h>
7920 _ACEOF
7921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7922 $EGREP "memchr" >/dev/null 2>&1; then :
7924 else
7925 ac_cv_header_stdc=no
7927 rm -f conftest*
7931 if test $ac_cv_header_stdc = yes; then
7932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 #include <stdlib.h>
7937 _ACEOF
7938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7939 $EGREP "free" >/dev/null 2>&1; then :
7941 else
7942 ac_cv_header_stdc=no
7944 rm -f conftest*
7948 if test $ac_cv_header_stdc = yes; then
7949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7950 if test "$cross_compiling" = yes; then :
7952 else
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 #include <ctype.h>
7956 #include <stdlib.h>
7957 #if ((' ' & 0x0FF) == 0x020)
7958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7960 #else
7961 # define ISLOWER(c) \
7962 (('a' <= (c) && (c) <= 'i') \
7963 || ('j' <= (c) && (c) <= 'r') \
7964 || ('s' <= (c) && (c) <= 'z'))
7965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7966 #endif
7968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7970 main ()
7972 int i;
7973 for (i = 0; i < 256; i++)
7974 if (XOR (islower (i), ISLOWER (i))
7975 || toupper (i) != TOUPPER (i))
7976 return 2;
7977 return 0;
7979 _ACEOF
7980 if ac_fn_c_try_run "$LINENO"; then :
7982 else
7983 ac_cv_header_stdc=no
7985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7986 conftest.$ac_objext conftest.beam conftest.$ac_ext
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7992 $as_echo "$ac_cv_header_stdc" >&6; }
7993 if test $ac_cv_header_stdc = yes; then
7995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8001 inttypes.h stdint.h unistd.h
8002 do :
8003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8006 eval as_val=\$$as_ac_Header
8007 if test "x$as_val" = x""yes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 _ACEOF
8014 done
8017 for ac_header in dlfcn.h
8018 do :
8019 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8021 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_DLFCN_H 1
8024 _ACEOF
8028 done
8035 # Set options
8040 enable_win32_dll=no
8043 # Check whether --enable-shared was given.
8044 if test "${enable_shared+set}" = set; then :
8045 enableval=$enable_shared; p=${PACKAGE-default}
8046 case $enableval in
8047 yes) enable_shared=yes ;;
8048 no) enable_shared=no ;;
8050 enable_shared=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8054 IFS="$lt_save_ifs"
8055 if test "X$pkg" = "X$p"; then
8056 enable_shared=yes
8058 done
8059 IFS="$lt_save_ifs"
8061 esac
8062 else
8063 enable_shared=yes
8074 # Check whether --enable-static was given.
8075 if test "${enable_static+set}" = set; then :
8076 enableval=$enable_static; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_static=yes ;;
8079 no) enable_static=no ;;
8081 enable_static=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_static=yes
8089 done
8090 IFS="$lt_save_ifs"
8092 esac
8093 else
8094 enable_static=yes
8106 # Check whether --with-pic was given.
8107 if test "${with_pic+set}" = set; then :
8108 withval=$with_pic; pic_mode="$withval"
8109 else
8110 pic_mode=default
8114 test -z "$pic_mode" && pic_mode=default
8122 # Check whether --enable-fast-install was given.
8123 if test "${enable_fast_install+set}" = set; then :
8124 enableval=$enable_fast_install; p=${PACKAGE-default}
8125 case $enableval in
8126 yes) enable_fast_install=yes ;;
8127 no) enable_fast_install=no ;;
8129 enable_fast_install=no
8130 # Look at the argument we got. We use all the common list separators.
8131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8132 for pkg in $enableval; do
8133 IFS="$lt_save_ifs"
8134 if test "X$pkg" = "X$p"; then
8135 enable_fast_install=yes
8137 done
8138 IFS="$lt_save_ifs"
8140 esac
8141 else
8142 enable_fast_install=yes
8155 # This can be used to rebuild libtool when needed
8156 LIBTOOL_DEPS="$ltmain"
8158 # Always use our own libtool.
8159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8186 test -z "$LN_S" && LN_S="ln -s"
8201 if test -n "${ZSH_VERSION+set}" ; then
8202 setopt NO_GLOB_SUBST
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8206 $as_echo_n "checking for objdir... " >&6; }
8207 if test "${lt_cv_objdir+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 rm -f .libs 2>/dev/null
8211 mkdir .libs 2>/dev/null
8212 if test -d .libs; then
8213 lt_cv_objdir=.libs
8214 else
8215 # MS-DOS does not allow filenames that begin with a dot.
8216 lt_cv_objdir=_libs
8218 rmdir .libs 2>/dev/null
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8221 $as_echo "$lt_cv_objdir" >&6; }
8222 objdir=$lt_cv_objdir
8228 cat >>confdefs.h <<_ACEOF
8229 #define LT_OBJDIR "$lt_cv_objdir/"
8230 _ACEOF
8235 case $host_os in
8236 aix3*)
8237 # AIX sometimes has problems with the GCC collect2 program. For some
8238 # reason, if we set the COLLECT_NAMES environment variable, the problems
8239 # vanish in a puff of smoke.
8240 if test "X${COLLECT_NAMES+set}" != Xset; then
8241 COLLECT_NAMES=
8242 export COLLECT_NAMES
8245 esac
8247 # Global variables:
8248 ofile=libtool
8249 can_build_shared=yes
8251 # All known linkers require a `.a' archive for static linking (except MSVC,
8252 # which needs '.lib').
8253 libext=a
8255 with_gnu_ld="$lt_cv_prog_gnu_ld"
8257 old_CC="$CC"
8258 old_CFLAGS="$CFLAGS"
8260 # Set sane defaults for various variables
8261 test -z "$CC" && CC=cc
8262 test -z "$LTCC" && LTCC=$CC
8263 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8264 test -z "$LD" && LD=ld
8265 test -z "$ac_objext" && ac_objext=o
8267 for cc_temp in $compiler""; do
8268 case $cc_temp in
8269 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8270 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8271 \-*) ;;
8272 *) break;;
8273 esac
8274 done
8275 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8278 # Only perform the check for file, if the check method requires it
8279 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8280 case $deplibs_check_method in
8281 file_magic*)
8282 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8284 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 case $MAGIC_CMD in
8289 [\\/*] | ?:[\\/]*)
8290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8293 lt_save_MAGIC_CMD="$MAGIC_CMD"
8294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8295 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8296 for ac_dir in $ac_dummy; do
8297 IFS="$lt_save_ifs"
8298 test -z "$ac_dir" && ac_dir=.
8299 if test -f $ac_dir/${ac_tool_prefix}file; then
8300 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8301 if test -n "$file_magic_test_file"; then
8302 case $deplibs_check_method in
8303 "file_magic "*)
8304 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8307 $EGREP "$file_magic_regex" > /dev/null; then
8309 else
8310 cat <<_LT_EOF 1>&2
8312 *** Warning: the command libtool uses to detect shared libraries,
8313 *** $file_magic_cmd, produces output that libtool cannot recognize.
8314 *** The result is that libtool may fail to recognize shared libraries
8315 *** as such. This will affect the creation of libtool libraries that
8316 *** depend on shared libraries, but programs linked with such libtool
8317 *** libraries will work regardless of this problem. Nevertheless, you
8318 *** may want to report the problem to your system manager and/or to
8319 *** bug-libtool@gnu.org
8321 _LT_EOF
8322 fi ;;
8323 esac
8325 break
8327 done
8328 IFS="$lt_save_ifs"
8329 MAGIC_CMD="$lt_save_MAGIC_CMD"
8331 esac
8334 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8335 if test -n "$MAGIC_CMD"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8337 $as_echo "$MAGIC_CMD" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8347 if test -z "$lt_cv_path_MAGIC_CMD"; then
8348 if test -n "$ac_tool_prefix"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8350 $as_echo_n "checking for file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8375 else
8376 cat <<_LT_EOF 1>&2
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8387 _LT_EOF
8388 fi ;;
8389 esac
8391 break
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8397 esac
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8410 else
8411 MAGIC_CMD=:
8417 esac
8419 # Use C for the default configuration in the libtool script
8421 lt_save_CC="$CC"
8422 ac_ext=c
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8429 # Source file extension for C test sources.
8430 ac_ext=c
8432 # Object file extension for compiled C test sources.
8433 objext=o
8434 objext=$objext
8436 # Code to be used in simple compile tests
8437 lt_simple_compile_test_code="int some_variable = 0;"
8439 # Code to be used in simple link tests
8440 lt_simple_link_test_code='int main(){return(0);}'
8448 # If no C compiler was specified, use CC.
8449 LTCC=${LTCC-"$CC"}
8451 # If no C compiler flags were specified, use CFLAGS.
8452 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8454 # Allow CC to be a program name with arguments.
8455 compiler=$CC
8457 # Save the default compiler, since it gets overwritten when the other
8458 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8459 compiler_DEFAULT=$CC
8461 # save warnings/boilerplate of simple test code
8462 ac_outfile=conftest.$ac_objext
8463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8465 _lt_compiler_boilerplate=`cat conftest.err`
8466 $RM conftest*
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_linker_boilerplate=`cat conftest.err`
8472 $RM -r conftest*
8475 ## CAVEAT EMPTOR:
8476 ## There is no encapsulation within the following macros, do not change
8477 ## the running order or otherwise move them around unless you know exactly
8478 ## what you are doing...
8479 if test -n "$compiler"; then
8481 lt_prog_compiler_no_builtin_flag=
8483 if test "$GCC" = yes; then
8484 case $cc_basename in
8485 nvcc*)
8486 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8488 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8489 esac
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8492 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8493 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 lt_cv_prog_compiler_rtti_exceptions=no
8497 ac_outfile=conftest.$ac_objext
8498 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499 lt_compiler_flag="-fno-rtti -fno-exceptions"
8500 # Insert the option either (1) after the last *FLAGS variable, or
8501 # (2) before a word containing "conftest.", or (3) at the end.
8502 # Note that $ac_compile itself does not contain backslashes and begins
8503 # with a dollar sign (not a hyphen), so the echo should work correctly.
8504 # The option is referenced via a variable to avoid confusing sed.
8505 lt_compile=`echo "$ac_compile" | $SED \
8506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8508 -e 's:$: $lt_compiler_flag:'`
8509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8510 (eval "$lt_compile" 2>conftest.err)
8511 ac_status=$?
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 if (exit $ac_status) && test -s "$ac_outfile"; then
8515 # The compiler can only warn and ignore the option if not recognized
8516 # So say no if there are warnings other than the usual output.
8517 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8518 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8519 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8520 lt_cv_prog_compiler_rtti_exceptions=yes
8523 $RM conftest*
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8527 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8529 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8530 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8531 else
8542 lt_prog_compiler_wl=
8543 lt_prog_compiler_pic=
8544 lt_prog_compiler_static=
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8547 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8549 if test "$GCC" = yes; then
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_static='-static'
8553 case $host_os in
8554 aix*)
8555 # All AIX code is PIC.
8556 if test "$host_cpu" = ia64; then
8557 # AIX 5 now supports IA64 processor
8558 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_pic='-fPIC'
8563 amigaos*)
8564 case $host_cpu in
8565 powerpc)
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8569 m68k)
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8572 # like `-m68040'.
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8575 esac
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8596 haiku*)
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8602 hpux*)
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8606 case $host_cpu in
8607 hppa*64*)
8608 # +Z the default
8611 lt_prog_compiler_pic='-fPIC'
8613 esac
8616 interix[3-9]*)
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8621 msdosdjgpp*)
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8625 enable_shared=no
8628 *nto* | *qnx*)
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 # it will coredump.
8631 lt_prog_compiler_pic='-fPIC -shared'
8634 sysv4*MP*)
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8641 lt_prog_compiler_pic='-fPIC'
8643 esac
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8650 esac
8651 else
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8653 case $host_os in
8654 aix*)
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8659 else
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 # not for PA HP-UX.
8674 case $host_cpu in
8675 hppa*64*|ia64*)
8676 # +Z the default
8679 lt_prog_compiler_pic='+Z'
8681 esac
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8695 ecc*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8702 icc* | ifort*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8707 # Lahey Fortran 8.1.
8708 lf95*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8720 ccc*)
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8739 *Sun\ C*)
8740 # Sun C 5.9
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8745 esac
8747 esac
8750 newsos6)
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8755 *nto* | *qnx*)
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 # it will coredump.
8758 lt_prog_compiler_pic='-fPIC -shared'
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8767 rdos*)
8768 lt_prog_compiler_static='-non_shared'
8771 solaris*)
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8778 lt_prog_compiler_wl='-Wl,';;
8779 esac
8782 sunos4*)
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8794 sysv4*MP*)
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8807 unicos*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8812 uts4*)
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_can_build_shared=no
8820 esac
8823 case $host_os in
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8825 *djgpp*)
8826 lt_prog_compiler_pic=
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8831 esac
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8841 # Check to make sure the PIC flag actually works.
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8876 $RM conftest*
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8884 "" | " "*) ;;
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 esac
8887 else
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8900 # Check to make sure the static flag actually works.
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8923 else
8924 lt_cv_prog_compiler_static_works=yes
8927 $RM -r conftest*
8928 LDFLAGS="$save_LDFLAGS"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8936 else
8937 lt_prog_compiler_static=
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8953 mkdir conftest
8954 cd conftest
8955 mkdir out
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8969 ac_status=$?
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8982 chmod u+w . 2>&5
8983 $RM conftest*
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8988 cd ..
8989 $RM -r conftest
8990 $RM conftest*
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached) " >&6
9005 else
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9008 mkdir conftest
9009 cd conftest
9010 mkdir out
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9024 ac_status=$?
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028 then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9037 chmod u+w . 2>&5
9038 $RM conftest*
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9043 cd ..
9044 $RM -r conftest
9045 $RM conftest*
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059 hard_links=yes
9060 $RM conftest*
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062 touch conftest.a
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070 need_locks=warn
9072 else
9073 need_locks=no
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9084 runpath_var=
9085 allow_undefined_flag=
9086 always_export_symbols=no
9087 archive_cmds=
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9094 hardcode_direct=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9099 hardcode_minus_L=no
9100 hardcode_shlibpath_var=unsupported
9101 inherit_rpath=no
9102 link_all_deplibs=unknown
9103 module_cmds=
9104 module_expsym_cmds=
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9111 include_expsyms=
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9125 case $host_os in
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9131 with_gnu_ld=no
9134 interix*)
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 with_gnu_ld=yes
9138 openbsd*)
9139 with_gnu_ld=no
9141 esac
9143 ld_shlibs=yes
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9149 case $host_os in
9150 aix*)
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 lt_use_gnu_ld_interface=yes
9167 esac
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9172 wlarc='${wl}'
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9183 else
9184 whole_archive_flag_spec=
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9194 esac
9196 # See if GNU ld supports shared libraries.
9197 case $host_os in
9198 aix[3-9]*)
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9201 ld_shlibs=no
9202 cat <<_LT_EOF 1>&2
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9211 _LT_EOF
9215 amigaos*)
9216 case $host_cpu in
9217 powerpc)
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9222 m68k)
9223 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)'
9224 hardcode_libdir_flag_spec='-L$libdir'
9225 hardcode_minus_L=yes
9227 esac
9230 beos*)
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 allow_undefined_flag=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 else
9237 ld_shlibs=no
9241 cygwin* | mingw* | pw32* | cegcc*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 export_dynamic_flag_spec='${wl}--export-all-symbols'
9246 allow_undefined_flag=unsupported
9247 always_export_symbols=no
9248 enable_shared_with_static_runtimes=yes
9249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9257 else
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 else
9263 ld_shlibs=no
9267 haiku*)
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs=yes
9272 interix[3-9]*)
9273 hardcode_direct=no
9274 hardcode_shlibpath_var=no
9275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9287 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9288 tmp_diet=no
9289 if test "$host_os" = linux-dietlibc; then
9290 case $cc_basename in
9291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 esac
9294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9295 && test "$tmp_diet" = no
9296 then
9297 tmp_addflag=
9298 tmp_sharedflag='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc*) # Portland Group C compiler
9301 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'
9302 tmp_addflag=' $pic_flag'
9304 pgf77* | pgf90* | pgf95* | pgfortran*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag=' $pic_flag -Mnomain' ;;
9308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9309 tmp_addflag=' -i_dynamic' ;;
9310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9311 tmp_addflag=' -i_dynamic -nofor_main' ;;
9312 ifc* | ifort*) # Intel Fortran compiler
9313 tmp_addflag=' -nofor_main' ;;
9314 lf95*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec=
9316 tmp_sharedflag='--shared' ;;
9317 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag='-qmkshrobj'
9319 tmp_addflag= ;;
9320 nvcc*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object=yes
9324 esac
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C*) # Sun C 5.9
9327 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'
9328 compiler_needs_object=yes
9329 tmp_sharedflag='-G' ;;
9330 *Sun\ F*) # Sun Fortran 8.3
9331 tmp_sharedflag='-G' ;;
9332 esac
9333 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 if test "x$supports_anon_versioning" = xyes; then
9336 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9342 case $cc_basename in
9343 xlf* | bgf* | bgxlf* | mpixlf*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9348 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes; then
9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9356 esac
9357 else
9358 ld_shlibs=no
9362 netbsd*)
9363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9364 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 wlarc=
9366 else
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9372 solaris*)
9373 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 ld_shlibs=no
9375 cat <<_LT_EOF 1>&2
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9384 _LT_EOF
9385 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 else
9389 ld_shlibs=no
9393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9394 case `$LD -v 2>&1` in
9395 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 ld_shlibs=no
9397 cat <<_LT_EOF 1>&2
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9406 _LT_EOF
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9424 sunos4*)
9425 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 wlarc=
9427 hardcode_direct=yes
9428 hardcode_shlibpath_var=no
9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 else
9436 ld_shlibs=no
9439 esac
9441 if test "$ld_shlibs" = no; then
9442 runpath_var=
9443 hardcode_libdir_flag_spec=
9444 export_dynamic_flag_spec=
9445 whole_archive_flag_spec=
9447 else
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9449 case $host_os in
9450 aix3*)
9451 allow_undefined_flag=unsupported
9452 always_export_symbols=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9459 # broken collect2.
9460 hardcode_direct=unsupported
9464 aix[4-9]*)
9465 if test "$host_cpu" = ia64; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking=no
9469 exp_sym_flag='-Bexport'
9470 no_entry_flag=""
9471 else
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9477 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'
9478 else
9479 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'
9481 aix_use_runtimelinking=no
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9487 for ld_flag in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking=yes
9490 break
9492 done
9494 esac
9496 exp_sym_flag='-bexport'
9497 no_entry_flag='-bnoentry'
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9506 archive_cmds=''
9507 hardcode_direct=yes
9508 hardcode_direct_absolute=yes
9509 hardcode_libdir_separator=':'
9510 link_all_deplibs=yes
9511 file_list_spec='${wl}-f,'
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.[012]|aix4.[012].*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9520 then
9521 # We have reworked collect2
9523 else
9524 # We have old collect2
9525 hardcode_direct=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L=yes
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_libdir_separator=
9534 esac
9535 shared_flag='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag="$shared_flag "'${wl}-G'
9539 else
9540 # not using gcc
9541 if test "$host_cpu" = ia64; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9544 shared_flag='-G'
9545 else
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag='${wl}-G'
9548 else
9549 shared_flag='${wl}-bM:SRE'
9554 export_dynamic_flag_spec='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag='-berok'
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9571 main ()
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 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"
9599 else
9600 if test "$host_cpu" = ia64; then
9601 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9602 allow_undefined_flag="-z nodefs"
9603 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"
9604 else
9605 # Determine the default libpath from the value encoded in an
9606 # empty executable.
9607 if test x$gcc_no_link = xyes; then
9608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9614 main ()
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9623 lt_aix_libpath_sed='
9624 /Import File Strings/,/^$/ {
9625 /^0/ {
9626 s/^0 *\(.*\)$/\1/
9630 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 # Check for a 64-bit object if we didn't find anything.
9632 if test -z "$aix_libpath"; then
9633 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9641 # Warning - without using the other run time loading flags,
9642 # -berok will link without error, but may produce a broken library.
9643 no_undefined_flag=' ${wl}-bernotok'
9644 allow_undefined_flag=' ${wl}-berok'
9645 if test "$with_gnu_ld" = yes; then
9646 # We only use this code for GNU lds that support --whole-archive.
9647 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9648 else
9649 # Exported symbols can be pulled into shared objects from archives
9650 whole_archive_flag_spec='$convenience'
9652 archive_cmds_need_lc=yes
9653 # This is similar to how AIX traditionally builds its shared libraries.
9654 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'
9659 amigaos*)
9660 case $host_cpu in
9661 powerpc)
9662 # see comment about AmigaOS4 .so support
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds=''
9666 m68k)
9667 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)'
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_minus_L=yes
9671 esac
9674 bsdi[45]*)
9675 export_dynamic_flag_spec=-rdynamic
9678 cygwin* | mingw* | pw32* | cegcc*)
9679 # When not using gcc, we currently assume that we are using
9680 # Microsoft Visual C++.
9681 # hardcode_libdir_flag_spec is actually meaningless, as there is
9682 # no search path for DLLs.
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9686 libext=lib
9687 # Tell ltmain to make .dll files, not .so files.
9688 shrext_cmds=".dll"
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 fix_srcfile_path='`cygpath -w "$srcfile"`'
9696 enable_shared_with_static_runtimes=yes
9699 darwin* | rhapsody*)
9702 archive_cmds_need_lc=no
9703 hardcode_direct=no
9704 hardcode_automatic=yes
9705 hardcode_shlibpath_var=unsupported
9706 if test "$lt_cv_ld_force_load" = "yes"; then
9707 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\"`'
9708 else
9709 whole_archive_flag_spec=''
9711 link_all_deplibs=yes
9712 allow_undefined_flag="$_lt_dar_allow_undefined"
9713 case $cc_basename in
9714 ifort*) _lt_dar_can_shared=yes ;;
9715 *) _lt_dar_can_shared=$GCC ;;
9716 esac
9717 if test "$_lt_dar_can_shared" = "yes"; then
9718 output_verbose_link_cmd=func_echo_all
9719 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9720 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9721 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}"
9722 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}"
9724 else
9725 ld_shlibs=no
9730 dgux*)
9731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_shlibpath_var=no
9736 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9737 # support. Future versions do this automatically, but an explicit c++rt0.o
9738 # does not break anything, and helps significantly (at the cost of a little
9739 # extra space).
9740 freebsd2.2*)
9741 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9742 hardcode_libdir_flag_spec='-R$libdir'
9743 hardcode_direct=yes
9744 hardcode_shlibpath_var=no
9747 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9748 freebsd2.*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_direct=yes
9751 hardcode_minus_L=yes
9752 hardcode_shlibpath_var=no
9755 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9756 freebsd* | dragonfly*)
9757 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9758 hardcode_libdir_flag_spec='-R$libdir'
9759 hardcode_direct=yes
9760 hardcode_shlibpath_var=no
9763 hpux9*)
9764 if test "$GCC" = yes; then
9765 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'
9766 else
9767 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'
9769 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9776 export_dynamic_flag_spec='${wl}-E'
9779 hpux10*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 else
9783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9785 if test "$with_gnu_ld" = no; then
9786 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9787 hardcode_libdir_flag_spec_ld='+b $libdir'
9788 hardcode_libdir_separator=:
9789 hardcode_direct=yes
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L=yes
9798 hpux11*)
9799 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9800 case $host_cpu in
9801 hppa*64*)
9802 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 ia64*)
9805 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 esac
9811 else
9812 case $host_cpu in
9813 hppa*64*)
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 ia64*)
9817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821 # Older versions of the 11.00 compiler do not understand -b yet
9822 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 lt_cv_prog_compiler__b=no
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -b"
9831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833 # The linker can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 if test -s conftest.err; then
9836 # Append any errors to the config.log.
9837 cat conftest.err 1>&5
9838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840 if diff conftest.exp conftest.er2 >/dev/null; then
9841 lt_cv_prog_compiler__b=yes
9843 else
9844 lt_cv_prog_compiler__b=yes
9847 $RM -r conftest*
9848 LDFLAGS="$save_LDFLAGS"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 esac
9863 if test "$with_gnu_ld" = no; then
9864 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator=:
9867 case $host_cpu in
9868 hppa*64*|ia64*)
9869 hardcode_direct=no
9870 hardcode_shlibpath_var=no
9873 hardcode_direct=yes
9874 hardcode_direct_absolute=yes
9875 export_dynamic_flag_spec='${wl}-E'
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L=yes
9881 esac
9885 irix5* | irix6* | nonstopux*)
9886 if test "$GCC" = yes; then
9887 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'
9888 # Try to use the -exported_symbol ld option, if it does not
9889 # work, assume that -exports_file does not work either and
9890 # implicitly export all symbols.
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9893 if test x$gcc_no_link = xyes; then
9894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int foo(void) {}
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 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'
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LDFLAGS="$save_LDFLAGS"
9907 else
9908 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'
9909 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'
9911 archive_cmds_need_lc='no'
9912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 hardcode_libdir_separator=:
9914 inherit_rpath=yes
9915 link_all_deplibs=yes
9918 netbsd*)
9919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9921 else
9922 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9924 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_direct=yes
9926 hardcode_shlibpath_var=no
9929 newsos6)
9930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_direct=yes
9932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933 hardcode_libdir_separator=:
9934 hardcode_shlibpath_var=no
9937 *nto* | *qnx*)
9940 openbsd*)
9941 if test -f /usr/libexec/ld.so; then
9942 hardcode_direct=yes
9943 hardcode_shlibpath_var=no
9944 hardcode_direct_absolute=yes
9945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9948 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9949 export_dynamic_flag_spec='${wl}-E'
9950 else
9951 case $host_os in
9952 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9953 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='-R$libdir'
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9960 esac
9962 else
9963 ld_shlibs=no
9967 os2*)
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9970 allow_undefined_flag=unsupported
9971 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'
9972 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9975 osf3*)
9976 if test "$GCC" = yes; then
9977 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9978 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'
9979 else
9980 allow_undefined_flag=' -expect_unresolved \*'
9981 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'
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9988 osf4* | osf5*) # as osf3* with the addition of -msym flag
9989 if test "$GCC" = yes; then
9990 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9991 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'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 else
9994 allow_undefined_flag=' -expect_unresolved \*'
9995 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'
9996 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~
9997 $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'
9999 # Both c and cxx compiler support -rpath directly
10000 hardcode_libdir_flag_spec='-rpath $libdir'
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_separator=:
10006 solaris*)
10007 no_undefined_flag=' -z defs'
10008 if test "$GCC" = yes; then
10009 wlarc='${wl}'
10010 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10013 else
10014 case `$CC -V 2>&1` in
10015 *"Compilers 5.0"*)
10016 wlarc=''
10017 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10019 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10022 wlarc='${wl}'
10023 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10027 esac
10029 hardcode_libdir_flag_spec='-R$libdir'
10030 hardcode_shlibpath_var=no
10031 case $host_os in
10032 solaris2.[0-5] | solaris2.[0-5].*) ;;
10034 # The compiler driver will combine and reorder linker options,
10035 # but understands `-z linker_flag'. GCC discards it without `$wl',
10036 # but is careful enough not to reorder.
10037 # Supported since Solaris 2.6 (maybe 2.5.1?)
10038 if test "$GCC" = yes; then
10039 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10040 else
10041 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10044 esac
10045 link_all_deplibs=yes
10048 sunos4*)
10049 if test "x$host_vendor" = xsequent; then
10050 # Use $CC to link under sequent, because it throws in some extra .o
10051 # files that make .init and .fini sections work.
10052 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10053 else
10054 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_direct=yes
10058 hardcode_minus_L=yes
10059 hardcode_shlibpath_var=no
10062 sysv4)
10063 case $host_vendor in
10064 sni)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes # is this really true???
10068 siemens)
10069 ## LD is ld it makes a PLAMLIB
10070 ## CC just makes a GrossModule.
10071 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10072 reload_cmds='$CC -r -o $output$reload_objs'
10073 hardcode_direct=no
10075 motorola)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10079 esac
10080 runpath_var='LD_RUN_PATH'
10081 hardcode_shlibpath_var=no
10084 sysv4.3*)
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_shlibpath_var=no
10087 export_dynamic_flag_spec='-Bexport'
10090 sysv4*MP*)
10091 if test -d /usr/nec; then
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_shlibpath_var=no
10094 runpath_var=LD_RUN_PATH
10095 hardcode_runpath_var=yes
10096 ld_shlibs=yes
10100 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10101 no_undefined_flag='${wl}-z,text'
10102 archive_cmds_need_lc=no
10103 hardcode_shlibpath_var=no
10104 runpath_var='LD_RUN_PATH'
10106 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 else
10110 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 sysv5* | sco3.2v5* | sco5v6*)
10116 # Note: We can NOT use -z defs as we might desire, because we do not
10117 # link with -lc, and that would cause any symbols used from libc to
10118 # always be unresolved, which means just about no library would
10119 # ever link correctly. If we're not using GNU ld we use -z text
10120 # though, which does catch some bad symbols but isn't as heavy-handed
10121 # as -z defs.
10122 no_undefined_flag='${wl}-z,text'
10123 allow_undefined_flag='${wl}-z,nodefs'
10124 archive_cmds_need_lc=no
10125 hardcode_shlibpath_var=no
10126 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10127 hardcode_libdir_separator=':'
10128 link_all_deplibs=yes
10129 export_dynamic_flag_spec='${wl}-Bexport'
10130 runpath_var='LD_RUN_PATH'
10132 if test "$GCC" = yes; then
10133 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 else
10136 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 uts4*)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_libdir_flag_spec='-L$libdir'
10144 hardcode_shlibpath_var=no
10148 ld_shlibs=no
10150 esac
10152 if test x$host_vendor = xsni; then
10153 case $host in
10154 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10155 export_dynamic_flag_spec='${wl}-Blargedynsym'
10157 esac
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10162 $as_echo "$ld_shlibs" >&6; }
10163 test "$ld_shlibs" = no && can_build_shared=no
10165 with_gnu_ld=$with_gnu_ld
10182 # Do we need to explicitly link libc?
10184 case "x$archive_cmds_need_lc" in
10185 x|xyes)
10186 # Assume -lc should be added
10187 archive_cmds_need_lc=yes
10189 if test "$enable_shared" = yes && test "$GCC" = yes; then
10190 case $archive_cmds in
10191 *'~'*)
10192 # FIXME: we may have to deal with multi-command sequences.
10194 '$CC '*)
10195 # Test whether the compiler implicitly links with -lc since on some
10196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10197 # to ld, don't add -lc before -lgcc.
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10200 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 $RM conftest*
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10207 (eval $ac_compile) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; } 2>conftest.err; then
10211 soname=conftest
10212 lib=conftest
10213 libobjs=conftest.$ac_objext
10214 deplibs=
10215 wl=$lt_prog_compiler_wl
10216 pic_flag=$lt_prog_compiler_pic
10217 compiler_flags=-v
10218 linker_flags=-v
10219 verstring=
10220 output_objdir=.
10221 libname=conftest
10222 lt_save_allow_undefined_flag=$allow_undefined_flag
10223 allow_undefined_flag=
10224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10225 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10226 ac_status=$?
10227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; }
10229 then
10230 lt_cv_archive_cmds_need_lc=no
10231 else
10232 lt_cv_archive_cmds_need_lc=yes
10234 allow_undefined_flag=$lt_save_allow_undefined_flag
10235 else
10236 cat conftest.err 1>&5
10238 $RM conftest*
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10243 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10245 esac
10248 esac
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10407 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10409 if test "$GCC" = yes; then
10410 case $host_os in
10411 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10412 *) lt_awk_arg="/^libraries:/" ;;
10413 esac
10414 case $host_os in
10415 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10416 *) lt_sed_strip_eq="s,=/,/,g" ;;
10417 esac
10418 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10419 case $lt_search_path_spec in
10420 *\;*)
10421 # if the path contains ";" then we assume it to be the separator
10422 # otherwise default to the standard path separator (i.e. ":") - it is
10423 # assumed that no part of a normal pathname contains ";" but that should
10424 # okay in the real world where ";" in dirpaths is itself problematic.
10425 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10430 esac
10431 # Ok, now we have the path, separated by spaces, we can step through it
10432 # and add multilib dir if necessary.
10433 lt_tmp_lt_search_path_spec=
10434 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10435 for lt_sys_path in $lt_search_path_spec; do
10436 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10437 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10438 else
10439 test -d "$lt_sys_path" && \
10440 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10442 done
10443 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10444 BEGIN {RS=" "; FS="/|\n";} {
10445 lt_foo="";
10446 lt_count=0;
10447 for (lt_i = NF; lt_i > 0; lt_i--) {
10448 if ($lt_i != "" && $lt_i != ".") {
10449 if ($lt_i == "..") {
10450 lt_count++;
10451 } else {
10452 if (lt_count == 0) {
10453 lt_foo="/" $lt_i lt_foo;
10454 } else {
10455 lt_count--;
10460 if (lt_foo != "") { lt_freq[lt_foo]++; }
10461 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10463 # AWK program above erroneously prepends '/' to C:/dos/paths
10464 # for these hosts.
10465 case $host_os in
10466 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10467 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10468 esac
10469 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10470 else
10471 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10473 library_names_spec=
10474 libname_spec='lib$name'
10475 soname_spec=
10476 shrext_cmds=".so"
10477 postinstall_cmds=
10478 postuninstall_cmds=
10479 finish_cmds=
10480 finish_eval=
10481 shlibpath_var=
10482 shlibpath_overrides_runpath=unknown
10483 version_type=none
10484 dynamic_linker="$host_os ld.so"
10485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10486 need_lib_prefix=unknown
10487 hardcode_into_libs=no
10489 # when you set need_version to no, make sure it does not cause -set_version
10490 # flags to be left without arguments
10491 need_version=unknown
10493 case $host_os in
10494 aix3*)
10495 version_type=linux
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10497 shlibpath_var=LIBPATH
10499 # AIX 3 has no versioning support, so we append a major version to the name.
10500 soname_spec='${libname}${release}${shared_ext}$major'
10503 aix[4-9]*)
10504 version_type=linux
10505 need_lib_prefix=no
10506 need_version=no
10507 hardcode_into_libs=yes
10508 if test "$host_cpu" = ia64; then
10509 # AIX 5 supports IA64
10510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 else
10513 # With GCC up to 2.95.x, collect2 would create an import file
10514 # for dependence libraries. The import file would start with
10515 # the line `#! .'. This would cause the generated library to
10516 # depend on `.', always an invalid library. This was fixed in
10517 # development snapshots of GCC prior to 3.0.
10518 case $host_os in
10519 aix4 | aix4.[01] | aix4.[01].*)
10520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10521 echo ' yes '
10522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10524 else
10525 can_build_shared=no
10528 esac
10529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10530 # soname into executable. Probably we can add versioning support to
10531 # collect2, so additional links can be useful in future.
10532 if test "$aix_use_runtimelinking" = yes; then
10533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10534 # instead of lib<name>.a to let people know that these are not
10535 # typical AIX shared libraries.
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 else
10538 # We preserve .a as extension for shared libraries through AIX4.2
10539 # and later when we are not doing run time linking.
10540 library_names_spec='${libname}${release}.a $libname.a'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10543 shlibpath_var=LIBPATH
10547 amigaos*)
10548 case $host_cpu in
10549 powerpc)
10550 # Since July 2007 AmigaOS4 officially supports .so libraries.
10551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 m68k)
10555 library_names_spec='$libname.ixlibrary $libname.a'
10556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10557 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'
10559 esac
10562 beos*)
10563 library_names_spec='${libname}${shared_ext}'
10564 dynamic_linker="$host_os ld.so"
10565 shlibpath_var=LIBRARY_PATH
10568 bsdi[45]*)
10569 version_type=linux
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10577 # the default ld.so.conf also contains /usr/contrib/lib and
10578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10579 # libtool to hard-code these into programs
10582 cygwin* | mingw* | pw32* | cegcc*)
10583 version_type=windows
10584 shrext_cmds=".dll"
10585 need_version=no
10586 need_lib_prefix=no
10588 case $GCC,$host_os in
10589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10590 library_names_spec='$libname.dll.a'
10591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10592 postinstall_cmds='base_file=`basename \${file}`~
10593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10594 dldir=$destdir/`dirname \$dlpath`~
10595 test -d \$dldir || mkdir -p \$dldir~
10596 $install_prog $dir/$dlname \$dldir/$dlname~
10597 chmod a+x \$dldir/$dlname~
10598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10602 dlpath=$dir/\$dldll~
10603 $RM \$dlpath'
10604 shlibpath_overrides_runpath=yes
10606 case $host_os in
10607 cygwin*)
10608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10613 mingw* | cegcc*)
10614 # MinGW DLLs use traditional 'lib' prefix
10615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 pw32*)
10618 # pw32 DLLs use 'pw' prefix rather than 'lib'
10619 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10621 esac
10625 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10627 esac
10628 dynamic_linker='Win32 ld.exe'
10629 # FIXME: first we should search . and the directory the executable is in
10630 shlibpath_var=PATH
10633 darwin* | rhapsody*)
10634 dynamic_linker="$host_os dyld"
10635 version_type=darwin
10636 need_lib_prefix=no
10637 need_version=no
10638 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10639 soname_spec='${libname}${release}${major}$shared_ext'
10640 shlibpath_overrides_runpath=yes
10641 shlibpath_var=DYLD_LIBRARY_PATH
10642 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10644 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10645 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10648 dgux*)
10649 version_type=linux
10650 need_lib_prefix=no
10651 need_version=no
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LD_LIBRARY_PATH
10657 freebsd* | dragonfly*)
10658 # DragonFly does not have aout. When/if they implement a new
10659 # versioning mechanism, adjust this.
10660 if test -x /usr/bin/objformat; then
10661 objformat=`/usr/bin/objformat`
10662 else
10663 case $host_os in
10664 freebsd[23].*) objformat=aout ;;
10665 *) objformat=elf ;;
10666 esac
10668 version_type=freebsd-$objformat
10669 case $version_type in
10670 freebsd-elf*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 need_version=no
10673 need_lib_prefix=no
10675 freebsd-*)
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10677 need_version=yes
10679 esac
10680 shlibpath_var=LD_LIBRARY_PATH
10681 case $host_os in
10682 freebsd2.*)
10683 shlibpath_overrides_runpath=yes
10685 freebsd3.[01]* | freebsdelf3.[01]*)
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10689 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10690 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10694 *) # from 4.6 on, and DragonFly
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10698 esac
10701 gnu*)
10702 version_type=linux
10703 need_lib_prefix=no
10704 need_version=no
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 hardcode_into_libs=yes
10711 haiku*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 dynamic_linker="$host_os runtime_loader"
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes
10720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10721 hardcode_into_libs=yes
10724 hpux9* | hpux10* | hpux11*)
10725 # Give a soname corresponding to the major version so that dld.sl refuses to
10726 # link against other versions.
10727 version_type=sunos
10728 need_lib_prefix=no
10729 need_version=no
10730 case $host_cpu in
10731 ia64*)
10732 shrext_cmds='.so'
10733 hardcode_into_libs=yes
10734 dynamic_linker="$host_os dld.so"
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 if test "X$HPUX_IA64_MODE" = X32; then
10740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 else
10742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10746 hppa*64*)
10747 shrext_cmds='.sl'
10748 hardcode_into_libs=yes
10749 dynamic_linker="$host_os dld.sl"
10750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10758 shrext_cmds='.sl'
10759 dynamic_linker="$host_os dld.sl"
10760 shlibpath_var=SHLIB_PATH
10761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10765 esac
10766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10767 postinstall_cmds='chmod 555 $lib'
10768 # or fails outright, so override atomically:
10769 install_override_mode=555
10772 interix[3-9]*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10784 irix5* | irix6* | nonstopux*)
10785 case $host_os in
10786 nonstopux*) version_type=nonstopux ;;
10788 if test "$lt_cv_prog_gnu_ld" = yes; then
10789 version_type=linux
10790 else
10791 version_type=irix
10792 fi ;;
10793 esac
10794 need_lib_prefix=no
10795 need_version=no
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 case $host_os in
10799 irix5* | nonstopux*)
10800 libsuff= shlibsuff=
10803 case $LD in # libtool.m4 will add one of these switches to LD
10804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10805 libsuff= shlibsuff= libmagic=32-bit;;
10806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10807 libsuff=32 shlibsuff=N32 libmagic=N32;;
10808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10809 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10810 *) libsuff= shlibsuff= libmagic=never-match;;
10811 esac
10813 esac
10814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10815 shlibpath_overrides_runpath=no
10816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10818 hardcode_into_libs=yes
10821 # No shared lib support for Linux oldld, aout, or coff.
10822 linux*oldld* | linux*aout* | linux*coff*)
10823 dynamic_linker=no
10826 # This must be Linux ELF.
10827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10828 version_type=linux
10829 need_lib_prefix=no
10830 need_version=no
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath=no
10837 # Some binutils ld are patched to set DT_RUNPATH
10838 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 lt_cv_shlibpath_overrides_runpath=no
10842 save_LDFLAGS=$LDFLAGS
10843 save_libdir=$libdir
10844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10846 if test x$gcc_no_link = xyes; then
10847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10853 main ()
10857 return 0;
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10862 lt_cv_shlibpath_overrides_runpath=yes
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LDFLAGS=$save_LDFLAGS
10868 libdir=$save_libdir
10872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10874 # This implies no fast_install, which is unacceptable.
10875 # Some rework will be needed to allow for fast_install
10876 # before this can be enabled.
10877 hardcode_into_libs=yes
10879 # Append ld.so.conf contents to the search path
10880 if test -f /etc/ld.so.conf; then
10881 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' ' '`
10882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker='GNU/Linux ld.so'
10894 netbsd*)
10895 version_type=sunos
10896 need_lib_prefix=no
10897 need_version=no
10898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker='NetBSD (a.out) ld.so'
10902 else
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 dynamic_linker='NetBSD ld.elf_so'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10912 newsos6)
10913 version_type=linux
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10919 *nto* | *qnx*)
10920 version_type=qnx
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10928 dynamic_linker='ldqnx.so'
10931 openbsd*)
10932 version_type=sunos
10933 sys_lib_dlsearch_path_spec="/usr/lib"
10934 need_lib_prefix=no
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 case $host_os in
10937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10938 *) need_version=no ;;
10939 esac
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 case $host_os in
10945 openbsd2.[89] | openbsd2.[89].*)
10946 shlibpath_overrides_runpath=no
10949 shlibpath_overrides_runpath=yes
10951 esac
10952 else
10953 shlibpath_overrides_runpath=yes
10957 os2*)
10958 libname_spec='$name'
10959 shrext_cmds=".dll"
10960 need_lib_prefix=no
10961 library_names_spec='$libname${shared_ext} $libname.a'
10962 dynamic_linker='OS/2 ld.exe'
10963 shlibpath_var=LIBPATH
10966 osf3* | osf4* | osf5*)
10967 version_type=osf
10968 need_lib_prefix=no
10969 need_version=no
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10977 rdos*)
10978 dynamic_linker=no
10981 solaris*)
10982 version_type=linux
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds='chmod +x $lib'
10994 sunos4*)
10995 version_type=sunos
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 if test "$with_gnu_ld" = yes; then
11001 need_lib_prefix=no
11003 need_version=yes
11006 sysv4 | sysv4.3*)
11007 version_type=linux
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 case $host_vendor in
11012 sni)
11013 shlibpath_overrides_runpath=no
11014 need_lib_prefix=no
11015 runpath_var=LD_RUN_PATH
11017 siemens)
11018 need_lib_prefix=no
11020 motorola)
11021 need_lib_prefix=no
11022 need_version=no
11023 shlibpath_overrides_runpath=no
11024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11026 esac
11029 sysv4*MP*)
11030 if test -d /usr/nec ;then
11031 version_type=linux
11032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec='$libname${shared_ext}.$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11039 version_type=freebsd-elf
11040 need_lib_prefix=no
11041 need_version=no
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes
11046 hardcode_into_libs=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 else
11050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 case $host_os in
11052 sco3.2v5*)
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11055 esac
11057 sys_lib_dlsearch_path_spec='/usr/lib'
11060 tpf*)
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11062 version_type=linux
11063 need_lib_prefix=no
11064 need_version=no
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11071 uts4*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11079 dynamic_linker=no
11081 esac
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no && can_build_shared=no
11086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 hardcode_action=
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no &&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action=relink
11205 else
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action=immediate
11209 else
11210 # We cannot hardcode anything, or else we can only hardcode existing
11211 # directories.
11212 hardcode_action=unsupported
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no; then
11223 # Fast installation is not necessary
11224 enable_fast_install=needless
11232 if test "x$enable_dlopen" != xyes; then
11233 enable_dlopen=unknown
11234 enable_dlopen_self=unknown
11235 enable_dlopen_self_static=unknown
11236 else
11237 lt_cv_dlopen=no
11238 lt_cv_dlopen_libs=
11240 case $host_os in
11241 beos*)
11242 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_libs=
11244 lt_cv_dlopen_self=yes
11247 mingw* | pw32* | cegcc*)
11248 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen_libs=
11252 cygwin*)
11253 lt_cv_dlopen="dlopen"
11254 lt_cv_dlopen_libs=
11257 darwin*)
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-ldl $LIBS"
11266 if test x$gcc_no_link = xyes; then
11267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char dlopen ();
11280 main ()
11282 return dlopen ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_dl_dlopen=yes
11289 else
11290 ac_cv_lib_dl_dlopen=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11298 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 else
11302 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_libs=
11304 lt_cv_dlopen_self=yes
11311 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11312 if test "x$ac_cv_func_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11316 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11317 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldld $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char shl_load ();
11336 main ()
11338 return shl_load ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dld_shl_load=yes
11345 else
11346 ac_cv_lib_dld_shl_load=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11353 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11354 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11355 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11356 else
11357 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11358 if test "x$ac_cv_func_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11362 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11363 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-ldl $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11382 main ()
11384 return dlopen ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_dl_dlopen=yes
11391 else
11392 ac_cv_lib_dl_dlopen=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11399 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11400 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11404 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11405 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lsvld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dlopen ();
11424 main ()
11426 return dlopen ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_svld_dlopen=yes
11433 else
11434 ac_cv_lib_svld_dlopen=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11442 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11447 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-ldld $LIBS"
11452 if test x$gcc_no_link = xyes; then
11453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char dld_link ();
11466 main ()
11468 return dld_link ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_dld_dld_link=yes
11475 else
11476 ac_cv_lib_dld_dld_link=no
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11483 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11484 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11485 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11504 esac
11506 if test "x$lt_cv_dlopen" != xno; then
11507 enable_dlopen=yes
11508 else
11509 enable_dlopen=no
11512 case $lt_cv_dlopen in
11513 dlopen)
11514 save_CPPFLAGS="$CPPFLAGS"
11515 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11517 save_LDFLAGS="$LDFLAGS"
11518 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11520 save_LIBS="$LIBS"
11521 LIBS="$lt_cv_dlopen_libs $LIBS"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11524 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11525 if test "${lt_cv_dlopen_self+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 if test "$cross_compiling" = yes; then :
11529 lt_cv_dlopen_self=cross
11530 else
11531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11532 lt_status=$lt_dlunknown
11533 cat > conftest.$ac_ext <<_LT_EOF
11534 #line 11534 "configure"
11535 #include "confdefs.h"
11537 #if HAVE_DLFCN_H
11538 #include <dlfcn.h>
11539 #endif
11541 #include <stdio.h>
11543 #ifdef RTLD_GLOBAL
11544 # define LT_DLGLOBAL RTLD_GLOBAL
11545 #else
11546 # ifdef DL_GLOBAL
11547 # define LT_DLGLOBAL DL_GLOBAL
11548 # else
11549 # define LT_DLGLOBAL 0
11550 # endif
11551 #endif
11553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11554 find out it does not work in some platform. */
11555 #ifndef LT_DLLAZY_OR_NOW
11556 # ifdef RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11558 # else
11559 # ifdef DL_LAZY
11560 # define LT_DLLAZY_OR_NOW DL_LAZY
11561 # else
11562 # ifdef RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW RTLD_NOW
11564 # else
11565 # ifdef DL_NOW
11566 # define LT_DLLAZY_OR_NOW DL_NOW
11567 # else
11568 # define LT_DLLAZY_OR_NOW 0
11569 # endif
11570 # endif
11571 # endif
11572 # endif
11573 #endif
11575 /* When -fvisbility=hidden is used, assume the code has been annotated
11576 correspondingly for the symbols needed. */
11577 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11578 void fnord () __attribute__((visibility("default")));
11579 #endif
11581 void fnord () { int i=42; }
11582 int main ()
11584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11585 int status = $lt_dlunknown;
11587 if (self)
11589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11590 else
11592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11593 else puts (dlerror ());
11595 /* dlclose (self); */
11597 else
11598 puts (dlerror ());
11600 return status;
11602 _LT_EOF
11603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11604 (eval $ac_link) 2>&5
11605 ac_status=$?
11606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11608 (./conftest; exit; ) >&5 2>/dev/null
11609 lt_status=$?
11610 case x$lt_status in
11611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11614 esac
11615 else :
11616 # compilation failed
11617 lt_cv_dlopen_self=no
11620 rm -fr conftest*
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11625 $as_echo "$lt_cv_dlopen_self" >&6; }
11627 if test "x$lt_cv_dlopen_self" = xyes; then
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11630 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11631 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 if test "$cross_compiling" = yes; then :
11635 lt_cv_dlopen_self_static=cross
11636 else
11637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11638 lt_status=$lt_dlunknown
11639 cat > conftest.$ac_ext <<_LT_EOF
11640 #line 11640 "configure"
11641 #include "confdefs.h"
11643 #if HAVE_DLFCN_H
11644 #include <dlfcn.h>
11645 #endif
11647 #include <stdio.h>
11649 #ifdef RTLD_GLOBAL
11650 # define LT_DLGLOBAL RTLD_GLOBAL
11651 #else
11652 # ifdef DL_GLOBAL
11653 # define LT_DLGLOBAL DL_GLOBAL
11654 # else
11655 # define LT_DLGLOBAL 0
11656 # endif
11657 #endif
11659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11660 find out it does not work in some platform. */
11661 #ifndef LT_DLLAZY_OR_NOW
11662 # ifdef RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11664 # else
11665 # ifdef DL_LAZY
11666 # define LT_DLLAZY_OR_NOW DL_LAZY
11667 # else
11668 # ifdef RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW RTLD_NOW
11670 # else
11671 # ifdef DL_NOW
11672 # define LT_DLLAZY_OR_NOW DL_NOW
11673 # else
11674 # define LT_DLLAZY_OR_NOW 0
11675 # endif
11676 # endif
11677 # endif
11678 # endif
11679 #endif
11681 /* When -fvisbility=hidden is used, assume the code has been annotated
11682 correspondingly for the symbols needed. */
11683 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11684 void fnord () __attribute__((visibility("default")));
11685 #endif
11687 void fnord () { int i=42; }
11688 int main ()
11690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11691 int status = $lt_dlunknown;
11693 if (self)
11695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11696 else
11698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11699 else puts (dlerror ());
11701 /* dlclose (self); */
11703 else
11704 puts (dlerror ());
11706 return status;
11708 _LT_EOF
11709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11710 (eval $ac_link) 2>&5
11711 ac_status=$?
11712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11714 (./conftest; exit; ) >&5 2>/dev/null
11715 lt_status=$?
11716 case x$lt_status in
11717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11719 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11720 esac
11721 else :
11722 # compilation failed
11723 lt_cv_dlopen_self_static=no
11726 rm -fr conftest*
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11731 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11734 CPPFLAGS="$save_CPPFLAGS"
11735 LDFLAGS="$save_LDFLAGS"
11736 LIBS="$save_LIBS"
11738 esac
11740 case $lt_cv_dlopen_self in
11741 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11742 *) enable_dlopen_self=unknown ;;
11743 esac
11745 case $lt_cv_dlopen_self_static in
11746 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11747 *) enable_dlopen_self_static=unknown ;;
11748 esac
11767 striplib=
11768 old_striplib=
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11770 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11771 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11772 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11773 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11775 $as_echo "yes" >&6; }
11776 else
11777 # FIXME - insert some real tests, host_os isn't really good enough
11778 case $host_os in
11779 darwin*)
11780 if test -n "$STRIP" ; then
11781 striplib="$STRIP -x"
11782 old_striplib="$STRIP -S"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11784 $as_echo "yes" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11794 esac
11808 # Report which library types will actually be built
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11810 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11812 $as_echo "$can_build_shared" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11815 $as_echo_n "checking whether to build shared libraries... " >&6; }
11816 test "$can_build_shared" = "no" && enable_shared=no
11818 # On AIX, shared libraries and static libraries use the same namespace, and
11819 # are all built from PIC.
11820 case $host_os in
11821 aix3*)
11822 test "$enable_shared" = yes && enable_static=no
11823 if test -n "$RANLIB"; then
11824 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11825 postinstall_cmds='$RANLIB $lib'
11829 aix[4-9]*)
11830 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11831 test "$enable_shared" = yes && enable_static=no
11834 esac
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11836 $as_echo "$enable_shared" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11839 $as_echo_n "checking whether to build static libraries... " >&6; }
11840 # Make sure either enable_shared or enable_static is yes.
11841 test "$enable_shared" = yes || enable_static=yes
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11843 $as_echo "$enable_static" >&6; }
11849 ac_ext=c
11850 ac_cpp='$CPP $CPPFLAGS'
11851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855 CC="$lt_save_CC"
11857 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11858 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11859 (test "X$CXX" != "Xg++"))) ; then
11860 ac_ext=cpp
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11866 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11867 if test -z "$CXXCPP"; then
11868 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 # Double quotes because CXXCPP needs to be expanded
11872 for CXXCPP in "$CXX -E" "/lib/cpp"
11874 ac_preproc_ok=false
11875 for ac_cxx_preproc_warn_flag in '' yes
11877 # Use a header file that comes with gcc, so configuring glibc
11878 # with a fresh cross-compiler works.
11879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 # <limits.h> exists even on freestanding compilers.
11881 # On the NeXT, cc -E runs the code through the compiler's parser,
11882 # not just through cpp. "Syntax error" is here to catch this case.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #ifdef __STDC__
11886 # include <limits.h>
11887 #else
11888 # include <assert.h>
11889 #endif
11890 Syntax error
11891 _ACEOF
11892 if ac_fn_cxx_try_cpp "$LINENO"; then :
11894 else
11895 # Broken: fails on valid input.
11896 continue
11898 rm -f conftest.err conftest.$ac_ext
11900 # OK, works on sane cases. Now check whether nonexistent headers
11901 # can be detected and how.
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11904 #include <ac_nonexistent.h>
11905 _ACEOF
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907 # Broken: success on invalid input.
11908 continue
11909 else
11910 # Passes both tests.
11911 ac_preproc_ok=:
11912 break
11914 rm -f conftest.err conftest.$ac_ext
11916 done
11917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11918 rm -f conftest.err conftest.$ac_ext
11919 if $ac_preproc_ok; then :
11920 break
11923 done
11924 ac_cv_prog_CXXCPP=$CXXCPP
11927 CXXCPP=$ac_cv_prog_CXXCPP
11928 else
11929 ac_cv_prog_CXXCPP=$CXXCPP
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11932 $as_echo "$CXXCPP" >&6; }
11933 ac_preproc_ok=false
11934 for ac_cxx_preproc_warn_flag in '' yes
11936 # Use a header file that comes with gcc, so configuring glibc
11937 # with a fresh cross-compiler works.
11938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11939 # <limits.h> exists even on freestanding compilers.
11940 # On the NeXT, cc -E runs the code through the compiler's parser,
11941 # not just through cpp. "Syntax error" is here to catch this case.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef __STDC__
11945 # include <limits.h>
11946 #else
11947 # include <assert.h>
11948 #endif
11949 Syntax error
11950 _ACEOF
11951 if ac_fn_cxx_try_cpp "$LINENO"; then :
11953 else
11954 # Broken: fails on valid input.
11955 continue
11957 rm -f conftest.err conftest.$ac_ext
11959 # OK, works on sane cases. Now check whether nonexistent headers
11960 # can be detected and how.
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <ac_nonexistent.h>
11964 _ACEOF
11965 if ac_fn_cxx_try_cpp "$LINENO"; then :
11966 # Broken: success on invalid input.
11967 continue
11968 else
11969 # Passes both tests.
11970 ac_preproc_ok=:
11971 break
11973 rm -f conftest.err conftest.$ac_ext
11975 done
11976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11977 rm -f conftest.err conftest.$ac_ext
11978 if $ac_preproc_ok; then :
11980 else
11981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11983 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11984 See \`config.log' for more details." "$LINENO" 5; }
11987 ac_ext=c
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11993 else
11994 _lt_caught_CXX_error=yes
11997 ac_ext=cpp
11998 ac_cpp='$CXXCPP $CPPFLAGS'
11999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12003 archive_cmds_need_lc_CXX=no
12004 allow_undefined_flag_CXX=
12005 always_export_symbols_CXX=no
12006 archive_expsym_cmds_CXX=
12007 compiler_needs_object_CXX=no
12008 export_dynamic_flag_spec_CXX=
12009 hardcode_direct_CXX=no
12010 hardcode_direct_absolute_CXX=no
12011 hardcode_libdir_flag_spec_CXX=
12012 hardcode_libdir_flag_spec_ld_CXX=
12013 hardcode_libdir_separator_CXX=
12014 hardcode_minus_L_CXX=no
12015 hardcode_shlibpath_var_CXX=unsupported
12016 hardcode_automatic_CXX=no
12017 inherit_rpath_CXX=no
12018 module_cmds_CXX=
12019 module_expsym_cmds_CXX=
12020 link_all_deplibs_CXX=unknown
12021 old_archive_cmds_CXX=$old_archive_cmds
12022 reload_flag_CXX=$reload_flag
12023 reload_cmds_CXX=$reload_cmds
12024 no_undefined_flag_CXX=
12025 whole_archive_flag_spec_CXX=
12026 enable_shared_with_static_runtimes_CXX=no
12028 # Source file extension for C++ test sources.
12029 ac_ext=cpp
12031 # Object file extension for compiled C++ test sources.
12032 objext=o
12033 objext_CXX=$objext
12035 # No sense in running all these tests if we already determined that
12036 # the CXX compiler isn't working. Some variables (like enable_shared)
12037 # are currently assumed to apply to all compilers on this platform,
12038 # and will be corrupted by setting them based on a non-working compiler.
12039 if test "$_lt_caught_CXX_error" != yes; then
12040 # Code to be used in simple compile tests
12041 lt_simple_compile_test_code="int some_variable = 0;"
12043 # Code to be used in simple link tests
12044 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12046 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12053 # If no C compiler was specified, use CC.
12054 LTCC=${LTCC-"$CC"}
12056 # If no C compiler flags were specified, use CFLAGS.
12057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12059 # Allow CC to be a program name with arguments.
12060 compiler=$CC
12063 # save warnings/boilerplate of simple test code
12064 ac_outfile=conftest.$ac_objext
12065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12067 _lt_compiler_boilerplate=`cat conftest.err`
12068 $RM conftest*
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_linker_boilerplate=`cat conftest.err`
12074 $RM -r conftest*
12077 # Allow CC to be a program name with arguments.
12078 lt_save_CC=$CC
12079 lt_save_LD=$LD
12080 lt_save_GCC=$GCC
12081 GCC=$GXX
12082 lt_save_with_gnu_ld=$with_gnu_ld
12083 lt_save_path_LD=$lt_cv_path_LD
12084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12085 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12086 else
12087 $as_unset lt_cv_prog_gnu_ld
12089 if test -n "${lt_cv_path_LDCXX+set}"; then
12090 lt_cv_path_LD=$lt_cv_path_LDCXX
12091 else
12092 $as_unset lt_cv_path_LD
12094 test -z "${LDCXX+set}" || LD=$LDCXX
12095 CC=${CXX-"c++"}
12096 compiler=$CC
12097 compiler_CXX=$CC
12098 for cc_temp in $compiler""; do
12099 case $cc_temp in
12100 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12101 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12102 \-*) ;;
12103 *) break;;
12104 esac
12105 done
12106 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12109 if test -n "$compiler"; then
12110 # We don't want -fno-exception when compiling C++ code, so set the
12111 # no_builtin_flag separately
12112 if test "$GXX" = yes; then
12113 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12114 else
12115 lt_prog_compiler_no_builtin_flag_CXX=
12118 if test "$GXX" = yes; then
12119 # Set up default GNU C++ configuration
12123 # Check whether --with-gnu-ld was given.
12124 if test "${with_gnu_ld+set}" = set; then :
12125 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12126 else
12127 with_gnu_ld=no
12130 ac_prog=ld
12131 if test "$GCC" = yes; then
12132 # Check if gcc -print-prog-name=ld gives a path.
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12134 $as_echo_n "checking for ld used by $CC... " >&6; }
12135 case $host in
12136 *-*-mingw*)
12137 # gcc leaves a trailing carriage return which upsets mingw
12138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12141 esac
12142 case $ac_prog in
12143 # Accept absolute paths.
12144 [\\/]* | ?:[\\/]*)
12145 re_direlt='/[^/][^/]*/\.\./'
12146 # Canonicalize the pathname of ld
12147 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12148 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12149 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12150 done
12151 test -z "$LD" && LD="$ac_prog"
12154 # If it fails, then pretend we aren't using GCC.
12155 ac_prog=ld
12158 # If it is relative, then search for the first ld in PATH.
12159 with_gnu_ld=unknown
12161 esac
12162 elif test "$with_gnu_ld" = yes; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12164 $as_echo_n "checking for GNU ld... " >&6; }
12165 else
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12167 $as_echo_n "checking for non-GNU ld... " >&6; }
12169 if test "${lt_cv_path_LD+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12171 else
12172 if test -z "$LD"; then
12173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12174 for ac_dir in $PATH; do
12175 IFS="$lt_save_ifs"
12176 test -z "$ac_dir" && ac_dir=.
12177 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12178 lt_cv_path_LD="$ac_dir/$ac_prog"
12179 # Check to see if the program is GNU ld. I'd rather use --version,
12180 # but apparently some variants of GNU ld only accept -v.
12181 # Break only if it was the GNU/non-GNU ld that we prefer.
12182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12183 *GNU* | *'with BFD'*)
12184 test "$with_gnu_ld" != no && break
12187 test "$with_gnu_ld" != yes && break
12189 esac
12191 done
12192 IFS="$lt_save_ifs"
12193 else
12194 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12198 LD="$lt_cv_path_LD"
12199 if test -n "$LD"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12201 $as_echo "$LD" >&6; }
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12206 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12209 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12213 case `$LD -v 2>&1 </dev/null` in
12214 *GNU* | *'with BFD'*)
12215 lt_cv_prog_gnu_ld=yes
12218 lt_cv_prog_gnu_ld=no
12220 esac
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12224 with_gnu_ld=$lt_cv_prog_gnu_ld
12232 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12233 # archiving commands below assume that GNU ld is being used.
12234 if test "$with_gnu_ld" = yes; then
12235 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12236 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12239 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12241 # If archive_cmds runs LD, not CC, wlarc should be empty
12242 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12243 # investigate it a little bit more. (MM)
12244 wlarc='${wl}'
12246 # ancient GNU ld didn't support --whole-archive et. al.
12247 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12248 $GREP 'no-whole-archive' > /dev/null; then
12249 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250 else
12251 whole_archive_flag_spec_CXX=
12253 else
12254 with_gnu_ld=no
12255 wlarc=
12257 # A generic and very simple default shared library creation
12258 # command for GNU C++ for the case where it uses the native
12259 # linker, instead of GNU ld. If possible, this setting should
12260 # overridden to take advantage of the native linker features on
12261 # the platform it is being used on.
12262 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12265 # Commands to make compiler produce verbose output that lists
12266 # what "hidden" libraries, object files and flags are used when
12267 # linking a shared library.
12268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12270 else
12271 GXX=no
12272 with_gnu_ld=no
12273 wlarc=
12276 # PORTME: fill in a description of your system's C++ link characteristics
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12278 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12279 ld_shlibs_CXX=yes
12280 case $host_os in
12281 aix3*)
12282 # FIXME: insert proper C++ library support
12283 ld_shlibs_CXX=no
12285 aix[4-9]*)
12286 if test "$host_cpu" = ia64; then
12287 # On IA64, the linker does run time linking by default, so we don't
12288 # have to do anything special.
12289 aix_use_runtimelinking=no
12290 exp_sym_flag='-Bexport'
12291 no_entry_flag=""
12292 else
12293 aix_use_runtimelinking=no
12295 # Test if we are trying to use run time linking or normal
12296 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12297 # need to do runtime linking.
12298 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12299 for ld_flag in $LDFLAGS; do
12300 case $ld_flag in
12301 *-brtl*)
12302 aix_use_runtimelinking=yes
12303 break
12305 esac
12306 done
12308 esac
12310 exp_sym_flag='-bexport'
12311 no_entry_flag='-bnoentry'
12314 # When large executables or shared objects are built, AIX ld can
12315 # have problems creating the table of contents. If linking a library
12316 # or program results in "error TOC overflow" add -mminimal-toc to
12317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12320 archive_cmds_CXX=''
12321 hardcode_direct_CXX=yes
12322 hardcode_direct_absolute_CXX=yes
12323 hardcode_libdir_separator_CXX=':'
12324 link_all_deplibs_CXX=yes
12325 file_list_spec_CXX='${wl}-f,'
12327 if test "$GXX" = yes; then
12328 case $host_os in aix4.[012]|aix4.[012].*)
12329 # We only want to do this on AIX 4.2 and lower, the check
12330 # below for broken collect2 doesn't work under 4.3+
12331 collect2name=`${CC} -print-prog-name=collect2`
12332 if test -f "$collect2name" &&
12333 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12334 then
12335 # We have reworked collect2
12337 else
12338 # We have old collect2
12339 hardcode_direct_CXX=unsupported
12340 # It fails to find uninstalled libraries when the uninstalled
12341 # path is not listed in the libpath. Setting hardcode_minus_L
12342 # to unsupported forces relinking
12343 hardcode_minus_L_CXX=yes
12344 hardcode_libdir_flag_spec_CXX='-L$libdir'
12345 hardcode_libdir_separator_CXX=
12347 esac
12348 shared_flag='-shared'
12349 if test "$aix_use_runtimelinking" = yes; then
12350 shared_flag="$shared_flag "'${wl}-G'
12352 else
12353 # not using gcc
12354 if test "$host_cpu" = ia64; then
12355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12356 # chokes on -Wl,-G. The following line is correct:
12357 shared_flag='-G'
12358 else
12359 if test "$aix_use_runtimelinking" = yes; then
12360 shared_flag='${wl}-G'
12361 else
12362 shared_flag='${wl}-bM:SRE'
12367 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12368 # It seems that -bexpall does not export symbols beginning with
12369 # underscore (_), so it is better to generate a list of symbols to
12370 # export.
12371 always_export_symbols_CXX=yes
12372 if test "$aix_use_runtimelinking" = yes; then
12373 # Warning - without using the other runtime loading flags (-brtl),
12374 # -berok will link without error, but may produce a broken library.
12375 allow_undefined_flag_CXX='-berok'
12376 # Determine the default libpath from the value encoded in an empty
12377 # executable.
12378 if test x$gcc_no_link = xyes; then
12379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12385 main ()
12389 return 0;
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12394 lt_aix_libpath_sed='
12395 /Import File Strings/,/^$/ {
12396 /^0/ {
12397 s/^0 *\(.*\)$/\1/
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 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"
12414 else
12415 if test "$host_cpu" = ia64; then
12416 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12417 allow_undefined_flag_CXX="-z nodefs"
12418 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"
12419 else
12420 # Determine the default libpath from the value encoded in an
12421 # empty executable.
12422 if test x$gcc_no_link = xyes; then
12423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12429 main ()
12433 return 0;
12435 _ACEOF
12436 if ac_fn_cxx_try_link "$LINENO"; then :
12438 lt_aix_libpath_sed='
12439 /Import File Strings/,/^$/ {
12440 /^0/ {
12441 s/^0 *\(.*\)$/\1/
12445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 # Check for a 64-bit object if we didn't find anything.
12447 if test -z "$aix_libpath"; then
12448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12455 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12456 # Warning - without using the other run time loading flags,
12457 # -berok will link without error, but may produce a broken library.
12458 no_undefined_flag_CXX=' ${wl}-bernotok'
12459 allow_undefined_flag_CXX=' ${wl}-berok'
12460 if test "$with_gnu_ld" = yes; then
12461 # We only use this code for GNU lds that support --whole-archive.
12462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12463 else
12464 # Exported symbols can be pulled into shared objects from archives
12465 whole_archive_flag_spec_CXX='$convenience'
12467 archive_cmds_need_lc_CXX=yes
12468 # This is similar to how AIX traditionally builds its shared
12469 # libraries.
12470 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'
12475 beos*)
12476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12477 allow_undefined_flag_CXX=unsupported
12478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12479 # support --undefined. This deserves some investigation. FIXME
12480 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12481 else
12482 ld_shlibs_CXX=no
12486 chorus*)
12487 case $cc_basename in
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12492 esac
12495 cygwin* | mingw* | pw32* | cegcc*)
12496 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12497 # as there is no search path for DLLs.
12498 hardcode_libdir_flag_spec_CXX='-L$libdir'
12499 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12500 allow_undefined_flag_CXX=unsupported
12501 always_export_symbols_CXX=no
12502 enable_shared_with_static_runtimes_CXX=yes
12504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12505 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'
12506 # If the export-symbols file already is a .def file (1st line
12507 # is EXPORTS), use it as is; otherwise, prepend...
12508 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12509 cp $export_symbols $output_objdir/$soname.def;
12510 else
12511 echo EXPORTS > $output_objdir/$soname.def;
12512 cat $export_symbols >> $output_objdir/$soname.def;
12514 $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'
12515 else
12516 ld_shlibs_CXX=no
12519 darwin* | rhapsody*)
12522 archive_cmds_need_lc_CXX=no
12523 hardcode_direct_CXX=no
12524 hardcode_automatic_CXX=yes
12525 hardcode_shlibpath_var_CXX=unsupported
12526 if test "$lt_cv_ld_force_load" = "yes"; then
12527 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\"`'
12528 else
12529 whole_archive_flag_spec_CXX=''
12531 link_all_deplibs_CXX=yes
12532 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12533 case $cc_basename in
12534 ifort*) _lt_dar_can_shared=yes ;;
12535 *) _lt_dar_can_shared=$GCC ;;
12536 esac
12537 if test "$_lt_dar_can_shared" = "yes"; then
12538 output_verbose_link_cmd=func_echo_all
12539 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}"
12540 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12541 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}"
12542 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}"
12543 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12544 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}"
12545 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}"
12548 else
12549 ld_shlibs_CXX=no
12554 dgux*)
12555 case $cc_basename in
12556 ec++*)
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12560 ghcx*)
12561 # Green Hills C++ Compiler
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12569 esac
12572 freebsd2.*)
12573 # C++ shared libraries reported to be fairly broken before
12574 # switch to ELF
12575 ld_shlibs_CXX=no
12578 freebsd-elf*)
12579 archive_cmds_need_lc_CXX=no
12582 freebsd* | dragonfly*)
12583 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12584 # conventions
12585 ld_shlibs_CXX=yes
12588 gnu*)
12591 haiku*)
12592 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12593 link_all_deplibs_CXX=yes
12596 hpux9*)
12597 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12598 hardcode_libdir_separator_CXX=:
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 hardcode_direct_CXX=yes
12601 hardcode_minus_L_CXX=yes # Not in the search PATH,
12602 # but as the default
12603 # location of the library.
12605 case $cc_basename in
12606 CC*)
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12610 aCC*)
12611 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'
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12616 # There doesn't appear to be a way to prevent this compiler from
12617 # explicitly linking system object files so we need to strip them
12618 # from the output so that they don't get included in the library
12619 # dependencies.
12620 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"'
12623 if test "$GXX" = yes; then
12624 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'
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12630 esac
12633 hpux10*|hpux11*)
12634 if test $with_gnu_ld = no; then
12635 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12636 hardcode_libdir_separator_CXX=:
12638 case $host_cpu in
12639 hppa*64*|ia64*)
12642 export_dynamic_flag_spec_CXX='${wl}-E'
12644 esac
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12648 hardcode_direct_CXX=no
12649 hardcode_shlibpath_var_CXX=no
12652 hardcode_direct_CXX=yes
12653 hardcode_direct_absolute_CXX=yes
12654 hardcode_minus_L_CXX=yes # Not in the search PATH,
12655 # but as the default
12656 # location of the library.
12658 esac
12660 case $cc_basename in
12661 CC*)
12662 # FIXME: insert proper C++ library support
12663 ld_shlibs_CXX=no
12665 aCC*)
12666 case $host_cpu in
12667 hppa*64*)
12668 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 ia64*)
12671 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 esac
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $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"'
12688 if test "$GXX" = yes; then
12689 if test $with_gnu_ld = no; then
12690 case $host_cpu in
12691 hppa*64*)
12692 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12694 ia64*)
12695 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12698 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'
12700 esac
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12707 esac
12710 interix[3-9]*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX='${wl}-E'
12715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12716 # Instead, shared libraries are loaded at an image base (0x10000000 by
12717 # default) and relocated if they conflict, which is a slow very memory
12718 # consuming and fragmenting process. To avoid this, we pick a random,
12719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12721 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'
12722 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'
12724 irix5* | irix6*)
12725 case $cc_basename in
12726 CC*)
12727 # SGI C++
12728 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'
12730 # Archives containing C++ object files must be created using
12731 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12732 # necessary to make sure instantiated templates are included
12733 # in the archive.
12734 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12737 if test "$GXX" = yes; then
12738 if test "$with_gnu_ld" = no; then
12739 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'
12740 else
12741 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'
12744 link_all_deplibs_CXX=yes
12746 esac
12747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748 hardcode_libdir_separator_CXX=:
12749 inherit_rpath_CXX=yes
12752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12753 case $cc_basename in
12754 KCC*)
12755 # Kuck and Associates, Inc. (KAI) C++ Compiler
12757 # KCC will only create a shared library if the output file
12758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12759 # to its proper name (with version) after linking.
12760 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'
12761 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'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12769 # dependencies.
12770 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"'
12772 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12775 # Archives containing C++ object files must be created using
12776 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12777 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12779 icpc* | ecpc* )
12780 # Intel C++
12781 with_gnu_ld=yes
12782 # version 8.0 and above of icpc choke on multiply defined symbols
12783 # if we add $predep_objects and $postdep_objects, however 7.1 and
12784 # earlier do not add the objects themselves.
12785 case `$CC -V 2>&1` in
12786 *"Version 7."*)
12787 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 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'
12790 *) # Version 8.0 or newer
12791 tmp_idyn=
12792 case $host_cpu in
12793 ia64*) tmp_idyn=' -i_dynamic';;
12794 esac
12795 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12798 esac
12799 archive_cmds_need_lc_CXX=no
12800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12801 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12802 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12804 pgCC* | pgcpp*)
12805 # Portland Group C++ compiler
12806 case `$CC -V` in
12807 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12808 prelink_cmds_CXX='tpldir=Template.dir~
12809 rm -rf $tpldir~
12810 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12811 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12812 old_archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12815 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12816 $RANLIB $oldlib'
12817 archive_cmds_CXX='tpldir=Template.dir~
12818 rm -rf $tpldir~
12819 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12820 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821 archive_expsym_cmds_CXX='tpldir=Template.dir~
12822 rm -rf $tpldir~
12823 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12824 $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'
12826 *) # Version 6 and above use weak symbols
12827 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12828 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'
12830 esac
12832 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12834 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'
12836 cxx*)
12837 # Compaq C++
12838 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 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'
12841 runpath_var=LD_RUN_PATH
12842 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12843 hardcode_libdir_separator_CXX=:
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12852 # dependencies.
12853 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'
12855 xl* | mpixl* | bgxl*)
12856 # IBM XL 8.0 on PPC, with GNU ld
12857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12859 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 if test "x$supports_anon_versioning" = xyes; then
12861 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12863 echo "local: *; };" >> $output_objdir/$libname.ver~
12864 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12868 case `$CC -V 2>&1 | sed 5q` in
12869 *Sun\ C*)
12870 # Sun C++ 5.9
12871 no_undefined_flag_CXX=' -zdefs'
12872 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 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'
12874 hardcode_libdir_flag_spec_CXX='-R$libdir'
12875 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'
12876 compiler_needs_object_CXX=yes
12878 # Not sure whether something based on
12879 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12880 # would be better.
12881 output_verbose_link_cmd='func_echo_all'
12883 # Archives containing C++ object files must be created using
12884 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12886 # in the archive.
12887 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12889 esac
12891 esac
12894 lynxos*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 m88k*)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12904 mvs*)
12905 case $cc_basename in
12906 cxx*)
12907 # FIXME: insert proper C++ library support
12908 ld_shlibs_CXX=no
12911 # FIXME: insert proper C++ library support
12912 ld_shlibs_CXX=no
12914 esac
12917 netbsd*)
12918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12919 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12920 wlarc=
12921 hardcode_libdir_flag_spec_CXX='-R$libdir'
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12925 # Workaround some broken pre-1.5 toolchains
12926 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12929 *nto* | *qnx*)
12930 ld_shlibs_CXX=yes
12933 openbsd2*)
12934 # C++ shared libraries are fairly broken
12935 ld_shlibs_CXX=no
12938 openbsd*)
12939 if test -f /usr/libexec/ld.so; then
12940 hardcode_direct_CXX=yes
12941 hardcode_shlibpath_var_CXX=no
12942 hardcode_direct_absolute_CXX=yes
12943 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12946 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12947 export_dynamic_flag_spec_CXX='${wl}-E'
12948 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12950 output_verbose_link_cmd=func_echo_all
12951 else
12952 ld_shlibs_CXX=no
12956 osf3* | osf4* | osf5*)
12957 case $cc_basename in
12958 KCC*)
12959 # Kuck and Associates, Inc. (KAI) C++ Compiler
12961 # KCC will only create a shared library if the output file
12962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12963 # to its proper name (with version) after linking.
12964 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'
12966 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12967 hardcode_libdir_separator_CXX=:
12969 # Archives containing C++ object files must be created using
12970 # the KAI C++ compiler.
12971 case $host in
12972 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12973 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12974 esac
12976 RCC*)
12977 # Rational C++ 2.4.1
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12981 cxx*)
12982 case $host in
12983 osf3*)
12984 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12985 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'
12986 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12989 allow_undefined_flag_CXX=' -expect_unresolved \*'
12990 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'
12991 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12992 echo "-hidden">> $lib.exp~
12993 $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~
12994 $RM $lib.exp'
12995 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12997 esac
12999 hardcode_libdir_separator_CXX=:
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13008 # dependencies.
13009 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"'
13012 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13013 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13014 case $host in
13015 osf3*)
13016 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'
13019 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'
13021 esac
13023 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13024 hardcode_libdir_separator_CXX=:
13026 # Commands to make compiler produce verbose output that lists
13027 # what "hidden" libraries, object files and flags are used when
13028 # linking a shared library.
13029 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13031 else
13032 # FIXME: insert proper C++ library support
13033 ld_shlibs_CXX=no
13036 esac
13039 psos*)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13044 sunos4*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.x
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13051 lcc*)
13052 # Lucid
13053 # FIXME: insert proper C++ library support
13054 ld_shlibs_CXX=no
13057 # FIXME: insert proper C++ library support
13058 ld_shlibs_CXX=no
13060 esac
13063 solaris*)
13064 case $cc_basename in
13065 CC*)
13066 # Sun C++ 4.2, 5.x and Centerline C++
13067 archive_cmds_need_lc_CXX=yes
13068 no_undefined_flag_CXX=' -zdefs'
13069 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13071 $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'
13073 hardcode_libdir_flag_spec_CXX='-R$libdir'
13074 hardcode_shlibpath_var_CXX=no
13075 case $host_os in
13076 solaris2.[0-5] | solaris2.[0-5].*) ;;
13078 # The compiler driver will combine and reorder linker options,
13079 # but understands `-z linker_flag'.
13080 # Supported since Solaris 2.6 (maybe 2.5.1?)
13081 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13083 esac
13084 link_all_deplibs_CXX=yes
13086 output_verbose_link_cmd='func_echo_all'
13088 # Archives containing C++ object files must be created using
13089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13090 # necessary to make sure instantiated templates are included
13091 # in the archive.
13092 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13094 gcx*)
13095 # Green Hills C++ Compiler
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13098 # The C++ compiler must be used to create the archive.
13099 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13102 # GNU C++ compiler with Solaris linker
13103 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13104 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13105 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13106 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 else
13115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13116 # platform.
13117 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13127 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13128 case $host_os in
13129 solaris2.[0-5] | solaris2.[0-5].*) ;;
13131 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13133 esac
13136 esac
13139 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13140 no_undefined_flag_CXX='${wl}-z,text'
13141 archive_cmds_need_lc_CXX=no
13142 hardcode_shlibpath_var_CXX=no
13143 runpath_var='LD_RUN_PATH'
13145 case $cc_basename in
13146 CC*)
13147 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154 esac
13157 sysv5* | sco3.2v5* | sco5v6*)
13158 # Note: We can NOT use -z defs as we might desire, because we do not
13159 # link with -lc, and that would cause any symbols used from libc to
13160 # always be unresolved, which means just about no library would
13161 # ever link correctly. If we're not using GNU ld we use -z text
13162 # though, which does catch some bad symbols but isn't as heavy-handed
13163 # as -z defs.
13164 no_undefined_flag_CXX='${wl}-z,text'
13165 allow_undefined_flag_CXX='${wl}-z,nodefs'
13166 archive_cmds_need_lc_CXX=no
13167 hardcode_shlibpath_var_CXX=no
13168 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13169 hardcode_libdir_separator_CXX=':'
13170 link_all_deplibs_CXX=yes
13171 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13172 runpath_var='LD_RUN_PATH'
13174 case $cc_basename in
13175 CC*)
13176 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13178 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13179 '"$old_archive_cmds_CXX"
13180 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13181 '"$reload_cmds_CXX"
13184 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187 esac
13190 tandem*)
13191 case $cc_basename in
13192 NCC*)
13193 # NonStop-UX NCC 3.20
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13198 # FIXME: insert proper C++ library support
13199 ld_shlibs_CXX=no
13201 esac
13204 vxworks*)
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13210 # FIXME: insert proper C++ library support
13211 ld_shlibs_CXX=no
13213 esac
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13216 $as_echo "$ld_shlibs_CXX" >&6; }
13217 test "$ld_shlibs_CXX" = no && can_build_shared=no
13219 GCC_CXX="$GXX"
13220 LD_CXX="$LD"
13222 ## CAVEAT EMPTOR:
13223 ## There is no encapsulation within the following macros, do not change
13224 ## the running order or otherwise move them around unless you know exactly
13225 ## what you are doing...
13226 # Dependencies to place before and after the object being linked:
13227 predep_objects_CXX=
13228 postdep_objects_CXX=
13229 predeps_CXX=
13230 postdeps_CXX=
13231 compiler_lib_search_path_CXX=
13233 cat > conftest.$ac_ext <<_LT_EOF
13234 class Foo
13236 public:
13237 Foo (void) { a = 0; }
13238 private:
13239 int a;
13241 _LT_EOF
13243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13244 (eval $ac_compile) 2>&5
13245 ac_status=$?
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; then
13248 # Parse the compiler output and extract the necessary
13249 # objects, libraries and library flags.
13251 # Sentinel used to keep track of whether or not we are before
13252 # the conftest object file.
13253 pre_test_object_deps_done=no
13255 for p in `eval "$output_verbose_link_cmd"`; do
13256 case $p in
13258 -L* | -R* | -l*)
13259 # Some compilers place space between "-{L,R}" and the path.
13260 # Remove the space.
13261 if test $p = "-L" ||
13262 test $p = "-R"; then
13263 prev=$p
13264 continue
13265 else
13266 prev=
13269 if test "$pre_test_object_deps_done" = no; then
13270 case $p in
13271 -L* | -R*)
13272 # Internal compiler library paths should come after those
13273 # provided the user. The postdeps already come after the
13274 # user supplied libs so there is no need to process them.
13275 if test -z "$compiler_lib_search_path_CXX"; then
13276 compiler_lib_search_path_CXX="${prev}${p}"
13277 else
13278 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13281 # The "-l" case would never come before the object being
13282 # linked, so don't bother handling this case.
13283 esac
13284 else
13285 if test -z "$postdeps_CXX"; then
13286 postdeps_CXX="${prev}${p}"
13287 else
13288 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13293 *.$objext)
13294 # This assumes that the test object file only shows up
13295 # once in the compiler output.
13296 if test "$p" = "conftest.$objext"; then
13297 pre_test_object_deps_done=yes
13298 continue
13301 if test "$pre_test_object_deps_done" = no; then
13302 if test -z "$predep_objects_CXX"; then
13303 predep_objects_CXX="$p"
13304 else
13305 predep_objects_CXX="$predep_objects_CXX $p"
13307 else
13308 if test -z "$postdep_objects_CXX"; then
13309 postdep_objects_CXX="$p"
13310 else
13311 postdep_objects_CXX="$postdep_objects_CXX $p"
13316 *) ;; # Ignore the rest.
13318 esac
13319 done
13321 # Clean up.
13322 rm -f a.out a.exe
13323 else
13324 echo "libtool.m4: error: problem compiling CXX test program"
13327 $RM -f confest.$objext
13329 # PORTME: override above test on systems where it is broken
13330 case $host_os in
13331 interix[3-9]*)
13332 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13333 # hack all around it, let's just trust "g++" to DTRT.
13334 predep_objects_CXX=
13335 postdep_objects_CXX=
13336 postdeps_CXX=
13339 linux*)
13340 case `$CC -V 2>&1 | sed 5q` in
13341 *Sun\ C*)
13342 # Sun C++ 5.9
13344 # The more standards-conforming stlport4 library is
13345 # incompatible with the Cstd library. Avoid specifying
13346 # it if it's in CXXFLAGS. Ignore libCrun as
13347 # -library=stlport4 depends on it.
13348 case " $CXX $CXXFLAGS " in
13349 *" -library=stlport4 "*)
13350 solaris_use_stlport4=yes
13352 esac
13354 if test "$solaris_use_stlport4" != yes; then
13355 postdeps_CXX='-library=Cstd -library=Crun'
13358 esac
13361 solaris*)
13362 case $cc_basename in
13363 CC*)
13364 # The more standards-conforming stlport4 library is
13365 # incompatible with the Cstd library. Avoid specifying
13366 # it if it's in CXXFLAGS. Ignore libCrun as
13367 # -library=stlport4 depends on it.
13368 case " $CXX $CXXFLAGS " in
13369 *" -library=stlport4 "*)
13370 solaris_use_stlport4=yes
13372 esac
13374 # Adding this requires a known-good setup of shared libraries for
13375 # Sun compiler versions before 5.6, else PIC objects from an old
13376 # archive will be linked into the output, leading to subtle bugs.
13377 if test "$solaris_use_stlport4" != yes; then
13378 postdeps_CXX='-library=Cstd -library=Crun'
13381 esac
13383 esac
13386 case " $postdeps_CXX " in
13387 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13388 esac
13389 compiler_lib_search_dirs_CXX=
13390 if test -n "${compiler_lib_search_path_CXX}"; then
13391 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13424 lt_prog_compiler_wl_CXX=
13425 lt_prog_compiler_pic_CXX=
13426 lt_prog_compiler_static_CXX=
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13429 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13431 # C++ specific cases for pic, static, wl, etc.
13432 if test "$GXX" = yes; then
13433 lt_prog_compiler_wl_CXX='-Wl,'
13434 lt_prog_compiler_static_CXX='-static'
13436 case $host_os in
13437 aix*)
13438 # All AIX code is PIC.
13439 if test "$host_cpu" = ia64; then
13440 # AIX 5 now supports IA64 processor
13441 lt_prog_compiler_static_CXX='-Bstatic'
13443 lt_prog_compiler_pic_CXX='-fPIC'
13446 amigaos*)
13447 case $host_cpu in
13448 powerpc)
13449 # see comment about AmigaOS4 .so support
13450 lt_prog_compiler_pic_CXX='-fPIC'
13452 m68k)
13453 # FIXME: we need at least 68020 code to build shared libraries, but
13454 # adding the `-m68020' flag to GCC prevents building anything better,
13455 # like `-m68040'.
13456 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13458 esac
13461 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13462 # PIC is the default for these OSes.
13464 mingw* | cygwin* | os2* | pw32* | cegcc*)
13465 # This hack is so that the source file can tell whether it is being
13466 # built for inclusion in a dll (and should export symbols for example).
13467 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13468 # (--disable-auto-import) libraries
13469 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13471 darwin* | rhapsody*)
13472 # PIC is the default on this platform
13473 # Common symbols not allowed in MH_DYLIB files
13474 lt_prog_compiler_pic_CXX='-fno-common'
13476 *djgpp*)
13477 # DJGPP does not support shared libraries at all
13478 lt_prog_compiler_pic_CXX=
13480 haiku*)
13481 # PIC is the default for Haiku.
13482 # The "-static" flag exists, but is broken.
13483 lt_prog_compiler_static_CXX=
13485 interix[3-9]*)
13486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13487 # Instead, we relocate shared libraries at runtime.
13489 sysv4*MP*)
13490 if test -d /usr/nec; then
13491 lt_prog_compiler_pic_CXX=-Kconform_pic
13494 hpux*)
13495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13497 # sets the default TLS model and affects inlining.
13498 case $host_cpu in
13499 hppa*64*)
13502 lt_prog_compiler_pic_CXX='-fPIC'
13504 esac
13506 *qnx* | *nto*)
13507 # QNX uses GNU C++, but need to define -shared option too, otherwise
13508 # it will coredump.
13509 lt_prog_compiler_pic_CXX='-fPIC -shared'
13512 lt_prog_compiler_pic_CXX='-fPIC'
13514 esac
13515 else
13516 case $host_os in
13517 aix[4-9]*)
13518 # All AIX code is PIC.
13519 if test "$host_cpu" = ia64; then
13520 # AIX 5 now supports IA64 processor
13521 lt_prog_compiler_static_CXX='-Bstatic'
13522 else
13523 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13526 chorus*)
13527 case $cc_basename in
13528 cxch68*)
13529 # Green Hills C++ Compiler
13530 # _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"
13532 esac
13534 dgux*)
13535 case $cc_basename in
13536 ec++*)
13537 lt_prog_compiler_pic_CXX='-KPIC'
13539 ghcx*)
13540 # Green Hills C++ Compiler
13541 lt_prog_compiler_pic_CXX='-pic'
13545 esac
13547 freebsd* | dragonfly*)
13548 # FreeBSD uses GNU C++
13550 hpux9* | hpux10* | hpux11*)
13551 case $cc_basename in
13552 CC*)
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13555 if test "$host_cpu" != ia64; then
13556 lt_prog_compiler_pic_CXX='+Z'
13559 aCC*)
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13562 case $host_cpu in
13563 hppa*64*|ia64*)
13564 # +Z the default
13567 lt_prog_compiler_pic_CXX='+Z'
13569 esac
13573 esac
13575 interix*)
13576 # This is c89, which is MS Visual C++ (no shared libs)
13577 # Anyone wants to do a port?
13579 irix5* | irix6* | nonstopux*)
13580 case $cc_basename in
13581 CC*)
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_static_CXX='-non_shared'
13584 # CC pic flag -KPIC is the default.
13588 esac
13590 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13591 case $cc_basename in
13592 KCC*)
13593 # KAI C++ Compiler
13594 lt_prog_compiler_wl_CXX='--backend -Wl,'
13595 lt_prog_compiler_pic_CXX='-fPIC'
13597 ecpc* )
13598 # old Intel C++ for x86_64 which still supported -KPIC.
13599 lt_prog_compiler_wl_CXX='-Wl,'
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 lt_prog_compiler_static_CXX='-static'
13603 icpc* )
13604 # Intel C++, used to be incompatible with GCC.
13605 # ICC 10 doesn't accept -KPIC any more.
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-fPIC'
13608 lt_prog_compiler_static_CXX='-static'
13610 pgCC* | pgcpp*)
13611 # Portland Group C++ compiler
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fpic'
13614 lt_prog_compiler_static_CXX='-Bstatic'
13616 cxx*)
13617 # Compaq C++
13618 # Make sure the PIC flag is empty. It appears that all Alpha
13619 # Linux and Compaq Tru64 Unix objects are PIC.
13620 lt_prog_compiler_pic_CXX=
13621 lt_prog_compiler_static_CXX='-non_shared'
13623 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13624 # IBM XL 8.0, 9.0 on PPC and BlueGene
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_pic_CXX='-qpic'
13627 lt_prog_compiler_static_CXX='-qstaticlink'
13630 case `$CC -V 2>&1 | sed 5q` in
13631 *Sun\ C*)
13632 # Sun C++ 5.9
13633 lt_prog_compiler_pic_CXX='-KPIC'
13634 lt_prog_compiler_static_CXX='-Bstatic'
13635 lt_prog_compiler_wl_CXX='-Qoption ld '
13637 esac
13639 esac
13641 lynxos*)
13643 m88k*)
13645 mvs*)
13646 case $cc_basename in
13647 cxx*)
13648 lt_prog_compiler_pic_CXX='-W c,exportall'
13652 esac
13654 netbsd*)
13656 *qnx* | *nto*)
13657 # QNX uses GNU C++, but need to define -shared option too, otherwise
13658 # it will coredump.
13659 lt_prog_compiler_pic_CXX='-fPIC -shared'
13661 osf3* | osf4* | osf5*)
13662 case $cc_basename in
13663 KCC*)
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13666 RCC*)
13667 # Rational C++ 2.4.1
13668 lt_prog_compiler_pic_CXX='-pic'
13670 cxx*)
13671 # Digital/Compaq C++
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 # Make sure the PIC flag is empty. It appears that all Alpha
13674 # Linux and Compaq Tru64 Unix objects are PIC.
13675 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_static_CXX='-non_shared'
13680 esac
13682 psos*)
13684 solaris*)
13685 case $cc_basename in
13686 CC*)
13687 # Sun C++ 4.2, 5.x and Centerline C++
13688 lt_prog_compiler_pic_CXX='-KPIC'
13689 lt_prog_compiler_static_CXX='-Bstatic'
13690 lt_prog_compiler_wl_CXX='-Qoption ld '
13692 gcx*)
13693 # Green Hills C++ Compiler
13694 lt_prog_compiler_pic_CXX='-PIC'
13698 esac
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 lt_prog_compiler_pic_CXX='-pic'
13705 lt_prog_compiler_static_CXX='-Bstatic'
13707 lcc*)
13708 # Lucid
13709 lt_prog_compiler_pic_CXX='-pic'
13713 esac
13715 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13716 case $cc_basename in
13717 CC*)
13718 lt_prog_compiler_wl_CXX='-Wl,'
13719 lt_prog_compiler_pic_CXX='-KPIC'
13720 lt_prog_compiler_static_CXX='-Bstatic'
13722 esac
13724 tandem*)
13725 case $cc_basename in
13726 NCC*)
13727 # NonStop-UX NCC 3.20
13728 lt_prog_compiler_pic_CXX='-KPIC'
13732 esac
13734 vxworks*)
13737 lt_prog_compiler_can_build_shared_CXX=no
13739 esac
13742 case $host_os in
13743 # For platforms which do not support PIC, -DPIC is meaningless:
13744 *djgpp*)
13745 lt_prog_compiler_pic_CXX=
13748 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13750 esac
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13752 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13757 # Check to make sure the PIC flag actually works.
13759 if test -n "$lt_prog_compiler_pic_CXX"; then
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13761 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13762 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 lt_cv_prog_compiler_pic_works_CXX=no
13766 ac_outfile=conftest.$ac_objext
13767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13768 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13769 # Insert the option either (1) after the last *FLAGS variable, or
13770 # (2) before a word containing "conftest.", or (3) at the end.
13771 # Note that $ac_compile itself does not contain backslashes and begins
13772 # with a dollar sign (not a hyphen), so the echo should work correctly.
13773 # The option is referenced via a variable to avoid confusing sed.
13774 lt_compile=`echo "$ac_compile" | $SED \
13775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13777 -e 's:$: $lt_compiler_flag:'`
13778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13779 (eval "$lt_compile" 2>conftest.err)
13780 ac_status=$?
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 if (exit $ac_status) && test -s "$ac_outfile"; then
13784 # The compiler can only warn and ignore the option if not recognized
13785 # So say no if there are warnings other than the usual output.
13786 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13789 lt_cv_prog_compiler_pic_works_CXX=yes
13792 $RM conftest*
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13796 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13798 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13799 case $lt_prog_compiler_pic_CXX in
13800 "" | " "*) ;;
13801 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13802 esac
13803 else
13804 lt_prog_compiler_pic_CXX=
13805 lt_prog_compiler_can_build_shared_CXX=no
13813 # Check to make sure the static flag actually works.
13815 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13817 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13818 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 lt_cv_prog_compiler_static_works_CXX=no
13822 save_LDFLAGS="$LDFLAGS"
13823 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13824 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13825 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13826 # The linker can only warn and ignore the option if not recognized
13827 # So say no if there are warnings
13828 if test -s conftest.err; then
13829 # Append any errors to the config.log.
13830 cat conftest.err 1>&5
13831 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13833 if diff conftest.exp conftest.er2 >/dev/null; then
13834 lt_cv_prog_compiler_static_works_CXX=yes
13836 else
13837 lt_cv_prog_compiler_static_works_CXX=yes
13840 $RM -r conftest*
13841 LDFLAGS="$save_LDFLAGS"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13845 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13847 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13849 else
13850 lt_prog_compiler_static_CXX=
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13857 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13858 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 lt_cv_prog_compiler_c_o_CXX=no
13862 $RM -r conftest 2>/dev/null
13863 mkdir conftest
13864 cd conftest
13865 mkdir out
13866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13868 lt_compiler_flag="-o out/conftest2.$ac_objext"
13869 # Insert the option either (1) after the last *FLAGS variable, or
13870 # (2) before a word containing "conftest.", or (3) at the end.
13871 # Note that $ac_compile itself does not contain backslashes and begins
13872 # with a dollar sign (not a hyphen), so the echo should work correctly.
13873 lt_compile=`echo "$ac_compile" | $SED \
13874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13876 -e 's:$: $lt_compiler_flag:'`
13877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13878 (eval "$lt_compile" 2>out/conftest.err)
13879 ac_status=$?
13880 cat out/conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13883 then
13884 # The compiler can only warn and ignore the option if not recognized
13885 # So say no if there are warnings
13886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13887 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13888 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13889 lt_cv_prog_compiler_c_o_CXX=yes
13892 chmod u+w . 2>&5
13893 $RM conftest*
13894 # SGI C++ compiler will create directory out/ii_files/ for
13895 # template instantiation
13896 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13897 $RM out/* && rmdir out
13898 cd ..
13899 $RM -r conftest
13900 $RM conftest*
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13904 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13909 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13910 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 lt_cv_prog_compiler_c_o_CXX=no
13914 $RM -r conftest 2>/dev/null
13915 mkdir conftest
13916 cd conftest
13917 mkdir out
13918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13920 lt_compiler_flag="-o out/conftest2.$ac_objext"
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 lt_compile=`echo "$ac_compile" | $SED \
13926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13928 -e 's:$: $lt_compiler_flag:'`
13929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13930 (eval "$lt_compile" 2>out/conftest.err)
13931 ac_status=$?
13932 cat out/conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13935 then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings
13938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13941 lt_cv_prog_compiler_c_o_CXX=yes
13944 chmod u+w . 2>&5
13945 $RM conftest*
13946 # SGI C++ compiler will create directory out/ii_files/ for
13947 # template instantiation
13948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13949 $RM out/* && rmdir out
13950 cd ..
13951 $RM -r conftest
13952 $RM conftest*
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13956 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13961 hard_links="nottested"
13962 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13963 # do not overwrite the value of need_locks provided by the user
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13965 $as_echo_n "checking if we can lock with hard links... " >&6; }
13966 hard_links=yes
13967 $RM conftest*
13968 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13969 touch conftest.a
13970 ln conftest.a conftest.b 2>&5 || hard_links=no
13971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13973 $as_echo "$hard_links" >&6; }
13974 if test "$hard_links" = no; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13976 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13977 need_locks=warn
13979 else
13980 need_locks=no
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13988 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13989 case $host_os in
13990 aix[4-9]*)
13991 # If we're using GNU nm, then we don't want the "-C" option.
13992 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13993 # Also, AIX nm treats weak defined symbols like other global defined
13994 # symbols, whereas GNU nm marks them as "W".
13995 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13996 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'
13997 else
13998 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'
14001 pw32*)
14002 export_symbols_cmds_CXX="$ltdll_cmds"
14004 cygwin* | mingw* | cegcc*)
14005 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'
14008 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14010 esac
14011 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14014 $as_echo "$ld_shlibs_CXX" >&6; }
14015 test "$ld_shlibs_CXX" = no && can_build_shared=no
14017 with_gnu_ld_CXX=$with_gnu_ld
14025 # Do we need to explicitly link libc?
14027 case "x$archive_cmds_need_lc_CXX" in
14028 x|xyes)
14029 # Assume -lc should be added
14030 archive_cmds_need_lc_CXX=yes
14032 if test "$enable_shared" = yes && test "$GCC" = yes; then
14033 case $archive_cmds_CXX in
14034 *'~'*)
14035 # FIXME: we may have to deal with multi-command sequences.
14037 '$CC '*)
14038 # Test whether the compiler implicitly links with -lc since on some
14039 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14040 # to ld, don't add -lc before -lgcc.
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14043 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 $RM conftest*
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14050 (eval $ac_compile) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; } 2>conftest.err; then
14054 soname=conftest
14055 lib=conftest
14056 libobjs=conftest.$ac_objext
14057 deplibs=
14058 wl=$lt_prog_compiler_wl_CXX
14059 pic_flag=$lt_prog_compiler_pic_CXX
14060 compiler_flags=-v
14061 linker_flags=-v
14062 verstring=
14063 output_objdir=.
14064 libname=conftest
14065 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14066 allow_undefined_flag_CXX=
14067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14068 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14069 ac_status=$?
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }
14072 then
14073 lt_cv_archive_cmds_need_lc_CXX=no
14074 else
14075 lt_cv_archive_cmds_need_lc_CXX=yes
14077 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14078 else
14079 cat conftest.err 1>&5
14081 $RM conftest*
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14085 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14086 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14088 esac
14091 esac
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14159 library_names_spec=
14160 libname_spec='lib$name'
14161 soname_spec=
14162 shrext_cmds=".so"
14163 postinstall_cmds=
14164 postuninstall_cmds=
14165 finish_cmds=
14166 finish_eval=
14167 shlibpath_var=
14168 shlibpath_overrides_runpath=unknown
14169 version_type=none
14170 dynamic_linker="$host_os ld.so"
14171 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14172 need_lib_prefix=unknown
14173 hardcode_into_libs=no
14175 # when you set need_version to no, make sure it does not cause -set_version
14176 # flags to be left without arguments
14177 need_version=unknown
14179 case $host_os in
14180 aix3*)
14181 version_type=linux
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14183 shlibpath_var=LIBPATH
14185 # AIX 3 has no versioning support, so we append a major version to the name.
14186 soname_spec='${libname}${release}${shared_ext}$major'
14189 aix[4-9]*)
14190 version_type=linux
14191 need_lib_prefix=no
14192 need_version=no
14193 hardcode_into_libs=yes
14194 if test "$host_cpu" = ia64; then
14195 # AIX 5 supports IA64
14196 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14197 shlibpath_var=LD_LIBRARY_PATH
14198 else
14199 # With GCC up to 2.95.x, collect2 would create an import file
14200 # for dependence libraries. The import file would start with
14201 # the line `#! .'. This would cause the generated library to
14202 # depend on `.', always an invalid library. This was fixed in
14203 # development snapshots of GCC prior to 3.0.
14204 case $host_os in
14205 aix4 | aix4.[01] | aix4.[01].*)
14206 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14207 echo ' yes '
14208 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14210 else
14211 can_build_shared=no
14214 esac
14215 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14216 # soname into executable. Probably we can add versioning support to
14217 # collect2, so additional links can be useful in future.
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14220 # instead of lib<name>.a to let people know that these are not
14221 # typical AIX shared libraries.
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 else
14224 # We preserve .a as extension for shared libraries through AIX4.2
14225 # and later when we are not doing run time linking.
14226 library_names_spec='${libname}${release}.a $libname.a'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14229 shlibpath_var=LIBPATH
14233 amigaos*)
14234 case $host_cpu in
14235 powerpc)
14236 # Since July 2007 AmigaOS4 officially supports .so libraries.
14237 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 m68k)
14241 library_names_spec='$libname.ixlibrary $libname.a'
14242 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14243 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'
14245 esac
14248 beos*)
14249 library_names_spec='${libname}${shared_ext}'
14250 dynamic_linker="$host_os ld.so"
14251 shlibpath_var=LIBRARY_PATH
14254 bsdi[45]*)
14255 version_type=linux
14256 need_version=no
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258 soname_spec='${libname}${release}${shared_ext}$major'
14259 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263 # the default ld.so.conf also contains /usr/contrib/lib and
14264 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265 # libtool to hard-code these into programs
14268 cygwin* | mingw* | pw32* | cegcc*)
14269 version_type=windows
14270 shrext_cmds=".dll"
14271 need_version=no
14272 need_lib_prefix=no
14274 case $GCC,$host_os in
14275 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14276 library_names_spec='$libname.dll.a'
14277 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14278 postinstall_cmds='base_file=`basename \${file}`~
14279 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14280 dldir=$destdir/`dirname \$dlpath`~
14281 test -d \$dldir || mkdir -p \$dldir~
14282 $install_prog $dir/$dlname \$dldir/$dlname~
14283 chmod a+x \$dldir/$dlname~
14284 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14285 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14287 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14288 dlpath=$dir/\$dldll~
14289 $RM \$dlpath'
14290 shlibpath_overrides_runpath=yes
14292 case $host_os in
14293 cygwin*)
14294 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14295 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14298 mingw* | cegcc*)
14299 # MinGW DLLs use traditional 'lib' prefix
14300 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14302 pw32*)
14303 # pw32 DLLs use 'pw' prefix rather than 'lib'
14304 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14306 esac
14310 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14312 esac
14313 dynamic_linker='Win32 ld.exe'
14314 # FIXME: first we should search . and the directory the executable is in
14315 shlibpath_var=PATH
14318 darwin* | rhapsody*)
14319 dynamic_linker="$host_os dyld"
14320 version_type=darwin
14321 need_lib_prefix=no
14322 need_version=no
14323 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14324 soname_spec='${libname}${release}${major}$shared_ext'
14325 shlibpath_overrides_runpath=yes
14326 shlibpath_var=DYLD_LIBRARY_PATH
14327 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14329 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14332 dgux*)
14333 version_type=linux
14334 need_lib_prefix=no
14335 need_version=no
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14337 soname_spec='${libname}${release}${shared_ext}$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14341 freebsd* | dragonfly*)
14342 # DragonFly does not have aout. When/if they implement a new
14343 # versioning mechanism, adjust this.
14344 if test -x /usr/bin/objformat; then
14345 objformat=`/usr/bin/objformat`
14346 else
14347 case $host_os in
14348 freebsd[23].*) objformat=aout ;;
14349 *) objformat=elf ;;
14350 esac
14352 version_type=freebsd-$objformat
14353 case $version_type in
14354 freebsd-elf*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14356 need_version=no
14357 need_lib_prefix=no
14359 freebsd-*)
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14361 need_version=yes
14363 esac
14364 shlibpath_var=LD_LIBRARY_PATH
14365 case $host_os in
14366 freebsd2.*)
14367 shlibpath_overrides_runpath=yes
14369 freebsd3.[01]* | freebsdelf3.[01]*)
14370 shlibpath_overrides_runpath=yes
14371 hardcode_into_libs=yes
14373 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14374 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14375 shlibpath_overrides_runpath=no
14376 hardcode_into_libs=yes
14378 *) # from 4.6 on, and DragonFly
14379 shlibpath_overrides_runpath=yes
14380 hardcode_into_libs=yes
14382 esac
14385 gnu*)
14386 version_type=linux
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LD_LIBRARY_PATH
14392 hardcode_into_libs=yes
14395 haiku*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 dynamic_linker="$host_os runtime_loader"
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 shlibpath_var=LIBRARY_PATH
14403 shlibpath_overrides_runpath=yes
14404 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14405 hardcode_into_libs=yes
14408 hpux9* | hpux10* | hpux11*)
14409 # Give a soname corresponding to the major version so that dld.sl refuses to
14410 # link against other versions.
14411 version_type=sunos
14412 need_lib_prefix=no
14413 need_version=no
14414 case $host_cpu in
14415 ia64*)
14416 shrext_cmds='.so'
14417 hardcode_into_libs=yes
14418 dynamic_linker="$host_os dld.so"
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 if test "X$HPUX_IA64_MODE" = X32; then
14424 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14425 else
14426 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14430 hppa*64*)
14431 shrext_cmds='.sl'
14432 hardcode_into_libs=yes
14433 dynamic_linker="$host_os dld.sl"
14434 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14435 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14442 shrext_cmds='.sl'
14443 dynamic_linker="$host_os dld.sl"
14444 shlibpath_var=SHLIB_PATH
14445 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14449 esac
14450 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14451 postinstall_cmds='chmod 555 $lib'
14452 # or fails outright, so override atomically:
14453 install_override_mode=555
14456 interix[3-9]*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=no
14465 hardcode_into_libs=yes
14468 irix5* | irix6* | nonstopux*)
14469 case $host_os in
14470 nonstopux*) version_type=nonstopux ;;
14472 if test "$lt_cv_prog_gnu_ld" = yes; then
14473 version_type=linux
14474 else
14475 version_type=irix
14476 fi ;;
14477 esac
14478 need_lib_prefix=no
14479 need_version=no
14480 soname_spec='${libname}${release}${shared_ext}$major'
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14482 case $host_os in
14483 irix5* | nonstopux*)
14484 libsuff= shlibsuff=
14487 case $LD in # libtool.m4 will add one of these switches to LD
14488 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14489 libsuff= shlibsuff= libmagic=32-bit;;
14490 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14491 libsuff=32 shlibsuff=N32 libmagic=N32;;
14492 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14493 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14494 *) libsuff= shlibsuff= libmagic=never-match;;
14495 esac
14497 esac
14498 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14499 shlibpath_overrides_runpath=no
14500 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14501 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14502 hardcode_into_libs=yes
14505 # No shared lib support for Linux oldld, aout, or coff.
14506 linux*oldld* | linux*aout* | linux*coff*)
14507 dynamic_linker=no
14510 # This must be Linux ELF.
14511 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14512 version_type=linux
14513 need_lib_prefix=no
14514 need_version=no
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14516 soname_spec='${libname}${release}${shared_ext}$major'
14517 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=no
14521 # Some binutils ld are patched to set DT_RUNPATH
14522 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 lt_cv_shlibpath_overrides_runpath=no
14526 save_LDFLAGS=$LDFLAGS
14527 save_libdir=$libdir
14528 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14529 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14530 if test x$gcc_no_link = xyes; then
14531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14537 main ()
14541 return 0;
14543 _ACEOF
14544 if ac_fn_cxx_try_link "$LINENO"; then :
14545 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14546 lt_cv_shlibpath_overrides_runpath=yes
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LDFLAGS=$save_LDFLAGS
14552 libdir=$save_libdir
14556 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14558 # This implies no fast_install, which is unacceptable.
14559 # Some rework will be needed to allow for fast_install
14560 # before this can be enabled.
14561 hardcode_into_libs=yes
14563 # Append ld.so.conf contents to the search path
14564 if test -f /etc/ld.so.conf; then
14565 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' ' '`
14566 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14569 # We used to test for /lib/ld.so.1 and disable shared libraries on
14570 # powerpc, because MkLinux only supported shared libraries with the
14571 # GNU dynamic linker. Since this was broken with cross compilers,
14572 # most powerpc-linux boxes support dynamic linking these days and
14573 # people can always --disable-shared, the test was removed, and we
14574 # assume the GNU/Linux dynamic linker is in use.
14575 dynamic_linker='GNU/Linux ld.so'
14578 netbsd*)
14579 version_type=sunos
14580 need_lib_prefix=no
14581 need_version=no
14582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14584 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14585 dynamic_linker='NetBSD (a.out) ld.so'
14586 else
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14588 soname_spec='${libname}${release}${shared_ext}$major'
14589 dynamic_linker='NetBSD ld.elf_so'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=yes
14593 hardcode_into_libs=yes
14596 newsos6)
14597 version_type=linux
14598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14603 *nto* | *qnx*)
14604 version_type=qnx
14605 need_lib_prefix=no
14606 need_version=no
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath=no
14611 hardcode_into_libs=yes
14612 dynamic_linker='ldqnx.so'
14615 openbsd*)
14616 version_type=sunos
14617 sys_lib_dlsearch_path_spec="/usr/lib"
14618 need_lib_prefix=no
14619 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14620 case $host_os in
14621 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14622 *) need_version=no ;;
14623 esac
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14628 case $host_os in
14629 openbsd2.[89] | openbsd2.[89].*)
14630 shlibpath_overrides_runpath=no
14633 shlibpath_overrides_runpath=yes
14635 esac
14636 else
14637 shlibpath_overrides_runpath=yes
14641 os2*)
14642 libname_spec='$name'
14643 shrext_cmds=".dll"
14644 need_lib_prefix=no
14645 library_names_spec='$libname${shared_ext} $libname.a'
14646 dynamic_linker='OS/2 ld.exe'
14647 shlibpath_var=LIBPATH
14650 osf3* | osf4* | osf5*)
14651 version_type=osf
14652 need_lib_prefix=no
14653 need_version=no
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14658 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14661 rdos*)
14662 dynamic_linker=no
14665 solaris*)
14666 version_type=linux
14667 need_lib_prefix=no
14668 need_version=no
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 hardcode_into_libs=yes
14674 # ldd complains unless libraries are executable
14675 postinstall_cmds='chmod +x $lib'
14678 sunos4*)
14679 version_type=sunos
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14681 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 if test "$with_gnu_ld" = yes; then
14685 need_lib_prefix=no
14687 need_version=yes
14690 sysv4 | sysv4.3*)
14691 version_type=linux
14692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 soname_spec='${libname}${release}${shared_ext}$major'
14694 shlibpath_var=LD_LIBRARY_PATH
14695 case $host_vendor in
14696 sni)
14697 shlibpath_overrides_runpath=no
14698 need_lib_prefix=no
14699 runpath_var=LD_RUN_PATH
14701 siemens)
14702 need_lib_prefix=no
14704 motorola)
14705 need_lib_prefix=no
14706 need_version=no
14707 shlibpath_overrides_runpath=no
14708 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14710 esac
14713 sysv4*MP*)
14714 if test -d /usr/nec ;then
14715 version_type=linux
14716 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14717 soname_spec='$libname${shared_ext}.$major'
14718 shlibpath_var=LD_LIBRARY_PATH
14722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14723 version_type=freebsd-elf
14724 need_lib_prefix=no
14725 need_version=no
14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes
14730 hardcode_into_libs=yes
14731 if test "$with_gnu_ld" = yes; then
14732 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14733 else
14734 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14735 case $host_os in
14736 sco3.2v5*)
14737 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14739 esac
14741 sys_lib_dlsearch_path_spec='/usr/lib'
14744 tpf*)
14745 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14746 version_type=linux
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 shlibpath_overrides_runpath=no
14752 hardcode_into_libs=yes
14755 uts4*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14763 dynamic_linker=no
14765 esac
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14767 $as_echo "$dynamic_linker" >&6; }
14768 test "$dynamic_linker" = no && can_build_shared=no
14770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14771 if test "$GCC" = yes; then
14772 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14776 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14779 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14821 hardcode_action_CXX=
14822 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14823 test -n "$runpath_var_CXX" ||
14824 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14826 # We can hardcode non-existent directories.
14827 if test "$hardcode_direct_CXX" != no &&
14828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14829 # have to relink, otherwise we might link with an installed library
14830 # when we should be linking with a yet-to-be-installed one
14831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14832 test "$hardcode_minus_L_CXX" != no; then
14833 # Linking always hardcodes the temporary library directory.
14834 hardcode_action_CXX=relink
14835 else
14836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14837 hardcode_action_CXX=immediate
14839 else
14840 # We cannot hardcode anything, or else we can only hardcode existing
14841 # directories.
14842 hardcode_action_CXX=unsupported
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14845 $as_echo "$hardcode_action_CXX" >&6; }
14847 if test "$hardcode_action_CXX" = relink ||
14848 test "$inherit_rpath_CXX" = yes; then
14849 # Fast installation is not supported
14850 enable_fast_install=no
14851 elif test "$shlibpath_overrides_runpath" = yes ||
14852 test "$enable_shared" = no; then
14853 # Fast installation is not necessary
14854 enable_fast_install=needless
14863 fi # test -n "$compiler"
14865 CC=$lt_save_CC
14866 LDCXX=$LD
14867 LD=$lt_save_LD
14868 GCC=$lt_save_GCC
14869 with_gnu_ld=$lt_save_with_gnu_ld
14870 lt_cv_path_LDCXX=$lt_cv_path_LD
14871 lt_cv_path_LD=$lt_save_path_LD
14872 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14894 ac_config_commands="$ac_config_commands libtool"
14899 # Only expand once:
14905 case $host in
14906 *-cygwin* | *-mingw*)
14907 # 'host' will be top-level target in the case of a target lib,
14908 # we must compare to with_cross_host to decide if this is a native
14909 # or cross-compiler and select where to install dlls appropriately.
14910 if test -n "$with_cross_host" &&
14911 test x"$with_cross_host" != x"no"; then
14912 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14913 else
14914 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14918 lt_host_flags=
14920 esac
14927 if test "$enable_vtable_verify" = yes; then
14928 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14929 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14933 # libtool variables for C++ shared and position-independent compiles.
14935 # Use glibcxx_lt_pic_flag to designate the automake variable
14936 # used to encapsulate the default libtool approach to creating objects
14937 # with position-independent code. Default: -prefer-pic.
14939 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14940 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14942 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14943 # creating position-independent objects. This varies with the target
14944 # hardware and operating system, but is often: -DPIC -fPIC.
14945 if test "$enable_shared" = yes; then
14946 glibcxx_lt_pic_flag="-prefer-pic"
14947 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14948 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14950 else
14951 glibcxx_lt_pic_flag=
14952 glibcxx_compiler_pic_flag=
14953 glibcxx_compiler_shared_flag=
14959 # Override the libtool's pic_flag and pic_mode.
14960 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14961 # NB: this impacts --with-pic and --without-pic.
14962 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14963 pic_mode='default'
14965 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14966 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14968 # Possibly disable most of the library.
14969 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14970 ## than just ignoring the results. Faster /and/ more correct, win win.
14972 # Check whether --enable-hosted-libstdcxx was given.
14973 if test "${enable_hosted_libstdcxx+set}" = set; then :
14974 enableval=$enable_hosted_libstdcxx;
14975 else
14976 case "$host" in
14977 arm*-*-symbianelf*)
14978 enable_hosted_libstdcxx=no
14981 enable_hosted_libstdcxx=yes
14983 esac
14986 if test "$enable_hosted_libstdcxx" = no; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14988 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14989 is_hosted=no
14990 hosted_define=0
14991 enable_abi_check=no
14992 enable_libstdcxx_pch=no
14993 else
14994 is_hosted=yes
14995 hosted_define=1
14999 cat >>confdefs.h <<_ACEOF
15000 #define _GLIBCXX_HOSTED $hosted_define
15001 _ACEOF
15005 # Enable descriptive messages to standard output on termination.
15007 # Check whether --enable-libstdcxx-verbose was given.
15008 if test "${enable_libstdcxx_verbose+set}" = set; then :
15009 enableval=$enable_libstdcxx_verbose;
15010 else
15011 enable_libstdcxx_verbose=yes
15014 if test x"$enable_libstdcxx_verbose" = xyes; then
15015 verbose_define=1
15016 else
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15018 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15019 verbose_define=0
15022 cat >>confdefs.h <<_ACEOF
15023 #define _GLIBCXX_VERBOSE $verbose_define
15024 _ACEOF
15028 # Enable compiler support that doesn't require linking.
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15031 $as_echo_n "checking for exception model to use... " >&6; }
15033 ac_ext=cpp
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15039 # Check whether --enable-sjlj-exceptions was given.
15040 if test "${enable_sjlj_exceptions+set}" = set; then :
15041 enableval=$enable_sjlj_exceptions;
15042 case "$enableval" in
15043 yes|no|auto) ;;
15044 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15045 esac
15047 else
15048 enable_sjlj_exceptions=auto
15053 if test $enable_sjlj_exceptions = auto; then
15054 # Botheration. Now we've got to detect the exception model. Link tests
15055 # against libgcc.a are problematic since we've not been given proper -L
15056 # bits for single-tree newlib and libgloss.
15058 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15059 cat > conftest.$ac_ext << EOF
15060 #line 15060 "configure"
15061 struct S { ~S(); };
15062 void bar();
15063 void foo()
15065 S s;
15066 bar();
15069 old_CXXFLAGS="$CXXFLAGS"
15070 CXXFLAGS=-S
15071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15072 (eval $ac_compile) 2>&5
15073 ac_status=$?
15074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 test $ac_status = 0; }; then
15076 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15077 enable_sjlj_exceptions=yes
15078 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15079 enable_sjlj_exceptions=yes
15080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15081 enable_sjlj_exceptions=no
15082 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=no
15086 CXXFLAGS="$old_CXXFLAGS"
15087 rm -f conftest*
15090 # This is a tad weird, for hysterical raisins. We have to map
15091 # enable/disable to two different models.
15092 case $enable_sjlj_exceptions in
15093 yes)
15095 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15097 ac_exception_model_name=sjlj
15100 ac_exception_model_name="call frame"
15103 as_fn_error "unable to detect exception model" "$LINENO" 5
15105 esac
15106 ac_ext=c
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15113 $as_echo "$ac_exception_model_name" >&6; }
15116 # Check whether --enable-libstdcxx-pch was given.
15117 if test "${enable_libstdcxx_pch+set}" = set; then :
15118 enableval=$enable_libstdcxx_pch;
15119 case "$enableval" in
15120 yes|no) ;;
15121 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15122 esac
15124 else
15125 enable_libstdcxx_pch=$is_hosted
15129 if test $enable_libstdcxx_pch = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15131 $as_echo_n "checking for compiler with PCH support... " >&6; }
15132 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_save_CXXFLAGS="$CXXFLAGS"
15136 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15138 ac_ext=cpp
15139 ac_cpp='$CXXCPP $CPPFLAGS'
15140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15144 echo '#include <math.h>' > conftest.h
15145 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15146 -o conftest.h.gch 1>&5 2>&1 &&
15147 echo '#error "pch failed"' > conftest.h &&
15148 echo '#include "conftest.h"' > conftest.cc &&
15149 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15150 then
15151 glibcxx_cv_prog_CXX_pch=yes
15152 else
15153 glibcxx_cv_prog_CXX_pch=no
15155 rm -f conftest*
15156 CXXFLAGS=$ac_save_CXXFLAGS
15157 ac_ext=c
15158 ac_cpp='$CPP $CPPFLAGS'
15159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15166 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15167 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15171 $as_echo_n "checking for enabled PCH... " >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15173 $as_echo "$enable_libstdcxx_pch" >&6; }
15176 if test $enable_libstdcxx_pch = yes; then
15177 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15178 else
15179 glibcxx_PCHFLAGS=""
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15185 $as_echo_n "checking for thread model used by GCC... " >&6; }
15186 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15188 $as_echo "$target_thread_file" >&6; }
15190 case $target_thread_file in
15191 aix) thread_header=config/rs6000/gthr-aix.h ;;
15192 dce) thread_header=config/pa/gthr-dce.h ;;
15193 lynx) thread_header=config/gthr-lynx.h ;;
15194 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15195 posix) thread_header=gthr-posix.h ;;
15196 rtems) thread_header=config/gthr-rtems.h ;;
15197 single) thread_header=gthr-single.h ;;
15198 tpf) thread_header=config/s390/gthr-tpf.h ;;
15199 vxworks) thread_header=config/gthr-vxworks.h ;;
15200 win32) thread_header=config/i386/gthr-win32.h ;;
15201 esac
15207 ac_ext=cpp
15208 ac_cpp='$CXXCPP $CPPFLAGS'
15209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15213 old_CXXFLAGS="$CXXFLAGS"
15215 # Do link tests if possible, instead asm tests, limited to some platforms
15216 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15217 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15218 atomic_builtins_link_tests=no
15219 if test x$gcc_no_link != xyes; then
15220 # Can do link tests. Limit to some tested platforms
15221 case "$host" in
15222 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15223 atomic_builtins_link_tests=yes
15225 esac
15228 if test x$atomic_builtins_link_tests = xyes; then
15230 # Do link tests.
15232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15235 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15236 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15240 if test x$gcc_no_link = xyes; then
15241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15247 main ()
15249 typedef bool atomic_type;
15250 atomic_type c1;
15251 atomic_type c2;
15252 atomic_type c3(0);
15253 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15254 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15255 __ATOMIC_RELAXED);
15256 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15257 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15260 return 0;
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_bool=yes
15265 else
15266 glibcxx_cv_atomic_bool=no
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15274 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15277 $as_echo_n "checking for atomic builtins for short... " >&6; }
15278 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15282 if test x$gcc_no_link = xyes; then
15283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15289 main ()
15291 typedef short atomic_type;
15292 atomic_type c1;
15293 atomic_type c2;
15294 atomic_type c3(0);
15295 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15296 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15297 __ATOMIC_RELAXED);
15298 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15299 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15302 return 0;
15304 _ACEOF
15305 if ac_fn_cxx_try_link "$LINENO"; then :
15306 glibcxx_cv_atomic_short=yes
15307 else
15308 glibcxx_cv_atomic_short=no
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15316 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15319 $as_echo_n "checking for atomic builtins for int... " >&6; }
15320 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15324 if test x$gcc_no_link = xyes; then
15325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15331 main ()
15333 typedef int atomic_type;
15334 atomic_type c1;
15335 atomic_type c2;
15336 atomic_type c3(0);
15337 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15338 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15339 __ATOMIC_RELAXED);
15340 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15341 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15344 return 0;
15346 _ACEOF
15347 if ac_fn_cxx_try_link "$LINENO"; then :
15348 glibcxx_cv_atomic_int=yes
15349 else
15350 glibcxx_cv_atomic_int=no
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15358 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15361 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15362 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15366 if test x$gcc_no_link = xyes; then
15367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15373 main ()
15375 typedef long long atomic_type;
15376 atomic_type c1;
15377 atomic_type c2;
15378 atomic_type c3(0);
15379 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381 __ATOMIC_RELAXED);
15382 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15386 return 0;
15388 _ACEOF
15389 if ac_fn_cxx_try_link "$LINENO"; then :
15390 glibcxx_cv_atomic_long_long=yes
15391 else
15392 glibcxx_cv_atomic_long_long=no
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15400 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15402 else
15404 # Do asm tests.
15406 # Compile unoptimized.
15407 CXXFLAGS='-O0 -S'
15409 # Fake what AC_TRY_COMPILE does.
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15415 typedef bool atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15425 return 0;
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15430 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_bool=no
15438 else
15439 glibcxx_cv_atomic_bool=yes
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15443 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15444 rm -f conftest*
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15450 typedef short atomic_type;
15451 atomic_type c1;
15452 atomic_type c2;
15453 atomic_type c3(0);
15454 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15455 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15456 __ATOMIC_RELAXED);
15457 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15458 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15460 return 0;
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15465 $as_echo_n "checking for atomic builtins for short... " >&6; }
15466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15467 (eval $ac_compile) 2>&5
15468 ac_status=$?
15469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470 test $ac_status = 0; }; then
15471 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15472 glibcxx_cv_atomic_short=no
15473 else
15474 glibcxx_cv_atomic_short=yes
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15478 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15479 rm -f conftest*
15481 cat > conftest.$ac_ext << EOF
15482 #line 15482 "configure"
15483 int main()
15485 // NB: _Atomic_word not necessarily int.
15486 typedef int atomic_type;
15487 atomic_type c1;
15488 atomic_type c2;
15489 atomic_type c3(0);
15490 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15491 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15492 __ATOMIC_RELAXED);
15493 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15494 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15496 return 0;
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15501 $as_echo_n "checking for atomic builtins for int... " >&6; }
15502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15503 (eval $ac_compile) 2>&5
15504 ac_status=$?
15505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15506 test $ac_status = 0; }; then
15507 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15508 glibcxx_cv_atomic_int=no
15509 else
15510 glibcxx_cv_atomic_int=yes
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15514 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15515 rm -f conftest*
15517 cat > conftest.$ac_ext << EOF
15518 #line 15518 "configure"
15519 int main()
15521 typedef long long atomic_type;
15522 atomic_type c1;
15523 atomic_type c2;
15524 atomic_type c3(0);
15525 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15526 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15527 __ATOMIC_RELAXED);
15528 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15529 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15531 return 0;
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15536 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15538 (eval $ac_compile) 2>&5
15539 ac_status=$?
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }; then
15542 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15543 glibcxx_cv_atomic_long_long=no
15544 else
15545 glibcxx_cv_atomic_long_long=yes
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15549 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15550 rm -f conftest*
15554 CXXFLAGS="$old_CXXFLAGS"
15555 ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15562 # Set atomicity_dir to builtins if all but the long long test above passes.
15563 if test $glibcxx_cv_atomic_bool = yes \
15564 && test $glibcxx_cv_atomic_short = yes \
15565 && test $glibcxx_cv_atomic_int = yes; then
15567 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15569 atomicity_dir=cpu/generic/atomicity_builtins
15572 # If still generic, set to mutex.
15573 if test $atomicity_dir = "cpu/generic" ; then
15574 atomicity_dir=cpu/generic/atomicity_mutex
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15576 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15577 if test "x$target_thread_file" = xsingle; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15579 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15581 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15584 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15586 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15593 # Fake what AC_TRY_COMPILE does, without linking as this is
15594 # unnecessary for this test.
15596 cat > conftest.$ac_ext << EOF
15597 #line 15597 "configure"
15598 int main()
15600 _Decimal32 d1;
15601 _Decimal64 d2;
15602 _Decimal128 d3;
15603 return 0;
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15608 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15610 (eval $ac_compile) 2>&5
15611 ac_status=$?
15612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15613 test $ac_status = 0; }; then
15615 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15617 enable_dfp=yes
15618 else
15619 enable_dfp=no
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15622 $as_echo "$enable_dfp" >&6; }
15623 rm -f conftest*
15628 ac_ext=cpp
15629 ac_cpp='$CXXCPP $CPPFLAGS'
15630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15635 # Fake what AC_TRY_COMPILE does, without linking as this is
15636 # unnecessary for this test.
15638 cat > conftest.$ac_ext << EOF
15639 #line 15639 "configure"
15640 template<typename T1, typename T2>
15641 struct same
15642 { typedef T2 type; };
15644 template<typename T>
15645 struct same<T, T>;
15647 int main()
15649 typename same<long, __int128>::type i1;
15650 typename same<long long, __int128>::type i2;
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15655 $as_echo_n "checking for __int128... " >&6; }
15656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15657 (eval $ac_compile) 2>&5
15658 ac_status=$?
15659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15660 test $ac_status = 0; }; then
15662 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15664 enable_int128=yes
15665 else
15666 enable_int128=no
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15669 $as_echo "$enable_int128" >&6; }
15670 rm -f conftest*
15672 cat > conftest.$ac_ext << EOF
15673 #line 15673 "configure"
15674 template<typename T1, typename T2>
15675 struct same
15676 { typedef T2 type; };
15678 template<typename T>
15679 struct same<T, T>;
15681 int main()
15683 typename same<double, __float128>::type f1;
15684 typename same<long double, __float128>::type f2;
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15689 $as_echo_n "checking for __float128... " >&6; }
15690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15691 (eval $ac_compile) 2>&5
15692 ac_status=$?
15693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15694 test $ac_status = 0; }; then
15696 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15698 enable_float128=yes
15699 else
15700 enable_float128=no
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15703 $as_echo "$enable_float128" >&6; }
15704 rm -f conftest*
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 # Checks for compiler support that doesn't require linking.
15716 # All these tests are for C++; save the language and the compiler flags.
15717 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15718 # found in GLIBCXX_CONFIGURE.
15720 ac_ext=cpp
15721 ac_cpp='$CXXCPP $CPPFLAGS'
15722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15726 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15727 ac_save_CXXFLAGS="$CXXFLAGS"
15729 # Check for maintainer-mode bits.
15730 if test x"$USE_MAINTAINER_MODE" = xno; then
15731 WERROR=''
15732 else
15733 WERROR='-Werror'
15736 # Check for -ffunction-sections -fdata-sections
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15738 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15739 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 int foo; void bar() { };
15744 main ()
15748 return 0;
15750 _ACEOF
15751 if ac_fn_cxx_try_compile "$LINENO"; then :
15752 ac_fdsections=yes
15753 else
15754 ac_fdsections=no
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15757 if test "$ac_test_CXXFLAGS" = set; then
15758 CXXFLAGS="$ac_save_CXXFLAGS"
15759 else
15760 # this is the suspicious part
15761 CXXFLAGS=''
15763 if test x"$ac_fdsections" = x"yes"; then
15764 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15767 $as_echo "$ac_fdsections" >&6; }
15769 ac_ext=c
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779 # Enable all the variable C++ runtime options that don't require linking.
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15782 $as_echo_n "checking for underlying I/O to use... " >&6; }
15783 # Check whether --enable-cstdio was given.
15784 if test "${enable_cstdio+set}" = set; then :
15785 enableval=$enable_cstdio;
15786 case "$enableval" in
15787 stdio) ;;
15788 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15789 esac
15791 else
15792 enable_cstdio=stdio
15797 # Now that libio has been removed, you can have any color you want as long
15798 # as it's black. This is one big no-op until other packages are added, but
15799 # showing the framework never hurts.
15800 case ${enable_cstdio} in
15801 stdio)
15802 CSTDIO_H=config/io/c_io_stdio.h
15803 BASIC_FILE_H=config/io/basic_file_stdio.h
15804 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15806 $as_echo "stdio" >&6; }
15808 esac
15815 # Check whether --enable-clocale was given.
15816 if test "${enable_clocale+set}" = set; then :
15817 enableval=$enable_clocale;
15818 case "$enableval" in
15819 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15820 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15821 esac
15823 else
15824 enable_clocale=auto
15829 # Deal with gettext issues. Default to not using it (=no) until we detect
15830 # support for it later. Let the user turn it off via --e/d, but let that
15831 # default to on for easier handling.
15832 USE_NLS=no
15833 # Check whether --enable-nls was given.
15834 if test "${enable_nls+set}" = set; then :
15835 enableval=$enable_nls;
15836 else
15837 enable_nls=yes
15841 # Either a known package, or "auto"
15842 if test $enable_clocale = no || test $enable_clocale = yes; then
15843 enable_clocale=auto
15845 enable_clocale_flag=$enable_clocale
15847 # Probe for locale model to use if none specified.
15848 # Default to "generic".
15849 if test $enable_clocale_flag = auto; then
15850 case ${target_os} in
15851 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15852 enable_clocale_flag=gnu
15854 darwin* | freebsd*)
15855 enable_clocale_flag=darwin
15857 dragonfly*)
15858 enable_clocale_flag=dragonfly
15860 openbsd*)
15861 enable_clocale_flag=newlib
15864 if test x"$with_newlib" = x"yes"; then
15865 enable_clocale_flag=newlib
15866 else
15867 enable_clocale_flag=generic
15870 esac
15873 # Sanity check model, and test for special functionality.
15874 if test $enable_clocale_flag = gnu; then
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15878 #include <features.h>
15879 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15880 _GLIBCXX_ok
15881 #endif
15883 _ACEOF
15884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15885 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15886 enable_clocale_flag=gnu
15887 else
15888 enable_clocale_flag=generic
15890 rm -f conftest*
15893 # Set it to scream when it hurts.
15894 ac_save_CFLAGS="$CFLAGS"
15895 CFLAGS="-Wimplicit-function-declaration -Werror"
15897 # Use strxfrm_l if available.
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #define _GNU_SOURCE 1
15901 #include <string.h>
15902 #include <locale.h>
15904 main ()
15906 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_compile "$LINENO"; then :
15913 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918 # Use strerror_l if available.
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15921 #define _GNU_SOURCE 1
15922 #include <string.h>
15923 #include <locale.h>
15925 main ()
15927 __locale_t loc; strerror_l(5, loc);
15929 return 0;
15931 _ACEOF
15932 if ac_fn_c_try_compile "$LINENO"; then :
15934 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 CFLAGS="$ac_save_CFLAGS"
15942 # Perhaps use strerror_r if available, and strerror_l isn't.
15943 ac_save_CFLAGS="$CFLAGS"
15944 CFLAGS="-Wimplicit-function-declaration -Werror"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 #define _GNU_SOURCE 1
15948 #include <string.h>
15949 #include <locale.h>
15951 main ()
15953 char s[128]; strerror_r(5, s, 128);
15955 return 0;
15957 _ACEOF
15958 if ac_fn_c_try_compile "$LINENO"; then :
15960 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 CFLAGS="$ac_save_CFLAGS"
15966 # Set configure bits for specified locale package
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15968 $as_echo_n "checking for C locale to use... " >&6; }
15969 case ${enable_clocale_flag} in
15970 generic)
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15972 $as_echo "generic" >&6; }
15974 CLOCALE_H=config/locale/generic/c_locale.h
15975 CLOCALE_CC=config/locale/generic/c_locale.cc
15976 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15977 CCOLLATE_CC=config/locale/generic/collate_members.cc
15978 CCTYPE_CC=config/locale/generic/ctype_members.cc
15979 CMESSAGES_H=config/locale/generic/messages_members.h
15980 CMESSAGES_CC=config/locale/generic/messages_members.cc
15981 CMONEY_CC=config/locale/generic/monetary_members.cc
15982 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15983 CTIME_H=config/locale/generic/time_members.h
15984 CTIME_CC=config/locale/generic/time_members.cc
15985 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15987 darwin)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15989 $as_echo "darwin or freebsd" >&6; }
15991 CLOCALE_H=config/locale/generic/c_locale.h
15992 CLOCALE_CC=config/locale/generic/c_locale.cc
15993 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/generic/collate_members.cc
15995 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/generic/monetary_members.cc
15999 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16000 CTIME_H=config/locale/generic/time_members.h
16001 CTIME_CC=config/locale/generic/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16005 dragonfly)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16007 $as_echo "dragonfly" >&6; }
16009 CLOCALE_H=config/locale/generic/c_locale.h
16010 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16011 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16012 CCOLLATE_CC=config/locale/generic/collate_members.cc
16013 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16014 CMESSAGES_H=config/locale/generic/messages_members.h
16015 CMESSAGES_CC=config/locale/generic/messages_members.cc
16016 CMONEY_CC=config/locale/generic/monetary_members.cc
16017 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16018 CTIME_H=config/locale/generic/time_members.h
16019 CTIME_CC=config/locale/generic/time_members.cc
16020 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16023 gnu)
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16025 $as_echo "gnu" >&6; }
16027 # Declare intention to use gettext, and add support for specific
16028 # languages.
16029 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16030 ALL_LINGUAS="de fr"
16032 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16033 # Extract the first word of "msgfmt", so it can be a program name with args.
16034 set dummy msgfmt; ac_word=$2
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16036 $as_echo_n "checking for $ac_word... " >&6; }
16037 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 if test -n "$check_msgfmt"; then
16041 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16042 else
16043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16044 for as_dir in $PATH
16046 IFS=$as_save_IFS
16047 test -z "$as_dir" && as_dir=.
16048 for ac_exec_ext in '' $ac_executable_extensions; do
16049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16050 ac_cv_prog_check_msgfmt="yes"
16051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16052 break 2
16054 done
16055 done
16056 IFS=$as_save_IFS
16058 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16061 check_msgfmt=$ac_cv_prog_check_msgfmt
16062 if test -n "$check_msgfmt"; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16064 $as_echo "$check_msgfmt" >&6; }
16065 else
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16067 $as_echo "no" >&6; }
16071 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16072 USE_NLS=yes
16074 # Export the build objects.
16075 for ling in $ALL_LINGUAS; do \
16076 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16077 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16078 done
16082 CLOCALE_H=config/locale/gnu/c_locale.h
16083 CLOCALE_CC=config/locale/gnu/c_locale.cc
16084 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16085 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16086 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16087 CMESSAGES_H=config/locale/gnu/messages_members.h
16088 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16089 CMONEY_CC=config/locale/gnu/monetary_members.cc
16090 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16091 CTIME_H=config/locale/gnu/time_members.h
16092 CTIME_CC=config/locale/gnu/time_members.cc
16093 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16095 ieee_1003.1-2001)
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16097 $as_echo "IEEE 1003.1" >&6; }
16099 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16100 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16101 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16102 CCOLLATE_CC=config/locale/generic/collate_members.cc
16103 CCTYPE_CC=config/locale/generic/ctype_members.cc
16104 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16105 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16106 CMONEY_CC=config/locale/generic/monetary_members.cc
16107 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16108 CTIME_H=config/locale/generic/time_members.h
16109 CTIME_CC=config/locale/generic/time_members.cc
16110 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16112 newlib)
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16114 $as_echo "newlib" >&6; }
16116 CLOCALE_H=config/locale/generic/c_locale.h
16117 CLOCALE_CC=config/locale/generic/c_locale.cc
16118 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16119 CCOLLATE_CC=config/locale/generic/collate_members.cc
16120 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16121 CMESSAGES_H=config/locale/generic/messages_members.h
16122 CMESSAGES_CC=config/locale/generic/messages_members.cc
16123 CMONEY_CC=config/locale/generic/monetary_members.cc
16124 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16125 CTIME_H=config/locale/generic/time_members.h
16126 CTIME_CC=config/locale/generic/time_members.cc
16127 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16129 esac
16131 # This is where the testsuite looks for locale catalogs, using the
16132 # -DLOCALEDIR define during testsuite compilation.
16133 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16136 # A standalone libintl (e.g., GNU libintl) may be in use.
16137 if test $USE_NLS = yes; then
16138 for ac_header in libintl.h
16139 do :
16140 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16141 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_LIBINTL_H 1
16144 _ACEOF
16146 else
16147 USE_NLS=no
16150 done
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16153 $as_echo_n "checking for library containing gettext... " >&6; }
16154 if test "${ac_cv_search_gettext+set}" = set; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 ac_func_search_save_LIBS=$LIBS
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16161 /* Override any GCC internal prototype to avoid an error.
16162 Use char because int might match the return type of a GCC
16163 builtin and then its argument prototype would still apply. */
16164 #ifdef __cplusplus
16165 extern "C"
16166 #endif
16167 char gettext ();
16169 main ()
16171 return gettext ();
16173 return 0;
16175 _ACEOF
16176 for ac_lib in '' intl; do
16177 if test -z "$ac_lib"; then
16178 ac_res="none required"
16179 else
16180 ac_res=-l$ac_lib
16181 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16183 if test x$gcc_no_link = xyes; then
16184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 ac_cv_search_gettext=$ac_res
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext
16191 if test "${ac_cv_search_gettext+set}" = set; then :
16192 break
16194 done
16195 if test "${ac_cv_search_gettext+set}" = set; then :
16197 else
16198 ac_cv_search_gettext=no
16200 rm conftest.$ac_ext
16201 LIBS=$ac_func_search_save_LIBS
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16204 $as_echo "$ac_cv_search_gettext" >&6; }
16205 ac_res=$ac_cv_search_gettext
16206 if test "$ac_res" != no; then :
16207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16209 else
16210 USE_NLS=no
16214 if test $USE_NLS = yes; then
16216 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16236 $as_echo_n "checking for std::allocator base class... " >&6; }
16237 # Check whether --enable-libstdcxx-allocator was given.
16238 if test "${enable_libstdcxx_allocator+set}" = set; then :
16239 enableval=$enable_libstdcxx_allocator;
16240 case "$enableval" in
16241 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16242 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16243 esac
16245 else
16246 enable_libstdcxx_allocator=auto
16251 # If they didn't use this option switch, or if they specified --enable
16252 # with no specific model, we'll have to look for one. If they
16253 # specified --disable (???), do likewise.
16254 if test $enable_libstdcxx_allocator = no ||
16255 test $enable_libstdcxx_allocator = yes;
16256 then
16257 enable_libstdcxx_allocator=auto
16260 # Either a known package, or "auto". Auto implies the default choice
16261 # for a particular platform.
16262 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16264 # Probe for host-specific support if no specific model is specified.
16265 # Default to "new".
16266 if test $enable_libstdcxx_allocator_flag = auto; then
16267 case ${target_os} in
16268 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16269 enable_libstdcxx_allocator_flag=new
16272 enable_libstdcxx_allocator_flag=new
16274 esac
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16277 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16280 # Set configure bits for specified locale package
16281 case ${enable_libstdcxx_allocator_flag} in
16282 bitmap)
16283 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16284 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16286 malloc)
16287 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16288 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16291 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16292 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16294 new)
16295 ALLOCATOR_H=config/allocator/new_allocator_base.h
16296 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16298 pool)
16299 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16300 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16302 esac
16308 # Check whether --enable-cheaders was given.
16309 if test "${enable_cheaders+set}" = set; then :
16310 enableval=$enable_cheaders;
16311 case "$enableval" in
16312 c|c_std|c_global) ;;
16313 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16314 esac
16316 else
16317 enable_cheaders=$c_model
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16322 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16324 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16326 # Allow overrides to configure.host here.
16327 if test $enable_cheaders = c_global; then
16328 c_compatibility=yes
16337 # Check whether --enable-long-long was given.
16338 if test "${enable_long_long+set}" = set; then :
16339 enableval=$enable_long_long;
16340 case "$enableval" in
16341 yes|no) ;;
16342 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16343 esac
16345 else
16346 enable_long_long=yes
16350 if test $enable_long_long = yes; then
16352 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16356 $as_echo_n "checking for enabled long long specializations... " >&6; }
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16358 $as_echo "$enable_long_long" >&6; }
16361 # Check whether --enable-wchar_t was given.
16362 if test "${enable_wchar_t+set}" = set; then :
16363 enableval=$enable_wchar_t;
16364 case "$enableval" in
16365 yes|no) ;;
16366 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16367 esac
16369 else
16370 enable_wchar_t=yes
16375 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16376 for ac_header in wchar.h
16377 do :
16378 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16379 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_WCHAR_H 1
16382 _ACEOF
16383 ac_has_wchar_h=yes
16384 else
16385 ac_has_wchar_h=no
16388 done
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16391 $as_echo_n "checking for mbstate_t... " >&6; }
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #include <wchar.h>
16396 main ()
16398 mbstate_t teststate;
16400 return 0;
16402 _ACEOF
16403 if ac_fn_c_try_compile "$LINENO"; then :
16404 have_mbstate_t=yes
16405 else
16406 have_mbstate_t=no
16408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16410 $as_echo "$have_mbstate_t" >&6; }
16411 if test x"$have_mbstate_t" = xyes; then
16413 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16417 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16418 # ac_has_wchar_h.
16419 for ac_header in wctype.h
16420 do :
16421 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16422 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_WCTYPE_H 1
16425 _ACEOF
16426 ac_has_wctype_h=yes
16427 else
16428 ac_has_wctype_h=no
16431 done
16434 if test x"$enable_wchar_t" = x"yes"; then
16437 ac_ext=cpp
16438 ac_cpp='$CXXCPP $CPPFLAGS'
16439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16444 if test x"$ac_has_wchar_h" = xyes &&
16445 test x"$ac_has_wctype_h" = xyes; then
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448 #include <wchar.h>
16449 #include <stddef.h>
16450 wint_t i;
16451 long l = WEOF;
16452 long j = WCHAR_MIN;
16453 long k = WCHAR_MAX;
16454 namespace test
16456 using ::btowc;
16457 using ::fgetwc;
16458 using ::fgetws;
16459 using ::fputwc;
16460 using ::fputws;
16461 using ::fwide;
16462 using ::fwprintf;
16463 using ::fwscanf;
16464 using ::getwc;
16465 using ::getwchar;
16466 using ::mbrlen;
16467 using ::mbrtowc;
16468 using ::mbsinit;
16469 using ::mbsrtowcs;
16470 using ::putwc;
16471 using ::putwchar;
16472 using ::swprintf;
16473 using ::swscanf;
16474 using ::ungetwc;
16475 using ::vfwprintf;
16476 using ::vswprintf;
16477 using ::vwprintf;
16478 using ::wcrtomb;
16479 using ::wcscat;
16480 using ::wcschr;
16481 using ::wcscmp;
16482 using ::wcscoll;
16483 using ::wcscpy;
16484 using ::wcscspn;
16485 using ::wcsftime;
16486 using ::wcslen;
16487 using ::wcsncat;
16488 using ::wcsncmp;
16489 using ::wcsncpy;
16490 using ::wcspbrk;
16491 using ::wcsrchr;
16492 using ::wcsrtombs;
16493 using ::wcsspn;
16494 using ::wcsstr;
16495 using ::wcstod;
16496 using ::wcstok;
16497 using ::wcstol;
16498 using ::wcstoul;
16499 using ::wcsxfrm;
16500 using ::wctob;
16501 using ::wmemchr;
16502 using ::wmemcmp;
16503 using ::wmemcpy;
16504 using ::wmemmove;
16505 using ::wmemset;
16506 using ::wprintf;
16507 using ::wscanf;
16511 main ()
16515 return 0;
16517 _ACEOF
16518 if ac_fn_cxx_try_compile "$LINENO"; then :
16520 else
16521 enable_wchar_t=no
16523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16524 else
16525 enable_wchar_t=no
16528 ac_ext=c
16529 ac_cpp='$CPP $CPPFLAGS'
16530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16536 if test x"$enable_wchar_t" = x"yes"; then
16538 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16543 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16545 $as_echo "$enable_wchar_t" >&6; }
16549 # Check whether --enable-c99 was given.
16550 if test "${enable_c99+set}" = set; then :
16551 enableval=$enable_c99;
16552 case "$enableval" in
16553 yes|no) ;;
16554 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16555 esac
16557 else
16558 enable_c99=yes
16563 if test x"$enable_c99" = x"yes"; then
16566 ac_ext=cpp
16567 ac_cpp='$CXXCPP $CPPFLAGS'
16568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16573 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16574 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16575 # spuriously enabled.
16576 # Long term, -std=c++0x could be even better, could manage to explicitly
16577 # request C99 facilities to the underlying C headers.
16578 ac_save_CXXFLAGS="$CXXFLAGS"
16579 CXXFLAGS="$CXXFLAGS -std=c++98"
16580 ac_save_LIBS="$LIBS"
16581 ac_save_gcc_no_link="$gcc_no_link"
16583 if test x$gcc_no_link != xyes; then
16584 # Use -fno-exceptions to that the C driver can link these tests without
16585 # hitting undefined references to personality routines.
16586 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16588 $as_echo_n "checking for sin in -lm... " >&6; }
16589 if test "${ac_cv_lib_m_sin+set}" = set; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 ac_check_lib_save_LIBS=$LIBS
16593 LIBS="-lm $LIBS"
16594 if test x$gcc_no_link = xyes; then
16595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16600 /* Override any GCC internal prototype to avoid an error.
16601 Use char because int might match the return type of a GCC
16602 builtin and then its argument prototype would still apply. */
16603 #ifdef __cplusplus
16604 extern "C"
16605 #endif
16606 char sin ();
16608 main ()
16610 return sin ();
16612 return 0;
16614 _ACEOF
16615 if ac_fn_cxx_try_link "$LINENO"; then :
16616 ac_cv_lib_m_sin=yes
16617 else
16618 ac_cv_lib_m_sin=no
16620 rm -f core conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16622 LIBS=$ac_check_lib_save_LIBS
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16625 $as_echo "$ac_cv_lib_m_sin" >&6; }
16626 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16628 LIBS="$LIBS -lm"
16630 else
16632 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16633 gcc_no_link=yes
16639 # Check for the existence of <math.h> functions used if C99 is enabled.
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16641 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16642 if test "${glibcxx_cv_c99_math+set}" = set; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16646 if test x$gcc_no_link = xyes; then
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #include <math.h>
16650 volatile double d1, d2;
16651 volatile int i;
16653 main ()
16655 i = fpclassify(d1);
16656 i = isfinite(d1);
16657 i = isinf(d1);
16658 i = isnan(d1);
16659 i = isnormal(d1);
16660 i = signbit(d1);
16661 i = isgreater(d1, d2);
16662 i = isgreaterequal(d1, d2);
16663 i = isless(d1, d2);
16664 i = islessequal(d1, d2);
16665 i = islessgreater(d1, d2);
16666 i = islessgreater(d1, d2);
16667 i = isunordered(d1, d2);
16670 return 0;
16672 _ACEOF
16673 if ac_fn_cxx_try_compile "$LINENO"; then :
16674 glibcxx_cv_c99_math=yes
16675 else
16676 glibcxx_cv_c99_math=no
16678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16679 else
16680 if test x$gcc_no_link = xyes; then
16681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16685 #include <math.h>
16686 volatile double d1, d2;
16687 volatile int i;
16689 main ()
16691 i = fpclassify(d1);
16692 i = isfinite(d1);
16693 i = isinf(d1);
16694 i = isnan(d1);
16695 i = isnormal(d1);
16696 i = signbit(d1);
16697 i = isgreater(d1, d2);
16698 i = isgreaterequal(d1, d2);
16699 i = isless(d1, d2);
16700 i = islessequal(d1, d2);
16701 i = islessgreater(d1, d2);
16702 i = islessgreater(d1, d2);
16703 i = isunordered(d1, d2);
16706 return 0;
16708 _ACEOF
16709 if ac_fn_cxx_try_link "$LINENO"; then :
16710 glibcxx_cv_c99_math=yes
16711 else
16712 glibcxx_cv_c99_math=no
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16721 $as_echo "$glibcxx_cv_c99_math" >&6; }
16722 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16724 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16728 # Check for the existence of <complex.h> complex math functions.
16729 # This is necessary even though libstdc++ uses the builtin versions
16730 # of these functions, because if the builtin cannot be used, a reference
16731 # to the library function is emitted.
16732 for ac_header in tgmath.h
16733 do :
16734 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16735 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_TGMATH_H 1
16738 _ACEOF
16739 ac_has_tgmath_h=yes
16740 else
16741 ac_has_tgmath_h=no
16744 done
16746 for ac_header in complex.h
16747 do :
16748 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16749 if test "x$ac_cv_header_complex_h" = x""yes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_COMPLEX_H 1
16752 _ACEOF
16753 ac_has_complex_h=yes
16754 else
16755 ac_has_complex_h=no
16758 done
16760 glibcxx_cv_c99_complex=no;
16761 if test x"$ac_has_complex_h" = x"yes"; then
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16763 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16764 if test x$gcc_no_link = xyes; then
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <complex.h>
16768 typedef __complex__ float float_type;
16769 typedef __complex__ double double_type;
16770 typedef __complex__ long double ld_type;
16771 volatile float_type tmpf;
16772 volatile double_type tmpd;
16773 volatile ld_type tmpld;
16774 volatile float f;
16775 volatile double d;
16776 volatile long double ld;
16778 main ()
16780 f = cabsf(tmpf);
16781 f = cargf(tmpf);
16782 tmpf = ccosf(tmpf);
16783 tmpf = ccoshf(tmpf);
16784 tmpf = cexpf(tmpf);
16785 tmpf = clogf(tmpf);
16786 tmpf = csinf(tmpf);
16787 tmpf = csinhf(tmpf);
16788 tmpf = csqrtf(tmpf);
16789 tmpf = ctanf(tmpf);
16790 tmpf = ctanhf(tmpf);
16791 tmpf = cpowf(tmpf, tmpf);
16792 tmpf = cprojf(tmpf);
16793 d = cabs(tmpd);
16794 d = carg(tmpd);
16795 tmpd = ccos(tmpd);
16796 tmpd = ccosh(tmpd);
16797 tmpd = cexp(tmpd);
16798 tmpd = clog(tmpd);
16799 tmpd = csin(tmpd);
16800 tmpd = csinh(tmpd);
16801 tmpd = csqrt(tmpd);
16802 tmpd = ctan(tmpd);
16803 tmpd = ctanh(tmpd);
16804 tmpd = cpow(tmpd, tmpd);
16805 tmpd = cproj(tmpd);
16806 ld = cabsl(tmpld);
16807 ld = cargl(tmpld);
16808 tmpld = ccosl(tmpld);
16809 tmpld = ccoshl(tmpld);
16810 tmpld = cexpl(tmpld);
16811 tmpld = clogl(tmpld);
16812 tmpld = csinl(tmpld);
16813 tmpld = csinhl(tmpld);
16814 tmpld = csqrtl(tmpld);
16815 tmpld = ctanl(tmpld);
16816 tmpld = ctanhl(tmpld);
16817 tmpld = cpowl(tmpld, tmpld);
16818 tmpld = cprojl(tmpld);
16821 return 0;
16823 _ACEOF
16824 if ac_fn_cxx_try_compile "$LINENO"; then :
16825 glibcxx_cv_c99_complex=yes
16826 else
16827 glibcxx_cv_c99_complex=no
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 else
16831 if test x$gcc_no_link = xyes; then
16832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 #include <complex.h>
16837 typedef __complex__ float float_type;
16838 typedef __complex__ double double_type;
16839 typedef __complex__ long double ld_type;
16840 volatile float_type tmpf;
16841 volatile double_type tmpd;
16842 volatile ld_type tmpld;
16843 volatile float f;
16844 volatile double d;
16845 volatile long double ld;
16847 main ()
16849 f = cabsf(tmpf);
16850 f = cargf(tmpf);
16851 tmpf = ccosf(tmpf);
16852 tmpf = ccoshf(tmpf);
16853 tmpf = cexpf(tmpf);
16854 tmpf = clogf(tmpf);
16855 tmpf = csinf(tmpf);
16856 tmpf = csinhf(tmpf);
16857 tmpf = csqrtf(tmpf);
16858 tmpf = ctanf(tmpf);
16859 tmpf = ctanhf(tmpf);
16860 tmpf = cpowf(tmpf, tmpf);
16861 tmpf = cprojf(tmpf);
16862 d = cabs(tmpd);
16863 d = carg(tmpd);
16864 tmpd = ccos(tmpd);
16865 tmpd = ccosh(tmpd);
16866 tmpd = cexp(tmpd);
16867 tmpd = clog(tmpd);
16868 tmpd = csin(tmpd);
16869 tmpd = csinh(tmpd);
16870 tmpd = csqrt(tmpd);
16871 tmpd = ctan(tmpd);
16872 tmpd = ctanh(tmpd);
16873 tmpd = cpow(tmpd, tmpd);
16874 tmpd = cproj(tmpd);
16875 ld = cabsl(tmpld);
16876 ld = cargl(tmpld);
16877 tmpld = ccosl(tmpld);
16878 tmpld = ccoshl(tmpld);
16879 tmpld = cexpl(tmpld);
16880 tmpld = clogl(tmpld);
16881 tmpld = csinl(tmpld);
16882 tmpld = csinhl(tmpld);
16883 tmpld = csqrtl(tmpld);
16884 tmpld = ctanl(tmpld);
16885 tmpld = ctanhl(tmpld);
16886 tmpld = cpowl(tmpld, tmpld);
16887 tmpld = cprojl(tmpld);
16890 return 0;
16892 _ACEOF
16893 if ac_fn_cxx_try_link "$LINENO"; then :
16894 glibcxx_cv_c99_complex=yes
16895 else
16896 glibcxx_cv_c99_complex=no
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16903 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16904 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16906 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16910 # Check for the existence in <stdio.h> of vscanf, et. al.
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16912 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16913 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16914 $as_echo_n "(cached) " >&6
16915 else
16917 if test x$gcc_no_link = xyes; then
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 #include <stdio.h>
16921 #include <stdarg.h>
16922 void foo(char* fmt, ...)
16924 va_list args; va_start(args, fmt);
16925 vfscanf(stderr, "%i", args);
16926 vscanf("%i", args);
16927 vsnprintf(fmt, 0, "%i", args);
16928 vsscanf(fmt, "%i", args);
16929 snprintf(fmt, 0, "%i");
16932 main ()
16936 return 0;
16938 _ACEOF
16939 if ac_fn_cxx_try_compile "$LINENO"; then :
16940 glibcxx_cv_c99_stdio=yes
16941 else
16942 glibcxx_cv_c99_stdio=no
16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16945 else
16946 if test x$gcc_no_link = xyes; then
16947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 #include <stdio.h>
16952 #include <stdarg.h>
16953 void foo(char* fmt, ...)
16955 va_list args; va_start(args, fmt);
16956 vfscanf(stderr, "%i", args);
16957 vscanf("%i", args);
16958 vsnprintf(fmt, 0, "%i", args);
16959 vsscanf(fmt, "%i", args);
16960 snprintf(fmt, 0, "%i");
16963 main ()
16967 return 0;
16969 _ACEOF
16970 if ac_fn_cxx_try_link "$LINENO"; then :
16971 glibcxx_cv_c99_stdio=yes
16972 else
16973 glibcxx_cv_c99_stdio=no
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext conftest.$ac_ext
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16982 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16984 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16986 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16987 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16991 if test x$gcc_no_link = xyes; then
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
17000 main ()
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17015 return 0;
17017 _ACEOF
17018 if ac_fn_cxx_try_compile "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib=yes
17020 else
17021 glibcxx_cv_c99_stdlib=no
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 else
17025 if test x$gcc_no_link = xyes; then
17026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <stdlib.h>
17031 volatile float f;
17032 volatile long double ld;
17033 volatile unsigned long long ll;
17034 lldiv_t mydivt;
17036 main ()
17038 char* tmp;
17039 f = strtof("gnu", &tmp);
17040 ld = strtold("gnu", &tmp);
17041 ll = strtoll("gnu", &tmp, 10);
17042 ll = strtoull("gnu", &tmp, 10);
17043 ll = llabs(10);
17044 mydivt = lldiv(10,1);
17045 ll = mydivt.quot;
17046 ll = mydivt.rem;
17047 ll = atoll("10");
17048 _Exit(0);
17051 return 0;
17053 _ACEOF
17054 if ac_fn_cxx_try_link "$LINENO"; then :
17055 glibcxx_cv_c99_stdlib=yes
17056 else
17057 glibcxx_cv_c99_stdlib=no
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17066 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17068 # Check for the existence in <wchar.h> of wcstold, etc.
17069 glibcxx_cv_c99_wchar=no;
17070 if test x"$ac_has_wchar_h" = xyes &&
17071 test x"$ac_has_wctype_h" = xyes; then
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17073 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar=yes
17094 else
17095 glibcxx_cv_c99_wchar=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099 # Checks for wide character functions that may not be present.
17100 # Injection of these is wrapped with guard macros.
17101 # NB: only put functions here, instead of immediately above, if
17102 # absolutely necessary.
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <wchar.h>
17106 namespace test { using ::vfwscanf; }
17108 main ()
17112 return 0;
17114 _ACEOF
17115 if ac_fn_cxx_try_compile "$LINENO"; then :
17117 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 namespace test { using ::vswscanf; }
17127 main ()
17131 return 0;
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17136 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <wchar.h>
17144 namespace test { using ::vwscanf; }
17146 main ()
17150 return 0;
17152 _ACEOF
17153 if ac_fn_cxx_try_compile "$LINENO"; then :
17155 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #include <wchar.h>
17163 namespace test { using ::wcstof; }
17165 main ()
17169 return 0;
17171 _ACEOF
17172 if ac_fn_cxx_try_compile "$LINENO"; then :
17174 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <wctype.h>
17183 main ()
17185 wint_t t; int i = iswblank(t);
17187 return 0;
17189 _ACEOF
17190 if ac_fn_cxx_try_compile "$LINENO"; then :
17192 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17198 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17201 # Option parsed, now set things appropriately.
17202 if test x"$glibcxx_cv_c99_math" = x"no" ||
17203 test x"$glibcxx_cv_c99_complex" = x"no" ||
17204 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17205 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17206 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17207 enable_c99=no;
17208 else
17210 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17214 gcc_no_link="$ac_save_gcc_no_link"
17215 LIBS="$ac_save_LIBS"
17216 CXXFLAGS="$ac_save_CXXFLAGS"
17217 ac_ext=c
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17226 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17228 $as_echo "$enable_c99" >&6; }
17231 # Check whether --enable-concept-checks was given.
17232 if test "${enable_concept_checks+set}" = set; then :
17233 enableval=$enable_concept_checks;
17234 case "$enableval" in
17235 yes|no) ;;
17236 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17237 esac
17239 else
17240 enable_concept_checks=no
17244 if test $enable_concept_checks = yes; then
17246 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17251 # Check whether --enable-libstdcxx-debug-flags was given.
17252 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17253 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17254 xno | x) enable_libstdcxx_debug_flags= ;;
17255 x-*) ;;
17256 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17257 esac
17258 else
17259 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17264 # Option parsed, now set things appropriately
17265 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17269 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17273 $as_echo_n "checking for additional debug build... " >&6; }
17274 # Check whether --enable-libstdcxx-debug was given.
17275 if test "${enable_libstdcxx_debug+set}" = set; then :
17276 enableval=$enable_libstdcxx_debug;
17277 case "$enableval" in
17278 yes|no) ;;
17279 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17280 esac
17282 else
17283 enable_libstdcxx_debug=no
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17288 $as_echo "$enable_libstdcxx_debug" >&6; }
17293 enable_parallel=no;
17295 # See if configured libgomp/omp.h exists. (libgomp may be in
17296 # noconfigdirs but not explicitly disabled.)
17297 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17298 enable_parallel=yes;
17299 else
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17301 $as_echo "$as_me: target-libgomp not built" >&6;}
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17305 $as_echo_n "checking for parallel mode support... " >&6; }
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17307 $as_echo "$enable_parallel" >&6; }
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17310 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17311 # Check whether --enable-cxx-flags was given.
17312 if test "${enable_cxx_flags+set}" = set; then :
17313 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17314 xno | x) enable_cxx_flags= ;;
17315 x-*) ;;
17316 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17317 esac
17318 else
17319 enable_cxx_flags=
17324 # Run through flags (either default or command-line) and set anything
17325 # extra (e.g., #defines) that must accompany particular g++ options.
17326 if test -n "$enable_cxx_flags"; then
17327 for f in $enable_cxx_flags; do
17328 case "$f" in
17329 -fhonor-std) ;;
17330 -*) ;;
17331 *) # and we're trying to pass /what/ exactly?
17332 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17333 esac
17334 done
17337 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17339 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17343 # Check whether --enable-fully-dynamic-string was given.
17344 if test "${enable_fully_dynamic_string+set}" = set; then :
17345 enableval=$enable_fully_dynamic_string;
17346 case "$enableval" in
17347 yes|no) ;;
17348 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17349 esac
17351 else
17352 enable_fully_dynamic_string=no
17356 if test $enable_fully_dynamic_string = yes; then
17357 enable_fully_dynamic_string_def=1
17358 else
17359 enable_fully_dynamic_string_def=0
17362 cat >>confdefs.h <<_ACEOF
17363 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17364 _ACEOF
17369 # Check whether --enable-extern-template was given.
17370 if test "${enable_extern_template+set}" = set; then :
17371 enableval=$enable_extern_template;
17372 case "$enableval" in
17373 yes|no) ;;
17374 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17375 esac
17377 else
17378 enable_extern_template=yes
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17384 $as_echo_n "checking for extern template support... " >&6; }
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17386 $as_echo "$enable_extern_template" >&6; }
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17393 $as_echo_n "checking for custom python install directory... " >&6; }
17395 # Check whether --with-python-dir was given.
17396 if test "${with_python_dir+set}" = set; then :
17397 withval=$with_python_dir; with_python_dir=$withval
17398 else
17399 with_python_dir="no"
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17403 $as_echo "${with_python_dir}" >&6; }
17405 # Needed for installing Python modules during make install.
17406 python_mod_dir="${with_python_dir}"
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17412 $as_echo_n "checking for -Werror... " >&6; }
17413 # Check whether --enable-werror was given.
17414 if test "${enable_werror+set}" = set; then :
17415 enableval=$enable_werror;
17416 case "$enableval" in
17417 yes|no) ;;
17418 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17419 esac
17421 else
17422 enable_werror=yes
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17427 $as_echo "$enable_werror" >&6; }
17432 # Check whether --enable-vtable-verify was given.
17433 if test "${enable_vtable_verify+set}" = set; then :
17434 enableval=$enable_vtable_verify;
17435 case "$enableval" in
17436 yes|no) ;;
17437 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17438 esac
17440 else
17441 enable_vtable_verify=no
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17447 $as_echo_n "checking for vtable verify support... " >&6; }
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17449 $as_echo "$enable_vtable_verify" >&6; }
17451 if test $enable_vtable_verify = yes; then
17452 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17453 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17454 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17455 else
17456 VTV_CXXFLAGS=
17457 VTV_PCH_CXXFLAGS=
17458 VTV_CXXLINKFLAGS=
17467 # Checks for operating systems support that doesn't require linking.
17471 ac_ext=cpp
17472 ac_cpp='$CXXCPP $CPPFLAGS'
17473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17479 $as_echo_n "checking for gets declaration... " >&6; }
17480 if test "${glibcxx_cv_gets+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <stdio.h>
17487 namespace test
17489 using ::gets;
17492 _ACEOF
17493 if ac_fn_cxx_try_compile "$LINENO"; then :
17494 glibcxx_cv_gets=yes
17495 else
17496 glibcxx_cv_gets=no
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 if test $glibcxx_cv_gets = yes; then
17505 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17509 $as_echo "$glibcxx_cv_gets" >&6; }
17511 ac_ext=c
17512 ac_cpp='$CPP $CPPFLAGS'
17513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17521 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17522 if test "${glibcxx_cv_system_error1+set}" = set; then :
17523 $as_echo_n "(cached) " >&6
17524 else
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 #include <errno.h>
17530 main ()
17532 int i = EOWNERDEAD;
17534 return 0;
17536 _ACEOF
17537 if ac_fn_c_try_compile "$LINENO"; then :
17538 glibcxx_cv_system_error1=yes
17539 else
17540 glibcxx_cv_system_error1=no
17542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17547 $as_echo "$glibcxx_cv_system_error1" >&6; }
17548 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17550 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17554 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17555 if test "${glibcxx_cv_system_error2+set}" = set; then :
17556 $as_echo_n "(cached) " >&6
17557 else
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 #include <errno.h>
17563 main ()
17565 int i = ENOTRECOVERABLE;
17567 return 0;
17569 _ACEOF
17570 if ac_fn_c_try_compile "$LINENO"; then :
17571 glibcxx_cv_system_error2=yes
17572 else
17573 glibcxx_cv_system_error2=no
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17580 $as_echo "$glibcxx_cv_system_error2" >&6; }
17581 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17583 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17587 $as_echo_n "checking for ENOLINK... " >&6; }
17588 if test "${glibcxx_cv_system_error3+set}" = set; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17593 /* end confdefs.h. */
17594 #include <errno.h>
17596 main ()
17598 int i = ENOLINK;
17600 return 0;
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 glibcxx_cv_system_error3=yes
17605 else
17606 glibcxx_cv_system_error3=no
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17613 $as_echo "$glibcxx_cv_system_error3" >&6; }
17614 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17616 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17620 $as_echo_n "checking for EPROTO... " >&6; }
17621 if test "${glibcxx_cv_system_error4+set}" = set; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <errno.h>
17629 main ()
17631 int i = EPROTO;
17633 return 0;
17635 _ACEOF
17636 if ac_fn_c_try_compile "$LINENO"; then :
17637 glibcxx_cv_system_error4=yes
17638 else
17639 glibcxx_cv_system_error4=no
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17646 $as_echo "$glibcxx_cv_system_error4" >&6; }
17647 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17649 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17653 $as_echo_n "checking for ENODATA... " >&6; }
17654 if test "${glibcxx_cv_system_error5+set}" = set; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #include <errno.h>
17662 main ()
17664 int i = ENODATA;
17666 return 0;
17668 _ACEOF
17669 if ac_fn_c_try_compile "$LINENO"; then :
17670 glibcxx_cv_system_error5=yes
17671 else
17672 glibcxx_cv_system_error5=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17679 $as_echo "$glibcxx_cv_system_error5" >&6; }
17680 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17682 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17686 $as_echo_n "checking for ENOSR... " >&6; }
17687 if test "${glibcxx_cv_system_error6+set}" = set; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 #include <errno.h>
17695 main ()
17697 int i = ENOSR;
17699 return 0;
17701 _ACEOF
17702 if ac_fn_c_try_compile "$LINENO"; then :
17703 glibcxx_cv_system_error6=yes
17704 else
17705 glibcxx_cv_system_error6=no
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17712 $as_echo "$glibcxx_cv_system_error6" >&6; }
17713 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17715 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17719 $as_echo_n "checking for ENOSTR... " >&6; }
17720 if test "${glibcxx_cv_system_error7+set}" = set; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h. */
17726 #include <errno.h>
17728 main ()
17730 int i = ENOSTR;
17732 return 0;
17734 _ACEOF
17735 if ac_fn_c_try_compile "$LINENO"; then :
17736 glibcxx_cv_system_error7=yes
17737 else
17738 glibcxx_cv_system_error7=no
17740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17745 $as_echo "$glibcxx_cv_system_error7" >&6; }
17746 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17748 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17752 $as_echo_n "checking for ETIME... " >&6; }
17753 if test "${glibcxx_cv_system_error8+set}" = set; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 #include <errno.h>
17761 main ()
17763 int i = ETIME;
17765 return 0;
17767 _ACEOF
17768 if ac_fn_c_try_compile "$LINENO"; then :
17769 glibcxx_cv_system_error8=yes
17770 else
17771 glibcxx_cv_system_error8=no
17773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17778 $as_echo "$glibcxx_cv_system_error8" >&6; }
17779 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17781 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17785 $as_echo_n "checking for EBADMSG... " >&6; }
17786 if test "${glibcxx_cv_system_error9+set}" = set; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #include <errno.h>
17794 main ()
17796 int i = EBADMSG;
17798 return 0;
17800 _ACEOF
17801 if ac_fn_c_try_compile "$LINENO"; then :
17802 glibcxx_cv_system_error9=yes
17803 else
17804 glibcxx_cv_system_error9=no
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17811 $as_echo "$glibcxx_cv_system_error9" >&6; }
17812 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17814 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17818 $as_echo_n "checking for ECANCELED... " >&6; }
17819 if test "${glibcxx_cv_system_error10+set}" = set; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17825 #include <errno.h>
17827 main ()
17829 int i = ECANCELED;
17831 return 0;
17833 _ACEOF
17834 if ac_fn_c_try_compile "$LINENO"; then :
17835 glibcxx_cv_system_error10=yes
17836 else
17837 glibcxx_cv_system_error10=no
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17844 $as_echo "$glibcxx_cv_system_error10" >&6; }
17845 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17847 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17851 $as_echo_n "checking for EOVERFLOW... " >&6; }
17852 if test "${glibcxx_cv_system_error11+set}" = set; then :
17853 $as_echo_n "(cached) " >&6
17854 else
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <errno.h>
17860 main ()
17862 int i = EOVERFLOW;
17864 return 0;
17866 _ACEOF
17867 if ac_fn_c_try_compile "$LINENO"; then :
17868 glibcxx_cv_system_error11=yes
17869 else
17870 glibcxx_cv_system_error11=no
17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17877 $as_echo "$glibcxx_cv_system_error11" >&6; }
17878 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17880 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17884 $as_echo_n "checking for ENOTSUP... " >&6; }
17885 if test "${glibcxx_cv_system_error12+set}" = set; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17891 #include <errno.h>
17893 main ()
17895 int i = ENOTSUP;
17897 return 0;
17899 _ACEOF
17900 if ac_fn_c_try_compile "$LINENO"; then :
17901 glibcxx_cv_system_error12=yes
17902 else
17903 glibcxx_cv_system_error12=no
17905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17910 $as_echo "$glibcxx_cv_system_error12" >&6; }
17911 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17913 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17917 $as_echo_n "checking for EIDRM... " >&6; }
17918 if test "${glibcxx_cv_system_error13+set}" = set; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17923 /* end confdefs.h. */
17924 #include <errno.h>
17926 main ()
17928 int i = EIDRM;
17930 return 0;
17932 _ACEOF
17933 if ac_fn_c_try_compile "$LINENO"; then :
17934 glibcxx_cv_system_error13=yes
17935 else
17936 glibcxx_cv_system_error13=no
17938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17943 $as_echo "$glibcxx_cv_system_error13" >&6; }
17944 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17946 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17950 $as_echo_n "checking for ETXTBSY... " >&6; }
17951 if test "${glibcxx_cv_system_error14+set}" = set; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 #include <errno.h>
17959 main ()
17961 int i = ETXTBSY;
17963 return 0;
17965 _ACEOF
17966 if ac_fn_c_try_compile "$LINENO"; then :
17967 glibcxx_cv_system_error14=yes
17968 else
17969 glibcxx_cv_system_error14=no
17971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17976 $as_echo "$glibcxx_cv_system_error14" >&6; }
17977 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17979 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17983 $as_echo_n "checking for ECHILD... " >&6; }
17984 if test "${glibcxx_cv_system_error15+set}" = set; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <errno.h>
17992 main ()
17994 int i = ECHILD;
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_compile "$LINENO"; then :
18000 glibcxx_cv_system_error15=yes
18001 else
18002 glibcxx_cv_system_error15=no
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18009 $as_echo "$glibcxx_cv_system_error15" >&6; }
18010 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18012 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18016 $as_echo_n "checking for ENOSPC... " >&6; }
18017 if test "${glibcxx_cv_system_error16+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18023 #include <errno.h>
18025 main ()
18027 int i = ENOSPC;
18029 return 0;
18031 _ACEOF
18032 if ac_fn_c_try_compile "$LINENO"; then :
18033 glibcxx_cv_system_error16=yes
18034 else
18035 glibcxx_cv_system_error16=no
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18042 $as_echo "$glibcxx_cv_system_error16" >&6; }
18043 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18045 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18049 $as_echo_n "checking for EPERM... " >&6; }
18050 if test "${glibcxx_cv_system_error17+set}" = set; then :
18051 $as_echo_n "(cached) " >&6
18052 else
18054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18056 #include <errno.h>
18058 main ()
18060 int i = EPERM;
18062 return 0;
18064 _ACEOF
18065 if ac_fn_c_try_compile "$LINENO"; then :
18066 glibcxx_cv_system_error17=yes
18067 else
18068 glibcxx_cv_system_error17=no
18070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18075 $as_echo "$glibcxx_cv_system_error17" >&6; }
18076 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18078 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18082 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18083 if test "${glibcxx_cv_system_error18+set}" = set; then :
18084 $as_echo_n "(cached) " >&6
18085 else
18087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088 /* end confdefs.h. */
18089 #include <errno.h>
18091 main ()
18093 int i = ETIMEDOUT;
18095 return 0;
18097 _ACEOF
18098 if ac_fn_c_try_compile "$LINENO"; then :
18099 glibcxx_cv_system_error18=yes
18100 else
18101 glibcxx_cv_system_error18=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18108 $as_echo "$glibcxx_cv_system_error18" >&6; }
18109 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18111 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18115 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18116 if test "${glibcxx_cv_system_error19+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <errno.h>
18124 main ()
18126 int i = EWOULDBLOCK;
18128 return 0;
18130 _ACEOF
18131 if ac_fn_c_try_compile "$LINENO"; then :
18132 glibcxx_cv_system_error19=yes
18133 else
18134 glibcxx_cv_system_error19=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18141 $as_echo "$glibcxx_cv_system_error19" >&6; }
18142 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18144 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18150 # For the streamoff typedef.
18154 ac_ext=cpp
18155 ac_cpp='$CXXCPP $CPPFLAGS'
18156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18162 $as_echo_n "checking for int64_t... " >&6; }
18163 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18169 #include <stdint.h>
18171 main ()
18173 int64_t var;
18175 return 0;
18177 _ACEOF
18178 if ac_fn_cxx_try_compile "$LINENO"; then :
18179 glibcxx_cv_INT64_T=yes
18180 else
18181 glibcxx_cv_INT64_T=no
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188 if test $glibcxx_cv_INT64_T = yes; then
18190 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18193 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18196 $as_echo_n "checking for int64_t as long... " >&6; }
18197 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18198 $as_echo_n "(cached) " >&6
18199 else
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18203 #include <stdint.h>
18204 template<typename, typename> struct same { enum { value = -1 }; };
18205 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18206 int array[same<int64_t, long>::value];
18208 main ()
18212 return 0;
18214 _ACEOF
18215 if ac_fn_cxx_try_compile "$LINENO"; then :
18216 glibcxx_cv_int64_t_long=yes
18217 else
18218 glibcxx_cv_int64_t_long=no
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18225 if test $glibcxx_cv_int64_t_long = yes; then
18227 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18230 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18234 $as_echo_n "checking for int64_t as long long... " >&6; }
18235 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <stdint.h>
18242 template<typename, typename> struct same { enum { value = -1 }; };
18243 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18244 int array[same<int64_t, long long>::value];
18246 main ()
18250 return 0;
18252 _ACEOF
18253 if ac_fn_cxx_try_compile "$LINENO"; then :
18254 glibcxx_cv_int64_t_long_long=yes
18255 else
18256 glibcxx_cv_int64_t_long_long=no
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263 if test $glibcxx_cv_int64_t_long_long = yes; then
18265 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18268 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18272 ac_ext=c
18273 ac_cpp='$CPP $CPPFLAGS'
18274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280 # For LFS support.
18283 ac_ext=cpp
18284 ac_cpp='$CXXCPP $CPPFLAGS'
18285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18289 ac_save_CXXFLAGS="$CXXFLAGS"
18290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18292 $as_echo_n "checking for LFS support... " >&6; }
18293 if test "${glibcxx_cv_LFS+set}" = set; then :
18294 $as_echo_n "(cached) " >&6
18295 else
18297 if test x$gcc_no_link = xyes; then
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <unistd.h>
18301 #include <stdio.h>
18302 #include <sys/stat.h>
18305 main ()
18307 FILE* fp;
18308 fopen64("t", "w");
18309 fseeko64(fp, 0, SEEK_CUR);
18310 ftello64(fp);
18311 lseek64(1, 0, SEEK_CUR);
18312 struct stat64 buf;
18313 fstat64(1, &buf);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_LFS=yes
18320 else
18321 glibcxx_cv_LFS=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <unistd.h>
18331 #include <stdio.h>
18332 #include <sys/stat.h>
18335 main ()
18337 FILE* fp;
18338 fopen64("t", "w");
18339 fseeko64(fp, 0, SEEK_CUR);
18340 ftello64(fp);
18341 lseek64(1, 0, SEEK_CUR);
18342 struct stat64 buf;
18343 fstat64(1, &buf);
18345 return 0;
18347 _ACEOF
18348 if ac_fn_cxx_try_link "$LINENO"; then :
18349 glibcxx_cv_LFS=yes
18350 else
18351 glibcxx_cv_LFS=no
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18359 if test $glibcxx_cv_LFS = yes; then
18361 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18365 $as_echo "$glibcxx_cv_LFS" >&6; }
18366 CXXFLAGS="$ac_save_CXXFLAGS"
18367 ac_ext=c
18368 ac_cpp='$CPP $CPPFLAGS'
18369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18375 # For showmanyc_helper().
18376 for ac_header in sys/ioctl.h sys/filio.h
18377 do :
18378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18380 eval as_val=\$$as_ac_Header
18381 if test "x$as_val" = x""yes; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18384 _ACEOF
18388 done
18393 ac_ext=cpp
18394 ac_cpp='$CXXCPP $CPPFLAGS'
18395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18399 ac_save_CXXFLAGS="$CXXFLAGS"
18400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18403 $as_echo_n "checking for poll... " >&6; }
18404 if test "${glibcxx_cv_POLL+set}" = set; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18408 if test x$gcc_no_link = xyes; then
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #include <poll.h>
18413 main ()
18415 struct pollfd pfd[1];
18416 pfd[0].events = POLLIN;
18417 poll(pfd, 1, 0);
18419 return 0;
18421 _ACEOF
18422 if ac_fn_cxx_try_compile "$LINENO"; then :
18423 glibcxx_cv_POLL=yes
18424 else
18425 glibcxx_cv_POLL=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 else
18429 if test x$gcc_no_link = xyes; then
18430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #include <poll.h>
18436 main ()
18438 struct pollfd pfd[1];
18439 pfd[0].events = POLLIN;
18440 poll(pfd, 1, 0);
18442 return 0;
18444 _ACEOF
18445 if ac_fn_cxx_try_link "$LINENO"; then :
18446 glibcxx_cv_POLL=yes
18447 else
18448 glibcxx_cv_POLL=no
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18456 if test $glibcxx_cv_POLL = yes; then
18458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18462 $as_echo "$glibcxx_cv_POLL" >&6; }
18464 CXXFLAGS="$ac_save_CXXFLAGS"
18465 ac_ext=c
18466 ac_cpp='$CPP $CPPFLAGS'
18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18475 ac_ext=cpp
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18481 ac_save_CXXFLAGS="$CXXFLAGS"
18482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18485 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18486 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18490 if test x$gcc_no_link = xyes; then
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 #include <sys/stat.h>
18495 main ()
18497 struct stat buffer;
18498 fstat(0, &buffer);
18499 S_ISREG(buffer.st_mode);
18501 return 0;
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505 glibcxx_cv_S_ISREG=yes
18506 else
18507 glibcxx_cv_S_ISREG=no
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 else
18511 if test x$gcc_no_link = xyes; then
18512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #include <sys/stat.h>
18518 main ()
18520 struct stat buffer;
18521 fstat(0, &buffer);
18522 S_ISREG(buffer.st_mode);
18524 return 0;
18526 _ACEOF
18527 if ac_fn_cxx_try_link "$LINENO"; then :
18528 glibcxx_cv_S_ISREG=yes
18529 else
18530 glibcxx_cv_S_ISREG=no
18532 rm -f core conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18538 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18539 $as_echo_n "(cached) " >&6
18540 else
18542 if test x$gcc_no_link = xyes; then
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <sys/stat.h>
18547 main ()
18549 struct stat buffer;
18550 fstat(0, &buffer);
18551 S_IFREG & buffer.st_mode;
18553 return 0;
18555 _ACEOF
18556 if ac_fn_cxx_try_compile "$LINENO"; then :
18557 glibcxx_cv_S_IFREG=yes
18558 else
18559 glibcxx_cv_S_IFREG=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562 else
18563 if test x$gcc_no_link = xyes; then
18564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 #include <sys/stat.h>
18570 main ()
18572 struct stat buffer;
18573 fstat(0, &buffer);
18574 S_IFREG & buffer.st_mode;
18576 return 0;
18578 _ACEOF
18579 if ac_fn_cxx_try_link "$LINENO"; then :
18580 glibcxx_cv_S_IFREG=yes
18581 else
18582 glibcxx_cv_S_IFREG=no
18584 rm -f core conftest.err conftest.$ac_objext \
18585 conftest$ac_exeext conftest.$ac_ext
18590 res=no
18591 if test $glibcxx_cv_S_ISREG = yes; then
18593 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18595 res=S_ISREG
18596 elif test $glibcxx_cv_S_IFREG = yes; then
18598 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18600 res=S_IFREG
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18603 $as_echo "$res" >&6; }
18605 CXXFLAGS="$ac_save_CXXFLAGS"
18606 ac_ext=c
18607 ac_cpp='$CPP $CPPFLAGS'
18608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18614 # For xsputn_2().
18615 for ac_header in sys/uio.h
18616 do :
18617 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18618 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18619 cat >>confdefs.h <<_ACEOF
18620 #define HAVE_SYS_UIO_H 1
18621 _ACEOF
18625 done
18630 ac_ext=cpp
18631 ac_cpp='$CXXCPP $CPPFLAGS'
18632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18640 $as_echo_n "checking for writev... " >&6; }
18641 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18645 if test x$gcc_no_link = xyes; then
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 #include <sys/uio.h>
18650 main ()
18652 struct iovec iov[2];
18653 writev(0, iov, 0);
18655 return 0;
18657 _ACEOF
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 glibcxx_cv_WRITEV=yes
18660 else
18661 glibcxx_cv_WRITEV=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 else
18665 if test x$gcc_no_link = xyes; then
18666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 #include <sys/uio.h>
18672 main ()
18674 struct iovec iov[2];
18675 writev(0, iov, 0);
18677 return 0;
18679 _ACEOF
18680 if ac_fn_cxx_try_link "$LINENO"; then :
18681 glibcxx_cv_WRITEV=yes
18682 else
18683 glibcxx_cv_WRITEV=no
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18691 if test $glibcxx_cv_WRITEV = yes; then
18693 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18697 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18699 CXXFLAGS="$ac_save_CXXFLAGS"
18700 ac_ext=c
18701 ac_cpp='$CPP $CPPFLAGS'
18702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18708 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18709 # so that the check is done with the C compiler (not C++).
18710 # Checking with C++ can break a canadian cross build if either
18711 # file does not exist in C but does in C++.
18712 for ac_header in fenv.h complex.h
18713 do :
18714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18716 eval as_val=\$$as_ac_Header
18717 if test "x$as_val" = x""yes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18720 _ACEOF
18724 done
18727 # For C99 support to TR1.
18731 ac_ext=cpp
18732 ac_cpp='$CXXCPP $CPPFLAGS'
18733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18739 # undefined and fake C99 facilities may be spuriously enabled.
18740 ac_save_CXXFLAGS="$CXXFLAGS"
18741 CXXFLAGS="$CXXFLAGS -std=c++98"
18743 # Check for the existence of <complex.h> complex math functions used
18744 # by tr1/complex.
18745 for ac_header in complex.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_complex_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_COMPLEX_H 1
18751 _ACEOF
18752 ac_has_complex_h=yes
18753 else
18754 ac_has_complex_h=no
18757 done
18759 ac_c99_complex_tr1=no;
18760 if test x"$ac_has_complex_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <complex.h>
18767 main ()
18769 typedef __complex__ float float_type; float_type tmpf;
18770 cacosf(tmpf);
18771 casinf(tmpf);
18772 catanf(tmpf);
18773 cacoshf(tmpf);
18774 casinhf(tmpf);
18775 catanhf(tmpf);
18776 typedef __complex__ double double_type; double_type tmpd;
18777 cacos(tmpd);
18778 casin(tmpd);
18779 catan(tmpd);
18780 cacosh(tmpd);
18781 casinh(tmpd);
18782 catanh(tmpd);
18783 typedef __complex__ long double ld_type; ld_type tmpld;
18784 cacosl(tmpld);
18785 casinl(tmpld);
18786 catanl(tmpld);
18787 cacoshl(tmpld);
18788 casinhl(tmpld);
18789 catanhl(tmpld);
18792 return 0;
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796 ac_c99_complex_tr1=yes
18797 else
18798 ac_c99_complex_tr1=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18803 $as_echo "$ac_c99_complex_tr1" >&6; }
18804 if test x"$ac_c99_complex_tr1" = x"yes"; then
18806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18810 # Check for the existence of <ctype.h> functions.
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18813 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18814 $as_echo_n "(cached) " >&6
18815 else
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 #include <ctype.h>
18821 main ()
18823 int ch;
18824 int ret;
18825 ret = isblank(ch);
18828 return 0;
18830 _ACEOF
18831 if ac_fn_cxx_try_compile "$LINENO"; then :
18832 glibcxx_cv_c99_ctype_tr1=yes
18833 else
18834 glibcxx_cv_c99_ctype_tr1=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18848 # Check for the existence of <fenv.h> functions.
18849 for ac_header in fenv.h
18850 do :
18851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18852 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_FENV_H 1
18855 _ACEOF
18856 ac_has_fenv_h=yes
18857 else
18858 ac_has_fenv_h=no
18861 done
18863 ac_c99_fenv_tr1=no;
18864 if test x"$ac_has_fenv_h" = x"yes"; then
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 #include <fenv.h>
18871 main ()
18873 int except, mode;
18874 fexcept_t* pflag;
18875 fenv_t* penv;
18876 int ret;
18877 ret = feclearexcept(except);
18878 ret = fegetexceptflag(pflag, except);
18879 ret = feraiseexcept(except);
18880 ret = fesetexceptflag(pflag, except);
18881 ret = fetestexcept(except);
18882 ret = fegetround();
18883 ret = fesetround(mode);
18884 ret = fegetenv(penv);
18885 ret = feholdexcept(penv);
18886 ret = fesetenv(penv);
18887 ret = feupdateenv(penv);
18890 return 0;
18892 _ACEOF
18893 if ac_fn_cxx_try_compile "$LINENO"; then :
18894 ac_c99_fenv_tr1=yes
18895 else
18896 ac_c99_fenv_tr1=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18901 $as_echo "$ac_c99_fenv_tr1" >&6; }
18902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18908 # Check for the existence of <stdint.h> types.
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18911 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18912 $as_echo_n "(cached) " >&6
18913 else
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 #define __STDC_LIMIT_MACROS
18918 #define __STDC_CONSTANT_MACROS
18919 #include <stdint.h>
18921 main ()
18923 typedef int8_t my_int8_t;
18924 my_int8_t i8 = INT8_MIN;
18925 i8 = INT8_MAX;
18926 typedef int16_t my_int16_t;
18927 my_int16_t i16 = INT16_MIN;
18928 i16 = INT16_MAX;
18929 typedef int32_t my_int32_t;
18930 my_int32_t i32 = INT32_MIN;
18931 i32 = INT32_MAX;
18932 typedef int64_t my_int64_t;
18933 my_int64_t i64 = INT64_MIN;
18934 i64 = INT64_MAX;
18935 typedef int_fast8_t my_int_fast8_t;
18936 my_int_fast8_t if8 = INT_FAST8_MIN;
18937 if8 = INT_FAST8_MAX;
18938 typedef int_fast16_t my_int_fast16_t;
18939 my_int_fast16_t if16 = INT_FAST16_MIN;
18940 if16 = INT_FAST16_MAX;
18941 typedef int_fast32_t my_int_fast32_t;
18942 my_int_fast32_t if32 = INT_FAST32_MIN;
18943 if32 = INT_FAST32_MAX;
18944 typedef int_fast64_t my_int_fast64_t;
18945 my_int_fast64_t if64 = INT_FAST64_MIN;
18946 if64 = INT_FAST64_MAX;
18947 typedef int_least8_t my_int_least8_t;
18948 my_int_least8_t il8 = INT_LEAST8_MIN;
18949 il8 = INT_LEAST8_MAX;
18950 typedef int_least16_t my_int_least16_t;
18951 my_int_least16_t il16 = INT_LEAST16_MIN;
18952 il16 = INT_LEAST16_MAX;
18953 typedef int_least32_t my_int_least32_t;
18954 my_int_least32_t il32 = INT_LEAST32_MIN;
18955 il32 = INT_LEAST32_MAX;
18956 typedef int_least64_t my_int_least64_t;
18957 my_int_least64_t il64 = INT_LEAST64_MIN;
18958 il64 = INT_LEAST64_MAX;
18959 typedef intmax_t my_intmax_t;
18960 my_intmax_t im = INTMAX_MAX;
18961 im = INTMAX_MIN;
18962 typedef intptr_t my_intptr_t;
18963 my_intptr_t ip = INTPTR_MAX;
18964 ip = INTPTR_MIN;
18965 typedef uint8_t my_uint8_t;
18966 my_uint8_t ui8 = UINT8_MAX;
18967 ui8 = UINT8_MAX;
18968 typedef uint16_t my_uint16_t;
18969 my_uint16_t ui16 = UINT16_MAX;
18970 ui16 = UINT16_MAX;
18971 typedef uint32_t my_uint32_t;
18972 my_uint32_t ui32 = UINT32_MAX;
18973 ui32 = UINT32_MAX;
18974 typedef uint64_t my_uint64_t;
18975 my_uint64_t ui64 = UINT64_MAX;
18976 ui64 = UINT64_MAX;
18977 typedef uint_fast8_t my_uint_fast8_t;
18978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18979 uif8 = UINT_FAST8_MAX;
18980 typedef uint_fast16_t my_uint_fast16_t;
18981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18982 uif16 = UINT_FAST16_MAX;
18983 typedef uint_fast32_t my_uint_fast32_t;
18984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18985 uif32 = UINT_FAST32_MAX;
18986 typedef uint_fast64_t my_uint_fast64_t;
18987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18988 uif64 = UINT_FAST64_MAX;
18989 typedef uint_least8_t my_uint_least8_t;
18990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18991 uil8 = UINT_LEAST8_MAX;
18992 typedef uint_least16_t my_uint_least16_t;
18993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18994 uil16 = UINT_LEAST16_MAX;
18995 typedef uint_least32_t my_uint_least32_t;
18996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18997 uil32 = UINT_LEAST32_MAX;
18998 typedef uint_least64_t my_uint_least64_t;
18999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19000 uil64 = UINT_LEAST64_MAX;
19001 typedef uintmax_t my_uintmax_t;
19002 my_uintmax_t uim = UINTMAX_MAX;
19003 uim = UINTMAX_MAX;
19004 typedef uintptr_t my_uintptr_t;
19005 my_uintptr_t uip = UINTPTR_MAX;
19006 uip = UINTPTR_MAX;
19009 return 0;
19011 _ACEOF
19012 if ac_fn_cxx_try_compile "$LINENO"; then :
19013 glibcxx_cv_c99_stdint_tr1=yes
19014 else
19015 glibcxx_cv_c99_stdint_tr1=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19029 # Check for the existence of <math.h> functions.
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19032 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19033 $as_echo_n "(cached) " >&6
19034 else
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <math.h>
19040 main ()
19042 typedef double_t my_double_t;
19043 typedef float_t my_float_t;
19044 acosh(0.0);
19045 acoshf(0.0f);
19046 acoshl(0.0l);
19047 asinh(0.0);
19048 asinhf(0.0f);
19049 asinhl(0.0l);
19050 atanh(0.0);
19051 atanhf(0.0f);
19052 atanhl(0.0l);
19053 cbrt(0.0);
19054 cbrtf(0.0f);
19055 cbrtl(0.0l);
19056 copysign(0.0, 0.0);
19057 copysignf(0.0f, 0.0f);
19058 copysignl(0.0l, 0.0l);
19059 erf(0.0);
19060 erff(0.0f);
19061 erfl(0.0l);
19062 erfc(0.0);
19063 erfcf(0.0f);
19064 erfcl(0.0l);
19065 exp2(0.0);
19066 exp2f(0.0f);
19067 exp2l(0.0l);
19068 expm1(0.0);
19069 expm1f(0.0f);
19070 expm1l(0.0l);
19071 fdim(0.0, 0.0);
19072 fdimf(0.0f, 0.0f);
19073 fdiml(0.0l, 0.0l);
19074 fma(0.0, 0.0, 0.0);
19075 fmaf(0.0f, 0.0f, 0.0f);
19076 fmal(0.0l, 0.0l, 0.0l);
19077 fmax(0.0, 0.0);
19078 fmaxf(0.0f, 0.0f);
19079 fmaxl(0.0l, 0.0l);
19080 fmin(0.0, 0.0);
19081 fminf(0.0f, 0.0f);
19082 fminl(0.0l, 0.0l);
19083 hypot(0.0, 0.0);
19084 hypotf(0.0f, 0.0f);
19085 hypotl(0.0l, 0.0l);
19086 ilogb(0.0);
19087 ilogbf(0.0f);
19088 ilogbl(0.0l);
19089 lgamma(0.0);
19090 lgammaf(0.0f);
19091 lgammal(0.0l);
19092 llrint(0.0);
19093 llrintf(0.0f);
19094 llrintl(0.0l);
19095 llround(0.0);
19096 llroundf(0.0f);
19097 llroundl(0.0l);
19098 log1p(0.0);
19099 log1pf(0.0f);
19100 log1pl(0.0l);
19101 log2(0.0);
19102 log2f(0.0f);
19103 log2l(0.0l);
19104 logb(0.0);
19105 logbf(0.0f);
19106 logbl(0.0l);
19107 lrint(0.0);
19108 lrintf(0.0f);
19109 lrintl(0.0l);
19110 lround(0.0);
19111 lroundf(0.0f);
19112 lroundl(0.0l);
19113 nan(0);
19114 nanf(0);
19115 nanl(0);
19116 nearbyint(0.0);
19117 nearbyintf(0.0f);
19118 nearbyintl(0.0l);
19119 nextafter(0.0, 0.0);
19120 nextafterf(0.0f, 0.0f);
19121 nextafterl(0.0l, 0.0l);
19122 nexttoward(0.0, 0.0);
19123 nexttowardf(0.0f, 0.0f);
19124 nexttowardl(0.0l, 0.0l);
19125 remainder(0.0, 0.0);
19126 remainderf(0.0f, 0.0f);
19127 remainderl(0.0l, 0.0l);
19128 remquo(0.0, 0.0, 0);
19129 remquof(0.0f, 0.0f, 0);
19130 remquol(0.0l, 0.0l, 0);
19131 rint(0.0);
19132 rintf(0.0f);
19133 rintl(0.0l);
19134 round(0.0);
19135 roundf(0.0f);
19136 roundl(0.0l);
19137 scalbln(0.0, 0l);
19138 scalblnf(0.0f, 0l);
19139 scalblnl(0.0l, 0l);
19140 scalbn(0.0, 0);
19141 scalbnf(0.0f, 0);
19142 scalbnl(0.0l, 0);
19143 tgamma(0.0);
19144 tgammaf(0.0f);
19145 tgammal(0.0l);
19146 trunc(0.0);
19147 truncf(0.0f);
19148 truncl(0.0l);
19151 return 0;
19153 _ACEOF
19154 if ac_fn_cxx_try_compile "$LINENO"; then :
19155 glibcxx_cv_c99_math_tr1=yes
19156 else
19157 glibcxx_cv_c99_math_tr1=no
19159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19164 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19165 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19167 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19171 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19172 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19173 ac_c99_inttypes_tr1=no;
19174 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19176 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19179 #include <inttypes.h>
19181 main ()
19183 intmax_t i, numer, denom, base;
19184 const char* s;
19185 char** endptr;
19186 intmax_t ret = imaxabs(i);
19187 imaxdiv_t dret = imaxdiv(numer, denom);
19188 ret = strtoimax(s, endptr, base);
19189 uintmax_t uret = strtoumax(s, endptr, base);
19192 return 0;
19194 _ACEOF
19195 if ac_fn_cxx_try_compile "$LINENO"; then :
19196 ac_c99_inttypes_tr1=yes
19197 else
19198 ac_c99_inttypes_tr1=no
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19203 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19204 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19206 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19210 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19211 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19212 ac_c99_inttypes_wchar_t_tr1=no;
19213 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19215 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 #include <inttypes.h>
19220 main ()
19222 intmax_t base;
19223 const wchar_t* s;
19224 wchar_t** endptr;
19225 intmax_t ret = wcstoimax(s, endptr, base);
19226 uintmax_t uret = wcstoumax(s, endptr, base);
19229 return 0;
19231 _ACEOF
19232 if ac_fn_cxx_try_compile "$LINENO"; then :
19233 ac_c99_inttypes_wchar_t_tr1=yes
19234 else
19235 ac_c99_inttypes_wchar_t_tr1=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19240 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19241 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19247 # Check for the existence of the <stdbool.h> header.
19248 for ac_header in stdbool.h
19249 do :
19250 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19251 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STDBOOL_H 1
19254 _ACEOF
19258 done
19261 # Check for the existence of the <stdalign.h> header.
19262 for ac_header in stdalign.h
19263 do :
19264 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19265 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19266 cat >>confdefs.h <<_ACEOF
19267 #define HAVE_STDALIGN_H 1
19268 _ACEOF
19272 done
19275 CXXFLAGS="$ac_save_CXXFLAGS"
19276 ac_ext=c
19277 ac_cpp='$CPP $CPPFLAGS'
19278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19284 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19288 $as_echo_n "checking for the value of EOF... " >&6; }
19289 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19290 $as_echo_n "(cached) " >&6
19291 else
19293 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19295 else
19296 as_fn_error "computing EOF failed" "$LINENO" 5
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19302 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19304 cat >>confdefs.h <<_ACEOF
19305 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19306 _ACEOF
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19310 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19311 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19312 $as_echo_n "(cached) " >&6
19313 else
19315 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19317 else
19318 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19324 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19326 cat >>confdefs.h <<_ACEOF
19327 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19328 _ACEOF
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19332 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19333 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19334 $as_echo_n "(cached) " >&6
19335 else
19337 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19339 else
19340 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19346 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19348 cat >>confdefs.h <<_ACEOF
19349 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19350 _ACEOF
19354 # For gettimeofday support.
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19358 $as_echo_n "checking for gettimeofday... " >&6; }
19361 ac_ext=cpp
19362 ac_cpp='$CXXCPP $CPPFLAGS'
19363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19367 ac_save_CXXFLAGS="$CXXFLAGS"
19368 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19370 ac_has_gettimeofday=no;
19371 for ac_header in sys/time.h
19372 do :
19373 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19374 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_SYS_TIME_H 1
19377 _ACEOF
19378 ac_has_sys_time_h=yes
19379 else
19380 ac_has_sys_time_h=no
19383 done
19385 if test x"$ac_has_sys_time_h" = x"yes"; then
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19387 $as_echo_n "checking for gettimeofday... " >&6; }
19388 if test x$gcc_no_link = xyes; then
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 #include <sys/time.h>
19393 main ()
19395 timeval tv; gettimeofday(&tv, 0);
19397 return 0;
19399 _ACEOF
19400 if ac_fn_cxx_try_compile "$LINENO"; then :
19401 ac_has_gettimeofday=yes
19402 else
19403 ac_has_gettimeofday=no
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 else
19407 if test x$gcc_no_link = xyes; then
19408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <sys/time.h>
19414 main ()
19416 timeval tv; gettimeofday(&tv, 0);
19418 return 0;
19420 _ACEOF
19421 if ac_fn_cxx_try_link "$LINENO"; then :
19422 ac_has_gettimeofday=yes
19423 else
19424 ac_has_gettimeofday=no
19426 rm -f core conftest.err conftest.$ac_objext \
19427 conftest$ac_exeext conftest.$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19431 $as_echo "$ac_has_gettimeofday" >&6; }
19434 if test x"$ac_has_gettimeofday" = x"yes"; then
19436 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19440 CXXFLAGS="$ac_save_CXXFLAGS"
19441 ac_ext=c
19442 ac_cpp='$CPP $CPPFLAGS'
19443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19449 # For clock_gettime, nanosleep and sched_yield support.
19452 # Check whether --enable-libstdcxx-time was given.
19453 if test "${enable_libstdcxx_time+set}" = set; then :
19454 enableval=$enable_libstdcxx_time;
19455 case "$enableval" in
19456 yes|no|rt) ;;
19457 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19458 esac
19460 else
19461 enable_libstdcxx_time=auto
19467 ac_ext=cpp
19468 ac_cpp='$CXXCPP $CPPFLAGS'
19469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19473 ac_save_CXXFLAGS="$CXXFLAGS"
19474 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19475 ac_save_LIBS="$LIBS"
19477 ac_has_clock_monotonic=no
19478 ac_has_clock_realtime=no
19479 ac_has_nanosleep=no
19480 ac_has_sched_yield=no
19482 if test x"$enable_libstdcxx_time" = x"auto"; then
19484 case "${target_os}" in
19485 cygwin*)
19486 ac_has_nanosleep=yes
19488 darwin*)
19489 ac_has_nanosleep=yes
19490 ac_has_sched_yield=yes
19492 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19494 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #include <features.h>
19499 main ()
19502 #if ! __GLIBC_PREREQ(2, 17)
19503 #error
19504 #endif
19507 return 0;
19509 _ACEOF
19510 if ac_fn_cxx_try_compile "$LINENO"; then :
19511 glibcxx_glibc217=yes
19512 else
19513 glibcxx_glibc217=no
19515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19517 $as_echo "$glibcxx_glibc217" >&6; }
19519 if test x"$glibcxx_glibc217" = x"yes"; then
19520 ac_has_clock_monotonic=yes
19521 ac_has_clock_realtime=yes
19523 ac_has_nanosleep=yes
19524 ac_has_sched_yield=yes
19526 freebsd*|netbsd*)
19527 ac_has_clock_monotonic=yes
19528 ac_has_clock_realtime=yes
19529 ac_has_nanosleep=yes
19530 ac_has_sched_yield=yes
19532 openbsd*)
19533 ac_has_clock_monotonic=yes
19534 ac_has_clock_realtime=yes
19535 ac_has_nanosleep=yes
19537 solaris*)
19538 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19539 ac_has_clock_monotonic=yes
19540 ac_has_clock_realtime=yes
19541 ac_has_nanosleep=yes
19542 ac_has_sched_yield=yes
19544 esac
19546 elif test x"$enable_libstdcxx_time" != x"no"; then
19548 if test x"$enable_libstdcxx_time" = x"rt"; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19550 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19551 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 ac_func_search_save_LIBS=$LIBS
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19558 /* Override any GCC internal prototype to avoid an error.
19559 Use char because int might match the return type of a GCC
19560 builtin and then its argument prototype would still apply. */
19561 #ifdef __cplusplus
19562 extern "C"
19563 #endif
19564 char clock_gettime ();
19566 main ()
19568 return clock_gettime ();
19570 return 0;
19572 _ACEOF
19573 for ac_lib in '' rt posix4; do
19574 if test -z "$ac_lib"; then
19575 ac_res="none required"
19576 else
19577 ac_res=-l$ac_lib
19578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19580 if test x$gcc_no_link = xyes; then
19581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19583 if ac_fn_cxx_try_link "$LINENO"; then :
19584 ac_cv_search_clock_gettime=$ac_res
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext
19588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19589 break
19591 done
19592 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19594 else
19595 ac_cv_search_clock_gettime=no
19597 rm conftest.$ac_ext
19598 LIBS=$ac_func_search_save_LIBS
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19601 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19602 ac_res=$ac_cv_search_clock_gettime
19603 if test "$ac_res" != no; then :
19604 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19609 $as_echo_n "checking for library containing nanosleep... " >&6; }
19610 if test "${ac_cv_search_nanosleep+set}" = set; then :
19611 $as_echo_n "(cached) " >&6
19612 else
19613 ac_func_search_save_LIBS=$LIBS
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19617 /* Override any GCC internal prototype to avoid an error.
19618 Use char because int might match the return type of a GCC
19619 builtin and then its argument prototype would still apply. */
19620 #ifdef __cplusplus
19621 extern "C"
19622 #endif
19623 char nanosleep ();
19625 main ()
19627 return nanosleep ();
19629 return 0;
19631 _ACEOF
19632 for ac_lib in '' rt posix4; do
19633 if test -z "$ac_lib"; then
19634 ac_res="none required"
19635 else
19636 ac_res=-l$ac_lib
19637 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19639 if test x$gcc_no_link = xyes; then
19640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19642 if ac_fn_cxx_try_link "$LINENO"; then :
19643 ac_cv_search_nanosleep=$ac_res
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext
19647 if test "${ac_cv_search_nanosleep+set}" = set; then :
19648 break
19650 done
19651 if test "${ac_cv_search_nanosleep+set}" = set; then :
19653 else
19654 ac_cv_search_nanosleep=no
19656 rm conftest.$ac_ext
19657 LIBS=$ac_func_search_save_LIBS
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19660 $as_echo "$ac_cv_search_nanosleep" >&6; }
19661 ac_res=$ac_cv_search_nanosleep
19662 if test "$ac_res" != no; then :
19663 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19667 else
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19669 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19670 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 ac_func_search_save_LIBS=$LIBS
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19680 #ifdef __cplusplus
19681 extern "C"
19682 #endif
19683 char clock_gettime ();
19685 main ()
19687 return clock_gettime ();
19689 return 0;
19691 _ACEOF
19692 for ac_lib in '' posix4; do
19693 if test -z "$ac_lib"; then
19694 ac_res="none required"
19695 else
19696 ac_res=-l$ac_lib
19697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19699 if test x$gcc_no_link = xyes; then
19700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19702 if ac_fn_cxx_try_link "$LINENO"; then :
19703 ac_cv_search_clock_gettime=$ac_res
19705 rm -f core conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext
19707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19708 break
19710 done
19711 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19713 else
19714 ac_cv_search_clock_gettime=no
19716 rm conftest.$ac_ext
19717 LIBS=$ac_func_search_save_LIBS
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19720 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19721 ac_res=$ac_cv_search_clock_gettime
19722 if test "$ac_res" != no; then :
19723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19728 $as_echo_n "checking for library containing nanosleep... " >&6; }
19729 if test "${ac_cv_search_nanosleep+set}" = set; then :
19730 $as_echo_n "(cached) " >&6
19731 else
19732 ac_func_search_save_LIBS=$LIBS
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19736 /* Override any GCC internal prototype to avoid an error.
19737 Use char because int might match the return type of a GCC
19738 builtin and then its argument prototype would still apply. */
19739 #ifdef __cplusplus
19740 extern "C"
19741 #endif
19742 char nanosleep ();
19744 main ()
19746 return nanosleep ();
19748 return 0;
19750 _ACEOF
19751 for ac_lib in '' posix4; do
19752 if test -z "$ac_lib"; then
19753 ac_res="none required"
19754 else
19755 ac_res=-l$ac_lib
19756 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19758 if test x$gcc_no_link = xyes; then
19759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19761 if ac_fn_cxx_try_link "$LINENO"; then :
19762 ac_cv_search_nanosleep=$ac_res
19764 rm -f core conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext
19766 if test "${ac_cv_search_nanosleep+set}" = set; then :
19767 break
19769 done
19770 if test "${ac_cv_search_nanosleep+set}" = set; then :
19772 else
19773 ac_cv_search_nanosleep=no
19775 rm conftest.$ac_ext
19776 LIBS=$ac_func_search_save_LIBS
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19779 $as_echo "$ac_cv_search_nanosleep" >&6; }
19780 ac_res=$ac_cv_search_nanosleep
19781 if test "$ac_res" != no; then :
19782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19788 case "$ac_cv_search_clock_gettime" in
19789 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19791 esac
19792 case "$ac_cv_search_nanosleep" in
19793 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19795 esac
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19798 $as_echo_n "checking for library containing sched_yield... " >&6; }
19799 if test "${ac_cv_search_sched_yield+set}" = set; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 ac_func_search_save_LIBS=$LIBS
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19806 /* Override any GCC internal prototype to avoid an error.
19807 Use char because int might match the return type of a GCC
19808 builtin and then its argument prototype would still apply. */
19809 #ifdef __cplusplus
19810 extern "C"
19811 #endif
19812 char sched_yield ();
19814 main ()
19816 return sched_yield ();
19818 return 0;
19820 _ACEOF
19821 for ac_lib in '' rt posix4; do
19822 if test -z "$ac_lib"; then
19823 ac_res="none required"
19824 else
19825 ac_res=-l$ac_lib
19826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19828 if test x$gcc_no_link = xyes; then
19829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19831 if ac_fn_cxx_try_link "$LINENO"; then :
19832 ac_cv_search_sched_yield=$ac_res
19834 rm -f core conftest.err conftest.$ac_objext \
19835 conftest$ac_exeext
19836 if test "${ac_cv_search_sched_yield+set}" = set; then :
19837 break
19839 done
19840 if test "${ac_cv_search_sched_yield+set}" = set; then :
19842 else
19843 ac_cv_search_sched_yield=no
19845 rm conftest.$ac_ext
19846 LIBS=$ac_func_search_save_LIBS
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19849 $as_echo "$ac_cv_search_sched_yield" >&6; }
19850 ac_res=$ac_cv_search_sched_yield
19851 if test "$ac_res" != no; then :
19852 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19857 case "$ac_cv_search_sched_yield" in
19858 -lposix4*)
19859 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19860 ac_has_sched_yield=yes
19862 -lrt*)
19863 if test x"$enable_libstdcxx_time" = x"rt"; then
19864 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19865 ac_has_sched_yield=yes
19869 ac_has_sched_yield=yes
19871 esac
19873 for ac_header in unistd.h
19874 do :
19875 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19876 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19877 cat >>confdefs.h <<_ACEOF
19878 #define HAVE_UNISTD_H 1
19879 _ACEOF
19880 ac_has_unistd_h=yes
19881 else
19882 ac_has_unistd_h=no
19885 done
19888 if test x"$ac_has_unistd_h" = x"yes"; then
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19890 $as_echo_n "checking for monotonic clock... " >&6; }
19891 if test x$gcc_no_link = xyes; then
19892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #include <unistd.h>
19897 #include <time.h>
19900 main ()
19902 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19903 timespec tp;
19904 #endif
19905 clock_gettime(CLOCK_MONOTONIC, &tp);
19908 return 0;
19910 _ACEOF
19911 if ac_fn_cxx_try_link "$LINENO"; then :
19912 ac_has_clock_monotonic=yes
19913 else
19914 ac_has_clock_monotonic=no
19916 rm -f core conftest.err conftest.$ac_objext \
19917 conftest$ac_exeext conftest.$ac_ext
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19920 $as_echo "$ac_has_clock_monotonic" >&6; }
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19923 $as_echo_n "checking for realtime clock... " >&6; }
19924 if test x$gcc_no_link = xyes; then
19925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <unistd.h>
19930 #include <time.h>
19933 main ()
19935 #if _POSIX_TIMERS > 0
19936 timespec tp;
19937 #endif
19938 clock_gettime(CLOCK_REALTIME, &tp);
19941 return 0;
19943 _ACEOF
19944 if ac_fn_cxx_try_link "$LINENO"; then :
19945 ac_has_clock_realtime=yes
19946 else
19947 ac_has_clock_realtime=no
19949 rm -f core conftest.err conftest.$ac_objext \
19950 conftest$ac_exeext conftest.$ac_ext
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19953 $as_echo "$ac_has_clock_realtime" >&6; }
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19956 $as_echo_n "checking for nanosleep... " >&6; }
19957 if test x$gcc_no_link = xyes; then
19958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19962 #include <unistd.h>
19963 #include <time.h>
19966 main ()
19968 #if _POSIX_TIMERS > 0
19969 timespec tp;
19970 #endif
19971 nanosleep(&tp, 0);
19974 return 0;
19976 _ACEOF
19977 if ac_fn_cxx_try_link "$LINENO"; then :
19978 ac_has_nanosleep=yes
19979 else
19980 ac_has_nanosleep=no
19982 rm -f core conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19986 $as_echo "$ac_has_nanosleep" >&6; }
19990 if test x"$ac_has_clock_monotonic" != x"yes"; then
19991 case ${target_os} in
19992 linux*)
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19994 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h. */
19997 #include <unistd.h>
19998 #include <time.h>
19999 #include <sys/syscall.h>
20002 main ()
20004 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20005 timespec tp;
20006 #endif
20007 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20008 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20011 return 0;
20013 _ACEOF
20014 if ac_fn_cxx_try_compile "$LINENO"; then :
20015 ac_has_clock_monotonic_syscall=yes
20016 else
20017 ac_has_clock_monotonic_syscall=no
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20021 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20022 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20026 ac_has_clock_monotonic=yes
20027 ac_has_clock_realtime=yes
20028 fi;;
20029 esac
20032 if test x"$ac_has_clock_monotonic" = x"yes"; then
20034 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20038 if test x"$ac_has_clock_realtime" = x"yes"; then
20040 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20044 if test x"$ac_has_sched_yield" = x"yes"; then
20046 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20050 if test x"$ac_has_nanosleep" = x"yes"; then
20052 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20054 else
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20056 $as_echo_n "checking for sleep... " >&6; }
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #include <unistd.h>
20061 main ()
20063 sleep(1)
20065 return 0;
20067 _ACEOF
20068 if ac_fn_cxx_try_compile "$LINENO"; then :
20069 ac_has_sleep=yes
20070 else
20071 ac_has_sleep=no
20073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 if test x"$ac_has_sleep" = x"yes"; then
20076 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20080 $as_echo "$ac_has_sleep" >&6; }
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20082 $as_echo_n "checking for usleep... " >&6; }
20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h. */
20085 #include <unistd.h>
20087 main ()
20089 sleep(1);
20090 usleep(100);
20092 return 0;
20094 _ACEOF
20095 if ac_fn_cxx_try_compile "$LINENO"; then :
20096 ac_has_usleep=yes
20097 else
20098 ac_has_usleep=no
20100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101 if test x"$ac_has_usleep" = x"yes"; then
20103 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20107 $as_echo "$ac_has_usleep" >&6; }
20110 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20112 $as_echo_n "checking for Sleep... " >&6; }
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20115 #include <windows.h>
20117 main ()
20119 Sleep(1)
20121 return 0;
20123 _ACEOF
20124 if ac_fn_cxx_try_compile "$LINENO"; then :
20125 ac_has_win32_sleep=yes
20126 else
20127 ac_has_win32_sleep=no
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 if test x"$ac_has_win32_sleep" = x"yes"; then
20132 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20136 $as_echo "$ac_has_win32_sleep" >&6; }
20141 CXXFLAGS="$ac_save_CXXFLAGS"
20142 LIBS="$ac_save_LIBS"
20143 ac_ext=c
20144 ac_cpp='$CPP $CPPFLAGS'
20145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20151 # Check for tmpnam which is obsolescent in POSIX.1-2008
20153 ac_ext=cpp
20154 ac_cpp='$CXXCPP $CPPFLAGS'
20155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20159 ac_save_CXXFLAGS="$CXXFLAGS"
20160 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20162 $as_echo_n "checking for tmpnam... " >&6; }
20163 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20166 if test x$gcc_no_link = xyes; then
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20169 #include <stdio.h>
20171 main ()
20173 char *tmp = tmpnam(NULL);
20175 return 0;
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179 glibcxx_cv_TMPNAM=yes
20180 else
20181 glibcxx_cv_TMPNAM=no
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 else
20185 if test x$gcc_no_link = xyes; then
20186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h. */
20190 #include <stdio.h>
20192 main ()
20194 char *tmp = tmpnam(NULL);
20196 return 0;
20198 _ACEOF
20199 if ac_fn_cxx_try_link "$LINENO"; then :
20200 glibcxx_cv_TMPNAM=yes
20201 else
20202 glibcxx_cv_TMPNAM=no
20204 rm -f core conftest.err conftest.$ac_objext \
20205 conftest$ac_exeext conftest.$ac_ext
20210 if test $glibcxx_cv_TMPNAM = yes; then
20212 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20216 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20217 CXXFLAGS="$ac_save_CXXFLAGS"
20218 ac_ext=c
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20227 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20228 if test "x$ac_cv_header_locale_h" = x""yes; then :
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20231 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20232 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20233 $as_echo_n "(cached) " >&6
20234 else
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 #include <locale.h>
20239 main ()
20241 return LC_MESSAGES
20243 return 0;
20245 _ACEOF
20246 if ac_fn_c_try_compile "$LINENO"; then :
20247 ac_cv_val_LC_MESSAGES=yes
20248 else
20249 ac_cv_val_LC_MESSAGES=no
20251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20254 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20255 if test $ac_cv_val_LC_MESSAGES = yes; then
20257 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20266 # For hardware_concurrency
20267 for ac_header in sys/sysinfo.h
20268 do :
20269 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20270 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20271 cat >>confdefs.h <<_ACEOF
20272 #define HAVE_SYS_SYSINFO_H 1
20273 _ACEOF
20277 done
20282 ac_ext=cpp
20283 ac_cpp='$CXXCPP $CPPFLAGS'
20284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20288 ac_save_CXXFLAGS="$CXXFLAGS"
20289 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20292 $as_echo_n "checking for get_nprocs... " >&6; }
20293 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20294 $as_echo_n "(cached) " >&6
20295 else
20297 if test x$gcc_no_link = xyes; then
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20300 #include <sys/sysinfo.h>
20302 main ()
20304 int n = get_nprocs();
20306 return 0;
20308 _ACEOF
20309 if ac_fn_cxx_try_compile "$LINENO"; then :
20310 glibcxx_cv_GET_NPROCS=yes
20311 else
20312 glibcxx_cv_GET_NPROCS=no
20314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20315 else
20316 if test x$gcc_no_link = xyes; then
20317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20321 #include <sys/sysinfo.h>
20323 main ()
20325 int n = get_nprocs();
20327 return 0;
20329 _ACEOF
20330 if ac_fn_cxx_try_link "$LINENO"; then :
20331 glibcxx_cv_GET_NPROCS=yes
20332 else
20333 glibcxx_cv_GET_NPROCS=no
20335 rm -f core conftest.err conftest.$ac_objext \
20336 conftest$ac_exeext conftest.$ac_ext
20341 if test $glibcxx_cv_GET_NPROCS = yes; then
20343 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20347 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20349 CXXFLAGS="$ac_save_CXXFLAGS"
20350 ac_ext=c
20351 ac_cpp='$CPP $CPPFLAGS'
20352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20357 for ac_header in unistd.h
20358 do :
20359 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20360 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20361 cat >>confdefs.h <<_ACEOF
20362 #define HAVE_UNISTD_H 1
20363 _ACEOF
20367 done
20372 ac_ext=cpp
20373 ac_cpp='$CXXCPP $CPPFLAGS'
20374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20378 ac_save_CXXFLAGS="$CXXFLAGS"
20379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20382 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20383 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20387 if test x$gcc_no_link = xyes; then
20388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20389 /* end confdefs.h. */
20390 #include <unistd.h>
20392 main ()
20394 int n = sysconf(_SC_NPROCESSORS_ONLN);
20396 return 0;
20398 _ACEOF
20399 if ac_fn_cxx_try_compile "$LINENO"; then :
20400 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20401 else
20402 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20405 else
20406 if test x$gcc_no_link = xyes; then
20407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20410 /* end confdefs.h. */
20411 #include <unistd.h>
20413 main ()
20415 int n = sysconf(_SC_NPROCESSORS_ONLN);
20417 return 0;
20419 _ACEOF
20420 if ac_fn_cxx_try_link "$LINENO"; then :
20421 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20422 else
20423 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20425 rm -f core conftest.err conftest.$ac_objext \
20426 conftest$ac_exeext conftest.$ac_ext
20431 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20433 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20437 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20439 CXXFLAGS="$ac_save_CXXFLAGS"
20440 ac_ext=c
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20450 ac_ext=cpp
20451 ac_cpp='$CXXCPP $CPPFLAGS'
20452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20456 ac_save_CXXFLAGS="$CXXFLAGS"
20457 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20460 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20461 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20462 $as_echo_n "(cached) " >&6
20463 else
20465 if test x$gcc_no_link = xyes; then
20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20467 /* end confdefs.h. */
20468 #include <unistd.h>
20470 main ()
20472 int n = sysconf(_SC_NPROC_ONLN);
20474 return 0;
20476 _ACEOF
20477 if ac_fn_cxx_try_compile "$LINENO"; then :
20478 glibcxx_cv_SC_NPROC_ONLN=yes
20479 else
20480 glibcxx_cv_SC_NPROC_ONLN=no
20482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20483 else
20484 if test x$gcc_no_link = xyes; then
20485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20489 #include <unistd.h>
20491 main ()
20493 int n = sysconf(_SC_NPROC_ONLN);
20495 return 0;
20497 _ACEOF
20498 if ac_fn_cxx_try_link "$LINENO"; then :
20499 glibcxx_cv_SC_NPROC_ONLN=yes
20500 else
20501 glibcxx_cv_SC_NPROC_ONLN=no
20503 rm -f core conftest.err conftest.$ac_objext \
20504 conftest$ac_exeext conftest.$ac_ext
20509 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20511 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20515 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20517 CXXFLAGS="$ac_save_CXXFLAGS"
20518 ac_ext=c
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528 ac_ext=cpp
20529 ac_cpp='$CXXCPP $CPPFLAGS'
20530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20534 ac_save_CXXFLAGS="$CXXFLAGS"
20535 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20538 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20539 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20540 $as_echo_n "(cached) " >&6
20541 else
20543 if test x$gcc_no_link = xyes; then
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20546 #include <pthread.h>
20548 main ()
20550 int n = pthread_num_processors_np();
20552 return 0;
20554 _ACEOF
20555 if ac_fn_cxx_try_compile "$LINENO"; then :
20556 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20557 else
20558 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 else
20562 if test x$gcc_no_link = xyes; then
20563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20567 #include <pthread.h>
20569 main ()
20571 int n = pthread_num_processors_np();
20573 return 0;
20575 _ACEOF
20576 if ac_fn_cxx_try_link "$LINENO"; then :
20577 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20578 else
20579 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20581 rm -f core conftest.err conftest.$ac_objext \
20582 conftest$ac_exeext conftest.$ac_ext
20587 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20589 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20593 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20595 CXXFLAGS="$ac_save_CXXFLAGS"
20596 ac_ext=c
20597 ac_cpp='$CPP $CPPFLAGS'
20598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20606 ac_ext=cpp
20607 ac_cpp='$CXXCPP $CPPFLAGS'
20608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20612 ac_save_CXXFLAGS="$CXXFLAGS"
20613 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20616 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20617 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20618 $as_echo_n "(cached) " >&6
20619 else
20621 if test x$gcc_no_link = xyes; then
20622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20625 #include <stddef.h>
20626 #include <sys/sysctl.h>
20629 main ()
20632 int count;
20633 size_t size = sizeof(count);
20634 int mib[] = { CTL_HW, HW_NCPU };
20635 sysctl(mib, 2, &count, &size, NULL, 0);
20638 return 0;
20640 _ACEOF
20641 if ac_fn_cxx_try_compile "$LINENO"; then :
20642 glibcxx_cv_SYSCTL_HW_NCPU=yes
20643 else
20644 glibcxx_cv_SYSCTL_HW_NCPU=no
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 else
20648 if test x$gcc_no_link = xyes; then
20649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #include <stddef.h>
20655 #include <sys/sysctl.h>
20658 main ()
20661 int count;
20662 size_t size = sizeof(count);
20663 int mib[] = { CTL_HW, HW_NCPU };
20664 sysctl(mib, 2, &count, &size, NULL, 0);
20667 return 0;
20669 _ACEOF
20670 if ac_fn_cxx_try_link "$LINENO"; then :
20671 glibcxx_cv_SYSCTL_HW_NCPU=yes
20672 else
20673 glibcxx_cv_SYSCTL_HW_NCPU=no
20675 rm -f core conftest.err conftest.$ac_objext \
20676 conftest$ac_exeext conftest.$ac_ext
20681 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20683 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20687 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20689 CXXFLAGS="$ac_save_CXXFLAGS"
20690 ac_ext=c
20691 ac_cpp='$CPP $CPPFLAGS'
20692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20699 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20700 # Note that this test has to be run with the C language.
20701 # Otherwise, sdt.h will try to include some headers from
20702 # libstdc++ itself.
20704 ac_ext=c
20705 ac_cpp='$CPP $CPPFLAGS'
20706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20710 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20711 $as_echo_n "(cached) " >&6
20712 else
20714 # Because we have to run the test in C, we use grep rather
20715 # than the compiler to check for the bug. The bug is that
20716 # were strings without trailing whitespace, causing g++
20717 # to look for operator"". The pattern searches for the fixed
20718 # output.
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 #include <sys/sdt.h>
20723 int f() { STAP_PROBE(hi, bob); }
20725 _ACEOF
20726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20727 $EGREP " \",\" " >/dev/null 2>&1; then :
20728 glibcxx_cv_sys_sdt_h=yes
20729 else
20730 glibcxx_cv_sys_sdt_h=no
20732 rm -f conftest*
20737 ac_ext=c
20738 ac_cpp='$CPP $CPPFLAGS'
20739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20743 if test $glibcxx_cv_sys_sdt_h = yes; then
20745 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20749 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20752 # Check for available headers.
20753 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20754 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20755 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20756 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20757 wchar.h wctype.h
20758 do :
20759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20761 eval as_val=\$$as_ac_Header
20762 if test "x$as_val" = x""yes; then :
20763 cat >>confdefs.h <<_ACEOF
20764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20765 _ACEOF
20769 done
20772 # Only do link tests if native. Else, hardcode.
20773 if $GLIBCXX_IS_NATIVE; then
20775 # We can do more elaborate tests that assume a working linker.
20776 CANADIAN=no
20780 # Check whether --with-gnu-ld was given.
20781 if test "${with_gnu_ld+set}" = set; then :
20782 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20783 else
20784 with_gnu_ld=no
20787 ac_prog=ld
20788 if test "$GCC" = yes; then
20789 # Check if gcc -print-prog-name=ld gives a path.
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20791 $as_echo_n "checking for ld used by $CC... " >&6; }
20792 case $host in
20793 *-*-mingw*)
20794 # gcc leaves a trailing carriage return which upsets mingw
20795 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20797 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20798 esac
20799 case $ac_prog in
20800 # Accept absolute paths.
20801 [\\/]* | ?:[\\/]*)
20802 re_direlt='/[^/][^/]*/\.\./'
20803 # Canonicalize the pathname of ld
20804 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20805 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20806 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20807 done
20808 test -z "$LD" && LD="$ac_prog"
20811 # If it fails, then pretend we aren't using GCC.
20812 ac_prog=ld
20815 # If it is relative, then search for the first ld in PATH.
20816 with_gnu_ld=unknown
20818 esac
20819 elif test "$with_gnu_ld" = yes; then
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20821 $as_echo_n "checking for GNU ld... " >&6; }
20822 else
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20824 $as_echo_n "checking for non-GNU ld... " >&6; }
20826 if test "${lt_cv_path_LD+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20828 else
20829 if test -z "$LD"; then
20830 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20831 for ac_dir in $PATH; do
20832 IFS="$lt_save_ifs"
20833 test -z "$ac_dir" && ac_dir=.
20834 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20835 lt_cv_path_LD="$ac_dir/$ac_prog"
20836 # Check to see if the program is GNU ld. I'd rather use --version,
20837 # but apparently some variants of GNU ld only accept -v.
20838 # Break only if it was the GNU/non-GNU ld that we prefer.
20839 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20840 *GNU* | *'with BFD'*)
20841 test "$with_gnu_ld" != no && break
20844 test "$with_gnu_ld" != yes && break
20846 esac
20848 done
20849 IFS="$lt_save_ifs"
20850 else
20851 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20855 LD="$lt_cv_path_LD"
20856 if test -n "$LD"; then
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20858 $as_echo "$LD" >&6; }
20859 else
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20861 $as_echo "no" >&6; }
20863 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20865 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20866 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20869 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20870 case `$LD -v 2>&1 </dev/null` in
20871 *GNU* | *'with BFD'*)
20872 lt_cv_prog_gnu_ld=yes
20875 lt_cv_prog_gnu_ld=no
20877 esac
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20880 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20881 with_gnu_ld=$lt_cv_prog_gnu_ld
20889 # If we're not using GNU ld, then there's no point in even trying these
20890 # tests. Check for that first. We should have already tested for gld
20891 # by now (in libtool), but require it now just to be safe...
20892 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20893 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20897 # The name set by libtool depends on the version of libtool. Shame on us
20898 # for depending on an impl detail, but c'est la vie. Older versions used
20899 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20900 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20901 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20902 # set (hence we're using an older libtool), then set it.
20903 if test x${with_gnu_ld+set} != xset; then
20904 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20905 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20906 with_gnu_ld=no
20907 else
20908 with_gnu_ld=$ac_cv_prog_gnu_ld
20912 # Start by getting the version number. I think the libtool test already
20913 # does some of this, but throws away the result.
20914 glibcxx_ld_is_gold=no
20915 if test x"$with_gnu_ld" = x"yes"; then
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20917 $as_echo_n "checking for ld version... " >&6; }
20919 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20920 glibcxx_ld_is_gold=yes
20922 ldver=`$LD --version 2>/dev/null |
20923 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'`
20925 glibcxx_gnu_ld_version=`echo $ldver | \
20926 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20928 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20931 # Set --gc-sections.
20932 glibcxx_have_gc_sections=no
20933 if test "$glibcxx_ld_is_gold" = "yes"; then
20934 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20935 glibcxx_have_gc_sections=yes
20937 else
20938 glibcxx_gcsections_min_ld=21602
20939 if test x"$with_gnu_ld" = x"yes" &&
20940 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20941 glibcxx_have_gc_sections=yes
20944 if test "$glibcxx_have_gc_sections" = "yes"; then
20945 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20946 # NB: This flag only works reliably after 2.16.1. Configure tests
20947 # for this are difficult, so hard wire a value that should work.
20949 ac_test_CFLAGS="${CFLAGS+set}"
20950 ac_save_CFLAGS="$CFLAGS"
20951 CFLAGS='-Wl,--gc-sections'
20953 # Check for -Wl,--gc-sections
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20955 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20956 if test x$gcc_no_link = xyes; then
20957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961 int one(void) { return 1; }
20962 int two(void) { return 2; }
20965 main ()
20967 two();
20969 return 0;
20971 _ACEOF
20972 if ac_fn_c_try_link "$LINENO"; then :
20973 ac_gcsections=yes
20974 else
20975 ac_gcsections=no
20977 rm -f core conftest.err conftest.$ac_objext \
20978 conftest$ac_exeext conftest.$ac_ext
20979 if test "$ac_gcsections" = "yes"; then
20980 rm -f conftest.c
20981 touch conftest.c
20982 if $CC -c conftest.c; then
20983 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20984 grep "Warning: gc-sections option ignored" > /dev/null; then
20985 ac_gcsections=no
20988 rm -f conftest.c conftest.o conftest
20990 if test "$ac_gcsections" = "yes"; then
20991 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20994 $as_echo "$ac_gcsections" >&6; }
20996 if test "$ac_test_CFLAGS" = set; then
20997 CFLAGS="$ac_save_CFLAGS"
20998 else
20999 # this is the suspicious part
21000 CFLAGS=''
21004 # Set -z,relro.
21005 # Note this is only for shared objects.
21006 ac_ld_relro=no
21007 if test x"$with_gnu_ld" = x"yes"; then
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21009 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21010 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21011 if test -n "$cxx_z_relo"; then
21012 OPT_LDFLAGS="-Wl,-z,relro"
21013 ac_ld_relro=yes
21015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21016 $as_echo "$ac_ld_relro" >&6; }
21019 # Set linker optimization flags.
21020 if test x"$with_gnu_ld" = x"yes"; then
21021 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21028 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21029 ac_save_CXXFLAGS="$CXXFLAGS"
21030 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21033 $as_echo_n "checking for sin in -lm... " >&6; }
21034 if test "${ac_cv_lib_m_sin+set}" = set; then :
21035 $as_echo_n "(cached) " >&6
21036 else
21037 ac_check_lib_save_LIBS=$LIBS
21038 LIBS="-lm $LIBS"
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. */
21045 /* Override any GCC internal prototype to avoid an error.
21046 Use char because int might match the return type of a GCC
21047 builtin and then its argument prototype would still apply. */
21048 #ifdef __cplusplus
21049 extern "C"
21050 #endif
21051 char sin ();
21053 main ()
21055 return sin ();
21057 return 0;
21059 _ACEOF
21060 if ac_fn_c_try_link "$LINENO"; then :
21061 ac_cv_lib_m_sin=yes
21062 else
21063 ac_cv_lib_m_sin=no
21065 rm -f core conftest.err conftest.$ac_objext \
21066 conftest$ac_exeext conftest.$ac_ext
21067 LIBS=$ac_check_lib_save_LIBS
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21070 $as_echo "$ac_cv_lib_m_sin" >&6; }
21071 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21072 libm="-lm"
21075 ac_save_LIBS="$LIBS"
21076 LIBS="$LIBS $libm"
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21081 $as_echo_n "checking for isinf declaration... " >&6; }
21082 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21083 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21088 ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <math.h>
21097 #ifdef HAVE_IEEEFP_H
21098 #include <ieeefp.h>
21099 #endif
21102 main ()
21104 isinf(0);
21106 return 0;
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 glibcxx_cv_func_isinf_use=yes
21111 else
21112 glibcxx_cv_func_isinf_use=no
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21126 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21128 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21129 for ac_func in isinf
21130 do :
21131 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21132 if test "x$ac_cv_func_isinf" = x""yes; then :
21133 cat >>confdefs.h <<_ACEOF
21134 #define HAVE_ISINF 1
21135 _ACEOF
21138 done
21140 else
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21143 $as_echo_n "checking for _isinf declaration... " >&6; }
21144 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21145 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21147 else
21150 ac_ext=cpp
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 #include <math.h>
21159 #ifdef HAVE_IEEEFP_H
21160 #include <ieeefp.h>
21161 #endif
21164 main ()
21166 _isinf(0);
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_func__isinf_use=yes
21173 else
21174 glibcxx_cv_func__isinf_use=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21188 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21190 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21191 for ac_func in _isinf
21192 do :
21193 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21194 if test "x$ac_cv_func__isinf" = x""yes; then :
21195 cat >>confdefs.h <<_ACEOF
21196 #define HAVE__ISINF 1
21197 _ACEOF
21200 done
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21210 $as_echo_n "checking for isnan declaration... " >&6; }
21211 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21212 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21214 else
21217 ac_ext=cpp
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <math.h>
21226 #ifdef HAVE_IEEEFP_H
21227 #include <ieeefp.h>
21228 #endif
21231 main ()
21233 isnan(0);
21235 return 0;
21237 _ACEOF
21238 if ac_fn_cxx_try_compile "$LINENO"; then :
21239 glibcxx_cv_func_isnan_use=yes
21240 else
21241 glibcxx_cv_func_isnan_use=no
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 ac_ext=c
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21255 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21257 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21258 for ac_func in isnan
21259 do :
21260 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21261 if test "x$ac_cv_func_isnan" = x""yes; then :
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_ISNAN 1
21264 _ACEOF
21267 done
21269 else
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21272 $as_echo_n "checking for _isnan declaration... " >&6; }
21273 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21274 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21275 $as_echo_n "(cached) " >&6
21276 else
21279 ac_ext=cpp
21280 ac_cpp='$CXXCPP $CPPFLAGS'
21281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <math.h>
21288 #ifdef HAVE_IEEEFP_H
21289 #include <ieeefp.h>
21290 #endif
21293 main ()
21295 _isnan(0);
21297 return 0;
21299 _ACEOF
21300 if ac_fn_cxx_try_compile "$LINENO"; then :
21301 glibcxx_cv_func__isnan_use=yes
21302 else
21303 glibcxx_cv_func__isnan_use=no
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 ac_ext=c
21307 ac_cpp='$CPP $CPPFLAGS'
21308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21317 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21319 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21320 for ac_func in _isnan
21321 do :
21322 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21323 if test "x$ac_cv_func__isnan" = x""yes; then :
21324 cat >>confdefs.h <<_ACEOF
21325 #define HAVE__ISNAN 1
21326 _ACEOF
21329 done
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21339 $as_echo_n "checking for finite declaration... " >&6; }
21340 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21341 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21342 $as_echo_n "(cached) " >&6
21343 else
21346 ac_ext=cpp
21347 ac_cpp='$CXXCPP $CPPFLAGS'
21348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <math.h>
21355 #ifdef HAVE_IEEEFP_H
21356 #include <ieeefp.h>
21357 #endif
21360 main ()
21362 finite(0);
21364 return 0;
21366 _ACEOF
21367 if ac_fn_cxx_try_compile "$LINENO"; then :
21368 glibcxx_cv_func_finite_use=yes
21369 else
21370 glibcxx_cv_func_finite_use=no
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21384 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21386 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21387 for ac_func in finite
21388 do :
21389 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21390 if test "x$ac_cv_func_finite" = x""yes; then :
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_FINITE 1
21393 _ACEOF
21396 done
21398 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21401 $as_echo_n "checking for _finite declaration... " >&6; }
21402 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21403 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21416 #include <math.h>
21417 #ifdef HAVE_IEEEFP_H
21418 #include <ieeefp.h>
21419 #endif
21422 main ()
21424 _finite(0);
21426 return 0;
21428 _ACEOF
21429 if ac_fn_cxx_try_compile "$LINENO"; then :
21430 glibcxx_cv_func__finite_use=yes
21431 else
21432 glibcxx_cv_func__finite_use=no
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21446 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21448 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21449 for ac_func in _finite
21450 do :
21451 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21452 if test "x$ac_cv_func__finite" = x""yes; then :
21453 cat >>confdefs.h <<_ACEOF
21454 #define HAVE__FINITE 1
21455 _ACEOF
21458 done
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21468 $as_echo_n "checking for sincos declaration... " >&6; }
21469 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21470 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21471 $as_echo_n "(cached) " >&6
21472 else
21475 ac_ext=cpp
21476 ac_cpp='$CXXCPP $CPPFLAGS'
21477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482 /* end confdefs.h. */
21483 #include <math.h>
21485 main ()
21487 sincos(0, 0, 0);
21489 return 0;
21491 _ACEOF
21492 if ac_fn_cxx_try_compile "$LINENO"; then :
21493 glibcxx_cv_func_sincos_use=yes
21494 else
21495 glibcxx_cv_func_sincos_use=no
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 ac_ext=c
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21509 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21511 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21512 for ac_func in sincos
21513 do :
21514 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21515 if test "x$ac_cv_func_sincos" = x""yes; then :
21516 cat >>confdefs.h <<_ACEOF
21517 #define HAVE_SINCOS 1
21518 _ACEOF
21521 done
21523 else
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21526 $as_echo_n "checking for _sincos declaration... " >&6; }
21527 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21528 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21529 $as_echo_n "(cached) " >&6
21530 else
21533 ac_ext=cpp
21534 ac_cpp='$CXXCPP $CPPFLAGS'
21535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21541 #include <math.h>
21543 main ()
21545 _sincos(0, 0, 0);
21547 return 0;
21549 _ACEOF
21550 if ac_fn_cxx_try_compile "$LINENO"; then :
21551 glibcxx_cv_func__sincos_use=yes
21552 else
21553 glibcxx_cv_func__sincos_use=no
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 ac_ext=c
21557 ac_cpp='$CPP $CPPFLAGS'
21558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21567 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21569 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21570 for ac_func in _sincos
21571 do :
21572 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21573 if test "x$ac_cv_func__sincos" = x""yes; then :
21574 cat >>confdefs.h <<_ACEOF
21575 #define HAVE__SINCOS 1
21576 _ACEOF
21579 done
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21589 $as_echo_n "checking for fpclass declaration... " >&6; }
21590 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21591 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21592 $as_echo_n "(cached) " >&6
21593 else
21596 ac_ext=cpp
21597 ac_cpp='$CXXCPP $CPPFLAGS'
21598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <math.h>
21605 #ifdef HAVE_IEEEFP_H
21606 #include <ieeefp.h>
21607 #endif
21610 main ()
21612 fpclass(0);
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 glibcxx_cv_func_fpclass_use=yes
21619 else
21620 glibcxx_cv_func_fpclass_use=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 ac_ext=c
21624 ac_cpp='$CPP $CPPFLAGS'
21625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21634 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21636 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21637 for ac_func in fpclass
21638 do :
21639 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21640 if test "x$ac_cv_func_fpclass" = x""yes; then :
21641 cat >>confdefs.h <<_ACEOF
21642 #define HAVE_FPCLASS 1
21643 _ACEOF
21646 done
21648 else
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21651 $as_echo_n "checking for _fpclass declaration... " >&6; }
21652 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21653 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21654 $as_echo_n "(cached) " >&6
21655 else
21658 ac_ext=cpp
21659 ac_cpp='$CXXCPP $CPPFLAGS'
21660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <math.h>
21667 #ifdef HAVE_IEEEFP_H
21668 #include <ieeefp.h>
21669 #endif
21672 main ()
21674 _fpclass(0);
21676 return 0;
21678 _ACEOF
21679 if ac_fn_cxx_try_compile "$LINENO"; then :
21680 glibcxx_cv_func__fpclass_use=yes
21681 else
21682 glibcxx_cv_func__fpclass_use=no
21684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21685 ac_ext=c
21686 ac_cpp='$CPP $CPPFLAGS'
21687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21696 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21698 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21699 for ac_func in _fpclass
21700 do :
21701 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21702 if test "x$ac_cv_func__fpclass" = x""yes; then :
21703 cat >>confdefs.h <<_ACEOF
21704 #define HAVE__FPCLASS 1
21705 _ACEOF
21708 done
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21718 $as_echo_n "checking for qfpclass declaration... " >&6; }
21719 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21720 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21721 $as_echo_n "(cached) " >&6
21722 else
21725 ac_ext=cpp
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #include <math.h>
21734 #ifdef HAVE_IEEEFP_H
21735 #include <ieeefp.h>
21736 #endif
21739 main ()
21741 qfpclass(0);
21743 return 0;
21745 _ACEOF
21746 if ac_fn_cxx_try_compile "$LINENO"; then :
21747 glibcxx_cv_func_qfpclass_use=yes
21748 else
21749 glibcxx_cv_func_qfpclass_use=no
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752 ac_ext=c
21753 ac_cpp='$CPP $CPPFLAGS'
21754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21763 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21765 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21766 for ac_func in qfpclass
21767 do :
21768 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21769 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define HAVE_QFPCLASS 1
21772 _ACEOF
21775 done
21777 else
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21780 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21781 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21782 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21783 $as_echo_n "(cached) " >&6
21784 else
21787 ac_ext=cpp
21788 ac_cpp='$CXXCPP $CPPFLAGS'
21789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21794 /* end confdefs.h. */
21795 #include <math.h>
21796 #ifdef HAVE_IEEEFP_H
21797 #include <ieeefp.h>
21798 #endif
21801 main ()
21803 _qfpclass(0);
21805 return 0;
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809 glibcxx_cv_func__qfpclass_use=yes
21810 else
21811 glibcxx_cv_func__qfpclass_use=no
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 ac_ext=c
21815 ac_cpp='$CPP $CPPFLAGS'
21816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21825 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21827 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21828 for ac_func in _qfpclass
21829 do :
21830 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21831 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21832 cat >>confdefs.h <<_ACEOF
21833 #define HAVE__QFPCLASS 1
21834 _ACEOF
21837 done
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21847 $as_echo_n "checking for hypot declaration... " >&6; }
21848 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21849 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21851 else
21854 ac_ext=cpp
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21862 #include <math.h>
21864 main ()
21866 hypot(0, 0);
21868 return 0;
21870 _ACEOF
21871 if ac_fn_cxx_try_compile "$LINENO"; then :
21872 glibcxx_cv_func_hypot_use=yes
21873 else
21874 glibcxx_cv_func_hypot_use=no
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877 ac_ext=c
21878 ac_cpp='$CPP $CPPFLAGS'
21879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21888 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21890 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21891 for ac_func in hypot
21892 do :
21893 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21894 if test "x$ac_cv_func_hypot" = x""yes; then :
21895 cat >>confdefs.h <<_ACEOF
21896 #define HAVE_HYPOT 1
21897 _ACEOF
21900 done
21902 else
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21905 $as_echo_n "checking for _hypot declaration... " >&6; }
21906 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21907 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21908 $as_echo_n "(cached) " >&6
21909 else
21912 ac_ext=cpp
21913 ac_cpp='$CXXCPP $CPPFLAGS'
21914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21919 /* end confdefs.h. */
21920 #include <math.h>
21922 main ()
21924 _hypot(0, 0);
21926 return 0;
21928 _ACEOF
21929 if ac_fn_cxx_try_compile "$LINENO"; then :
21930 glibcxx_cv_func__hypot_use=yes
21931 else
21932 glibcxx_cv_func__hypot_use=no
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 ac_ext=c
21936 ac_cpp='$CPP $CPPFLAGS'
21937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21946 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21948 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21949 for ac_func in _hypot
21950 do :
21951 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21952 if test "x$ac_cv_func__hypot" = x""yes; then :
21953 cat >>confdefs.h <<_ACEOF
21954 #define HAVE__HYPOT 1
21955 _ACEOF
21958 done
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21968 $as_echo_n "checking for float trig functions... " >&6; }
21969 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21974 ac_ext=cpp
21975 ac_cpp='$CXXCPP $CPPFLAGS'
21976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <math.h>
21984 main ()
21986 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21988 return 0;
21990 _ACEOF
21991 if ac_fn_cxx_try_compile "$LINENO"; then :
21992 glibcxx_cv_func_float_trig_use=yes
21993 else
21994 glibcxx_cv_func_float_trig_use=no
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 ac_ext=c
21998 ac_cpp='$CPP $CPPFLAGS'
21999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22006 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22007 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22008 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22009 do :
22010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22012 eval as_val=\$$as_ac_var
22013 if test "x$as_val" = x""yes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22016 _ACEOF
22019 done
22021 else
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22023 $as_echo_n "checking for _float trig functions... " >&6; }
22024 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22029 ac_ext=cpp
22030 ac_cpp='$CXXCPP $CPPFLAGS'
22031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 /* end confdefs.h. */
22037 #include <math.h>
22039 main ()
22041 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22043 return 0;
22045 _ACEOF
22046 if ac_fn_cxx_try_compile "$LINENO"; then :
22047 glibcxx_cv_func__float_trig_use=yes
22048 else
22049 glibcxx_cv_func__float_trig_use=no
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 ac_ext=c
22053 ac_cpp='$CPP $CPPFLAGS'
22054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22061 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22062 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22063 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22064 do :
22065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22067 eval as_val=\$$as_ac_var
22068 if test "x$as_val" = x""yes; then :
22069 cat >>confdefs.h <<_ACEOF
22070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22071 _ACEOF
22074 done
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22084 $as_echo_n "checking for float round functions... " >&6; }
22085 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22087 else
22090 ac_ext=cpp
22091 ac_cpp='$CXXCPP $CPPFLAGS'
22092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098 #include <math.h>
22100 main ()
22102 ceilf (0); floorf (0);
22104 return 0;
22106 _ACEOF
22107 if ac_fn_cxx_try_compile "$LINENO"; then :
22108 glibcxx_cv_func_float_round_use=yes
22109 else
22110 glibcxx_cv_func_float_round_use=no
22112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113 ac_ext=c
22114 ac_cpp='$CPP $CPPFLAGS'
22115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22122 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22123 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22124 for ac_func in ceilf floorf
22125 do :
22126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22128 eval as_val=\$$as_ac_var
22129 if test "x$as_val" = x""yes; then :
22130 cat >>confdefs.h <<_ACEOF
22131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22132 _ACEOF
22135 done
22137 else
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22139 $as_echo_n "checking for _float round functions... " >&6; }
22140 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22141 $as_echo_n "(cached) " >&6
22142 else
22145 ac_ext=cpp
22146 ac_cpp='$CXXCPP $CPPFLAGS'
22147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 #include <math.h>
22155 main ()
22157 _ceilf (0); _floorf (0);
22159 return 0;
22161 _ACEOF
22162 if ac_fn_cxx_try_compile "$LINENO"; then :
22163 glibcxx_cv_func__float_round_use=yes
22164 else
22165 glibcxx_cv_func__float_round_use=no
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 ac_ext=c
22169 ac_cpp='$CPP $CPPFLAGS'
22170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22177 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22178 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22179 for ac_func in _ceilf _floorf
22180 do :
22181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22183 eval as_val=\$$as_ac_var
22184 if test "x$as_val" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22187 _ACEOF
22190 done
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22201 $as_echo_n "checking for expf declaration... " >&6; }
22202 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22203 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22208 ac_ext=cpp
22209 ac_cpp='$CXXCPP $CPPFLAGS'
22210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22216 #include <math.h>
22217 #ifdef HAVE_IEEEFP_H
22218 #include <ieeefp.h>
22219 #endif
22222 main ()
22224 expf(0);
22226 return 0;
22228 _ACEOF
22229 if ac_fn_cxx_try_compile "$LINENO"; then :
22230 glibcxx_cv_func_expf_use=yes
22231 else
22232 glibcxx_cv_func_expf_use=no
22234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22235 ac_ext=c
22236 ac_cpp='$CPP $CPPFLAGS'
22237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22246 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22248 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22249 for ac_func in expf
22250 do :
22251 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22252 if test "x$ac_cv_func_expf" = x""yes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_EXPF 1
22255 _ACEOF
22258 done
22260 else
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22263 $as_echo_n "checking for _expf declaration... " >&6; }
22264 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22265 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22266 $as_echo_n "(cached) " >&6
22267 else
22270 ac_ext=cpp
22271 ac_cpp='$CXXCPP $CPPFLAGS'
22272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22278 #include <math.h>
22279 #ifdef HAVE_IEEEFP_H
22280 #include <ieeefp.h>
22281 #endif
22284 main ()
22286 _expf(0);
22288 return 0;
22290 _ACEOF
22291 if ac_fn_cxx_try_compile "$LINENO"; then :
22292 glibcxx_cv_func__expf_use=yes
22293 else
22294 glibcxx_cv_func__expf_use=no
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 ac_ext=c
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22308 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22310 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22311 for ac_func in _expf
22312 do :
22313 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22314 if test "x$ac_cv_func__expf" = x""yes; then :
22315 cat >>confdefs.h <<_ACEOF
22316 #define HAVE__EXPF 1
22317 _ACEOF
22320 done
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22330 $as_echo_n "checking for isnanf declaration... " >&6; }
22331 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22332 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22333 $as_echo_n "(cached) " >&6
22334 else
22337 ac_ext=cpp
22338 ac_cpp='$CXXCPP $CPPFLAGS'
22339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22345 #include <math.h>
22346 #ifdef HAVE_IEEEFP_H
22347 #include <ieeefp.h>
22348 #endif
22351 main ()
22353 isnanf(0);
22355 return 0;
22357 _ACEOF
22358 if ac_fn_cxx_try_compile "$LINENO"; then :
22359 glibcxx_cv_func_isnanf_use=yes
22360 else
22361 glibcxx_cv_func_isnanf_use=no
22363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 ac_ext=c
22365 ac_cpp='$CPP $CPPFLAGS'
22366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22375 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22377 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22378 for ac_func in isnanf
22379 do :
22380 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22381 if test "x$ac_cv_func_isnanf" = x""yes; then :
22382 cat >>confdefs.h <<_ACEOF
22383 #define HAVE_ISNANF 1
22384 _ACEOF
22387 done
22389 else
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22392 $as_echo_n "checking for _isnanf declaration... " >&6; }
22393 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22394 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22395 $as_echo_n "(cached) " >&6
22396 else
22399 ac_ext=cpp
22400 ac_cpp='$CXXCPP $CPPFLAGS'
22401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22407 #include <math.h>
22408 #ifdef HAVE_IEEEFP_H
22409 #include <ieeefp.h>
22410 #endif
22413 main ()
22415 _isnanf(0);
22417 return 0;
22419 _ACEOF
22420 if ac_fn_cxx_try_compile "$LINENO"; then :
22421 glibcxx_cv_func__isnanf_use=yes
22422 else
22423 glibcxx_cv_func__isnanf_use=no
22425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 ac_ext=c
22427 ac_cpp='$CPP $CPPFLAGS'
22428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22437 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22439 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22440 for ac_func in _isnanf
22441 do :
22442 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22443 if test "x$ac_cv_func__isnanf" = x""yes; then :
22444 cat >>confdefs.h <<_ACEOF
22445 #define HAVE__ISNANF 1
22446 _ACEOF
22449 done
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22459 $as_echo_n "checking for isinff declaration... " >&6; }
22460 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22461 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22462 $as_echo_n "(cached) " >&6
22463 else
22466 ac_ext=cpp
22467 ac_cpp='$CXXCPP $CPPFLAGS'
22468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22473 /* end confdefs.h. */
22474 #include <math.h>
22475 #ifdef HAVE_IEEEFP_H
22476 #include <ieeefp.h>
22477 #endif
22480 main ()
22482 isinff(0);
22484 return 0;
22486 _ACEOF
22487 if ac_fn_cxx_try_compile "$LINENO"; then :
22488 glibcxx_cv_func_isinff_use=yes
22489 else
22490 glibcxx_cv_func_isinff_use=no
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493 ac_ext=c
22494 ac_cpp='$CPP $CPPFLAGS'
22495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22504 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22506 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22507 for ac_func in isinff
22508 do :
22509 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22510 if test "x$ac_cv_func_isinff" = x""yes; then :
22511 cat >>confdefs.h <<_ACEOF
22512 #define HAVE_ISINFF 1
22513 _ACEOF
22516 done
22518 else
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22521 $as_echo_n "checking for _isinff declaration... " >&6; }
22522 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22523 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22537 #ifdef HAVE_IEEEFP_H
22538 #include <ieeefp.h>
22539 #endif
22542 main ()
22544 _isinff(0);
22546 return 0;
22548 _ACEOF
22549 if ac_fn_cxx_try_compile "$LINENO"; then :
22550 glibcxx_cv_func__isinff_use=yes
22551 else
22552 glibcxx_cv_func__isinff_use=no
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 ac_ext=c
22556 ac_cpp='$CPP $CPPFLAGS'
22557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22566 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22568 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22569 for ac_func in _isinff
22570 do :
22571 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22572 if test "x$ac_cv_func__isinff" = x""yes; then :
22573 cat >>confdefs.h <<_ACEOF
22574 #define HAVE__ISINFF 1
22575 _ACEOF
22578 done
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22588 $as_echo_n "checking for atan2f declaration... " >&6; }
22589 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22590 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22591 $as_echo_n "(cached) " >&6
22592 else
22595 ac_ext=cpp
22596 ac_cpp='$CXXCPP $CPPFLAGS'
22597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22603 #include <math.h>
22605 main ()
22607 atan2f(0, 0);
22609 return 0;
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func_atan2f_use=yes
22614 else
22615 glibcxx_cv_func_atan2f_use=no
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22629 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22631 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22632 for ac_func in atan2f
22633 do :
22634 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22635 if test "x$ac_cv_func_atan2f" = x""yes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE_ATAN2F 1
22638 _ACEOF
22641 done
22643 else
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22646 $as_echo_n "checking for _atan2f declaration... " >&6; }
22647 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22648 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22649 $as_echo_n "(cached) " >&6
22650 else
22653 ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h. */
22661 #include <math.h>
22663 main ()
22665 _atan2f(0, 0);
22667 return 0;
22669 _ACEOF
22670 if ac_fn_cxx_try_compile "$LINENO"; then :
22671 glibcxx_cv_func__atan2f_use=yes
22672 else
22673 glibcxx_cv_func__atan2f_use=no
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22687 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22689 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22690 for ac_func in _atan2f
22691 do :
22692 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22693 if test "x$ac_cv_func__atan2f" = x""yes; then :
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE__ATAN2F 1
22696 _ACEOF
22699 done
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22709 $as_echo_n "checking for fabsf declaration... " >&6; }
22710 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22711 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22712 $as_echo_n "(cached) " >&6
22713 else
22716 ac_ext=cpp
22717 ac_cpp='$CXXCPP $CPPFLAGS'
22718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22723 /* end confdefs.h. */
22724 #include <math.h>
22725 #ifdef HAVE_IEEEFP_H
22726 #include <ieeefp.h>
22727 #endif
22730 main ()
22732 fabsf(0);
22734 return 0;
22736 _ACEOF
22737 if ac_fn_cxx_try_compile "$LINENO"; then :
22738 glibcxx_cv_func_fabsf_use=yes
22739 else
22740 glibcxx_cv_func_fabsf_use=no
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743 ac_ext=c
22744 ac_cpp='$CPP $CPPFLAGS'
22745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22754 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22756 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22757 for ac_func in fabsf
22758 do :
22759 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22760 if test "x$ac_cv_func_fabsf" = x""yes; then :
22761 cat >>confdefs.h <<_ACEOF
22762 #define HAVE_FABSF 1
22763 _ACEOF
22766 done
22768 else
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22771 $as_echo_n "checking for _fabsf declaration... " >&6; }
22772 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22773 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22774 $as_echo_n "(cached) " >&6
22775 else
22778 ac_ext=cpp
22779 ac_cpp='$CXXCPP $CPPFLAGS'
22780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22785 /* end confdefs.h. */
22786 #include <math.h>
22787 #ifdef HAVE_IEEEFP_H
22788 #include <ieeefp.h>
22789 #endif
22792 main ()
22794 _fabsf(0);
22796 return 0;
22798 _ACEOF
22799 if ac_fn_cxx_try_compile "$LINENO"; then :
22800 glibcxx_cv_func__fabsf_use=yes
22801 else
22802 glibcxx_cv_func__fabsf_use=no
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 ac_ext=c
22806 ac_cpp='$CPP $CPPFLAGS'
22807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22816 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22818 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22819 for ac_func in _fabsf
22820 do :
22821 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22822 if test "x$ac_cv_func__fabsf" = x""yes; then :
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE__FABSF 1
22825 _ACEOF
22828 done
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22838 $as_echo_n "checking for fmodf declaration... " >&6; }
22839 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22840 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22855 main ()
22857 fmodf(0, 0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func_fmodf_use=yes
22864 else
22865 glibcxx_cv_func_fmodf_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22879 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22881 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22882 for ac_func in fmodf
22883 do :
22884 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22885 if test "x$ac_cv_func_fmodf" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE_FMODF 1
22888 _ACEOF
22891 done
22893 else
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22896 $as_echo_n "checking for _fmodf declaration... " >&6; }
22897 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22898 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22899 $as_echo_n "(cached) " >&6
22900 else
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22911 #include <math.h>
22913 main ()
22915 _fmodf(0, 0);
22917 return 0;
22919 _ACEOF
22920 if ac_fn_cxx_try_compile "$LINENO"; then :
22921 glibcxx_cv_func__fmodf_use=yes
22922 else
22923 glibcxx_cv_func__fmodf_use=no
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22926 ac_ext=c
22927 ac_cpp='$CPP $CPPFLAGS'
22928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22937 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22939 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22940 for ac_func in _fmodf
22941 do :
22942 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22943 if test "x$ac_cv_func__fmodf" = x""yes; then :
22944 cat >>confdefs.h <<_ACEOF
22945 #define HAVE__FMODF 1
22946 _ACEOF
22949 done
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22959 $as_echo_n "checking for frexpf declaration... " >&6; }
22960 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22961 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22976 main ()
22978 frexpf(0, 0);
22980 return 0;
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func_frexpf_use=yes
22985 else
22986 glibcxx_cv_func_frexpf_use=no
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23000 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23002 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23003 for ac_func in frexpf
23004 do :
23005 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23006 if test "x$ac_cv_func_frexpf" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE_FREXPF 1
23009 _ACEOF
23012 done
23014 else
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23017 $as_echo_n "checking for _frexpf declaration... " >&6; }
23018 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23019 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23021 else
23024 ac_ext=cpp
23025 ac_cpp='$CXXCPP $CPPFLAGS'
23026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031 /* end confdefs.h. */
23032 #include <math.h>
23034 main ()
23036 _frexpf(0, 0);
23038 return 0;
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func__frexpf_use=yes
23043 else
23044 glibcxx_cv_func__frexpf_use=no
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23058 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23060 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23061 for ac_func in _frexpf
23062 do :
23063 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23064 if test "x$ac_cv_func__frexpf" = x""yes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE__FREXPF 1
23067 _ACEOF
23070 done
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23080 $as_echo_n "checking for hypotf declaration... " >&6; }
23081 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23082 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23097 main ()
23099 hypotf(0, 0);
23101 return 0;
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105 glibcxx_cv_func_hypotf_use=yes
23106 else
23107 glibcxx_cv_func_hypotf_use=no
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23121 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23123 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23124 for ac_func in hypotf
23125 do :
23126 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23127 if test "x$ac_cv_func_hypotf" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define HAVE_HYPOTF 1
23130 _ACEOF
23133 done
23135 else
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23138 $as_echo_n "checking for _hypotf declaration... " >&6; }
23139 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23140 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23141 $as_echo_n "(cached) " >&6
23142 else
23145 ac_ext=cpp
23146 ac_cpp='$CXXCPP $CPPFLAGS'
23147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23153 #include <math.h>
23155 main ()
23157 _hypotf(0, 0);
23159 return 0;
23161 _ACEOF
23162 if ac_fn_cxx_try_compile "$LINENO"; then :
23163 glibcxx_cv_func__hypotf_use=yes
23164 else
23165 glibcxx_cv_func__hypotf_use=no
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 ac_ext=c
23169 ac_cpp='$CPP $CPPFLAGS'
23170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23179 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23181 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23182 for ac_func in _hypotf
23183 do :
23184 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23185 if test "x$ac_cv_func__hypotf" = x""yes; then :
23186 cat >>confdefs.h <<_ACEOF
23187 #define HAVE__HYPOTF 1
23188 _ACEOF
23191 done
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23201 $as_echo_n "checking for ldexpf declaration... " >&6; }
23202 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23203 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23205 else
23208 ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23216 #include <math.h>
23218 main ()
23220 ldexpf(0, 0);
23222 return 0;
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226 glibcxx_cv_func_ldexpf_use=yes
23227 else
23228 glibcxx_cv_func_ldexpf_use=no
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23242 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23244 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23245 for ac_func in ldexpf
23246 do :
23247 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23248 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23249 cat >>confdefs.h <<_ACEOF
23250 #define HAVE_LDEXPF 1
23251 _ACEOF
23254 done
23256 else
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23259 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23260 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23261 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23262 $as_echo_n "(cached) " >&6
23263 else
23266 ac_ext=cpp
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23274 #include <math.h>
23276 main ()
23278 _ldexpf(0, 0);
23280 return 0;
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func__ldexpf_use=yes
23285 else
23286 glibcxx_cv_func__ldexpf_use=no
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23300 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23302 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23303 for ac_func in _ldexpf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23306 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE__LDEXPF 1
23309 _ACEOF
23312 done
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23322 $as_echo_n "checking for logf declaration... " >&6; }
23323 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23324 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23326 else
23329 ac_ext=cpp
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23337 #include <math.h>
23338 #ifdef HAVE_IEEEFP_H
23339 #include <ieeefp.h>
23340 #endif
23343 main ()
23345 logf(0);
23347 return 0;
23349 _ACEOF
23350 if ac_fn_cxx_try_compile "$LINENO"; then :
23351 glibcxx_cv_func_logf_use=yes
23352 else
23353 glibcxx_cv_func_logf_use=no
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23367 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23369 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23370 for ac_func in logf
23371 do :
23372 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23373 if test "x$ac_cv_func_logf" = x""yes; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE_LOGF 1
23376 _ACEOF
23379 done
23381 else
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23384 $as_echo_n "checking for _logf declaration... " >&6; }
23385 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23386 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23405 main ()
23407 _logf(0);
23409 return 0;
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func__logf_use=yes
23414 else
23415 glibcxx_cv_func__logf_use=no
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23429 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23431 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23432 for ac_func in _logf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23435 if test "x$ac_cv_func__logf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE__LOGF 1
23438 _ACEOF
23441 done
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23451 $as_echo_n "checking for log10f declaration... " >&6; }
23452 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23453 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23454 $as_echo_n "(cached) " >&6
23455 else
23458 ac_ext=cpp
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23466 #include <math.h>
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23469 #endif
23472 main ()
23474 log10f(0);
23476 return 0;
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func_log10f_use=yes
23481 else
23482 glibcxx_cv_func_log10f_use=no
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23496 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23498 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23499 for ac_func in log10f
23500 do :
23501 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23502 if test "x$ac_cv_func_log10f" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE_LOG10F 1
23505 _ACEOF
23508 done
23510 else
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23513 $as_echo_n "checking for _log10f declaration... " >&6; }
23514 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23515 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23534 main ()
23536 _log10f(0);
23538 return 0;
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func__log10f_use=yes
23543 else
23544 glibcxx_cv_func__log10f_use=no
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23558 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23560 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23561 for ac_func in _log10f
23562 do :
23563 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23564 if test "x$ac_cv_func__log10f" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE__LOG10F 1
23567 _ACEOF
23570 done
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23580 $as_echo_n "checking for modff declaration... " >&6; }
23581 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23582 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23583 $as_echo_n "(cached) " >&6
23584 else
23587 ac_ext=cpp
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h. */
23595 #include <math.h>
23597 main ()
23599 modff(0, 0);
23601 return 0;
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func_modff_use=yes
23606 else
23607 glibcxx_cv_func_modff_use=no
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23621 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23623 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23624 for ac_func in modff
23625 do :
23626 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23627 if test "x$ac_cv_func_modff" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE_MODFF 1
23630 _ACEOF
23633 done
23635 else
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23638 $as_echo_n "checking for _modff declaration... " >&6; }
23639 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23640 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23655 main ()
23657 _modff(0, 0);
23659 return 0;
23661 _ACEOF
23662 if ac_fn_cxx_try_compile "$LINENO"; then :
23663 glibcxx_cv_func__modff_use=yes
23664 else
23665 glibcxx_cv_func__modff_use=no
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23679 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23681 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23682 for ac_func in _modff
23683 do :
23684 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23685 if test "x$ac_cv_func__modff" = x""yes; then :
23686 cat >>confdefs.h <<_ACEOF
23687 #define HAVE__MODFF 1
23688 _ACEOF
23691 done
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23701 $as_echo_n "checking for modf declaration... " >&6; }
23702 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23703 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23705 else
23708 ac_ext=cpp
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23716 #include <math.h>
23718 main ()
23720 modf(0, 0);
23722 return 0;
23724 _ACEOF
23725 if ac_fn_cxx_try_compile "$LINENO"; then :
23726 glibcxx_cv_func_modf_use=yes
23727 else
23728 glibcxx_cv_func_modf_use=no
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 ac_ext=c
23732 ac_cpp='$CPP $CPPFLAGS'
23733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23742 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23744 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23745 for ac_func in modf
23746 do :
23747 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23748 if test "x$ac_cv_func_modf" = x""yes; then :
23749 cat >>confdefs.h <<_ACEOF
23750 #define HAVE_MODF 1
23751 _ACEOF
23754 done
23756 else
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23759 $as_echo_n "checking for _modf declaration... " >&6; }
23760 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23761 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23763 else
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774 #include <math.h>
23776 main ()
23778 _modf(0, 0);
23780 return 0;
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func__modf_use=yes
23785 else
23786 glibcxx_cv_func__modf_use=no
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23800 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23802 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23803 for ac_func in _modf
23804 do :
23805 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23806 if test "x$ac_cv_func__modf" = x""yes; then :
23807 cat >>confdefs.h <<_ACEOF
23808 #define HAVE__MODF 1
23809 _ACEOF
23812 done
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23822 $as_echo_n "checking for powf declaration... " >&6; }
23823 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23824 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23825 $as_echo_n "(cached) " >&6
23826 else
23829 ac_ext=cpp
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23836 /* end confdefs.h. */
23837 #include <math.h>
23839 main ()
23841 powf(0, 0);
23843 return 0;
23845 _ACEOF
23846 if ac_fn_cxx_try_compile "$LINENO"; then :
23847 glibcxx_cv_func_powf_use=yes
23848 else
23849 glibcxx_cv_func_powf_use=no
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 ac_ext=c
23853 ac_cpp='$CPP $CPPFLAGS'
23854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23863 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23865 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23866 for ac_func in powf
23867 do :
23868 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23869 if test "x$ac_cv_func_powf" = x""yes; then :
23870 cat >>confdefs.h <<_ACEOF
23871 #define HAVE_POWF 1
23872 _ACEOF
23875 done
23877 else
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23880 $as_echo_n "checking for _powf declaration... " >&6; }
23881 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23882 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23883 $as_echo_n "(cached) " >&6
23884 else
23887 ac_ext=cpp
23888 ac_cpp='$CXXCPP $CPPFLAGS'
23889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23895 #include <math.h>
23897 main ()
23899 _powf(0, 0);
23901 return 0;
23903 _ACEOF
23904 if ac_fn_cxx_try_compile "$LINENO"; then :
23905 glibcxx_cv_func__powf_use=yes
23906 else
23907 glibcxx_cv_func__powf_use=no
23909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 ac_ext=c
23911 ac_cpp='$CPP $CPPFLAGS'
23912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23921 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23923 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23924 for ac_func in _powf
23925 do :
23926 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23927 if test "x$ac_cv_func__powf" = x""yes; then :
23928 cat >>confdefs.h <<_ACEOF
23929 #define HAVE__POWF 1
23930 _ACEOF
23933 done
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23943 $as_echo_n "checking for sqrtf declaration... " >&6; }
23944 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23945 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23946 $as_echo_n "(cached) " >&6
23947 else
23950 ac_ext=cpp
23951 ac_cpp='$CXXCPP $CPPFLAGS'
23952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23957 /* end confdefs.h. */
23958 #include <math.h>
23959 #ifdef HAVE_IEEEFP_H
23960 #include <ieeefp.h>
23961 #endif
23964 main ()
23966 sqrtf(0);
23968 return 0;
23970 _ACEOF
23971 if ac_fn_cxx_try_compile "$LINENO"; then :
23972 glibcxx_cv_func_sqrtf_use=yes
23973 else
23974 glibcxx_cv_func_sqrtf_use=no
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 ac_ext=c
23978 ac_cpp='$CPP $CPPFLAGS'
23979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23988 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23990 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23991 for ac_func in sqrtf
23992 do :
23993 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23994 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23995 cat >>confdefs.h <<_ACEOF
23996 #define HAVE_SQRTF 1
23997 _ACEOF
24000 done
24002 else
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24005 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24006 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24007 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24008 $as_echo_n "(cached) " >&6
24009 else
24012 ac_ext=cpp
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24020 #include <math.h>
24021 #ifdef HAVE_IEEEFP_H
24022 #include <ieeefp.h>
24023 #endif
24026 main ()
24028 _sqrtf(0);
24030 return 0;
24032 _ACEOF
24033 if ac_fn_cxx_try_compile "$LINENO"; then :
24034 glibcxx_cv_func__sqrtf_use=yes
24035 else
24036 glibcxx_cv_func__sqrtf_use=no
24038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24039 ac_ext=c
24040 ac_cpp='$CPP $CPPFLAGS'
24041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24050 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24052 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24053 for ac_func in _sqrtf
24054 do :
24055 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24056 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24057 cat >>confdefs.h <<_ACEOF
24058 #define HAVE__SQRTF 1
24059 _ACEOF
24062 done
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24072 $as_echo_n "checking for sincosf declaration... " >&6; }
24073 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24074 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24075 $as_echo_n "(cached) " >&6
24076 else
24079 ac_ext=cpp
24080 ac_cpp='$CXXCPP $CPPFLAGS'
24081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24087 #include <math.h>
24089 main ()
24091 sincosf(0, 0, 0);
24093 return 0;
24095 _ACEOF
24096 if ac_fn_cxx_try_compile "$LINENO"; then :
24097 glibcxx_cv_func_sincosf_use=yes
24098 else
24099 glibcxx_cv_func_sincosf_use=no
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 ac_ext=c
24103 ac_cpp='$CPP $CPPFLAGS'
24104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24113 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24115 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24116 for ac_func in sincosf
24117 do :
24118 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24119 if test "x$ac_cv_func_sincosf" = x""yes; then :
24120 cat >>confdefs.h <<_ACEOF
24121 #define HAVE_SINCOSF 1
24122 _ACEOF
24125 done
24127 else
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24130 $as_echo_n "checking for _sincosf declaration... " >&6; }
24131 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24132 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24133 $as_echo_n "(cached) " >&6
24134 else
24137 ac_ext=cpp
24138 ac_cpp='$CXXCPP $CPPFLAGS'
24139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24144 /* end confdefs.h. */
24145 #include <math.h>
24147 main ()
24149 _sincosf(0, 0, 0);
24151 return 0;
24153 _ACEOF
24154 if ac_fn_cxx_try_compile "$LINENO"; then :
24155 glibcxx_cv_func__sincosf_use=yes
24156 else
24157 glibcxx_cv_func__sincosf_use=no
24159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24160 ac_ext=c
24161 ac_cpp='$CPP $CPPFLAGS'
24162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24171 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24173 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24174 for ac_func in _sincosf
24175 do :
24176 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24177 if test "x$ac_cv_func__sincosf" = x""yes; then :
24178 cat >>confdefs.h <<_ACEOF
24179 #define HAVE__SINCOSF 1
24180 _ACEOF
24183 done
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24193 $as_echo_n "checking for finitef declaration... " >&6; }
24194 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24195 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24196 $as_echo_n "(cached) " >&6
24197 else
24200 ac_ext=cpp
24201 ac_cpp='$CXXCPP $CPPFLAGS'
24202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24207 /* end confdefs.h. */
24208 #include <math.h>
24209 #ifdef HAVE_IEEEFP_H
24210 #include <ieeefp.h>
24211 #endif
24214 main ()
24216 finitef(0);
24218 return 0;
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func_finitef_use=yes
24223 else
24224 glibcxx_cv_func_finitef_use=no
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24238 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24240 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24241 for ac_func in finitef
24242 do :
24243 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24244 if test "x$ac_cv_func_finitef" = x""yes; then :
24245 cat >>confdefs.h <<_ACEOF
24246 #define HAVE_FINITEF 1
24247 _ACEOF
24250 done
24252 else
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24255 $as_echo_n "checking for _finitef declaration... " >&6; }
24256 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24257 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24271 #ifdef HAVE_IEEEFP_H
24272 #include <ieeefp.h>
24273 #endif
24276 main ()
24278 _finitef(0);
24280 return 0;
24282 _ACEOF
24283 if ac_fn_cxx_try_compile "$LINENO"; then :
24284 glibcxx_cv_func__finitef_use=yes
24285 else
24286 glibcxx_cv_func__finitef_use=no
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 ac_ext=c
24290 ac_cpp='$CPP $CPPFLAGS'
24291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24300 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24302 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24303 for ac_func in _finitef
24304 do :
24305 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24306 if test "x$ac_cv_func__finitef" = x""yes; then :
24307 cat >>confdefs.h <<_ACEOF
24308 #define HAVE__FINITEF 1
24309 _ACEOF
24312 done
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24322 $as_echo_n "checking for long double trig functions... " >&6; }
24323 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24324 $as_echo_n "(cached) " >&6
24325 else
24328 ac_ext=cpp
24329 ac_cpp='$CXXCPP $CPPFLAGS'
24330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24336 #include <math.h>
24338 main ()
24340 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24342 return 0;
24344 _ACEOF
24345 if ac_fn_cxx_try_compile "$LINENO"; then :
24346 glibcxx_cv_func_long_double_trig_use=yes
24347 else
24348 glibcxx_cv_func_long_double_trig_use=no
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24360 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24361 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24362 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24363 do :
24364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24366 eval as_val=\$$as_ac_var
24367 if test "x$as_val" = x""yes; then :
24368 cat >>confdefs.h <<_ACEOF
24369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24370 _ACEOF
24373 done
24375 else
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24377 $as_echo_n "checking for _long double trig functions... " >&6; }
24378 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24393 main ()
24395 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24397 return 0;
24399 _ACEOF
24400 if ac_fn_cxx_try_compile "$LINENO"; then :
24401 glibcxx_cv_func__long_double_trig_use=yes
24402 else
24403 glibcxx_cv_func__long_double_trig_use=no
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406 ac_ext=c
24407 ac_cpp='$CPP $CPPFLAGS'
24408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24415 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24416 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24417 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24418 do :
24419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24421 eval as_val=\$$as_ac_var
24422 if test "x$as_val" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24425 _ACEOF
24428 done
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24438 $as_echo_n "checking for long double round functions... " >&6; }
24439 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24440 $as_echo_n "(cached) " >&6
24441 else
24444 ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h. */
24452 #include <math.h>
24454 main ()
24456 ceill (0); floorl (0);
24458 return 0;
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_long_double_round_use=yes
24463 else
24464 glibcxx_cv_func_long_double_round_use=no
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24476 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24477 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24478 for ac_func in ceill floorl
24479 do :
24480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24482 eval as_val=\$$as_ac_var
24483 if test "x$as_val" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24486 _ACEOF
24489 done
24491 else
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24493 $as_echo_n "checking for _long double round functions... " >&6; }
24494 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24496 else
24499 ac_ext=cpp
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24506 /* end confdefs.h. */
24507 #include <math.h>
24509 main ()
24511 _ceill (0); _floorl (0);
24513 return 0;
24515 _ACEOF
24516 if ac_fn_cxx_try_compile "$LINENO"; then :
24517 glibcxx_cv_func__long_double_round_use=yes
24518 else
24519 glibcxx_cv_func__long_double_round_use=no
24521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24522 ac_ext=c
24523 ac_cpp='$CPP $CPPFLAGS'
24524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24531 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24532 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24533 for ac_func in _ceill _floorl
24534 do :
24535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24537 eval as_val=\$$as_ac_var
24538 if test "x$as_val" = x""yes; then :
24539 cat >>confdefs.h <<_ACEOF
24540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24541 _ACEOF
24544 done
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24555 $as_echo_n "checking for isnanl declaration... " >&6; }
24556 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24557 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24558 $as_echo_n "(cached) " >&6
24559 else
24562 ac_ext=cpp
24563 ac_cpp='$CXXCPP $CPPFLAGS'
24564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24569 /* end confdefs.h. */
24570 #include <math.h>
24571 #ifdef HAVE_IEEEFP_H
24572 #include <ieeefp.h>
24573 #endif
24576 main ()
24578 isnanl(0);
24580 return 0;
24582 _ACEOF
24583 if ac_fn_cxx_try_compile "$LINENO"; then :
24584 glibcxx_cv_func_isnanl_use=yes
24585 else
24586 glibcxx_cv_func_isnanl_use=no
24588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24589 ac_ext=c
24590 ac_cpp='$CPP $CPPFLAGS'
24591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24600 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24602 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24603 for ac_func in isnanl
24604 do :
24605 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24606 if test "x$ac_cv_func_isnanl" = x""yes; then :
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_ISNANL 1
24609 _ACEOF
24612 done
24614 else
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24617 $as_echo_n "checking for _isnanl declaration... " >&6; }
24618 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24619 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24620 $as_echo_n "(cached) " >&6
24621 else
24624 ac_ext=cpp
24625 ac_cpp='$CXXCPP $CPPFLAGS'
24626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24631 /* end confdefs.h. */
24632 #include <math.h>
24633 #ifdef HAVE_IEEEFP_H
24634 #include <ieeefp.h>
24635 #endif
24638 main ()
24640 _isnanl(0);
24642 return 0;
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func__isnanl_use=yes
24647 else
24648 glibcxx_cv_func__isnanl_use=no
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24662 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24664 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24665 for ac_func in _isnanl
24666 do :
24667 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24668 if test "x$ac_cv_func__isnanl" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE__ISNANL 1
24671 _ACEOF
24674 done
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24684 $as_echo_n "checking for isinfl declaration... " >&6; }
24685 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24686 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24687 $as_echo_n "(cached) " >&6
24688 else
24691 ac_ext=cpp
24692 ac_cpp='$CXXCPP $CPPFLAGS'
24693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24698 /* end confdefs.h. */
24699 #include <math.h>
24700 #ifdef HAVE_IEEEFP_H
24701 #include <ieeefp.h>
24702 #endif
24705 main ()
24707 isinfl(0);
24709 return 0;
24711 _ACEOF
24712 if ac_fn_cxx_try_compile "$LINENO"; then :
24713 glibcxx_cv_func_isinfl_use=yes
24714 else
24715 glibcxx_cv_func_isinfl_use=no
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 ac_ext=c
24719 ac_cpp='$CPP $CPPFLAGS'
24720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24729 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24731 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24732 for ac_func in isinfl
24733 do :
24734 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24735 if test "x$ac_cv_func_isinfl" = x""yes; then :
24736 cat >>confdefs.h <<_ACEOF
24737 #define HAVE_ISINFL 1
24738 _ACEOF
24741 done
24743 else
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24746 $as_echo_n "checking for _isinfl declaration... " >&6; }
24747 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24748 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24749 $as_echo_n "(cached) " >&6
24750 else
24753 ac_ext=cpp
24754 ac_cpp='$CXXCPP $CPPFLAGS'
24755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24761 #include <math.h>
24762 #ifdef HAVE_IEEEFP_H
24763 #include <ieeefp.h>
24764 #endif
24767 main ()
24769 _isinfl(0);
24771 return 0;
24773 _ACEOF
24774 if ac_fn_cxx_try_compile "$LINENO"; then :
24775 glibcxx_cv_func__isinfl_use=yes
24776 else
24777 glibcxx_cv_func__isinfl_use=no
24779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24780 ac_ext=c
24781 ac_cpp='$CPP $CPPFLAGS'
24782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24791 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24793 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24794 for ac_func in _isinfl
24795 do :
24796 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24797 if test "x$ac_cv_func__isinfl" = x""yes; then :
24798 cat >>confdefs.h <<_ACEOF
24799 #define HAVE__ISINFL 1
24800 _ACEOF
24803 done
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24813 $as_echo_n "checking for atan2l declaration... " >&6; }
24814 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24815 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24830 main ()
24832 atan2l(0, 0);
24834 return 0;
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func_atan2l_use=yes
24839 else
24840 glibcxx_cv_func_atan2l_use=no
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24854 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24856 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24857 for ac_func in atan2l
24858 do :
24859 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24860 if test "x$ac_cv_func_atan2l" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE_ATAN2L 1
24863 _ACEOF
24866 done
24868 else
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24871 $as_echo_n "checking for _atan2l declaration... " >&6; }
24872 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24873 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24874 $as_echo_n "(cached) " >&6
24875 else
24878 ac_ext=cpp
24879 ac_cpp='$CXXCPP $CPPFLAGS'
24880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24885 /* end confdefs.h. */
24886 #include <math.h>
24888 main ()
24890 _atan2l(0, 0);
24892 return 0;
24894 _ACEOF
24895 if ac_fn_cxx_try_compile "$LINENO"; then :
24896 glibcxx_cv_func__atan2l_use=yes
24897 else
24898 glibcxx_cv_func__atan2l_use=no
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901 ac_ext=c
24902 ac_cpp='$CPP $CPPFLAGS'
24903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24912 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24914 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24915 for ac_func in _atan2l
24916 do :
24917 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24918 if test "x$ac_cv_func__atan2l" = x""yes; then :
24919 cat >>confdefs.h <<_ACEOF
24920 #define HAVE__ATAN2L 1
24921 _ACEOF
24924 done
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24934 $as_echo_n "checking for expl declaration... " >&6; }
24935 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24936 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24950 #ifdef HAVE_IEEEFP_H
24951 #include <ieeefp.h>
24952 #endif
24955 main ()
24957 expl(0);
24959 return 0;
24961 _ACEOF
24962 if ac_fn_cxx_try_compile "$LINENO"; then :
24963 glibcxx_cv_func_expl_use=yes
24964 else
24965 glibcxx_cv_func_expl_use=no
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 ac_ext=c
24969 ac_cpp='$CPP $CPPFLAGS'
24970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24979 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24981 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24982 for ac_func in expl
24983 do :
24984 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24985 if test "x$ac_cv_func_expl" = x""yes; then :
24986 cat >>confdefs.h <<_ACEOF
24987 #define HAVE_EXPL 1
24988 _ACEOF
24991 done
24993 else
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24996 $as_echo_n "checking for _expl declaration... " >&6; }
24997 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24998 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25012 #ifdef HAVE_IEEEFP_H
25013 #include <ieeefp.h>
25014 #endif
25017 main ()
25019 _expl(0);
25021 return 0;
25023 _ACEOF
25024 if ac_fn_cxx_try_compile "$LINENO"; then :
25025 glibcxx_cv_func__expl_use=yes
25026 else
25027 glibcxx_cv_func__expl_use=no
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030 ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25041 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25043 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25044 for ac_func in _expl
25045 do :
25046 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25047 if test "x$ac_cv_func__expl" = x""yes; then :
25048 cat >>confdefs.h <<_ACEOF
25049 #define HAVE__EXPL 1
25050 _ACEOF
25053 done
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25063 $as_echo_n "checking for fabsl declaration... " >&6; }
25064 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25065 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25066 $as_echo_n "(cached) " >&6
25067 else
25070 ac_ext=cpp
25071 ac_cpp='$CXXCPP $CPPFLAGS'
25072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25077 /* end confdefs.h. */
25078 #include <math.h>
25079 #ifdef HAVE_IEEEFP_H
25080 #include <ieeefp.h>
25081 #endif
25084 main ()
25086 fabsl(0);
25088 return 0;
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092 glibcxx_cv_func_fabsl_use=yes
25093 else
25094 glibcxx_cv_func_fabsl_use=no
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097 ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25108 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25110 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25111 for ac_func in fabsl
25112 do :
25113 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25114 if test "x$ac_cv_func_fabsl" = x""yes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_FABSL 1
25117 _ACEOF
25120 done
25122 else
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25125 $as_echo_n "checking for _fabsl declaration... " >&6; }
25126 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25127 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25128 $as_echo_n "(cached) " >&6
25129 else
25132 ac_ext=cpp
25133 ac_cpp='$CXXCPP $CPPFLAGS'
25134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25139 /* end confdefs.h. */
25140 #include <math.h>
25141 #ifdef HAVE_IEEEFP_H
25142 #include <ieeefp.h>
25143 #endif
25146 main ()
25148 _fabsl(0);
25150 return 0;
25152 _ACEOF
25153 if ac_fn_cxx_try_compile "$LINENO"; then :
25154 glibcxx_cv_func__fabsl_use=yes
25155 else
25156 glibcxx_cv_func__fabsl_use=no
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25170 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25172 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25173 for ac_func in _fabsl
25174 do :
25175 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25176 if test "x$ac_cv_func__fabsl" = x""yes; then :
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE__FABSL 1
25179 _ACEOF
25182 done
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25192 $as_echo_n "checking for fmodl declaration... " >&6; }
25193 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25194 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25209 main ()
25211 fmodl(0, 0);
25213 return 0;
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func_fmodl_use=yes
25218 else
25219 glibcxx_cv_func_fmodl_use=no
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25233 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25235 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25236 for ac_func in fmodl
25237 do :
25238 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25239 if test "x$ac_cv_func_fmodl" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_FMODL 1
25242 _ACEOF
25245 done
25247 else
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25250 $as_echo_n "checking for _fmodl declaration... " >&6; }
25251 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25252 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25253 $as_echo_n "(cached) " >&6
25254 else
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265 #include <math.h>
25267 main ()
25269 _fmodl(0, 0);
25271 return 0;
25273 _ACEOF
25274 if ac_fn_cxx_try_compile "$LINENO"; then :
25275 glibcxx_cv_func__fmodl_use=yes
25276 else
25277 glibcxx_cv_func__fmodl_use=no
25279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25280 ac_ext=c
25281 ac_cpp='$CPP $CPPFLAGS'
25282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25291 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25293 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25294 for ac_func in _fmodl
25295 do :
25296 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25297 if test "x$ac_cv_func__fmodl" = x""yes; then :
25298 cat >>confdefs.h <<_ACEOF
25299 #define HAVE__FMODL 1
25300 _ACEOF
25303 done
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25313 $as_echo_n "checking for frexpl declaration... " >&6; }
25314 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25315 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25330 main ()
25332 frexpl(0, 0);
25334 return 0;
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func_frexpl_use=yes
25339 else
25340 glibcxx_cv_func_frexpl_use=no
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25354 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25356 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25357 for ac_func in frexpl
25358 do :
25359 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25360 if test "x$ac_cv_func_frexpl" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE_FREXPL 1
25363 _ACEOF
25366 done
25368 else
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25371 $as_echo_n "checking for _frexpl declaration... " >&6; }
25372 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25373 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25374 $as_echo_n "(cached) " >&6
25375 else
25378 ac_ext=cpp
25379 ac_cpp='$CXXCPP $CPPFLAGS'
25380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25385 /* end confdefs.h. */
25386 #include <math.h>
25388 main ()
25390 _frexpl(0, 0);
25392 return 0;
25394 _ACEOF
25395 if ac_fn_cxx_try_compile "$LINENO"; then :
25396 glibcxx_cv_func__frexpl_use=yes
25397 else
25398 glibcxx_cv_func__frexpl_use=no
25400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25401 ac_ext=c
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25412 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25414 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25415 for ac_func in _frexpl
25416 do :
25417 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25418 if test "x$ac_cv_func__frexpl" = x""yes; then :
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE__FREXPL 1
25421 _ACEOF
25424 done
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25434 $as_echo_n "checking for hypotl declaration... " >&6; }
25435 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25436 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25441 ac_ext=cpp
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25448 /* end confdefs.h. */
25449 #include <math.h>
25451 main ()
25453 hypotl(0, 0);
25455 return 0;
25457 _ACEOF
25458 if ac_fn_cxx_try_compile "$LINENO"; then :
25459 glibcxx_cv_func_hypotl_use=yes
25460 else
25461 glibcxx_cv_func_hypotl_use=no
25463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464 ac_ext=c
25465 ac_cpp='$CPP $CPPFLAGS'
25466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25475 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25477 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25478 for ac_func in hypotl
25479 do :
25480 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25481 if test "x$ac_cv_func_hypotl" = x""yes; then :
25482 cat >>confdefs.h <<_ACEOF
25483 #define HAVE_HYPOTL 1
25484 _ACEOF
25487 done
25489 else
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25492 $as_echo_n "checking for _hypotl declaration... " >&6; }
25493 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25494 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25495 $as_echo_n "(cached) " >&6
25496 else
25499 ac_ext=cpp
25500 ac_cpp='$CXXCPP $CPPFLAGS'
25501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25506 /* end confdefs.h. */
25507 #include <math.h>
25509 main ()
25511 _hypotl(0, 0);
25513 return 0;
25515 _ACEOF
25516 if ac_fn_cxx_try_compile "$LINENO"; then :
25517 glibcxx_cv_func__hypotl_use=yes
25518 else
25519 glibcxx_cv_func__hypotl_use=no
25521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25522 ac_ext=c
25523 ac_cpp='$CPP $CPPFLAGS'
25524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25533 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25535 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25536 for ac_func in _hypotl
25537 do :
25538 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25539 if test "x$ac_cv_func__hypotl" = x""yes; then :
25540 cat >>confdefs.h <<_ACEOF
25541 #define HAVE__HYPOTL 1
25542 _ACEOF
25545 done
25554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25555 $as_echo_n "checking for ldexpl declaration... " >&6; }
25556 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25557 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25558 $as_echo_n "(cached) " >&6
25559 else
25562 ac_ext=cpp
25563 ac_cpp='$CXXCPP $CPPFLAGS'
25564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25570 #include <math.h>
25572 main ()
25574 ldexpl(0, 0);
25576 return 0;
25578 _ACEOF
25579 if ac_fn_cxx_try_compile "$LINENO"; then :
25580 glibcxx_cv_func_ldexpl_use=yes
25581 else
25582 glibcxx_cv_func_ldexpl_use=no
25584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25596 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25598 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25599 for ac_func in ldexpl
25600 do :
25601 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25602 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25603 cat >>confdefs.h <<_ACEOF
25604 #define HAVE_LDEXPL 1
25605 _ACEOF
25608 done
25610 else
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25613 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25614 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25615 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25616 $as_echo_n "(cached) " >&6
25617 else
25620 ac_ext=cpp
25621 ac_cpp='$CXXCPP $CPPFLAGS'
25622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25627 /* end confdefs.h. */
25628 #include <math.h>
25630 main ()
25632 _ldexpl(0, 0);
25634 return 0;
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func__ldexpl_use=yes
25639 else
25640 glibcxx_cv_func__ldexpl_use=no
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25654 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25656 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25657 for ac_func in _ldexpl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25660 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE__LDEXPL 1
25663 _ACEOF
25666 done
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25676 $as_echo_n "checking for logl declaration... " >&6; }
25677 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25678 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25679 $as_echo_n "(cached) " >&6
25680 else
25683 ac_ext=cpp
25684 ac_cpp='$CXXCPP $CPPFLAGS'
25685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25690 /* end confdefs.h. */
25691 #include <math.h>
25692 #ifdef HAVE_IEEEFP_H
25693 #include <ieeefp.h>
25694 #endif
25697 main ()
25699 logl(0);
25701 return 0;
25703 _ACEOF
25704 if ac_fn_cxx_try_compile "$LINENO"; then :
25705 glibcxx_cv_func_logl_use=yes
25706 else
25707 glibcxx_cv_func_logl_use=no
25709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710 ac_ext=c
25711 ac_cpp='$CPP $CPPFLAGS'
25712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25721 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25723 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25724 for ac_func in logl
25725 do :
25726 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25727 if test "x$ac_cv_func_logl" = x""yes; then :
25728 cat >>confdefs.h <<_ACEOF
25729 #define HAVE_LOGL 1
25730 _ACEOF
25733 done
25735 else
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25738 $as_echo_n "checking for _logl declaration... " >&6; }
25739 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25740 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25759 main ()
25761 _logl(0);
25763 return 0;
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func__logl_use=yes
25768 else
25769 glibcxx_cv_func__logl_use=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25783 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25785 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25786 for ac_func in _logl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25789 if test "x$ac_cv_func__logl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE__LOGL 1
25792 _ACEOF
25795 done
25804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25805 $as_echo_n "checking for log10l declaration... " >&6; }
25806 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25807 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25808 $as_echo_n "(cached) " >&6
25809 else
25812 ac_ext=cpp
25813 ac_cpp='$CXXCPP $CPPFLAGS'
25814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25819 /* end confdefs.h. */
25820 #include <math.h>
25821 #ifdef HAVE_IEEEFP_H
25822 #include <ieeefp.h>
25823 #endif
25826 main ()
25828 log10l(0);
25830 return 0;
25832 _ACEOF
25833 if ac_fn_cxx_try_compile "$LINENO"; then :
25834 glibcxx_cv_func_log10l_use=yes
25835 else
25836 glibcxx_cv_func_log10l_use=no
25838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839 ac_ext=c
25840 ac_cpp='$CPP $CPPFLAGS'
25841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25850 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25852 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25853 for ac_func in log10l
25854 do :
25855 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25856 if test "x$ac_cv_func_log10l" = x""yes; then :
25857 cat >>confdefs.h <<_ACEOF
25858 #define HAVE_LOG10L 1
25859 _ACEOF
25862 done
25864 else
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25867 $as_echo_n "checking for _log10l declaration... " >&6; }
25868 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25869 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25883 #ifdef HAVE_IEEEFP_H
25884 #include <ieeefp.h>
25885 #endif
25888 main ()
25890 _log10l(0);
25892 return 0;
25894 _ACEOF
25895 if ac_fn_cxx_try_compile "$LINENO"; then :
25896 glibcxx_cv_func__log10l_use=yes
25897 else
25898 glibcxx_cv_func__log10l_use=no
25900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25912 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25914 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25915 for ac_func in _log10l
25916 do :
25917 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25918 if test "x$ac_cv_func__log10l" = x""yes; then :
25919 cat >>confdefs.h <<_ACEOF
25920 #define HAVE__LOG10L 1
25921 _ACEOF
25924 done
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25934 $as_echo_n "checking for modfl declaration... " >&6; }
25935 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25936 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25951 main ()
25953 modfl(0, 0);
25955 return 0;
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func_modfl_use=yes
25960 else
25961 glibcxx_cv_func_modfl_use=no
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25975 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25977 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25978 for ac_func in modfl
25979 do :
25980 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25981 if test "x$ac_cv_func_modfl" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE_MODFL 1
25984 _ACEOF
25987 done
25989 else
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25992 $as_echo_n "checking for _modfl declaration... " >&6; }
25993 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25994 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25995 $as_echo_n "(cached) " >&6
25996 else
25999 ac_ext=cpp
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26006 /* end confdefs.h. */
26007 #include <math.h>
26009 main ()
26011 _modfl(0, 0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func__modfl_use=yes
26018 else
26019 glibcxx_cv_func__modfl_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26033 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26035 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26036 for ac_func in _modfl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26039 if test "x$ac_cv_func__modfl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE__MODFL 1
26042 _ACEOF
26045 done
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26055 $as_echo_n "checking for powl declaration... " >&6; }
26056 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26057 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26058 $as_echo_n "(cached) " >&6
26059 else
26062 ac_ext=cpp
26063 ac_cpp='$CXXCPP $CPPFLAGS'
26064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26069 /* end confdefs.h. */
26070 #include <math.h>
26072 main ()
26074 powl(0, 0);
26076 return 0;
26078 _ACEOF
26079 if ac_fn_cxx_try_compile "$LINENO"; then :
26080 glibcxx_cv_func_powl_use=yes
26081 else
26082 glibcxx_cv_func_powl_use=no
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26085 ac_ext=c
26086 ac_cpp='$CPP $CPPFLAGS'
26087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26096 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26098 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26099 for ac_func in powl
26100 do :
26101 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26102 if test "x$ac_cv_func_powl" = x""yes; then :
26103 cat >>confdefs.h <<_ACEOF
26104 #define HAVE_POWL 1
26105 _ACEOF
26108 done
26110 else
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26113 $as_echo_n "checking for _powl declaration... " >&6; }
26114 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26115 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26116 $as_echo_n "(cached) " >&6
26117 else
26120 ac_ext=cpp
26121 ac_cpp='$CXXCPP $CPPFLAGS'
26122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26127 /* end confdefs.h. */
26128 #include <math.h>
26130 main ()
26132 _powl(0, 0);
26134 return 0;
26136 _ACEOF
26137 if ac_fn_cxx_try_compile "$LINENO"; then :
26138 glibcxx_cv_func__powl_use=yes
26139 else
26140 glibcxx_cv_func__powl_use=no
26142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26143 ac_ext=c
26144 ac_cpp='$CPP $CPPFLAGS'
26145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26154 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26156 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26157 for ac_func in _powl
26158 do :
26159 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26160 if test "x$ac_cv_func__powl" = x""yes; then :
26161 cat >>confdefs.h <<_ACEOF
26162 #define HAVE__POWL 1
26163 _ACEOF
26166 done
26175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26176 $as_echo_n "checking for sqrtl declaration... " >&6; }
26177 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26178 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26179 $as_echo_n "(cached) " >&6
26180 else
26183 ac_ext=cpp
26184 ac_cpp='$CXXCPP $CPPFLAGS'
26185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26191 #include <math.h>
26192 #ifdef HAVE_IEEEFP_H
26193 #include <ieeefp.h>
26194 #endif
26197 main ()
26199 sqrtl(0);
26201 return 0;
26203 _ACEOF
26204 if ac_fn_cxx_try_compile "$LINENO"; then :
26205 glibcxx_cv_func_sqrtl_use=yes
26206 else
26207 glibcxx_cv_func_sqrtl_use=no
26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26210 ac_ext=c
26211 ac_cpp='$CPP $CPPFLAGS'
26212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26221 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26223 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26224 for ac_func in sqrtl
26225 do :
26226 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26227 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26228 cat >>confdefs.h <<_ACEOF
26229 #define HAVE_SQRTL 1
26230 _ACEOF
26233 done
26235 else
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26238 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26239 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26240 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26245 ac_ext=cpp
26246 ac_cpp='$CXXCPP $CPPFLAGS'
26247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253 #include <math.h>
26254 #ifdef HAVE_IEEEFP_H
26255 #include <ieeefp.h>
26256 #endif
26259 main ()
26261 _sqrtl(0);
26263 return 0;
26265 _ACEOF
26266 if ac_fn_cxx_try_compile "$LINENO"; then :
26267 glibcxx_cv_func__sqrtl_use=yes
26268 else
26269 glibcxx_cv_func__sqrtl_use=no
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26283 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26285 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26286 for ac_func in _sqrtl
26287 do :
26288 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26289 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26290 cat >>confdefs.h <<_ACEOF
26291 #define HAVE__SQRTL 1
26292 _ACEOF
26295 done
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26305 $as_echo_n "checking for sincosl declaration... " >&6; }
26306 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26307 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26308 $as_echo_n "(cached) " >&6
26309 else
26312 ac_ext=cpp
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26320 #include <math.h>
26322 main ()
26324 sincosl(0, 0, 0);
26326 return 0;
26328 _ACEOF
26329 if ac_fn_cxx_try_compile "$LINENO"; then :
26330 glibcxx_cv_func_sincosl_use=yes
26331 else
26332 glibcxx_cv_func_sincosl_use=no
26334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26335 ac_ext=c
26336 ac_cpp='$CPP $CPPFLAGS'
26337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26346 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26348 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26349 for ac_func in sincosl
26350 do :
26351 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26352 if test "x$ac_cv_func_sincosl" = x""yes; then :
26353 cat >>confdefs.h <<_ACEOF
26354 #define HAVE_SINCOSL 1
26355 _ACEOF
26358 done
26360 else
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26363 $as_echo_n "checking for _sincosl declaration... " >&6; }
26364 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26365 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26370 ac_ext=cpp
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378 #include <math.h>
26380 main ()
26382 _sincosl(0, 0, 0);
26384 return 0;
26386 _ACEOF
26387 if ac_fn_cxx_try_compile "$LINENO"; then :
26388 glibcxx_cv_func__sincosl_use=yes
26389 else
26390 glibcxx_cv_func__sincosl_use=no
26392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26393 ac_ext=c
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26404 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26406 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26407 for ac_func in _sincosl
26408 do :
26409 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26410 if test "x$ac_cv_func__sincosl" = x""yes; then :
26411 cat >>confdefs.h <<_ACEOF
26412 #define HAVE__SINCOSL 1
26413 _ACEOF
26416 done
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26426 $as_echo_n "checking for finitel declaration... " >&6; }
26427 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26428 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26429 $as_echo_n "(cached) " >&6
26430 else
26433 ac_ext=cpp
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26441 #include <math.h>
26442 #ifdef HAVE_IEEEFP_H
26443 #include <ieeefp.h>
26444 #endif
26447 main ()
26449 finitel(0);
26451 return 0;
26453 _ACEOF
26454 if ac_fn_cxx_try_compile "$LINENO"; then :
26455 glibcxx_cv_func_finitel_use=yes
26456 else
26457 glibcxx_cv_func_finitel_use=no
26459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26460 ac_ext=c
26461 ac_cpp='$CPP $CPPFLAGS'
26462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26471 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26473 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26474 for ac_func in finitel
26475 do :
26476 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26477 if test "x$ac_cv_func_finitel" = x""yes; then :
26478 cat >>confdefs.h <<_ACEOF
26479 #define HAVE_FINITEL 1
26480 _ACEOF
26483 done
26485 else
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26488 $as_echo_n "checking for _finitel declaration... " >&6; }
26489 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26490 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 #ifdef HAVE_IEEEFP_H
26505 #include <ieeefp.h>
26506 #endif
26509 main ()
26511 _finitel(0);
26513 return 0;
26515 _ACEOF
26516 if ac_fn_cxx_try_compile "$LINENO"; then :
26517 glibcxx_cv_func__finitel_use=yes
26518 else
26519 glibcxx_cv_func__finitel_use=no
26521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_ext=c
26523 ac_cpp='$CPP $CPPFLAGS'
26524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26533 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26535 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26536 for ac_func in _finitel
26537 do :
26538 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26539 if test "x$ac_cv_func__finitel" = x""yes; then :
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE__FINITEL 1
26542 _ACEOF
26545 done
26553 LIBS="$ac_save_LIBS"
26554 CXXFLAGS="$ac_save_CXXFLAGS"
26557 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26558 ac_save_CXXFLAGS="$CXXFLAGS"
26559 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26563 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26564 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26565 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26566 $as_echo_n "(cached) " >&6
26567 else
26570 ac_ext=cpp
26571 ac_cpp='$CXXCPP $CPPFLAGS'
26572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26577 /* end confdefs.h. */
26578 #include <stdlib.h>
26580 main ()
26582 at_quick_exit(0);
26584 return 0;
26586 _ACEOF
26587 if ac_fn_cxx_try_compile "$LINENO"; then :
26588 glibcxx_cv_func_at_quick_exit_use=yes
26589 else
26590 glibcxx_cv_func_at_quick_exit_use=no
26592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26593 ac_ext=c
26594 ac_cpp='$CPP $CPPFLAGS'
26595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26604 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26605 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26606 for ac_func in at_quick_exit
26607 do :
26608 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26609 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26610 cat >>confdefs.h <<_ACEOF
26611 #define HAVE_AT_QUICK_EXIT 1
26612 _ACEOF
26615 done
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26621 $as_echo_n "checking for quick_exit declaration... " >&6; }
26622 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26623 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26624 $as_echo_n "(cached) " >&6
26625 else
26628 ac_ext=cpp
26629 ac_cpp='$CXXCPP $CPPFLAGS'
26630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26635 /* end confdefs.h. */
26636 #include <stdlib.h>
26638 main ()
26640 quick_exit(0);
26642 return 0;
26644 _ACEOF
26645 if ac_fn_cxx_try_compile "$LINENO"; then :
26646 glibcxx_cv_func_quick_exit_use=yes
26647 else
26648 glibcxx_cv_func_quick_exit_use=no
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 ac_ext=c
26652 ac_cpp='$CPP $CPPFLAGS'
26653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26662 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26663 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26664 for ac_func in quick_exit
26665 do :
26666 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26667 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26668 cat >>confdefs.h <<_ACEOF
26669 #define HAVE_QUICK_EXIT 1
26670 _ACEOF
26673 done
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26679 $as_echo_n "checking for strtold declaration... " >&6; }
26680 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26681 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26682 $as_echo_n "(cached) " >&6
26683 else
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 /* end confdefs.h. */
26694 #include <stdlib.h>
26696 main ()
26698 strtold(0, 0);
26700 return 0;
26702 _ACEOF
26703 if ac_fn_cxx_try_compile "$LINENO"; then :
26704 glibcxx_cv_func_strtold_use=yes
26705 else
26706 glibcxx_cv_func_strtold_use=no
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 ac_ext=c
26710 ac_cpp='$CPP $CPPFLAGS'
26711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26720 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26721 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26722 for ac_func in strtold
26723 do :
26724 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26725 if test "x$ac_cv_func_strtold" = x""yes; then :
26726 cat >>confdefs.h <<_ACEOF
26727 #define HAVE_STRTOLD 1
26728 _ACEOF
26731 done
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26739 $as_echo_n "checking for strtof declaration... " >&6; }
26740 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26741 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <stdlib.h>
26756 main ()
26758 strtof(0, 0);
26760 return 0;
26762 _ACEOF
26763 if ac_fn_cxx_try_compile "$LINENO"; then :
26764 glibcxx_cv_func_strtof_use=yes
26765 else
26766 glibcxx_cv_func_strtof_use=no
26768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26769 ac_ext=c
26770 ac_cpp='$CPP $CPPFLAGS'
26771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26780 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26781 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26782 for ac_func in strtof
26783 do :
26784 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26785 if test "x$ac_cv_func_strtof" = x""yes; then :
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_STRTOF 1
26788 _ACEOF
26791 done
26798 CXXFLAGS="$ac_save_CXXFLAGS"
26801 # For /dev/random and /dev/urandom for TR1.
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26805 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26806 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26807 $as_echo_n "(cached) " >&6
26808 else
26810 if test -r /dev/random && test -r /dev/urandom; then
26811 ## For MSys environment the test above is detect as false-positive
26812 ## on mingw-targets. So disable it explicit for them.
26813 case ${target_os} in
26814 *mingw*) glibcxx_cv_random_tr1=no ;;
26815 *) glibcxx_cv_random_tr1=yes ;;
26816 esac
26817 else
26818 glibcxx_cv_random_tr1=no;
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26824 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26826 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26828 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26834 # For TLS support.
26837 # Check whether --enable-tls was given.
26838 if test "${enable_tls+set}" = set; then :
26839 enableval=$enable_tls;
26840 case "$enableval" in
26841 yes|no) ;;
26842 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26843 esac
26845 else
26846 enable_tls=yes
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26851 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26852 if test "${gcc_cv_have_tls+set}" = set; then :
26853 $as_echo_n "(cached) " >&6
26854 else
26856 if test "$cross_compiling" = yes; then :
26857 if test x$gcc_no_link = xyes; then
26858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26861 /* end confdefs.h. */
26862 __thread int a; int b; int main() { return a = b; }
26863 _ACEOF
26864 if ac_fn_c_try_link "$LINENO"; then :
26865 chktls_save_LDFLAGS="$LDFLAGS"
26866 case $host in
26867 *-*-linux*)
26868 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26870 esac
26871 chktls_save_CFLAGS="$CFLAGS"
26872 CFLAGS="-fPIC $CFLAGS"
26873 if test x$gcc_no_link = xyes; then
26874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 int f() { return 0; }
26879 _ACEOF
26880 if ac_fn_c_try_link "$LINENO"; then :
26881 if test x$gcc_no_link = xyes; then
26882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26885 /* end confdefs.h. */
26886 __thread int a; int b; int f() { return a = b; }
26887 _ACEOF
26888 if ac_fn_c_try_link "$LINENO"; then :
26889 gcc_cv_have_tls=yes
26890 else
26891 gcc_cv_have_tls=no
26893 rm -f core conftest.err conftest.$ac_objext \
26894 conftest$ac_exeext conftest.$ac_ext
26895 else
26896 gcc_cv_have_tls=yes
26898 rm -f core conftest.err conftest.$ac_objext \
26899 conftest$ac_exeext conftest.$ac_ext
26900 CFLAGS="$chktls_save_CFLAGS"
26901 LDFLAGS="$chktls_save_LDFLAGS"
26902 else
26903 gcc_cv_have_tls=no
26905 rm -f core conftest.err conftest.$ac_objext \
26906 conftest$ac_exeext conftest.$ac_ext
26909 else
26910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26911 /* end confdefs.h. */
26912 __thread int a; int b; int main() { return a = b; }
26913 _ACEOF
26914 if ac_fn_c_try_run "$LINENO"; then :
26915 chktls_save_LDFLAGS="$LDFLAGS"
26916 LDFLAGS="-static $LDFLAGS"
26917 if test x$gcc_no_link = xyes; then
26918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26922 int main() { return 0; }
26923 _ACEOF
26924 if ac_fn_c_try_link "$LINENO"; then :
26925 if test "$cross_compiling" = yes; then :
26926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26928 as_fn_error "cannot run test program while cross compiling
26929 See \`config.log' for more details." "$LINENO" 5; }
26930 else
26931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26932 /* end confdefs.h. */
26933 __thread int a; int b; int main() { return a = b; }
26934 _ACEOF
26935 if ac_fn_c_try_run "$LINENO"; then :
26936 gcc_cv_have_tls=yes
26937 else
26938 gcc_cv_have_tls=no
26940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26941 conftest.$ac_objext conftest.beam conftest.$ac_ext
26944 else
26945 gcc_cv_have_tls=yes
26947 rm -f core conftest.err conftest.$ac_objext \
26948 conftest$ac_exeext conftest.$ac_ext
26949 LDFLAGS="$chktls_save_LDFLAGS"
26950 if test $gcc_cv_have_tls = yes; then
26951 chktls_save_CFLAGS="$CFLAGS"
26952 thread_CFLAGS=failed
26953 for flag in '' '-pthread' '-lpthread'; do
26954 CFLAGS="$flag $chktls_save_CFLAGS"
26955 if test x$gcc_no_link = xyes; then
26956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h. */
26960 #include <pthread.h>
26961 void *g(void *d) { return NULL; }
26963 main ()
26965 pthread_t t; pthread_create(&t,NULL,g,NULL);
26967 return 0;
26969 _ACEOF
26970 if ac_fn_c_try_link "$LINENO"; then :
26971 thread_CFLAGS="$flag"
26973 rm -f core conftest.err conftest.$ac_objext \
26974 conftest$ac_exeext conftest.$ac_ext
26975 if test "X$thread_CFLAGS" != Xfailed; then
26976 break
26978 done
26979 CFLAGS="$chktls_save_CFLAGS"
26980 if test "X$thread_CFLAGS" != Xfailed; then
26981 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26982 if test "$cross_compiling" = yes; then :
26983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26985 as_fn_error "cannot run test program while cross compiling
26986 See \`config.log' for more details." "$LINENO" 5; }
26987 else
26988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26989 /* end confdefs.h. */
26990 #include <pthread.h>
26991 __thread int a;
26992 static int *volatile a_in_other_thread;
26993 static void *
26994 thread_func (void *arg)
26996 a_in_other_thread = &a;
26997 return (void *)0;
27000 main ()
27002 pthread_t thread;
27003 void *thread_retval;
27004 int *volatile a_in_main_thread;
27005 a_in_main_thread = &a;
27006 if (pthread_create (&thread, (pthread_attr_t *)0,
27007 thread_func, (void *)0))
27008 return 0;
27009 if (pthread_join (thread, &thread_retval))
27010 return 0;
27011 return (a_in_other_thread == a_in_main_thread);
27013 return 0;
27015 _ACEOF
27016 if ac_fn_c_try_run "$LINENO"; then :
27017 gcc_cv_have_tls=yes
27018 else
27019 gcc_cv_have_tls=no
27021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27022 conftest.$ac_objext conftest.beam conftest.$ac_ext
27025 CFLAGS="$chktls_save_CFLAGS"
27028 else
27029 gcc_cv_have_tls=no
27031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27032 conftest.$ac_objext conftest.beam conftest.$ac_ext
27036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27037 $as_echo "$gcc_cv_have_tls" >&6; }
27038 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27040 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27044 for ac_func in __cxa_thread_atexit_impl
27045 do :
27046 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27047 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27048 cat >>confdefs.h <<_ACEOF
27049 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27050 _ACEOF
27053 done
27056 # For iconv support.
27058 if test "X$prefix" = "XNONE"; then
27059 acl_final_prefix="$ac_default_prefix"
27060 else
27061 acl_final_prefix="$prefix"
27063 if test "X$exec_prefix" = "XNONE"; then
27064 acl_final_exec_prefix='${prefix}'
27065 else
27066 acl_final_exec_prefix="$exec_prefix"
27068 acl_save_prefix="$prefix"
27069 prefix="$acl_final_prefix"
27070 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27071 prefix="$acl_save_prefix"
27074 # Check whether --with-gnu-ld was given.
27075 if test "${with_gnu_ld+set}" = set; then :
27076 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27077 else
27078 with_gnu_ld=no
27081 # Prepare PATH_SEPARATOR.
27082 # The user is always right.
27083 if test "${PATH_SEPARATOR+set}" != set; then
27084 echo "#! /bin/sh" >conf$$.sh
27085 echo "exit 0" >>conf$$.sh
27086 chmod +x conf$$.sh
27087 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27088 PATH_SEPARATOR=';'
27089 else
27090 PATH_SEPARATOR=:
27092 rm -f conf$$.sh
27094 ac_prog=ld
27095 if test "$GCC" = yes; then
27096 # Check if gcc -print-prog-name=ld gives a path.
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27098 $as_echo_n "checking for ld used by GCC... " >&6; }
27099 case $host in
27100 *-*-mingw*)
27101 # gcc leaves a trailing carriage return which upsets mingw
27102 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27104 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27105 esac
27106 case $ac_prog in
27107 # Accept absolute paths.
27108 [\\/]* | [A-Za-z]:[\\/]*)
27109 re_direlt='/[^/][^/]*/\.\./'
27110 # Canonicalize the path of ld
27111 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27112 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27113 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27114 done
27115 test -z "$LD" && LD="$ac_prog"
27118 # If it fails, then pretend we aren't using GCC.
27119 ac_prog=ld
27122 # If it is relative, then search for the first ld in PATH.
27123 with_gnu_ld=unknown
27125 esac
27126 elif test "$with_gnu_ld" = yes; then
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27128 $as_echo_n "checking for GNU ld... " >&6; }
27129 else
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27131 $as_echo_n "checking for non-GNU ld... " >&6; }
27133 if test "${acl_cv_path_LD+set}" = set; then :
27134 $as_echo_n "(cached) " >&6
27135 else
27136 if test -z "$LD"; then
27137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27138 for ac_dir in $PATH; do
27139 test -z "$ac_dir" && ac_dir=.
27140 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27141 acl_cv_path_LD="$ac_dir/$ac_prog"
27142 # Check to see if the program is GNU ld. I'd rather use --version,
27143 # but apparently some GNU ld's only accept -v.
27144 # Break only if it was the GNU/non-GNU ld that we prefer.
27145 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27146 test "$with_gnu_ld" != no && break
27147 else
27148 test "$with_gnu_ld" != yes && break
27151 done
27152 IFS="$ac_save_ifs"
27153 else
27154 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27158 LD="$acl_cv_path_LD"
27159 if test -n "$LD"; then
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27161 $as_echo "$LD" >&6; }
27162 else
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27164 $as_echo "no" >&6; }
27166 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27169 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27172 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27173 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27174 acl_cv_prog_gnu_ld=yes
27175 else
27176 acl_cv_prog_gnu_ld=no
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27180 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27181 with_gnu_ld=$acl_cv_prog_gnu_ld
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27186 $as_echo_n "checking for shared library run path origin... " >&6; }
27187 if test "${acl_cv_rpath+set}" = set; then :
27188 $as_echo_n "(cached) " >&6
27189 else
27191 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27192 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27193 . ./conftest.sh
27194 rm -f ./conftest.sh
27195 acl_cv_rpath=done
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27199 $as_echo "$acl_cv_rpath" >&6; }
27200 wl="$acl_cv_wl"
27201 libext="$acl_cv_libext"
27202 shlibext="$acl_cv_shlibext"
27203 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27204 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27205 hardcode_direct="$acl_cv_hardcode_direct"
27206 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27207 # Check whether --enable-rpath was given.
27208 if test "${enable_rpath+set}" = set; then :
27209 enableval=$enable_rpath; :
27210 else
27211 enable_rpath=yes
27221 use_additional=yes
27223 acl_save_prefix="$prefix"
27224 prefix="$acl_final_prefix"
27225 acl_save_exec_prefix="$exec_prefix"
27226 exec_prefix="$acl_final_exec_prefix"
27228 eval additional_includedir=\"$includedir\"
27229 eval additional_libdir=\"$libdir\"
27231 exec_prefix="$acl_save_exec_prefix"
27232 prefix="$acl_save_prefix"
27235 # Check whether --with-libiconv-prefix was given.
27236 if test "${with_libiconv_prefix+set}" = set; then :
27237 withval=$with_libiconv_prefix;
27238 if test "X$withval" = "Xno"; then
27239 use_additional=no
27240 else
27241 if test "X$withval" = "X"; then
27243 acl_save_prefix="$prefix"
27244 prefix="$acl_final_prefix"
27245 acl_save_exec_prefix="$exec_prefix"
27246 exec_prefix="$acl_final_exec_prefix"
27248 eval additional_includedir=\"$includedir\"
27249 eval additional_libdir=\"$libdir\"
27251 exec_prefix="$acl_save_exec_prefix"
27252 prefix="$acl_save_prefix"
27254 else
27255 additional_includedir="$withval/include"
27256 additional_libdir="$withval/lib"
27262 LIBICONV=
27263 LTLIBICONV=
27264 INCICONV=
27265 rpathdirs=
27266 ltrpathdirs=
27267 names_already_handled=
27268 names_next_round='iconv '
27269 while test -n "$names_next_round"; do
27270 names_this_round="$names_next_round"
27271 names_next_round=
27272 for name in $names_this_round; do
27273 already_handled=
27274 for n in $names_already_handled; do
27275 if test "$n" = "$name"; then
27276 already_handled=yes
27277 break
27279 done
27280 if test -z "$already_handled"; then
27281 names_already_handled="$names_already_handled $name"
27282 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27283 eval value=\"\$HAVE_LIB$uppername\"
27284 if test -n "$value"; then
27285 if test "$value" = yes; then
27286 eval value=\"\$LIB$uppername\"
27287 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27288 eval value=\"\$LTLIB$uppername\"
27289 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27290 else
27293 else
27294 found_dir=
27295 found_la=
27296 found_so=
27297 found_a=
27298 if test $use_additional = yes; then
27299 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27300 found_dir="$additional_libdir"
27301 found_so="$additional_libdir/lib$name.$shlibext"
27302 if test -f "$additional_libdir/lib$name.la"; then
27303 found_la="$additional_libdir/lib$name.la"
27305 else
27306 if test -f "$additional_libdir/lib$name.$libext"; then
27307 found_dir="$additional_libdir"
27308 found_a="$additional_libdir/lib$name.$libext"
27309 if test -f "$additional_libdir/lib$name.la"; then
27310 found_la="$additional_libdir/lib$name.la"
27315 if test "X$found_dir" = "X"; then
27316 for x in $LDFLAGS $LTLIBICONV; do
27318 acl_save_prefix="$prefix"
27319 prefix="$acl_final_prefix"
27320 acl_save_exec_prefix="$exec_prefix"
27321 exec_prefix="$acl_final_exec_prefix"
27322 eval x=\"$x\"
27323 exec_prefix="$acl_save_exec_prefix"
27324 prefix="$acl_save_prefix"
27326 case "$x" in
27327 -L*)
27328 dir=`echo "X$x" | sed -e 's/^X-L//'`
27329 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27330 found_dir="$dir"
27331 found_so="$dir/lib$name.$shlibext"
27332 if test -f "$dir/lib$name.la"; then
27333 found_la="$dir/lib$name.la"
27335 else
27336 if test -f "$dir/lib$name.$libext"; then
27337 found_dir="$dir"
27338 found_a="$dir/lib$name.$libext"
27339 if test -f "$dir/lib$name.la"; then
27340 found_la="$dir/lib$name.la"
27345 esac
27346 if test "X$found_dir" != "X"; then
27347 break
27349 done
27351 if test "X$found_dir" != "X"; then
27352 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27353 if test "X$found_so" != "X"; then
27354 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27355 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27356 else
27357 haveit=
27358 for x in $ltrpathdirs; do
27359 if test "X$x" = "X$found_dir"; then
27360 haveit=yes
27361 break
27363 done
27364 if test -z "$haveit"; then
27365 ltrpathdirs="$ltrpathdirs $found_dir"
27367 if test "$hardcode_direct" = yes; then
27368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27369 else
27370 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27372 haveit=
27373 for x in $rpathdirs; do
27374 if test "X$x" = "X$found_dir"; then
27375 haveit=yes
27376 break
27378 done
27379 if test -z "$haveit"; then
27380 rpathdirs="$rpathdirs $found_dir"
27382 else
27383 haveit=
27384 for x in $LDFLAGS $LIBICONV; do
27386 acl_save_prefix="$prefix"
27387 prefix="$acl_final_prefix"
27388 acl_save_exec_prefix="$exec_prefix"
27389 exec_prefix="$acl_final_exec_prefix"
27390 eval x=\"$x\"
27391 exec_prefix="$acl_save_exec_prefix"
27392 prefix="$acl_save_prefix"
27394 if test "X$x" = "X-L$found_dir"; then
27395 haveit=yes
27396 break
27398 done
27399 if test -z "$haveit"; then
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27402 if test "$hardcode_minus_L" != no; then
27403 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27404 else
27405 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27410 else
27411 if test "X$found_a" != "X"; then
27412 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27413 else
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27417 additional_includedir=
27418 case "$found_dir" in
27419 */lib | */lib/)
27420 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27421 additional_includedir="$basedir/include"
27423 esac
27424 if test "X$additional_includedir" != "X"; then
27425 if test "X$additional_includedir" != "X/usr/include"; then
27426 haveit=
27427 if test "X$additional_includedir" = "X/usr/local/include"; then
27428 if test -n "$GCC"; then
27429 case $host_os in
27430 linux*) haveit=yes;;
27431 esac
27434 if test -z "$haveit"; then
27435 for x in $CPPFLAGS $INCICONV; do
27437 acl_save_prefix="$prefix"
27438 prefix="$acl_final_prefix"
27439 acl_save_exec_prefix="$exec_prefix"
27440 exec_prefix="$acl_final_exec_prefix"
27441 eval x=\"$x\"
27442 exec_prefix="$acl_save_exec_prefix"
27443 prefix="$acl_save_prefix"
27445 if test "X$x" = "X-I$additional_includedir"; then
27446 haveit=yes
27447 break
27449 done
27450 if test -z "$haveit"; then
27451 if test -d "$additional_includedir"; then
27452 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27458 if test -n "$found_la"; then
27459 save_libdir="$libdir"
27460 case "$found_la" in
27461 */* | *\\*) . "$found_la" ;;
27462 *) . "./$found_la" ;;
27463 esac
27464 libdir="$save_libdir"
27465 for dep in $dependency_libs; do
27466 case "$dep" in
27467 -L*)
27468 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27469 if test "X$additional_libdir" != "X/usr/lib"; then
27470 haveit=
27471 if test "X$additional_libdir" = "X/usr/local/lib"; then
27472 if test -n "$GCC"; then
27473 case $host_os in
27474 linux*) haveit=yes;;
27475 esac
27478 if test -z "$haveit"; then
27479 haveit=
27480 for x in $LDFLAGS $LIBICONV; do
27482 acl_save_prefix="$prefix"
27483 prefix="$acl_final_prefix"
27484 acl_save_exec_prefix="$exec_prefix"
27485 exec_prefix="$acl_final_exec_prefix"
27486 eval x=\"$x\"
27487 exec_prefix="$acl_save_exec_prefix"
27488 prefix="$acl_save_prefix"
27490 if test "X$x" = "X-L$additional_libdir"; then
27491 haveit=yes
27492 break
27494 done
27495 if test -z "$haveit"; then
27496 if test -d "$additional_libdir"; then
27497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27500 haveit=
27501 for x in $LDFLAGS $LTLIBICONV; do
27503 acl_save_prefix="$prefix"
27504 prefix="$acl_final_prefix"
27505 acl_save_exec_prefix="$exec_prefix"
27506 exec_prefix="$acl_final_exec_prefix"
27507 eval x=\"$x\"
27508 exec_prefix="$acl_save_exec_prefix"
27509 prefix="$acl_save_prefix"
27511 if test "X$x" = "X-L$additional_libdir"; then
27512 haveit=yes
27513 break
27515 done
27516 if test -z "$haveit"; then
27517 if test -d "$additional_libdir"; then
27518 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27524 -R*)
27525 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27526 if test "$enable_rpath" != no; then
27527 haveit=
27528 for x in $rpathdirs; do
27529 if test "X$x" = "X$dir"; then
27530 haveit=yes
27531 break
27533 done
27534 if test -z "$haveit"; then
27535 rpathdirs="$rpathdirs $dir"
27537 haveit=
27538 for x in $ltrpathdirs; do
27539 if test "X$x" = "X$dir"; then
27540 haveit=yes
27541 break
27543 done
27544 if test -z "$haveit"; then
27545 ltrpathdirs="$ltrpathdirs $dir"
27549 -l*)
27550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27552 *.la)
27553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27556 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27559 esac
27560 done
27562 else
27563 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27564 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27568 done
27569 done
27570 if test "X$rpathdirs" != "X"; then
27571 if test -n "$hardcode_libdir_separator"; then
27572 alldirs=
27573 for found_dir in $rpathdirs; do
27574 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27575 done
27576 acl_save_libdir="$libdir"
27577 libdir="$alldirs"
27578 eval flag=\"$hardcode_libdir_flag_spec\"
27579 libdir="$acl_save_libdir"
27580 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27581 else
27582 for found_dir in $rpathdirs; do
27583 acl_save_libdir="$libdir"
27584 libdir="$found_dir"
27585 eval flag=\"$hardcode_libdir_flag_spec\"
27586 libdir="$acl_save_libdir"
27587 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27588 done
27591 if test "X$ltrpathdirs" != "X"; then
27592 for found_dir in $ltrpathdirs; do
27593 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27594 done
27603 am_save_CPPFLAGS="$CPPFLAGS"
27605 for element in $INCICONV; do
27606 haveit=
27607 for x in $CPPFLAGS; do
27609 acl_save_prefix="$prefix"
27610 prefix="$acl_final_prefix"
27611 acl_save_exec_prefix="$exec_prefix"
27612 exec_prefix="$acl_final_exec_prefix"
27613 eval x=\"$x\"
27614 exec_prefix="$acl_save_exec_prefix"
27615 prefix="$acl_save_prefix"
27617 if test "X$x" = "X$element"; then
27618 haveit=yes
27619 break
27621 done
27622 if test -z "$haveit"; then
27623 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27625 done
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27629 $as_echo_n "checking for iconv... " >&6; }
27630 if test "${am_cv_func_iconv+set}" = set; then :
27631 $as_echo_n "(cached) " >&6
27632 else
27634 am_cv_func_iconv="no, consider installing GNU libiconv"
27635 am_cv_lib_iconv=no
27636 if test x$gcc_no_link = xyes; then
27637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <stdlib.h>
27642 #include <iconv.h>
27644 main ()
27646 iconv_t cd = iconv_open("","");
27647 iconv(cd,NULL,NULL,NULL,NULL);
27648 iconv_close(cd);
27650 return 0;
27652 _ACEOF
27653 if ac_fn_c_try_link "$LINENO"; then :
27654 am_cv_func_iconv=yes
27656 rm -f core conftest.err conftest.$ac_objext \
27657 conftest$ac_exeext conftest.$ac_ext
27658 if test "$am_cv_func_iconv" != yes; then
27659 am_save_LIBS="$LIBS"
27660 LIBS="$LIBS $LIBICONV"
27661 if test x$gcc_no_link = xyes; then
27662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h. */
27666 #include <stdlib.h>
27667 #include <iconv.h>
27669 main ()
27671 iconv_t cd = iconv_open("","");
27672 iconv(cd,NULL,NULL,NULL,NULL);
27673 iconv_close(cd);
27675 return 0;
27677 _ACEOF
27678 if ac_fn_c_try_link "$LINENO"; then :
27679 am_cv_lib_iconv=yes
27680 am_cv_func_iconv=yes
27682 rm -f core conftest.err conftest.$ac_objext \
27683 conftest$ac_exeext conftest.$ac_ext
27684 LIBS="$am_save_LIBS"
27688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27689 $as_echo "$am_cv_func_iconv" >&6; }
27690 if test "$am_cv_func_iconv" = yes; then
27692 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27695 if test "$am_cv_lib_iconv" = yes; then
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27697 $as_echo_n "checking how to link with libiconv... " >&6; }
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27699 $as_echo "$LIBICONV" >&6; }
27700 else
27701 CPPFLAGS="$am_save_CPPFLAGS"
27702 LIBICONV=
27703 LTLIBICONV=
27708 if test "$am_cv_func_iconv" = yes; then
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27710 $as_echo_n "checking for iconv declaration... " >&6; }
27711 if test "${am_cv_proto_iconv+set}" = set; then :
27712 $as_echo_n "(cached) " >&6
27713 else
27715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h. */
27718 #include <stdlib.h>
27719 #include <iconv.h>
27720 extern
27721 #ifdef __cplusplus
27723 #endif
27724 #if defined(__STDC__) || defined(__cplusplus)
27725 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27726 #else
27727 size_t iconv();
27728 #endif
27731 main ()
27735 return 0;
27737 _ACEOF
27738 if ac_fn_c_try_compile "$LINENO"; then :
27739 am_cv_proto_iconv_arg1=""
27740 else
27741 am_cv_proto_iconv_arg1="const"
27743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27744 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);"
27747 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27749 }$am_cv_proto_iconv" >&5
27750 $as_echo "${ac_t:-
27751 }$am_cv_proto_iconv" >&6; }
27753 cat >>confdefs.h <<_ACEOF
27754 #define ICONV_CONST $am_cv_proto_iconv_arg1
27755 _ACEOF
27760 else
27762 # This lets us hard-code the functionality we know we'll have in the cross
27763 # target environment. "Let" is a sugar-coated word placed on an especially
27764 # dull and tedious hack, actually.
27766 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27767 # that involve linking, can't be used:
27768 # "cannot open sim-crt0.o"
27769 # "cannot open crt0.o"
27770 # etc. All this is because there currently exists no unified, consistent
27771 # way for top level CC information to be passed down to target directories:
27772 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27773 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27774 # crosses can be removed.
27776 # If Canadian cross, then don't pick up tools from the build directory.
27777 # Used only in GLIBCXX_EXPORT_INCLUDES.
27778 if test -n "$with_cross_host" &&
27779 test x"$build_alias" != x"$with_cross_host" &&
27780 test x"$build" != x"$target";
27781 then
27782 CANADIAN=yes
27783 else
27784 CANADIAN=no
27787 # Construct crosses by hand, eliminating bits that need ld...
27788 # GLIBCXX_CHECK_MATH_SUPPORT
27790 # First, test for "known" system libraries. We may be using newlib even
27791 # on a hosted environment.
27792 if test "x${with_newlib}" = "xyes"; then
27793 os_include_dir="os/newlib"
27794 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27797 # GLIBCXX_CHECK_STDLIB_SUPPORT
27798 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27801 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27803 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27805 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27807 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27809 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27811 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27813 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27815 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27817 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27819 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27821 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27823 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27825 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27827 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27829 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27831 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27833 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27835 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27837 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27839 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27841 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27843 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27846 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27848 else
27850 # Base decisions on target environment.
27851 case "${host}" in
27852 arm*-*-symbianelf*)
27853 # This is a freestanding configuration; there is nothing to do here.
27856 mips*-sde-elf*)
27857 # These definitions are for the SDE C library rather than newlib.
27858 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27861 # All these tests are for C++; save the language and the compiler flags.
27862 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27863 # found in GLIBCXX_CONFIGURE.
27865 ac_ext=cpp
27866 ac_cpp='$CXXCPP $CPPFLAGS'
27867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27871 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27872 ac_save_CXXFLAGS="$CXXFLAGS"
27874 # Check for maintainer-mode bits.
27875 if test x"$USE_MAINTAINER_MODE" = xno; then
27876 WERROR=''
27877 else
27878 WERROR='-Werror'
27881 # Check for -ffunction-sections -fdata-sections
27882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27883 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27884 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27886 /* end confdefs.h. */
27887 int foo; void bar() { };
27889 main ()
27893 return 0;
27895 _ACEOF
27896 if ac_fn_cxx_try_compile "$LINENO"; then :
27897 ac_fdsections=yes
27898 else
27899 ac_fdsections=no
27901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27902 if test "$ac_test_CXXFLAGS" = set; then
27903 CXXFLAGS="$ac_save_CXXFLAGS"
27904 else
27905 # this is the suspicious part
27906 CXXFLAGS=''
27908 if test x"$ac_fdsections" = x"yes"; then
27909 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27912 $as_echo "$ac_fdsections" >&6; }
27914 ac_ext=c
27915 ac_cpp='$CPP $CPPFLAGS'
27916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27924 # If we're not using GNU ld, then there's no point in even trying these
27925 # tests. Check for that first. We should have already tested for gld
27926 # by now (in libtool), but require it now just to be safe...
27927 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27928 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27932 # The name set by libtool depends on the version of libtool. Shame on us
27933 # for depending on an impl detail, but c'est la vie. Older versions used
27934 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27935 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27936 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27937 # set (hence we're using an older libtool), then set it.
27938 if test x${with_gnu_ld+set} != xset; then
27939 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27940 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27941 with_gnu_ld=no
27942 else
27943 with_gnu_ld=$ac_cv_prog_gnu_ld
27947 # Start by getting the version number. I think the libtool test already
27948 # does some of this, but throws away the result.
27949 glibcxx_ld_is_gold=no
27950 if test x"$with_gnu_ld" = x"yes"; then
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27952 $as_echo_n "checking for ld version... " >&6; }
27954 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27955 glibcxx_ld_is_gold=yes
27957 ldver=`$LD --version 2>/dev/null |
27958 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'`
27960 glibcxx_gnu_ld_version=`echo $ldver | \
27961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27966 # Set --gc-sections.
27967 glibcxx_have_gc_sections=no
27968 if test "$glibcxx_ld_is_gold" = "yes"; then
27969 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27970 glibcxx_have_gc_sections=yes
27972 else
27973 glibcxx_gcsections_min_ld=21602
27974 if test x"$with_gnu_ld" = x"yes" &&
27975 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27976 glibcxx_have_gc_sections=yes
27979 if test "$glibcxx_have_gc_sections" = "yes"; then
27980 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27981 # NB: This flag only works reliably after 2.16.1. Configure tests
27982 # for this are difficult, so hard wire a value that should work.
27984 ac_test_CFLAGS="${CFLAGS+set}"
27985 ac_save_CFLAGS="$CFLAGS"
27986 CFLAGS='-Wl,--gc-sections'
27988 # Check for -Wl,--gc-sections
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27991 if test x$gcc_no_link = xyes; then
27992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 int one(void) { return 1; }
27997 int two(void) { return 2; }
28000 main ()
28002 two();
28004 return 0;
28006 _ACEOF
28007 if ac_fn_c_try_link "$LINENO"; then :
28008 ac_gcsections=yes
28009 else
28010 ac_gcsections=no
28012 rm -f core conftest.err conftest.$ac_objext \
28013 conftest$ac_exeext conftest.$ac_ext
28014 if test "$ac_gcsections" = "yes"; then
28015 rm -f conftest.c
28016 touch conftest.c
28017 if $CC -c conftest.c; then
28018 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28019 grep "Warning: gc-sections option ignored" > /dev/null; then
28020 ac_gcsections=no
28023 rm -f conftest.c conftest.o conftest
28025 if test "$ac_gcsections" = "yes"; then
28026 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28029 $as_echo "$ac_gcsections" >&6; }
28031 if test "$ac_test_CFLAGS" = set; then
28032 CFLAGS="$ac_save_CFLAGS"
28033 else
28034 # this is the suspicious part
28035 CFLAGS=''
28039 # Set -z,relro.
28040 # Note this is only for shared objects.
28041 ac_ld_relro=no
28042 if test x"$with_gnu_ld" = x"yes"; then
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28045 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28046 if test -n "$cxx_z_relo"; then
28047 OPT_LDFLAGS="-Wl,-z,relro"
28048 ac_ld_relro=yes
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28051 $as_echo "$ac_ld_relro" >&6; }
28054 # Set linker optimization flags.
28055 if test x"$with_gnu_ld" = x"yes"; then
28056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28063 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28064 ac_save_CXXFLAGS="$CXXFLAGS"
28065 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28068 $as_echo_n "checking for sin in -lm... " >&6; }
28069 if test "${ac_cv_lib_m_sin+set}" = set; then :
28070 $as_echo_n "(cached) " >&6
28071 else
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lm $LIBS"
28074 if test x$gcc_no_link = xyes; then
28075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28078 /* end confdefs.h. */
28080 /* Override any GCC internal prototype to avoid an error.
28081 Use char because int might match the return type of a GCC
28082 builtin and then its argument prototype would still apply. */
28083 #ifdef __cplusplus
28084 extern "C"
28085 #endif
28086 char sin ();
28088 main ()
28090 return sin ();
28092 return 0;
28094 _ACEOF
28095 if ac_fn_c_try_link "$LINENO"; then :
28096 ac_cv_lib_m_sin=yes
28097 else
28098 ac_cv_lib_m_sin=no
28100 rm -f core conftest.err conftest.$ac_objext \
28101 conftest$ac_exeext conftest.$ac_ext
28102 LIBS=$ac_check_lib_save_LIBS
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28105 $as_echo "$ac_cv_lib_m_sin" >&6; }
28106 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28107 libm="-lm"
28110 ac_save_LIBS="$LIBS"
28111 LIBS="$LIBS $libm"
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28116 $as_echo_n "checking for isinf declaration... " >&6; }
28117 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28118 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28123 ac_ext=cpp
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 #include <math.h>
28132 #ifdef HAVE_IEEEFP_H
28133 #include <ieeefp.h>
28134 #endif
28137 main ()
28139 isinf(0);
28141 return 0;
28143 _ACEOF
28144 if ac_fn_cxx_try_compile "$LINENO"; then :
28145 glibcxx_cv_func_isinf_use=yes
28146 else
28147 glibcxx_cv_func_isinf_use=no
28149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28161 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28163 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28164 for ac_func in isinf
28165 do :
28166 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28167 if test "x$ac_cv_func_isinf" = x""yes; then :
28168 cat >>confdefs.h <<_ACEOF
28169 #define HAVE_ISINF 1
28170 _ACEOF
28173 done
28175 else
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28178 $as_echo_n "checking for _isinf declaration... " >&6; }
28179 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28180 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28181 $as_echo_n "(cached) " >&6
28182 else
28185 ac_ext=cpp
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 #include <math.h>
28194 #ifdef HAVE_IEEEFP_H
28195 #include <ieeefp.h>
28196 #endif
28199 main ()
28201 _isinf(0);
28203 return 0;
28205 _ACEOF
28206 if ac_fn_cxx_try_compile "$LINENO"; then :
28207 glibcxx_cv_func__isinf_use=yes
28208 else
28209 glibcxx_cv_func__isinf_use=no
28211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28212 ac_ext=c
28213 ac_cpp='$CPP $CPPFLAGS'
28214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28223 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28225 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28226 for ac_func in _isinf
28227 do :
28228 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28229 if test "x$ac_cv_func__isinf" = x""yes; then :
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE__ISINF 1
28232 _ACEOF
28235 done
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28245 $as_echo_n "checking for isnan declaration... " >&6; }
28246 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28247 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28252 ac_ext=cpp
28253 ac_cpp='$CXXCPP $CPPFLAGS'
28254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <math.h>
28261 #ifdef HAVE_IEEEFP_H
28262 #include <ieeefp.h>
28263 #endif
28266 main ()
28268 isnan(0);
28270 return 0;
28272 _ACEOF
28273 if ac_fn_cxx_try_compile "$LINENO"; then :
28274 glibcxx_cv_func_isnan_use=yes
28275 else
28276 glibcxx_cv_func_isnan_use=no
28278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28279 ac_ext=c
28280 ac_cpp='$CPP $CPPFLAGS'
28281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28290 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28292 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28293 for ac_func in isnan
28294 do :
28295 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28296 if test "x$ac_cv_func_isnan" = x""yes; then :
28297 cat >>confdefs.h <<_ACEOF
28298 #define HAVE_ISNAN 1
28299 _ACEOF
28302 done
28304 else
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28307 $as_echo_n "checking for _isnan declaration... " >&6; }
28308 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28309 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28310 $as_echo_n "(cached) " >&6
28311 else
28314 ac_ext=cpp
28315 ac_cpp='$CXXCPP $CPPFLAGS'
28316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28321 /* end confdefs.h. */
28322 #include <math.h>
28323 #ifdef HAVE_IEEEFP_H
28324 #include <ieeefp.h>
28325 #endif
28328 main ()
28330 _isnan(0);
28332 return 0;
28334 _ACEOF
28335 if ac_fn_cxx_try_compile "$LINENO"; then :
28336 glibcxx_cv_func__isnan_use=yes
28337 else
28338 glibcxx_cv_func__isnan_use=no
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 ac_ext=c
28342 ac_cpp='$CPP $CPPFLAGS'
28343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28352 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28354 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28355 for ac_func in _isnan
28356 do :
28357 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28358 if test "x$ac_cv_func__isnan" = x""yes; then :
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE__ISNAN 1
28361 _ACEOF
28364 done
28373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28374 $as_echo_n "checking for finite declaration... " >&6; }
28375 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28376 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28377 $as_echo_n "(cached) " >&6
28378 else
28381 ac_ext=cpp
28382 ac_cpp='$CXXCPP $CPPFLAGS'
28383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28388 /* end confdefs.h. */
28389 #include <math.h>
28390 #ifdef HAVE_IEEEFP_H
28391 #include <ieeefp.h>
28392 #endif
28395 main ()
28397 finite(0);
28399 return 0;
28401 _ACEOF
28402 if ac_fn_cxx_try_compile "$LINENO"; then :
28403 glibcxx_cv_func_finite_use=yes
28404 else
28405 glibcxx_cv_func_finite_use=no
28407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28408 ac_ext=c
28409 ac_cpp='$CPP $CPPFLAGS'
28410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28419 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28421 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28422 for ac_func in finite
28423 do :
28424 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28425 if test "x$ac_cv_func_finite" = x""yes; then :
28426 cat >>confdefs.h <<_ACEOF
28427 #define HAVE_FINITE 1
28428 _ACEOF
28431 done
28433 else
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28436 $as_echo_n "checking for _finite declaration... " >&6; }
28437 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28438 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28439 $as_echo_n "(cached) " >&6
28440 else
28443 ac_ext=cpp
28444 ac_cpp='$CXXCPP $CPPFLAGS'
28445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28450 /* end confdefs.h. */
28451 #include <math.h>
28452 #ifdef HAVE_IEEEFP_H
28453 #include <ieeefp.h>
28454 #endif
28457 main ()
28459 _finite(0);
28461 return 0;
28463 _ACEOF
28464 if ac_fn_cxx_try_compile "$LINENO"; then :
28465 glibcxx_cv_func__finite_use=yes
28466 else
28467 glibcxx_cv_func__finite_use=no
28469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28470 ac_ext=c
28471 ac_cpp='$CPP $CPPFLAGS'
28472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28481 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28483 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28484 for ac_func in _finite
28485 do :
28486 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28487 if test "x$ac_cv_func__finite" = x""yes; then :
28488 cat >>confdefs.h <<_ACEOF
28489 #define HAVE__FINITE 1
28490 _ACEOF
28493 done
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28503 $as_echo_n "checking for sincos declaration... " >&6; }
28504 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28505 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28507 else
28510 ac_ext=cpp
28511 ac_cpp='$CXXCPP $CPPFLAGS'
28512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28517 /* end confdefs.h. */
28518 #include <math.h>
28520 main ()
28522 sincos(0, 0, 0);
28524 return 0;
28526 _ACEOF
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528 glibcxx_cv_func_sincos_use=yes
28529 else
28530 glibcxx_cv_func_sincos_use=no
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 ac_ext=c
28534 ac_cpp='$CPP $CPPFLAGS'
28535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28544 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28546 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28547 for ac_func in sincos
28548 do :
28549 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28550 if test "x$ac_cv_func_sincos" = x""yes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE_SINCOS 1
28553 _ACEOF
28556 done
28558 else
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28561 $as_echo_n "checking for _sincos declaration... " >&6; }
28562 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28563 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28564 $as_echo_n "(cached) " >&6
28565 else
28568 ac_ext=cpp
28569 ac_cpp='$CXXCPP $CPPFLAGS'
28570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28575 /* end confdefs.h. */
28576 #include <math.h>
28578 main ()
28580 _sincos(0, 0, 0);
28582 return 0;
28584 _ACEOF
28585 if ac_fn_cxx_try_compile "$LINENO"; then :
28586 glibcxx_cv_func__sincos_use=yes
28587 else
28588 glibcxx_cv_func__sincos_use=no
28590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28591 ac_ext=c
28592 ac_cpp='$CPP $CPPFLAGS'
28593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28602 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28604 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28605 for ac_func in _sincos
28606 do :
28607 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28608 if test "x$ac_cv_func__sincos" = x""yes; then :
28609 cat >>confdefs.h <<_ACEOF
28610 #define HAVE__SINCOS 1
28611 _ACEOF
28614 done
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28624 $as_echo_n "checking for fpclass declaration... " >&6; }
28625 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28626 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28627 $as_echo_n "(cached) " >&6
28628 else
28631 ac_ext=cpp
28632 ac_cpp='$CXXCPP $CPPFLAGS'
28633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28639 #include <math.h>
28640 #ifdef HAVE_IEEEFP_H
28641 #include <ieeefp.h>
28642 #endif
28645 main ()
28647 fpclass(0);
28649 return 0;
28651 _ACEOF
28652 if ac_fn_cxx_try_compile "$LINENO"; then :
28653 glibcxx_cv_func_fpclass_use=yes
28654 else
28655 glibcxx_cv_func_fpclass_use=no
28657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658 ac_ext=c
28659 ac_cpp='$CPP $CPPFLAGS'
28660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28669 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28671 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28672 for ac_func in fpclass
28673 do :
28674 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28675 if test "x$ac_cv_func_fpclass" = x""yes; then :
28676 cat >>confdefs.h <<_ACEOF
28677 #define HAVE_FPCLASS 1
28678 _ACEOF
28681 done
28683 else
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28686 $as_echo_n "checking for _fpclass declaration... " >&6; }
28687 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28688 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28690 else
28693 ac_ext=cpp
28694 ac_cpp='$CXXCPP $CPPFLAGS'
28695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28701 #include <math.h>
28702 #ifdef HAVE_IEEEFP_H
28703 #include <ieeefp.h>
28704 #endif
28707 main ()
28709 _fpclass(0);
28711 return 0;
28713 _ACEOF
28714 if ac_fn_cxx_try_compile "$LINENO"; then :
28715 glibcxx_cv_func__fpclass_use=yes
28716 else
28717 glibcxx_cv_func__fpclass_use=no
28719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28720 ac_ext=c
28721 ac_cpp='$CPP $CPPFLAGS'
28722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28731 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28733 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28734 for ac_func in _fpclass
28735 do :
28736 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28737 if test "x$ac_cv_func__fpclass" = x""yes; then :
28738 cat >>confdefs.h <<_ACEOF
28739 #define HAVE__FPCLASS 1
28740 _ACEOF
28743 done
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28753 $as_echo_n "checking for qfpclass declaration... " >&6; }
28754 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28755 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28756 $as_echo_n "(cached) " >&6
28757 else
28760 ac_ext=cpp
28761 ac_cpp='$CXXCPP $CPPFLAGS'
28762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28767 /* end confdefs.h. */
28768 #include <math.h>
28769 #ifdef HAVE_IEEEFP_H
28770 #include <ieeefp.h>
28771 #endif
28774 main ()
28776 qfpclass(0);
28778 return 0;
28780 _ACEOF
28781 if ac_fn_cxx_try_compile "$LINENO"; then :
28782 glibcxx_cv_func_qfpclass_use=yes
28783 else
28784 glibcxx_cv_func_qfpclass_use=no
28786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28787 ac_ext=c
28788 ac_cpp='$CPP $CPPFLAGS'
28789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28798 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28800 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28801 for ac_func in qfpclass
28802 do :
28803 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28804 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28805 cat >>confdefs.h <<_ACEOF
28806 #define HAVE_QFPCLASS 1
28807 _ACEOF
28810 done
28812 else
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28815 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28816 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28817 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28818 $as_echo_n "(cached) " >&6
28819 else
28822 ac_ext=cpp
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 #include <math.h>
28831 #ifdef HAVE_IEEEFP_H
28832 #include <ieeefp.h>
28833 #endif
28836 main ()
28838 _qfpclass(0);
28840 return 0;
28842 _ACEOF
28843 if ac_fn_cxx_try_compile "$LINENO"; then :
28844 glibcxx_cv_func__qfpclass_use=yes
28845 else
28846 glibcxx_cv_func__qfpclass_use=no
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849 ac_ext=c
28850 ac_cpp='$CPP $CPPFLAGS'
28851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28860 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28862 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28863 for ac_func in _qfpclass
28864 do :
28865 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28866 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28867 cat >>confdefs.h <<_ACEOF
28868 #define HAVE__QFPCLASS 1
28869 _ACEOF
28872 done
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28882 $as_echo_n "checking for hypot declaration... " >&6; }
28883 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28884 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28885 $as_echo_n "(cached) " >&6
28886 else
28889 ac_ext=cpp
28890 ac_cpp='$CXXCPP $CPPFLAGS'
28891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28896 /* end confdefs.h. */
28897 #include <math.h>
28899 main ()
28901 hypot(0, 0);
28903 return 0;
28905 _ACEOF
28906 if ac_fn_cxx_try_compile "$LINENO"; then :
28907 glibcxx_cv_func_hypot_use=yes
28908 else
28909 glibcxx_cv_func_hypot_use=no
28911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28912 ac_ext=c
28913 ac_cpp='$CPP $CPPFLAGS'
28914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28923 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28925 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28926 for ac_func in hypot
28927 do :
28928 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28929 if test "x$ac_cv_func_hypot" = x""yes; then :
28930 cat >>confdefs.h <<_ACEOF
28931 #define HAVE_HYPOT 1
28932 _ACEOF
28935 done
28937 else
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28940 $as_echo_n "checking for _hypot declaration... " >&6; }
28941 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28942 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28943 $as_echo_n "(cached) " >&6
28944 else
28947 ac_ext=cpp
28948 ac_cpp='$CXXCPP $CPPFLAGS'
28949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28954 /* end confdefs.h. */
28955 #include <math.h>
28957 main ()
28959 _hypot(0, 0);
28961 return 0;
28963 _ACEOF
28964 if ac_fn_cxx_try_compile "$LINENO"; then :
28965 glibcxx_cv_func__hypot_use=yes
28966 else
28967 glibcxx_cv_func__hypot_use=no
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28970 ac_ext=c
28971 ac_cpp='$CPP $CPPFLAGS'
28972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28981 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28983 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28984 for ac_func in _hypot
28985 do :
28986 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28987 if test "x$ac_cv_func__hypot" = x""yes; then :
28988 cat >>confdefs.h <<_ACEOF
28989 #define HAVE__HYPOT 1
28990 _ACEOF
28993 done
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29003 $as_echo_n "checking for float trig functions... " >&6; }
29004 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29005 $as_echo_n "(cached) " >&6
29006 else
29009 ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h. */
29017 #include <math.h>
29019 main ()
29021 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29023 return 0;
29025 _ACEOF
29026 if ac_fn_cxx_try_compile "$LINENO"; then :
29027 glibcxx_cv_func_float_trig_use=yes
29028 else
29029 glibcxx_cv_func_float_trig_use=no
29031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29032 ac_ext=c
29033 ac_cpp='$CPP $CPPFLAGS'
29034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29041 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29042 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29043 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29044 do :
29045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29047 eval as_val=\$$as_ac_var
29048 if test "x$as_val" = x""yes; then :
29049 cat >>confdefs.h <<_ACEOF
29050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29051 _ACEOF
29054 done
29056 else
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29058 $as_echo_n "checking for _float trig functions... " >&6; }
29059 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29074 main ()
29076 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29078 return 0;
29080 _ACEOF
29081 if ac_fn_cxx_try_compile "$LINENO"; then :
29082 glibcxx_cv_func__float_trig_use=yes
29083 else
29084 glibcxx_cv_func__float_trig_use=no
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087 ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29096 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29097 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29098 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29099 do :
29100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29102 eval as_val=\$$as_ac_var
29103 if test "x$as_val" = x""yes; then :
29104 cat >>confdefs.h <<_ACEOF
29105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29106 _ACEOF
29109 done
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29119 $as_echo_n "checking for float round functions... " >&6; }
29120 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29121 $as_echo_n "(cached) " >&6
29122 else
29125 ac_ext=cpp
29126 ac_cpp='$CXXCPP $CPPFLAGS'
29127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29133 #include <math.h>
29135 main ()
29137 ceilf (0); floorf (0);
29139 return 0;
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143 glibcxx_cv_func_float_round_use=yes
29144 else
29145 glibcxx_cv_func_float_round_use=no
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148 ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29157 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29158 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29159 for ac_func in ceilf floorf
29160 do :
29161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29162 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29163 eval as_val=\$$as_ac_var
29164 if test "x$as_val" = x""yes; then :
29165 cat >>confdefs.h <<_ACEOF
29166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29167 _ACEOF
29170 done
29172 else
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29174 $as_echo_n "checking for _float round functions... " >&6; }
29175 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29176 $as_echo_n "(cached) " >&6
29177 else
29180 ac_ext=cpp
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h. */
29188 #include <math.h>
29190 main ()
29192 _ceilf (0); _floorf (0);
29194 return 0;
29196 _ACEOF
29197 if ac_fn_cxx_try_compile "$LINENO"; then :
29198 glibcxx_cv_func__float_round_use=yes
29199 else
29200 glibcxx_cv_func__float_round_use=no
29202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29203 ac_ext=c
29204 ac_cpp='$CPP $CPPFLAGS'
29205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29212 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29213 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29214 for ac_func in _ceilf _floorf
29215 do :
29216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29218 eval as_val=\$$as_ac_var
29219 if test "x$as_val" = x""yes; then :
29220 cat >>confdefs.h <<_ACEOF
29221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29222 _ACEOF
29225 done
29235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29236 $as_echo_n "checking for expf declaration... " >&6; }
29237 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29238 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29239 $as_echo_n "(cached) " >&6
29240 else
29243 ac_ext=cpp
29244 ac_cpp='$CXXCPP $CPPFLAGS'
29245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29250 /* end confdefs.h. */
29251 #include <math.h>
29252 #ifdef HAVE_IEEEFP_H
29253 #include <ieeefp.h>
29254 #endif
29257 main ()
29259 expf(0);
29261 return 0;
29263 _ACEOF
29264 if ac_fn_cxx_try_compile "$LINENO"; then :
29265 glibcxx_cv_func_expf_use=yes
29266 else
29267 glibcxx_cv_func_expf_use=no
29269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 ac_ext=c
29271 ac_cpp='$CPP $CPPFLAGS'
29272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29281 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29283 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29284 for ac_func in expf
29285 do :
29286 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29287 if test "x$ac_cv_func_expf" = x""yes; then :
29288 cat >>confdefs.h <<_ACEOF
29289 #define HAVE_EXPF 1
29290 _ACEOF
29293 done
29295 else
29297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29298 $as_echo_n "checking for _expf declaration... " >&6; }
29299 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29300 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29301 $as_echo_n "(cached) " >&6
29302 else
29305 ac_ext=cpp
29306 ac_cpp='$CXXCPP $CPPFLAGS'
29307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 #include <math.h>
29314 #ifdef HAVE_IEEEFP_H
29315 #include <ieeefp.h>
29316 #endif
29319 main ()
29321 _expf(0);
29323 return 0;
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func__expf_use=yes
29328 else
29329 glibcxx_cv_func__expf_use=no
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29343 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29345 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29346 for ac_func in _expf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29349 if test "x$ac_cv_func__expf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE__EXPF 1
29352 _ACEOF
29355 done
29364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29365 $as_echo_n "checking for isnanf declaration... " >&6; }
29366 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29367 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29368 $as_echo_n "(cached) " >&6
29369 else
29372 ac_ext=cpp
29373 ac_cpp='$CXXCPP $CPPFLAGS'
29374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29379 /* end confdefs.h. */
29380 #include <math.h>
29381 #ifdef HAVE_IEEEFP_H
29382 #include <ieeefp.h>
29383 #endif
29386 main ()
29388 isnanf(0);
29390 return 0;
29392 _ACEOF
29393 if ac_fn_cxx_try_compile "$LINENO"; then :
29394 glibcxx_cv_func_isnanf_use=yes
29395 else
29396 glibcxx_cv_func_isnanf_use=no
29398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29399 ac_ext=c
29400 ac_cpp='$CPP $CPPFLAGS'
29401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29410 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29412 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29413 for ac_func in isnanf
29414 do :
29415 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29416 if test "x$ac_cv_func_isnanf" = x""yes; then :
29417 cat >>confdefs.h <<_ACEOF
29418 #define HAVE_ISNANF 1
29419 _ACEOF
29422 done
29424 else
29426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29427 $as_echo_n "checking for _isnanf declaration... " >&6; }
29428 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29429 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29430 $as_echo_n "(cached) " >&6
29431 else
29434 ac_ext=cpp
29435 ac_cpp='$CXXCPP $CPPFLAGS'
29436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29441 /* end confdefs.h. */
29442 #include <math.h>
29443 #ifdef HAVE_IEEEFP_H
29444 #include <ieeefp.h>
29445 #endif
29448 main ()
29450 _isnanf(0);
29452 return 0;
29454 _ACEOF
29455 if ac_fn_cxx_try_compile "$LINENO"; then :
29456 glibcxx_cv_func__isnanf_use=yes
29457 else
29458 glibcxx_cv_func__isnanf_use=no
29460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29461 ac_ext=c
29462 ac_cpp='$CPP $CPPFLAGS'
29463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29472 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29474 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29475 for ac_func in _isnanf
29476 do :
29477 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29478 if test "x$ac_cv_func__isnanf" = x""yes; then :
29479 cat >>confdefs.h <<_ACEOF
29480 #define HAVE__ISNANF 1
29481 _ACEOF
29484 done
29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29494 $as_echo_n "checking for isinff declaration... " >&6; }
29495 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29496 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29497 $as_echo_n "(cached) " >&6
29498 else
29501 ac_ext=cpp
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29509 #include <math.h>
29510 #ifdef HAVE_IEEEFP_H
29511 #include <ieeefp.h>
29512 #endif
29515 main ()
29517 isinff(0);
29519 return 0;
29521 _ACEOF
29522 if ac_fn_cxx_try_compile "$LINENO"; then :
29523 glibcxx_cv_func_isinff_use=yes
29524 else
29525 glibcxx_cv_func_isinff_use=no
29527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29528 ac_ext=c
29529 ac_cpp='$CPP $CPPFLAGS'
29530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29539 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29541 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29542 for ac_func in isinff
29543 do :
29544 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29545 if test "x$ac_cv_func_isinff" = x""yes; then :
29546 cat >>confdefs.h <<_ACEOF
29547 #define HAVE_ISINFF 1
29548 _ACEOF
29551 done
29553 else
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29556 $as_echo_n "checking for _isinff declaration... " >&6; }
29557 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29558 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29559 $as_echo_n "(cached) " >&6
29560 else
29563 ac_ext=cpp
29564 ac_cpp='$CXXCPP $CPPFLAGS'
29565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29570 /* end confdefs.h. */
29571 #include <math.h>
29572 #ifdef HAVE_IEEEFP_H
29573 #include <ieeefp.h>
29574 #endif
29577 main ()
29579 _isinff(0);
29581 return 0;
29583 _ACEOF
29584 if ac_fn_cxx_try_compile "$LINENO"; then :
29585 glibcxx_cv_func__isinff_use=yes
29586 else
29587 glibcxx_cv_func__isinff_use=no
29589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29590 ac_ext=c
29591 ac_cpp='$CPP $CPPFLAGS'
29592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29601 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29603 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29604 for ac_func in _isinff
29605 do :
29606 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29607 if test "x$ac_cv_func__isinff" = x""yes; then :
29608 cat >>confdefs.h <<_ACEOF
29609 #define HAVE__ISINFF 1
29610 _ACEOF
29613 done
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29623 $as_echo_n "checking for atan2f declaration... " >&6; }
29624 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29625 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29630 ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <math.h>
29640 main ()
29642 atan2f(0, 0);
29644 return 0;
29646 _ACEOF
29647 if ac_fn_cxx_try_compile "$LINENO"; then :
29648 glibcxx_cv_func_atan2f_use=yes
29649 else
29650 glibcxx_cv_func_atan2f_use=no
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 ac_ext=c
29654 ac_cpp='$CPP $CPPFLAGS'
29655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29664 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29666 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29667 for ac_func in atan2f
29668 do :
29669 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29670 if test "x$ac_cv_func_atan2f" = x""yes; then :
29671 cat >>confdefs.h <<_ACEOF
29672 #define HAVE_ATAN2F 1
29673 _ACEOF
29676 done
29678 else
29680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29681 $as_echo_n "checking for _atan2f declaration... " >&6; }
29682 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29683 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29684 $as_echo_n "(cached) " >&6
29685 else
29688 ac_ext=cpp
29689 ac_cpp='$CXXCPP $CPPFLAGS'
29690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29695 /* end confdefs.h. */
29696 #include <math.h>
29698 main ()
29700 _atan2f(0, 0);
29702 return 0;
29704 _ACEOF
29705 if ac_fn_cxx_try_compile "$LINENO"; then :
29706 glibcxx_cv_func__atan2f_use=yes
29707 else
29708 glibcxx_cv_func__atan2f_use=no
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29711 ac_ext=c
29712 ac_cpp='$CPP $CPPFLAGS'
29713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29722 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29724 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29725 for ac_func in _atan2f
29726 do :
29727 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29728 if test "x$ac_cv_func__atan2f" = x""yes; then :
29729 cat >>confdefs.h <<_ACEOF
29730 #define HAVE__ATAN2F 1
29731 _ACEOF
29734 done
29743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29744 $as_echo_n "checking for fabsf declaration... " >&6; }
29745 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29746 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29747 $as_echo_n "(cached) " >&6
29748 else
29751 ac_ext=cpp
29752 ac_cpp='$CXXCPP $CPPFLAGS'
29753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29758 /* end confdefs.h. */
29759 #include <math.h>
29760 #ifdef HAVE_IEEEFP_H
29761 #include <ieeefp.h>
29762 #endif
29765 main ()
29767 fabsf(0);
29769 return 0;
29771 _ACEOF
29772 if ac_fn_cxx_try_compile "$LINENO"; then :
29773 glibcxx_cv_func_fabsf_use=yes
29774 else
29775 glibcxx_cv_func_fabsf_use=no
29777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29778 ac_ext=c
29779 ac_cpp='$CPP $CPPFLAGS'
29780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29789 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29791 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29792 for ac_func in fabsf
29793 do :
29794 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29795 if test "x$ac_cv_func_fabsf" = x""yes; then :
29796 cat >>confdefs.h <<_ACEOF
29797 #define HAVE_FABSF 1
29798 _ACEOF
29801 done
29803 else
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29806 $as_echo_n "checking for _fabsf declaration... " >&6; }
29807 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29808 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29809 $as_echo_n "(cached) " >&6
29810 else
29813 ac_ext=cpp
29814 ac_cpp='$CXXCPP $CPPFLAGS'
29815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h. */
29821 #include <math.h>
29822 #ifdef HAVE_IEEEFP_H
29823 #include <ieeefp.h>
29824 #endif
29827 main ()
29829 _fabsf(0);
29831 return 0;
29833 _ACEOF
29834 if ac_fn_cxx_try_compile "$LINENO"; then :
29835 glibcxx_cv_func__fabsf_use=yes
29836 else
29837 glibcxx_cv_func__fabsf_use=no
29839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29840 ac_ext=c
29841 ac_cpp='$CPP $CPPFLAGS'
29842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29851 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29853 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29854 for ac_func in _fabsf
29855 do :
29856 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29857 if test "x$ac_cv_func__fabsf" = x""yes; then :
29858 cat >>confdefs.h <<_ACEOF
29859 #define HAVE__FABSF 1
29860 _ACEOF
29863 done
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29873 $as_echo_n "checking for fmodf declaration... " >&6; }
29874 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29875 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29876 $as_echo_n "(cached) " >&6
29877 else
29880 ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h. */
29888 #include <math.h>
29890 main ()
29892 fmodf(0, 0);
29894 return 0;
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func_fmodf_use=yes
29899 else
29900 glibcxx_cv_func_fmodf_use=no
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29914 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29916 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29917 for ac_func in fmodf
29918 do :
29919 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29920 if test "x$ac_cv_func_fmodf" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE_FMODF 1
29923 _ACEOF
29926 done
29928 else
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29931 $as_echo_n "checking for _fmodf declaration... " >&6; }
29932 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29933 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29934 $as_echo_n "(cached) " >&6
29935 else
29938 ac_ext=cpp
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29945 /* end confdefs.h. */
29946 #include <math.h>
29948 main ()
29950 _fmodf(0, 0);
29952 return 0;
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func__fmodf_use=yes
29957 else
29958 glibcxx_cv_func__fmodf_use=no
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29972 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29974 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29975 for ac_func in _fmodf
29976 do :
29977 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29978 if test "x$ac_cv_func__fmodf" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE__FMODF 1
29981 _ACEOF
29984 done
29993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29994 $as_echo_n "checking for frexpf declaration... " >&6; }
29995 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29996 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29997 $as_echo_n "(cached) " >&6
29998 else
30001 ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009 #include <math.h>
30011 main ()
30013 frexpf(0, 0);
30015 return 0;
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019 glibcxx_cv_func_frexpf_use=yes
30020 else
30021 glibcxx_cv_func_frexpf_use=no
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024 ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30035 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30037 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30038 for ac_func in frexpf
30039 do :
30040 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30041 if test "x$ac_cv_func_frexpf" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define HAVE_FREXPF 1
30044 _ACEOF
30047 done
30049 else
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30052 $as_echo_n "checking for _frexpf declaration... " >&6; }
30053 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30054 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30055 $as_echo_n "(cached) " >&6
30056 else
30059 ac_ext=cpp
30060 ac_cpp='$CXXCPP $CPPFLAGS'
30061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067 #include <math.h>
30069 main ()
30071 _frexpf(0, 0);
30073 return 0;
30075 _ACEOF
30076 if ac_fn_cxx_try_compile "$LINENO"; then :
30077 glibcxx_cv_func__frexpf_use=yes
30078 else
30079 glibcxx_cv_func__frexpf_use=no
30081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30082 ac_ext=c
30083 ac_cpp='$CPP $CPPFLAGS'
30084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30093 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30095 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30096 for ac_func in _frexpf
30097 do :
30098 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30099 if test "x$ac_cv_func__frexpf" = x""yes; then :
30100 cat >>confdefs.h <<_ACEOF
30101 #define HAVE__FREXPF 1
30102 _ACEOF
30105 done
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30115 $as_echo_n "checking for hypotf declaration... " >&6; }
30116 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30117 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30118 $as_echo_n "(cached) " >&6
30119 else
30122 ac_ext=cpp
30123 ac_cpp='$CXXCPP $CPPFLAGS'
30124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130 #include <math.h>
30132 main ()
30134 hypotf(0, 0);
30136 return 0;
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140 glibcxx_cv_func_hypotf_use=yes
30141 else
30142 glibcxx_cv_func_hypotf_use=no
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30156 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30158 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30159 for ac_func in hypotf
30160 do :
30161 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30162 if test "x$ac_cv_func_hypotf" = x""yes; then :
30163 cat >>confdefs.h <<_ACEOF
30164 #define HAVE_HYPOTF 1
30165 _ACEOF
30168 done
30170 else
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30173 $as_echo_n "checking for _hypotf declaration... " >&6; }
30174 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30175 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30176 $as_echo_n "(cached) " >&6
30177 else
30180 ac_ext=cpp
30181 ac_cpp='$CXXCPP $CPPFLAGS'
30182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30187 /* end confdefs.h. */
30188 #include <math.h>
30190 main ()
30192 _hypotf(0, 0);
30194 return 0;
30196 _ACEOF
30197 if ac_fn_cxx_try_compile "$LINENO"; then :
30198 glibcxx_cv_func__hypotf_use=yes
30199 else
30200 glibcxx_cv_func__hypotf_use=no
30202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30203 ac_ext=c
30204 ac_cpp='$CPP $CPPFLAGS'
30205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30214 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30216 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30217 for ac_func in _hypotf
30218 do :
30219 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30220 if test "x$ac_cv_func__hypotf" = x""yes; then :
30221 cat >>confdefs.h <<_ACEOF
30222 #define HAVE__HYPOTF 1
30223 _ACEOF
30226 done
30235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30236 $as_echo_n "checking for ldexpf declaration... " >&6; }
30237 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30238 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30239 $as_echo_n "(cached) " >&6
30240 else
30243 ac_ext=cpp
30244 ac_cpp='$CXXCPP $CPPFLAGS'
30245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30250 /* end confdefs.h. */
30251 #include <math.h>
30253 main ()
30255 ldexpf(0, 0);
30257 return 0;
30259 _ACEOF
30260 if ac_fn_cxx_try_compile "$LINENO"; then :
30261 glibcxx_cv_func_ldexpf_use=yes
30262 else
30263 glibcxx_cv_func_ldexpf_use=no
30265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30266 ac_ext=c
30267 ac_cpp='$CPP $CPPFLAGS'
30268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30277 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30279 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30280 for ac_func in ldexpf
30281 do :
30282 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30283 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30284 cat >>confdefs.h <<_ACEOF
30285 #define HAVE_LDEXPF 1
30286 _ACEOF
30289 done
30291 else
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30294 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30295 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30296 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30297 $as_echo_n "(cached) " >&6
30298 else
30301 ac_ext=cpp
30302 ac_cpp='$CXXCPP $CPPFLAGS'
30303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308 /* end confdefs.h. */
30309 #include <math.h>
30311 main ()
30313 _ldexpf(0, 0);
30315 return 0;
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319 glibcxx_cv_func__ldexpf_use=yes
30320 else
30321 glibcxx_cv_func__ldexpf_use=no
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324 ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30335 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30337 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30338 for ac_func in _ldexpf
30339 do :
30340 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30341 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30342 cat >>confdefs.h <<_ACEOF
30343 #define HAVE__LDEXPF 1
30344 _ACEOF
30347 done
30356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30357 $as_echo_n "checking for logf declaration... " >&6; }
30358 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30359 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30360 $as_echo_n "(cached) " >&6
30361 else
30364 ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h. */
30372 #include <math.h>
30373 #ifdef HAVE_IEEEFP_H
30374 #include <ieeefp.h>
30375 #endif
30378 main ()
30380 logf(0);
30382 return 0;
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386 glibcxx_cv_func_logf_use=yes
30387 else
30388 glibcxx_cv_func_logf_use=no
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391 ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30402 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30404 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30405 for ac_func in logf
30406 do :
30407 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30408 if test "x$ac_cv_func_logf" = x""yes; then :
30409 cat >>confdefs.h <<_ACEOF
30410 #define HAVE_LOGF 1
30411 _ACEOF
30414 done
30416 else
30418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30419 $as_echo_n "checking for _logf declaration... " >&6; }
30420 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30421 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30422 $as_echo_n "(cached) " >&6
30423 else
30426 ac_ext=cpp
30427 ac_cpp='$CXXCPP $CPPFLAGS'
30428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h. */
30434 #include <math.h>
30435 #ifdef HAVE_IEEEFP_H
30436 #include <ieeefp.h>
30437 #endif
30440 main ()
30442 _logf(0);
30444 return 0;
30446 _ACEOF
30447 if ac_fn_cxx_try_compile "$LINENO"; then :
30448 glibcxx_cv_func__logf_use=yes
30449 else
30450 glibcxx_cv_func__logf_use=no
30452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30453 ac_ext=c
30454 ac_cpp='$CPP $CPPFLAGS'
30455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30464 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30466 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30467 for ac_func in _logf
30468 do :
30469 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30470 if test "x$ac_cv_func__logf" = x""yes; then :
30471 cat >>confdefs.h <<_ACEOF
30472 #define HAVE__LOGF 1
30473 _ACEOF
30476 done
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30486 $as_echo_n "checking for log10f declaration... " >&6; }
30487 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30488 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30489 $as_echo_n "(cached) " >&6
30490 else
30493 ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h. */
30501 #include <math.h>
30502 #ifdef HAVE_IEEEFP_H
30503 #include <ieeefp.h>
30504 #endif
30507 main ()
30509 log10f(0);
30511 return 0;
30513 _ACEOF
30514 if ac_fn_cxx_try_compile "$LINENO"; then :
30515 glibcxx_cv_func_log10f_use=yes
30516 else
30517 glibcxx_cv_func_log10f_use=no
30519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520 ac_ext=c
30521 ac_cpp='$CPP $CPPFLAGS'
30522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30531 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30533 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30534 for ac_func in log10f
30535 do :
30536 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30537 if test "x$ac_cv_func_log10f" = x""yes; then :
30538 cat >>confdefs.h <<_ACEOF
30539 #define HAVE_LOG10F 1
30540 _ACEOF
30543 done
30545 else
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30548 $as_echo_n "checking for _log10f declaration... " >&6; }
30549 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30550 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30552 else
30555 ac_ext=cpp
30556 ac_cpp='$CXXCPP $CPPFLAGS'
30557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30562 /* end confdefs.h. */
30563 #include <math.h>
30564 #ifdef HAVE_IEEEFP_H
30565 #include <ieeefp.h>
30566 #endif
30569 main ()
30571 _log10f(0);
30573 return 0;
30575 _ACEOF
30576 if ac_fn_cxx_try_compile "$LINENO"; then :
30577 glibcxx_cv_func__log10f_use=yes
30578 else
30579 glibcxx_cv_func__log10f_use=no
30581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30582 ac_ext=c
30583 ac_cpp='$CPP $CPPFLAGS'
30584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30593 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30595 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30596 for ac_func in _log10f
30597 do :
30598 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30599 if test "x$ac_cv_func__log10f" = x""yes; then :
30600 cat >>confdefs.h <<_ACEOF
30601 #define HAVE__LOG10F 1
30602 _ACEOF
30605 done
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30615 $as_echo_n "checking for modff declaration... " >&6; }
30616 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30617 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30632 main ()
30634 modff(0, 0);
30636 return 0;
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func_modff_use=yes
30641 else
30642 glibcxx_cv_func_modff_use=no
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30656 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30658 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30659 for ac_func in modff
30660 do :
30661 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30662 if test "x$ac_cv_func_modff" = x""yes; then :
30663 cat >>confdefs.h <<_ACEOF
30664 #define HAVE_MODFF 1
30665 _ACEOF
30668 done
30670 else
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30673 $as_echo_n "checking for _modff declaration... " >&6; }
30674 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30675 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30676 $as_echo_n "(cached) " >&6
30677 else
30680 ac_ext=cpp
30681 ac_cpp='$CXXCPP $CPPFLAGS'
30682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30687 /* end confdefs.h. */
30688 #include <math.h>
30690 main ()
30692 _modff(0, 0);
30694 return 0;
30696 _ACEOF
30697 if ac_fn_cxx_try_compile "$LINENO"; then :
30698 glibcxx_cv_func__modff_use=yes
30699 else
30700 glibcxx_cv_func__modff_use=no
30702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30703 ac_ext=c
30704 ac_cpp='$CPP $CPPFLAGS'
30705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30714 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30716 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30717 for ac_func in _modff
30718 do :
30719 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30720 if test "x$ac_cv_func__modff" = x""yes; then :
30721 cat >>confdefs.h <<_ACEOF
30722 #define HAVE__MODFF 1
30723 _ACEOF
30726 done
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30736 $as_echo_n "checking for modf declaration... " >&6; }
30737 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30738 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30739 $as_echo_n "(cached) " >&6
30740 else
30743 ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h. */
30751 #include <math.h>
30753 main ()
30755 modf(0, 0);
30757 return 0;
30759 _ACEOF
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func_modf_use=yes
30762 else
30763 glibcxx_cv_func_modf_use=no
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30777 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30779 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30780 for ac_func in modf
30781 do :
30782 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30783 if test "x$ac_cv_func_modf" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE_MODF 1
30786 _ACEOF
30789 done
30791 else
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30794 $as_echo_n "checking for _modf declaration... " >&6; }
30795 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30796 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30797 $as_echo_n "(cached) " >&6
30798 else
30801 ac_ext=cpp
30802 ac_cpp='$CXXCPP $CPPFLAGS'
30803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30808 /* end confdefs.h. */
30809 #include <math.h>
30811 main ()
30813 _modf(0, 0);
30815 return 0;
30817 _ACEOF
30818 if ac_fn_cxx_try_compile "$LINENO"; then :
30819 glibcxx_cv_func__modf_use=yes
30820 else
30821 glibcxx_cv_func__modf_use=no
30823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30824 ac_ext=c
30825 ac_cpp='$CPP $CPPFLAGS'
30826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30835 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30837 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30838 for ac_func in _modf
30839 do :
30840 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30841 if test "x$ac_cv_func__modf" = x""yes; then :
30842 cat >>confdefs.h <<_ACEOF
30843 #define HAVE__MODF 1
30844 _ACEOF
30847 done
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30857 $as_echo_n "checking for powf declaration... " >&6; }
30858 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30859 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30860 $as_echo_n "(cached) " >&6
30861 else
30864 ac_ext=cpp
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h. */
30872 #include <math.h>
30874 main ()
30876 powf(0, 0);
30878 return 0;
30880 _ACEOF
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func_powf_use=yes
30883 else
30884 glibcxx_cv_func_powf_use=no
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887 ac_ext=c
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30898 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30900 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30901 for ac_func in powf
30902 do :
30903 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30904 if test "x$ac_cv_func_powf" = x""yes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define HAVE_POWF 1
30907 _ACEOF
30910 done
30912 else
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30915 $as_echo_n "checking for _powf declaration... " >&6; }
30916 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30917 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30918 $as_echo_n "(cached) " >&6
30919 else
30922 ac_ext=cpp
30923 ac_cpp='$CXXCPP $CPPFLAGS'
30924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30929 /* end confdefs.h. */
30930 #include <math.h>
30932 main ()
30934 _powf(0, 0);
30936 return 0;
30938 _ACEOF
30939 if ac_fn_cxx_try_compile "$LINENO"; then :
30940 glibcxx_cv_func__powf_use=yes
30941 else
30942 glibcxx_cv_func__powf_use=no
30944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30945 ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30956 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30958 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30959 for ac_func in _powf
30960 do :
30961 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30962 if test "x$ac_cv_func__powf" = x""yes; then :
30963 cat >>confdefs.h <<_ACEOF
30964 #define HAVE__POWF 1
30965 _ACEOF
30968 done
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30978 $as_echo_n "checking for sqrtf declaration... " >&6; }
30979 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30980 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30981 $as_echo_n "(cached) " >&6
30982 else
30985 ac_ext=cpp
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
30993 #include <math.h>
30994 #ifdef HAVE_IEEEFP_H
30995 #include <ieeefp.h>
30996 #endif
30999 main ()
31001 sqrtf(0);
31003 return 0;
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007 glibcxx_cv_func_sqrtf_use=yes
31008 else
31009 glibcxx_cv_func_sqrtf_use=no
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31023 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31025 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31026 for ac_func in sqrtf
31027 do :
31028 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31029 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31030 cat >>confdefs.h <<_ACEOF
31031 #define HAVE_SQRTF 1
31032 _ACEOF
31035 done
31037 else
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31040 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31041 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31042 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31043 $as_echo_n "(cached) " >&6
31044 else
31047 ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h. */
31055 #include <math.h>
31056 #ifdef HAVE_IEEEFP_H
31057 #include <ieeefp.h>
31058 #endif
31061 main ()
31063 _sqrtf(0);
31065 return 0;
31067 _ACEOF
31068 if ac_fn_cxx_try_compile "$LINENO"; then :
31069 glibcxx_cv_func__sqrtf_use=yes
31070 else
31071 glibcxx_cv_func__sqrtf_use=no
31073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31074 ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31085 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31087 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31088 for ac_func in _sqrtf
31089 do :
31090 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31091 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31092 cat >>confdefs.h <<_ACEOF
31093 #define HAVE__SQRTF 1
31094 _ACEOF
31097 done
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31107 $as_echo_n "checking for sincosf declaration... " >&6; }
31108 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31109 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31110 $as_echo_n "(cached) " >&6
31111 else
31114 ac_ext=cpp
31115 ac_cpp='$CXXCPP $CPPFLAGS'
31116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31121 /* end confdefs.h. */
31122 #include <math.h>
31124 main ()
31126 sincosf(0, 0, 0);
31128 return 0;
31130 _ACEOF
31131 if ac_fn_cxx_try_compile "$LINENO"; then :
31132 glibcxx_cv_func_sincosf_use=yes
31133 else
31134 glibcxx_cv_func_sincosf_use=no
31136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137 ac_ext=c
31138 ac_cpp='$CPP $CPPFLAGS'
31139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31148 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31150 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31151 for ac_func in sincosf
31152 do :
31153 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31154 if test "x$ac_cv_func_sincosf" = x""yes; then :
31155 cat >>confdefs.h <<_ACEOF
31156 #define HAVE_SINCOSF 1
31157 _ACEOF
31160 done
31162 else
31164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31165 $as_echo_n "checking for _sincosf declaration... " >&6; }
31166 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31167 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31168 $as_echo_n "(cached) " >&6
31169 else
31172 ac_ext=cpp
31173 ac_cpp='$CXXCPP $CPPFLAGS'
31174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31179 /* end confdefs.h. */
31180 #include <math.h>
31182 main ()
31184 _sincosf(0, 0, 0);
31186 return 0;
31188 _ACEOF
31189 if ac_fn_cxx_try_compile "$LINENO"; then :
31190 glibcxx_cv_func__sincosf_use=yes
31191 else
31192 glibcxx_cv_func__sincosf_use=no
31194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31195 ac_ext=c
31196 ac_cpp='$CPP $CPPFLAGS'
31197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31206 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31208 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31209 for ac_func in _sincosf
31210 do :
31211 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31212 if test "x$ac_cv_func__sincosf" = x""yes; then :
31213 cat >>confdefs.h <<_ACEOF
31214 #define HAVE__SINCOSF 1
31215 _ACEOF
31218 done
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31228 $as_echo_n "checking for finitef declaration... " >&6; }
31229 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31230 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31231 $as_echo_n "(cached) " >&6
31232 else
31235 ac_ext=cpp
31236 ac_cpp='$CXXCPP $CPPFLAGS'
31237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31242 /* end confdefs.h. */
31243 #include <math.h>
31244 #ifdef HAVE_IEEEFP_H
31245 #include <ieeefp.h>
31246 #endif
31249 main ()
31251 finitef(0);
31253 return 0;
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func_finitef_use=yes
31258 else
31259 glibcxx_cv_func_finitef_use=no
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31273 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31275 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31276 for ac_func in finitef
31277 do :
31278 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31279 if test "x$ac_cv_func_finitef" = x""yes; then :
31280 cat >>confdefs.h <<_ACEOF
31281 #define HAVE_FINITEF 1
31282 _ACEOF
31285 done
31287 else
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31290 $as_echo_n "checking for _finitef declaration... " >&6; }
31291 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31292 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31293 $as_echo_n "(cached) " >&6
31294 else
31297 ac_ext=cpp
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h. */
31305 #include <math.h>
31306 #ifdef HAVE_IEEEFP_H
31307 #include <ieeefp.h>
31308 #endif
31311 main ()
31313 _finitef(0);
31315 return 0;
31317 _ACEOF
31318 if ac_fn_cxx_try_compile "$LINENO"; then :
31319 glibcxx_cv_func__finitef_use=yes
31320 else
31321 glibcxx_cv_func__finitef_use=no
31323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31324 ac_ext=c
31325 ac_cpp='$CPP $CPPFLAGS'
31326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31335 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31337 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31338 for ac_func in _finitef
31339 do :
31340 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31341 if test "x$ac_cv_func__finitef" = x""yes; then :
31342 cat >>confdefs.h <<_ACEOF
31343 #define HAVE__FINITEF 1
31344 _ACEOF
31347 done
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31357 $as_echo_n "checking for long double trig functions... " >&6; }
31358 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31359 $as_echo_n "(cached) " >&6
31360 else
31363 ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h. */
31371 #include <math.h>
31373 main ()
31375 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31377 return 0;
31379 _ACEOF
31380 if ac_fn_cxx_try_compile "$LINENO"; then :
31381 glibcxx_cv_func_long_double_trig_use=yes
31382 else
31383 glibcxx_cv_func_long_double_trig_use=no
31385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 ac_ext=c
31387 ac_cpp='$CPP $CPPFLAGS'
31388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31395 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31396 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31397 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31398 do :
31399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31401 eval as_val=\$$as_ac_var
31402 if test "x$as_val" = x""yes; then :
31403 cat >>confdefs.h <<_ACEOF
31404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31405 _ACEOF
31408 done
31410 else
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31412 $as_echo_n "checking for _long double trig functions... " >&6; }
31413 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31428 main ()
31430 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31432 return 0;
31434 _ACEOF
31435 if ac_fn_cxx_try_compile "$LINENO"; then :
31436 glibcxx_cv_func__long_double_trig_use=yes
31437 else
31438 glibcxx_cv_func__long_double_trig_use=no
31440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441 ac_ext=c
31442 ac_cpp='$CPP $CPPFLAGS'
31443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31450 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31451 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31452 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31453 do :
31454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31456 eval as_val=\$$as_ac_var
31457 if test "x$as_val" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31460 _ACEOF
31463 done
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31473 $as_echo_n "checking for long double round functions... " >&6; }
31474 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31475 $as_echo_n "(cached) " >&6
31476 else
31479 ac_ext=cpp
31480 ac_cpp='$CXXCPP $CPPFLAGS'
31481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31486 /* end confdefs.h. */
31487 #include <math.h>
31489 main ()
31491 ceill (0); floorl (0);
31493 return 0;
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_long_double_round_use=yes
31498 else
31499 glibcxx_cv_func_long_double_round_use=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31511 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31512 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31513 for ac_func in ceill floorl
31514 do :
31515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31517 eval as_val=\$$as_ac_var
31518 if test "x$as_val" = x""yes; then :
31519 cat >>confdefs.h <<_ACEOF
31520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31521 _ACEOF
31524 done
31526 else
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31528 $as_echo_n "checking for _long double round functions... " >&6; }
31529 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31544 main ()
31546 _ceill (0); _floorl (0);
31548 return 0;
31550 _ACEOF
31551 if ac_fn_cxx_try_compile "$LINENO"; then :
31552 glibcxx_cv_func__long_double_round_use=yes
31553 else
31554 glibcxx_cv_func__long_double_round_use=no
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557 ac_ext=c
31558 ac_cpp='$CPP $CPPFLAGS'
31559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31566 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31567 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31568 for ac_func in _ceill _floorl
31569 do :
31570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31572 eval as_val=\$$as_ac_var
31573 if test "x$as_val" = x""yes; then :
31574 cat >>confdefs.h <<_ACEOF
31575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31576 _ACEOF
31579 done
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31590 $as_echo_n "checking for isnanl declaration... " >&6; }
31591 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31592 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31593 $as_echo_n "(cached) " >&6
31594 else
31597 ac_ext=cpp
31598 ac_cpp='$CXXCPP $CPPFLAGS'
31599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31604 /* end confdefs.h. */
31605 #include <math.h>
31606 #ifdef HAVE_IEEEFP_H
31607 #include <ieeefp.h>
31608 #endif
31611 main ()
31613 isnanl(0);
31615 return 0;
31617 _ACEOF
31618 if ac_fn_cxx_try_compile "$LINENO"; then :
31619 glibcxx_cv_func_isnanl_use=yes
31620 else
31621 glibcxx_cv_func_isnanl_use=no
31623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31624 ac_ext=c
31625 ac_cpp='$CPP $CPPFLAGS'
31626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31635 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31637 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31638 for ac_func in isnanl
31639 do :
31640 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31641 if test "x$ac_cv_func_isnanl" = x""yes; then :
31642 cat >>confdefs.h <<_ACEOF
31643 #define HAVE_ISNANL 1
31644 _ACEOF
31647 done
31649 else
31651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31652 $as_echo_n "checking for _isnanl declaration... " >&6; }
31653 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31654 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31655 $as_echo_n "(cached) " >&6
31656 else
31659 ac_ext=cpp
31660 ac_cpp='$CXXCPP $CPPFLAGS'
31661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31666 /* end confdefs.h. */
31667 #include <math.h>
31668 #ifdef HAVE_IEEEFP_H
31669 #include <ieeefp.h>
31670 #endif
31673 main ()
31675 _isnanl(0);
31677 return 0;
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func__isnanl_use=yes
31682 else
31683 glibcxx_cv_func__isnanl_use=no
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31697 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31699 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31700 for ac_func in _isnanl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31703 if test "x$ac_cv_func__isnanl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE__ISNANL 1
31706 _ACEOF
31709 done
31718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31719 $as_echo_n "checking for isinfl declaration... " >&6; }
31720 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31721 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31722 $as_echo_n "(cached) " >&6
31723 else
31726 ac_ext=cpp
31727 ac_cpp='$CXXCPP $CPPFLAGS'
31728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733 /* end confdefs.h. */
31734 #include <math.h>
31735 #ifdef HAVE_IEEEFP_H
31736 #include <ieeefp.h>
31737 #endif
31740 main ()
31742 isinfl(0);
31744 return 0;
31746 _ACEOF
31747 if ac_fn_cxx_try_compile "$LINENO"; then :
31748 glibcxx_cv_func_isinfl_use=yes
31749 else
31750 glibcxx_cv_func_isinfl_use=no
31752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31753 ac_ext=c
31754 ac_cpp='$CPP $CPPFLAGS'
31755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31764 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31766 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31767 for ac_func in isinfl
31768 do :
31769 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31770 if test "x$ac_cv_func_isinfl" = x""yes; then :
31771 cat >>confdefs.h <<_ACEOF
31772 #define HAVE_ISINFL 1
31773 _ACEOF
31776 done
31778 else
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31781 $as_echo_n "checking for _isinfl declaration... " >&6; }
31782 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31783 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31784 $as_echo_n "(cached) " >&6
31785 else
31788 ac_ext=cpp
31789 ac_cpp='$CXXCPP $CPPFLAGS'
31790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31795 /* end confdefs.h. */
31796 #include <math.h>
31797 #ifdef HAVE_IEEEFP_H
31798 #include <ieeefp.h>
31799 #endif
31802 main ()
31804 _isinfl(0);
31806 return 0;
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func__isinfl_use=yes
31811 else
31812 glibcxx_cv_func__isinfl_use=no
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31826 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31828 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31829 for ac_func in _isinfl
31830 do :
31831 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31832 if test "x$ac_cv_func__isinfl" = x""yes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE__ISINFL 1
31835 _ACEOF
31838 done
31847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31848 $as_echo_n "checking for atan2l declaration... " >&6; }
31849 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31850 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31851 $as_echo_n "(cached) " >&6
31852 else
31855 ac_ext=cpp
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31862 /* end confdefs.h. */
31863 #include <math.h>
31865 main ()
31867 atan2l(0, 0);
31869 return 0;
31871 _ACEOF
31872 if ac_fn_cxx_try_compile "$LINENO"; then :
31873 glibcxx_cv_func_atan2l_use=yes
31874 else
31875 glibcxx_cv_func_atan2l_use=no
31877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31878 ac_ext=c
31879 ac_cpp='$CPP $CPPFLAGS'
31880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31889 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31891 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31892 for ac_func in atan2l
31893 do :
31894 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31895 if test "x$ac_cv_func_atan2l" = x""yes; then :
31896 cat >>confdefs.h <<_ACEOF
31897 #define HAVE_ATAN2L 1
31898 _ACEOF
31901 done
31903 else
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31906 $as_echo_n "checking for _atan2l declaration... " >&6; }
31907 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31908 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31909 $as_echo_n "(cached) " >&6
31910 else
31913 ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <math.h>
31923 main ()
31925 _atan2l(0, 0);
31927 return 0;
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931 glibcxx_cv_func__atan2l_use=yes
31932 else
31933 glibcxx_cv_func__atan2l_use=no
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31947 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31949 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31950 for ac_func in _atan2l
31951 do :
31952 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31953 if test "x$ac_cv_func__atan2l" = x""yes; then :
31954 cat >>confdefs.h <<_ACEOF
31955 #define HAVE__ATAN2L 1
31956 _ACEOF
31959 done
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31969 $as_echo_n "checking for expl declaration... " >&6; }
31970 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31971 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31972 $as_echo_n "(cached) " >&6
31973 else
31976 ac_ext=cpp
31977 ac_cpp='$CXXCPP $CPPFLAGS'
31978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h. */
31984 #include <math.h>
31985 #ifdef HAVE_IEEEFP_H
31986 #include <ieeefp.h>
31987 #endif
31990 main ()
31992 expl(0);
31994 return 0;
31996 _ACEOF
31997 if ac_fn_cxx_try_compile "$LINENO"; then :
31998 glibcxx_cv_func_expl_use=yes
31999 else
32000 glibcxx_cv_func_expl_use=no
32002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32003 ac_ext=c
32004 ac_cpp='$CPP $CPPFLAGS'
32005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32014 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32016 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32017 for ac_func in expl
32018 do :
32019 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32020 if test "x$ac_cv_func_expl" = x""yes; then :
32021 cat >>confdefs.h <<_ACEOF
32022 #define HAVE_EXPL 1
32023 _ACEOF
32026 done
32028 else
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32031 $as_echo_n "checking for _expl declaration... " >&6; }
32032 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32033 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32034 $as_echo_n "(cached) " >&6
32035 else
32038 ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <math.h>
32047 #ifdef HAVE_IEEEFP_H
32048 #include <ieeefp.h>
32049 #endif
32052 main ()
32054 _expl(0);
32056 return 0;
32058 _ACEOF
32059 if ac_fn_cxx_try_compile "$LINENO"; then :
32060 glibcxx_cv_func__expl_use=yes
32061 else
32062 glibcxx_cv_func__expl_use=no
32064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32065 ac_ext=c
32066 ac_cpp='$CPP $CPPFLAGS'
32067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32076 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32078 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32079 for ac_func in _expl
32080 do :
32081 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32082 if test "x$ac_cv_func__expl" = x""yes; then :
32083 cat >>confdefs.h <<_ACEOF
32084 #define HAVE__EXPL 1
32085 _ACEOF
32088 done
32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32098 $as_echo_n "checking for fabsl declaration... " >&6; }
32099 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32100 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32101 $as_echo_n "(cached) " >&6
32102 else
32105 ac_ext=cpp
32106 ac_cpp='$CXXCPP $CPPFLAGS'
32107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32112 /* end confdefs.h. */
32113 #include <math.h>
32114 #ifdef HAVE_IEEEFP_H
32115 #include <ieeefp.h>
32116 #endif
32119 main ()
32121 fabsl(0);
32123 return 0;
32125 _ACEOF
32126 if ac_fn_cxx_try_compile "$LINENO"; then :
32127 glibcxx_cv_func_fabsl_use=yes
32128 else
32129 glibcxx_cv_func_fabsl_use=no
32131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32132 ac_ext=c
32133 ac_cpp='$CPP $CPPFLAGS'
32134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32143 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32145 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32146 for ac_func in fabsl
32147 do :
32148 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32149 if test "x$ac_cv_func_fabsl" = x""yes; then :
32150 cat >>confdefs.h <<_ACEOF
32151 #define HAVE_FABSL 1
32152 _ACEOF
32155 done
32157 else
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32160 $as_echo_n "checking for _fabsl declaration... " >&6; }
32161 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32162 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32163 $as_echo_n "(cached) " >&6
32164 else
32167 ac_ext=cpp
32168 ac_cpp='$CXXCPP $CPPFLAGS'
32169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32174 /* end confdefs.h. */
32175 #include <math.h>
32176 #ifdef HAVE_IEEEFP_H
32177 #include <ieeefp.h>
32178 #endif
32181 main ()
32183 _fabsl(0);
32185 return 0;
32187 _ACEOF
32188 if ac_fn_cxx_try_compile "$LINENO"; then :
32189 glibcxx_cv_func__fabsl_use=yes
32190 else
32191 glibcxx_cv_func__fabsl_use=no
32193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32194 ac_ext=c
32195 ac_cpp='$CPP $CPPFLAGS'
32196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32205 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32207 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32208 for ac_func in _fabsl
32209 do :
32210 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32211 if test "x$ac_cv_func__fabsl" = x""yes; then :
32212 cat >>confdefs.h <<_ACEOF
32213 #define HAVE__FABSL 1
32214 _ACEOF
32217 done
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32227 $as_echo_n "checking for fmodl declaration... " >&6; }
32228 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32229 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32230 $as_echo_n "(cached) " >&6
32231 else
32234 ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h. */
32242 #include <math.h>
32244 main ()
32246 fmodl(0, 0);
32248 return 0;
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252 glibcxx_cv_func_fmodl_use=yes
32253 else
32254 glibcxx_cv_func_fmodl_use=no
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32268 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32270 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32271 for ac_func in fmodl
32272 do :
32273 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32274 if test "x$ac_cv_func_fmodl" = x""yes; then :
32275 cat >>confdefs.h <<_ACEOF
32276 #define HAVE_FMODL 1
32277 _ACEOF
32280 done
32282 else
32284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32285 $as_echo_n "checking for _fmodl declaration... " >&6; }
32286 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32287 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32288 $as_echo_n "(cached) " >&6
32289 else
32292 ac_ext=cpp
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 #include <math.h>
32302 main ()
32304 _fmodl(0, 0);
32306 return 0;
32308 _ACEOF
32309 if ac_fn_cxx_try_compile "$LINENO"; then :
32310 glibcxx_cv_func__fmodl_use=yes
32311 else
32312 glibcxx_cv_func__fmodl_use=no
32314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 ac_ext=c
32316 ac_cpp='$CPP $CPPFLAGS'
32317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32326 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32328 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32329 for ac_func in _fmodl
32330 do :
32331 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32332 if test "x$ac_cv_func__fmodl" = x""yes; then :
32333 cat >>confdefs.h <<_ACEOF
32334 #define HAVE__FMODL 1
32335 _ACEOF
32338 done
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32348 $as_echo_n "checking for frexpl declaration... " >&6; }
32349 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32350 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32351 $as_echo_n "(cached) " >&6
32352 else
32355 ac_ext=cpp
32356 ac_cpp='$CXXCPP $CPPFLAGS'
32357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <math.h>
32365 main ()
32367 frexpl(0, 0);
32369 return 0;
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func_frexpl_use=yes
32374 else
32375 glibcxx_cv_func_frexpl_use=no
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32389 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32391 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32392 for ac_func in frexpl
32393 do :
32394 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32395 if test "x$ac_cv_func_frexpl" = x""yes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE_FREXPL 1
32398 _ACEOF
32401 done
32403 else
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32406 $as_echo_n "checking for _frexpl declaration... " >&6; }
32407 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32408 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32409 $as_echo_n "(cached) " >&6
32410 else
32413 ac_ext=cpp
32414 ac_cpp='$CXXCPP $CPPFLAGS'
32415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32420 /* end confdefs.h. */
32421 #include <math.h>
32423 main ()
32425 _frexpl(0, 0);
32427 return 0;
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func__frexpl_use=yes
32432 else
32433 glibcxx_cv_func__frexpl_use=no
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32447 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32449 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32450 for ac_func in _frexpl
32451 do :
32452 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32453 if test "x$ac_cv_func__frexpl" = x""yes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE__FREXPL 1
32456 _ACEOF
32459 done
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32469 $as_echo_n "checking for hypotl declaration... " >&6; }
32470 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32471 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32472 $as_echo_n "(cached) " >&6
32473 else
32476 ac_ext=cpp
32477 ac_cpp='$CXXCPP $CPPFLAGS'
32478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483 /* end confdefs.h. */
32484 #include <math.h>
32486 main ()
32488 hypotl(0, 0);
32490 return 0;
32492 _ACEOF
32493 if ac_fn_cxx_try_compile "$LINENO"; then :
32494 glibcxx_cv_func_hypotl_use=yes
32495 else
32496 glibcxx_cv_func_hypotl_use=no
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499 ac_ext=c
32500 ac_cpp='$CPP $CPPFLAGS'
32501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32510 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32512 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32513 for ac_func in hypotl
32514 do :
32515 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32516 if test "x$ac_cv_func_hypotl" = x""yes; then :
32517 cat >>confdefs.h <<_ACEOF
32518 #define HAVE_HYPOTL 1
32519 _ACEOF
32522 done
32524 else
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32527 $as_echo_n "checking for _hypotl declaration... " >&6; }
32528 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32529 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32530 $as_echo_n "(cached) " >&6
32531 else
32534 ac_ext=cpp
32535 ac_cpp='$CXXCPP $CPPFLAGS'
32536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32541 /* end confdefs.h. */
32542 #include <math.h>
32544 main ()
32546 _hypotl(0, 0);
32548 return 0;
32550 _ACEOF
32551 if ac_fn_cxx_try_compile "$LINENO"; then :
32552 glibcxx_cv_func__hypotl_use=yes
32553 else
32554 glibcxx_cv_func__hypotl_use=no
32556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_ext=c
32558 ac_cpp='$CPP $CPPFLAGS'
32559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32568 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32570 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32571 for ac_func in _hypotl
32572 do :
32573 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32574 if test "x$ac_cv_func__hypotl" = x""yes; then :
32575 cat >>confdefs.h <<_ACEOF
32576 #define HAVE__HYPOTL 1
32577 _ACEOF
32580 done
32589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32590 $as_echo_n "checking for ldexpl declaration... " >&6; }
32591 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32592 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32593 $as_echo_n "(cached) " >&6
32594 else
32597 ac_ext=cpp
32598 ac_cpp='$CXXCPP $CPPFLAGS'
32599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32605 #include <math.h>
32607 main ()
32609 ldexpl(0, 0);
32611 return 0;
32613 _ACEOF
32614 if ac_fn_cxx_try_compile "$LINENO"; then :
32615 glibcxx_cv_func_ldexpl_use=yes
32616 else
32617 glibcxx_cv_func_ldexpl_use=no
32619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32620 ac_ext=c
32621 ac_cpp='$CPP $CPPFLAGS'
32622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32631 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32633 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32634 for ac_func in ldexpl
32635 do :
32636 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32637 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32638 cat >>confdefs.h <<_ACEOF
32639 #define HAVE_LDEXPL 1
32640 _ACEOF
32643 done
32645 else
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32648 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32649 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32650 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32651 $as_echo_n "(cached) " >&6
32652 else
32655 ac_ext=cpp
32656 ac_cpp='$CXXCPP $CPPFLAGS'
32657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32662 /* end confdefs.h. */
32663 #include <math.h>
32665 main ()
32667 _ldexpl(0, 0);
32669 return 0;
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func__ldexpl_use=yes
32674 else
32675 glibcxx_cv_func__ldexpl_use=no
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32689 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32691 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32692 for ac_func in _ldexpl
32693 do :
32694 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32695 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE__LDEXPL 1
32698 _ACEOF
32701 done
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32711 $as_echo_n "checking for logl declaration... " >&6; }
32712 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32713 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32714 $as_echo_n "(cached) " >&6
32715 else
32718 ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <math.h>
32727 #ifdef HAVE_IEEEFP_H
32728 #include <ieeefp.h>
32729 #endif
32732 main ()
32734 logl(0);
32736 return 0;
32738 _ACEOF
32739 if ac_fn_cxx_try_compile "$LINENO"; then :
32740 glibcxx_cv_func_logl_use=yes
32741 else
32742 glibcxx_cv_func_logl_use=no
32744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32745 ac_ext=c
32746 ac_cpp='$CPP $CPPFLAGS'
32747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32756 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32758 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32759 for ac_func in logl
32760 do :
32761 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32762 if test "x$ac_cv_func_logl" = x""yes; then :
32763 cat >>confdefs.h <<_ACEOF
32764 #define HAVE_LOGL 1
32765 _ACEOF
32768 done
32770 else
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32773 $as_echo_n "checking for _logl declaration... " >&6; }
32774 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32775 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32789 #ifdef HAVE_IEEEFP_H
32790 #include <ieeefp.h>
32791 #endif
32794 main ()
32796 _logl(0);
32798 return 0;
32800 _ACEOF
32801 if ac_fn_cxx_try_compile "$LINENO"; then :
32802 glibcxx_cv_func__logl_use=yes
32803 else
32804 glibcxx_cv_func__logl_use=no
32806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32818 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32820 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32821 for ac_func in _logl
32822 do :
32823 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32824 if test "x$ac_cv_func__logl" = x""yes; then :
32825 cat >>confdefs.h <<_ACEOF
32826 #define HAVE__LOGL 1
32827 _ACEOF
32830 done
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32840 $as_echo_n "checking for log10l declaration... " >&6; }
32841 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32842 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32843 $as_echo_n "(cached) " >&6
32844 else
32847 ac_ext=cpp
32848 ac_cpp='$CXXCPP $CPPFLAGS'
32849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32854 /* end confdefs.h. */
32855 #include <math.h>
32856 #ifdef HAVE_IEEEFP_H
32857 #include <ieeefp.h>
32858 #endif
32861 main ()
32863 log10l(0);
32865 return 0;
32867 _ACEOF
32868 if ac_fn_cxx_try_compile "$LINENO"; then :
32869 glibcxx_cv_func_log10l_use=yes
32870 else
32871 glibcxx_cv_func_log10l_use=no
32873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32874 ac_ext=c
32875 ac_cpp='$CPP $CPPFLAGS'
32876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32885 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32887 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32888 for ac_func in log10l
32889 do :
32890 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32891 if test "x$ac_cv_func_log10l" = x""yes; then :
32892 cat >>confdefs.h <<_ACEOF
32893 #define HAVE_LOG10L 1
32894 _ACEOF
32897 done
32899 else
32901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32902 $as_echo_n "checking for _log10l declaration... " >&6; }
32903 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32904 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32905 $as_echo_n "(cached) " >&6
32906 else
32909 ac_ext=cpp
32910 ac_cpp='$CXXCPP $CPPFLAGS'
32911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32916 /* end confdefs.h. */
32917 #include <math.h>
32918 #ifdef HAVE_IEEEFP_H
32919 #include <ieeefp.h>
32920 #endif
32923 main ()
32925 _log10l(0);
32927 return 0;
32929 _ACEOF
32930 if ac_fn_cxx_try_compile "$LINENO"; then :
32931 glibcxx_cv_func__log10l_use=yes
32932 else
32933 glibcxx_cv_func__log10l_use=no
32935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 ac_ext=c
32937 ac_cpp='$CPP $CPPFLAGS'
32938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32947 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32949 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32950 for ac_func in _log10l
32951 do :
32952 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32953 if test "x$ac_cv_func__log10l" = x""yes; then :
32954 cat >>confdefs.h <<_ACEOF
32955 #define HAVE__LOG10L 1
32956 _ACEOF
32959 done
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32969 $as_echo_n "checking for modfl declaration... " >&6; }
32970 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32971 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32972 $as_echo_n "(cached) " >&6
32973 else
32976 ac_ext=cpp
32977 ac_cpp='$CXXCPP $CPPFLAGS'
32978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32983 /* end confdefs.h. */
32984 #include <math.h>
32986 main ()
32988 modfl(0, 0);
32990 return 0;
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func_modfl_use=yes
32995 else
32996 glibcxx_cv_func_modfl_use=no
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33010 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33012 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33013 for ac_func in modfl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33016 if test "x$ac_cv_func_modfl" = x""yes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE_MODFL 1
33019 _ACEOF
33022 done
33024 else
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33027 $as_echo_n "checking for _modfl declaration... " >&6; }
33028 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33029 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <math.h>
33044 main ()
33046 _modfl(0, 0);
33048 return 0;
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 glibcxx_cv_func__modfl_use=yes
33053 else
33054 glibcxx_cv_func__modfl_use=no
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057 ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33068 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33070 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33071 for ac_func in _modfl
33072 do :
33073 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33074 if test "x$ac_cv_func__modfl" = x""yes; then :
33075 cat >>confdefs.h <<_ACEOF
33076 #define HAVE__MODFL 1
33077 _ACEOF
33080 done
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33090 $as_echo_n "checking for powl declaration... " >&6; }
33091 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33092 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33093 $as_echo_n "(cached) " >&6
33094 else
33097 ac_ext=cpp
33098 ac_cpp='$CXXCPP $CPPFLAGS'
33099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33104 /* end confdefs.h. */
33105 #include <math.h>
33107 main ()
33109 powl(0, 0);
33111 return 0;
33113 _ACEOF
33114 if ac_fn_cxx_try_compile "$LINENO"; then :
33115 glibcxx_cv_func_powl_use=yes
33116 else
33117 glibcxx_cv_func_powl_use=no
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 ac_ext=c
33121 ac_cpp='$CPP $CPPFLAGS'
33122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33131 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33133 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33134 for ac_func in powl
33135 do :
33136 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33137 if test "x$ac_cv_func_powl" = x""yes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE_POWL 1
33140 _ACEOF
33143 done
33145 else
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33148 $as_echo_n "checking for _powl declaration... " >&6; }
33149 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33150 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33151 $as_echo_n "(cached) " >&6
33152 else
33155 ac_ext=cpp
33156 ac_cpp='$CXXCPP $CPPFLAGS'
33157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33162 /* end confdefs.h. */
33163 #include <math.h>
33165 main ()
33167 _powl(0, 0);
33169 return 0;
33171 _ACEOF
33172 if ac_fn_cxx_try_compile "$LINENO"; then :
33173 glibcxx_cv_func__powl_use=yes
33174 else
33175 glibcxx_cv_func__powl_use=no
33177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33178 ac_ext=c
33179 ac_cpp='$CPP $CPPFLAGS'
33180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33189 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33191 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33192 for ac_func in _powl
33193 do :
33194 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33195 if test "x$ac_cv_func__powl" = x""yes; then :
33196 cat >>confdefs.h <<_ACEOF
33197 #define HAVE__POWL 1
33198 _ACEOF
33201 done
33210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33211 $as_echo_n "checking for sqrtl declaration... " >&6; }
33212 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33213 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33214 $as_echo_n "(cached) " >&6
33215 else
33218 ac_ext=cpp
33219 ac_cpp='$CXXCPP $CPPFLAGS'
33220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33225 /* end confdefs.h. */
33226 #include <math.h>
33227 #ifdef HAVE_IEEEFP_H
33228 #include <ieeefp.h>
33229 #endif
33232 main ()
33234 sqrtl(0);
33236 return 0;
33238 _ACEOF
33239 if ac_fn_cxx_try_compile "$LINENO"; then :
33240 glibcxx_cv_func_sqrtl_use=yes
33241 else
33242 glibcxx_cv_func_sqrtl_use=no
33244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33245 ac_ext=c
33246 ac_cpp='$CPP $CPPFLAGS'
33247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33256 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33258 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33259 for ac_func in sqrtl
33260 do :
33261 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33262 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33263 cat >>confdefs.h <<_ACEOF
33264 #define HAVE_SQRTL 1
33265 _ACEOF
33268 done
33270 else
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33273 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33274 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33275 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33276 $as_echo_n "(cached) " >&6
33277 else
33280 ac_ext=cpp
33281 ac_cpp='$CXXCPP $CPPFLAGS'
33282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33287 /* end confdefs.h. */
33288 #include <math.h>
33289 #ifdef HAVE_IEEEFP_H
33290 #include <ieeefp.h>
33291 #endif
33294 main ()
33296 _sqrtl(0);
33298 return 0;
33300 _ACEOF
33301 if ac_fn_cxx_try_compile "$LINENO"; then :
33302 glibcxx_cv_func__sqrtl_use=yes
33303 else
33304 glibcxx_cv_func__sqrtl_use=no
33306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33307 ac_ext=c
33308 ac_cpp='$CPP $CPPFLAGS'
33309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33318 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33320 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33321 for ac_func in _sqrtl
33322 do :
33323 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33324 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33325 cat >>confdefs.h <<_ACEOF
33326 #define HAVE__SQRTL 1
33327 _ACEOF
33330 done
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33340 $as_echo_n "checking for sincosl declaration... " >&6; }
33341 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33342 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33343 $as_echo_n "(cached) " >&6
33344 else
33347 ac_ext=cpp
33348 ac_cpp='$CXXCPP $CPPFLAGS'
33349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33354 /* end confdefs.h. */
33355 #include <math.h>
33357 main ()
33359 sincosl(0, 0, 0);
33361 return 0;
33363 _ACEOF
33364 if ac_fn_cxx_try_compile "$LINENO"; then :
33365 glibcxx_cv_func_sincosl_use=yes
33366 else
33367 glibcxx_cv_func_sincosl_use=no
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33381 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33383 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33384 for ac_func in sincosl
33385 do :
33386 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33387 if test "x$ac_cv_func_sincosl" = x""yes; then :
33388 cat >>confdefs.h <<_ACEOF
33389 #define HAVE_SINCOSL 1
33390 _ACEOF
33393 done
33395 else
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33398 $as_echo_n "checking for _sincosl declaration... " >&6; }
33399 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33400 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33401 $as_echo_n "(cached) " >&6
33402 else
33405 ac_ext=cpp
33406 ac_cpp='$CXXCPP $CPPFLAGS'
33407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33412 /* end confdefs.h. */
33413 #include <math.h>
33415 main ()
33417 _sincosl(0, 0, 0);
33419 return 0;
33421 _ACEOF
33422 if ac_fn_cxx_try_compile "$LINENO"; then :
33423 glibcxx_cv_func__sincosl_use=yes
33424 else
33425 glibcxx_cv_func__sincosl_use=no
33427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33428 ac_ext=c
33429 ac_cpp='$CPP $CPPFLAGS'
33430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33439 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33441 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33442 for ac_func in _sincosl
33443 do :
33444 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33445 if test "x$ac_cv_func__sincosl" = x""yes; then :
33446 cat >>confdefs.h <<_ACEOF
33447 #define HAVE__SINCOSL 1
33448 _ACEOF
33451 done
33460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33461 $as_echo_n "checking for finitel declaration... " >&6; }
33462 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33463 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33464 $as_echo_n "(cached) " >&6
33465 else
33468 ac_ext=cpp
33469 ac_cpp='$CXXCPP $CPPFLAGS'
33470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33475 /* end confdefs.h. */
33476 #include <math.h>
33477 #ifdef HAVE_IEEEFP_H
33478 #include <ieeefp.h>
33479 #endif
33482 main ()
33484 finitel(0);
33486 return 0;
33488 _ACEOF
33489 if ac_fn_cxx_try_compile "$LINENO"; then :
33490 glibcxx_cv_func_finitel_use=yes
33491 else
33492 glibcxx_cv_func_finitel_use=no
33494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33495 ac_ext=c
33496 ac_cpp='$CPP $CPPFLAGS'
33497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33506 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33508 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33509 for ac_func in finitel
33510 do :
33511 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33512 if test "x$ac_cv_func_finitel" = x""yes; then :
33513 cat >>confdefs.h <<_ACEOF
33514 #define HAVE_FINITEL 1
33515 _ACEOF
33518 done
33520 else
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33523 $as_echo_n "checking for _finitel declaration... " >&6; }
33524 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33525 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33526 $as_echo_n "(cached) " >&6
33527 else
33530 ac_ext=cpp
33531 ac_cpp='$CXXCPP $CPPFLAGS'
33532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33537 /* end confdefs.h. */
33538 #include <math.h>
33539 #ifdef HAVE_IEEEFP_H
33540 #include <ieeefp.h>
33541 #endif
33544 main ()
33546 _finitel(0);
33548 return 0;
33550 _ACEOF
33551 if ac_fn_cxx_try_compile "$LINENO"; then :
33552 glibcxx_cv_func__finitel_use=yes
33553 else
33554 glibcxx_cv_func__finitel_use=no
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33557 ac_ext=c
33558 ac_cpp='$CPP $CPPFLAGS'
33559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33568 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33570 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33571 for ac_func in _finitel
33572 do :
33573 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33574 if test "x$ac_cv_func__finitel" = x""yes; then :
33575 cat >>confdefs.h <<_ACEOF
33576 #define HAVE__FINITEL 1
33577 _ACEOF
33580 done
33588 LIBS="$ac_save_LIBS"
33589 CXXFLAGS="$ac_save_CXXFLAGS"
33592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33593 ac_save_CXXFLAGS="$CXXFLAGS"
33594 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33598 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33599 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33600 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33601 $as_echo_n "(cached) " >&6
33602 else
33605 ac_ext=cpp
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h. */
33613 #include <stdlib.h>
33615 main ()
33617 at_quick_exit(0);
33619 return 0;
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func_at_quick_exit_use=yes
33624 else
33625 glibcxx_cv_func_at_quick_exit_use=no
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33639 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33640 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33641 for ac_func in at_quick_exit
33642 do :
33643 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33644 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33645 cat >>confdefs.h <<_ACEOF
33646 #define HAVE_AT_QUICK_EXIT 1
33647 _ACEOF
33650 done
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33656 $as_echo_n "checking for quick_exit declaration... " >&6; }
33657 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33658 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33659 $as_echo_n "(cached) " >&6
33660 else
33663 ac_ext=cpp
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33670 /* end confdefs.h. */
33671 #include <stdlib.h>
33673 main ()
33675 quick_exit(0);
33677 return 0;
33679 _ACEOF
33680 if ac_fn_cxx_try_compile "$LINENO"; then :
33681 glibcxx_cv_func_quick_exit_use=yes
33682 else
33683 glibcxx_cv_func_quick_exit_use=no
33685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33686 ac_ext=c
33687 ac_cpp='$CPP $CPPFLAGS'
33688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33697 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33698 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33699 for ac_func in quick_exit
33700 do :
33701 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33702 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33703 cat >>confdefs.h <<_ACEOF
33704 #define HAVE_QUICK_EXIT 1
33705 _ACEOF
33708 done
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33714 $as_echo_n "checking for strtold declaration... " >&6; }
33715 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33716 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33721 ac_ext=cpp
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33728 /* end confdefs.h. */
33729 #include <stdlib.h>
33731 main ()
33733 strtold(0, 0);
33735 return 0;
33737 _ACEOF
33738 if ac_fn_cxx_try_compile "$LINENO"; then :
33739 glibcxx_cv_func_strtold_use=yes
33740 else
33741 glibcxx_cv_func_strtold_use=no
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_ext=c
33745 ac_cpp='$CPP $CPPFLAGS'
33746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33755 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33756 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33757 for ac_func in strtold
33758 do :
33759 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33760 if test "x$ac_cv_func_strtold" = x""yes; then :
33761 cat >>confdefs.h <<_ACEOF
33762 #define HAVE_STRTOLD 1
33763 _ACEOF
33766 done
33773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33774 $as_echo_n "checking for strtof declaration... " >&6; }
33775 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33776 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33777 $as_echo_n "(cached) " >&6
33778 else
33781 ac_ext=cpp
33782 ac_cpp='$CXXCPP $CPPFLAGS'
33783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33788 /* end confdefs.h. */
33789 #include <stdlib.h>
33791 main ()
33793 strtof(0, 0);
33795 return 0;
33797 _ACEOF
33798 if ac_fn_cxx_try_compile "$LINENO"; then :
33799 glibcxx_cv_func_strtof_use=yes
33800 else
33801 glibcxx_cv_func_strtof_use=no
33803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33804 ac_ext=c
33805 ac_cpp='$CPP $CPPFLAGS'
33806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33815 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33816 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33817 for ac_func in strtof
33818 do :
33819 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33820 if test "x$ac_cv_func_strtof" = x""yes; then :
33821 cat >>confdefs.h <<_ACEOF
33822 #define HAVE_STRTOF 1
33823 _ACEOF
33826 done
33833 CXXFLAGS="$ac_save_CXXFLAGS"
33836 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33838 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33840 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33842 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33845 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33847 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33849 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33853 spu-*-elf*)
33855 # All these tests are for C++; save the language and the compiler flags.
33856 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33857 # found in GLIBCXX_CONFIGURE.
33859 ac_ext=cpp
33860 ac_cpp='$CXXCPP $CPPFLAGS'
33861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33865 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33866 ac_save_CXXFLAGS="$CXXFLAGS"
33868 # Check for maintainer-mode bits.
33869 if test x"$USE_MAINTAINER_MODE" = xno; then
33870 WERROR=''
33871 else
33872 WERROR='-Werror'
33875 # Check for -ffunction-sections -fdata-sections
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33877 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33878 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 int foo; void bar() { };
33883 main ()
33887 return 0;
33889 _ACEOF
33890 if ac_fn_cxx_try_compile "$LINENO"; then :
33891 ac_fdsections=yes
33892 else
33893 ac_fdsections=no
33895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 if test "$ac_test_CXXFLAGS" = set; then
33897 CXXFLAGS="$ac_save_CXXFLAGS"
33898 else
33899 # this is the suspicious part
33900 CXXFLAGS=''
33902 if test x"$ac_fdsections" = x"yes"; then
33903 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33906 $as_echo "$ac_fdsections" >&6; }
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33918 # If we're not using GNU ld, then there's no point in even trying these
33919 # tests. Check for that first. We should have already tested for gld
33920 # by now (in libtool), but require it now just to be safe...
33921 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33922 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33926 # The name set by libtool depends on the version of libtool. Shame on us
33927 # for depending on an impl detail, but c'est la vie. Older versions used
33928 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33929 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33930 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33931 # set (hence we're using an older libtool), then set it.
33932 if test x${with_gnu_ld+set} != xset; then
33933 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33934 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33935 with_gnu_ld=no
33936 else
33937 with_gnu_ld=$ac_cv_prog_gnu_ld
33941 # Start by getting the version number. I think the libtool test already
33942 # does some of this, but throws away the result.
33943 glibcxx_ld_is_gold=no
33944 if test x"$with_gnu_ld" = x"yes"; then
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33946 $as_echo_n "checking for ld version... " >&6; }
33948 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33949 glibcxx_ld_is_gold=yes
33951 ldver=`$LD --version 2>/dev/null |
33952 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'`
33954 glibcxx_gnu_ld_version=`echo $ldver | \
33955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33960 # Set --gc-sections.
33961 glibcxx_have_gc_sections=no
33962 if test "$glibcxx_ld_is_gold" = "yes"; then
33963 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33964 glibcxx_have_gc_sections=yes
33966 else
33967 glibcxx_gcsections_min_ld=21602
33968 if test x"$with_gnu_ld" = x"yes" &&
33969 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33970 glibcxx_have_gc_sections=yes
33973 if test "$glibcxx_have_gc_sections" = "yes"; then
33974 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33975 # NB: This flag only works reliably after 2.16.1. Configure tests
33976 # for this are difficult, so hard wire a value that should work.
33978 ac_test_CFLAGS="${CFLAGS+set}"
33979 ac_save_CFLAGS="$CFLAGS"
33980 CFLAGS='-Wl,--gc-sections'
33982 # Check for -Wl,--gc-sections
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33985 if test x$gcc_no_link = xyes; then
33986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33989 /* end confdefs.h. */
33990 int one(void) { return 1; }
33991 int two(void) { return 2; }
33994 main ()
33996 two();
33998 return 0;
34000 _ACEOF
34001 if ac_fn_c_try_link "$LINENO"; then :
34002 ac_gcsections=yes
34003 else
34004 ac_gcsections=no
34006 rm -f core conftest.err conftest.$ac_objext \
34007 conftest$ac_exeext conftest.$ac_ext
34008 if test "$ac_gcsections" = "yes"; then
34009 rm -f conftest.c
34010 touch conftest.c
34011 if $CC -c conftest.c; then
34012 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34013 grep "Warning: gc-sections option ignored" > /dev/null; then
34014 ac_gcsections=no
34017 rm -f conftest.c conftest.o conftest
34019 if test "$ac_gcsections" = "yes"; then
34020 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34023 $as_echo "$ac_gcsections" >&6; }
34025 if test "$ac_test_CFLAGS" = set; then
34026 CFLAGS="$ac_save_CFLAGS"
34027 else
34028 # this is the suspicious part
34029 CFLAGS=''
34033 # Set -z,relro.
34034 # Note this is only for shared objects.
34035 ac_ld_relro=no
34036 if test x"$with_gnu_ld" = x"yes"; then
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34039 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34040 if test -n "$cxx_z_relo"; then
34041 OPT_LDFLAGS="-Wl,-z,relro"
34042 ac_ld_relro=yes
34044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34045 $as_echo "$ac_ld_relro" >&6; }
34048 # Set linker optimization flags.
34049 if test x"$with_gnu_ld" = x"yes"; then
34050 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34057 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34058 ac_save_CXXFLAGS="$CXXFLAGS"
34059 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34062 $as_echo_n "checking for sin in -lm... " >&6; }
34063 if test "${ac_cv_lib_m_sin+set}" = set; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34066 ac_check_lib_save_LIBS=$LIBS
34067 LIBS="-lm $LIBS"
34068 if test x$gcc_no_link = xyes; then
34069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34072 /* end confdefs.h. */
34074 /* Override any GCC internal prototype to avoid an error.
34075 Use char because int might match the return type of a GCC
34076 builtin and then its argument prototype would still apply. */
34077 #ifdef __cplusplus
34078 extern "C"
34079 #endif
34080 char sin ();
34082 main ()
34084 return sin ();
34086 return 0;
34088 _ACEOF
34089 if ac_fn_c_try_link "$LINENO"; then :
34090 ac_cv_lib_m_sin=yes
34091 else
34092 ac_cv_lib_m_sin=no
34094 rm -f core conftest.err conftest.$ac_objext \
34095 conftest$ac_exeext conftest.$ac_ext
34096 LIBS=$ac_check_lib_save_LIBS
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34099 $as_echo "$ac_cv_lib_m_sin" >&6; }
34100 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34101 libm="-lm"
34104 ac_save_LIBS="$LIBS"
34105 LIBS="$LIBS $libm"
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34110 $as_echo_n "checking for isinf declaration... " >&6; }
34111 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34112 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34113 $as_echo_n "(cached) " >&6
34114 else
34117 ac_ext=cpp
34118 ac_cpp='$CXXCPP $CPPFLAGS'
34119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34124 /* end confdefs.h. */
34125 #include <math.h>
34126 #ifdef HAVE_IEEEFP_H
34127 #include <ieeefp.h>
34128 #endif
34131 main ()
34133 isinf(0);
34135 return 0;
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139 glibcxx_cv_func_isinf_use=yes
34140 else
34141 glibcxx_cv_func_isinf_use=no
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144 ac_ext=c
34145 ac_cpp='$CPP $CPPFLAGS'
34146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34155 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34157 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34158 for ac_func in isinf
34159 do :
34160 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34161 if test "x$ac_cv_func_isinf" = x""yes; then :
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE_ISINF 1
34164 _ACEOF
34167 done
34169 else
34171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34172 $as_echo_n "checking for _isinf declaration... " >&6; }
34173 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34174 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34175 $as_echo_n "(cached) " >&6
34176 else
34179 ac_ext=cpp
34180 ac_cpp='$CXXCPP $CPPFLAGS'
34181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34186 /* end confdefs.h. */
34187 #include <math.h>
34188 #ifdef HAVE_IEEEFP_H
34189 #include <ieeefp.h>
34190 #endif
34193 main ()
34195 _isinf(0);
34197 return 0;
34199 _ACEOF
34200 if ac_fn_cxx_try_compile "$LINENO"; then :
34201 glibcxx_cv_func__isinf_use=yes
34202 else
34203 glibcxx_cv_func__isinf_use=no
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206 ac_ext=c
34207 ac_cpp='$CPP $CPPFLAGS'
34208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34217 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34219 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34220 for ac_func in _isinf
34221 do :
34222 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34223 if test "x$ac_cv_func__isinf" = x""yes; then :
34224 cat >>confdefs.h <<_ACEOF
34225 #define HAVE__ISINF 1
34226 _ACEOF
34229 done
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34239 $as_echo_n "checking for isnan declaration... " >&6; }
34240 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34241 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34242 $as_echo_n "(cached) " >&6
34243 else
34246 ac_ext=cpp
34247 ac_cpp='$CXXCPP $CPPFLAGS'
34248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34253 /* end confdefs.h. */
34254 #include <math.h>
34255 #ifdef HAVE_IEEEFP_H
34256 #include <ieeefp.h>
34257 #endif
34260 main ()
34262 isnan(0);
34264 return 0;
34266 _ACEOF
34267 if ac_fn_cxx_try_compile "$LINENO"; then :
34268 glibcxx_cv_func_isnan_use=yes
34269 else
34270 glibcxx_cv_func_isnan_use=no
34272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34273 ac_ext=c
34274 ac_cpp='$CPP $CPPFLAGS'
34275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34284 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34286 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34287 for ac_func in isnan
34288 do :
34289 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34290 if test "x$ac_cv_func_isnan" = x""yes; then :
34291 cat >>confdefs.h <<_ACEOF
34292 #define HAVE_ISNAN 1
34293 _ACEOF
34296 done
34298 else
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34301 $as_echo_n "checking for _isnan declaration... " >&6; }
34302 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34303 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34317 #ifdef HAVE_IEEEFP_H
34318 #include <ieeefp.h>
34319 #endif
34322 main ()
34324 _isnan(0);
34326 return 0;
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330 glibcxx_cv_func__isnan_use=yes
34331 else
34332 glibcxx_cv_func__isnan_use=no
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335 ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34346 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34348 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34349 for ac_func in _isnan
34350 do :
34351 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34352 if test "x$ac_cv_func__isnan" = x""yes; then :
34353 cat >>confdefs.h <<_ACEOF
34354 #define HAVE__ISNAN 1
34355 _ACEOF
34358 done
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34368 $as_echo_n "checking for finite declaration... " >&6; }
34369 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34370 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34384 #ifdef HAVE_IEEEFP_H
34385 #include <ieeefp.h>
34386 #endif
34389 main ()
34391 finite(0);
34393 return 0;
34395 _ACEOF
34396 if ac_fn_cxx_try_compile "$LINENO"; then :
34397 glibcxx_cv_func_finite_use=yes
34398 else
34399 glibcxx_cv_func_finite_use=no
34401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34402 ac_ext=c
34403 ac_cpp='$CPP $CPPFLAGS'
34404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34413 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34415 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34416 for ac_func in finite
34417 do :
34418 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34419 if test "x$ac_cv_func_finite" = x""yes; then :
34420 cat >>confdefs.h <<_ACEOF
34421 #define HAVE_FINITE 1
34422 _ACEOF
34425 done
34427 else
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34430 $as_echo_n "checking for _finite declaration... " >&6; }
34431 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34432 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34433 $as_echo_n "(cached) " >&6
34434 else
34437 ac_ext=cpp
34438 ac_cpp='$CXXCPP $CPPFLAGS'
34439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34444 /* end confdefs.h. */
34445 #include <math.h>
34446 #ifdef HAVE_IEEEFP_H
34447 #include <ieeefp.h>
34448 #endif
34451 main ()
34453 _finite(0);
34455 return 0;
34457 _ACEOF
34458 if ac_fn_cxx_try_compile "$LINENO"; then :
34459 glibcxx_cv_func__finite_use=yes
34460 else
34461 glibcxx_cv_func__finite_use=no
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464 ac_ext=c
34465 ac_cpp='$CPP $CPPFLAGS'
34466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34475 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34477 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34478 for ac_func in _finite
34479 do :
34480 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34481 if test "x$ac_cv_func__finite" = x""yes; then :
34482 cat >>confdefs.h <<_ACEOF
34483 #define HAVE__FINITE 1
34484 _ACEOF
34487 done
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34497 $as_echo_n "checking for sincos declaration... " >&6; }
34498 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34499 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34500 $as_echo_n "(cached) " >&6
34501 else
34504 ac_ext=cpp
34505 ac_cpp='$CXXCPP $CPPFLAGS'
34506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34511 /* end confdefs.h. */
34512 #include <math.h>
34514 main ()
34516 sincos(0, 0, 0);
34518 return 0;
34520 _ACEOF
34521 if ac_fn_cxx_try_compile "$LINENO"; then :
34522 glibcxx_cv_func_sincos_use=yes
34523 else
34524 glibcxx_cv_func_sincos_use=no
34526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34527 ac_ext=c
34528 ac_cpp='$CPP $CPPFLAGS'
34529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34538 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34540 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34541 for ac_func in sincos
34542 do :
34543 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34544 if test "x$ac_cv_func_sincos" = x""yes; then :
34545 cat >>confdefs.h <<_ACEOF
34546 #define HAVE_SINCOS 1
34547 _ACEOF
34550 done
34552 else
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34555 $as_echo_n "checking for _sincos declaration... " >&6; }
34556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34558 $as_echo_n "(cached) " >&6
34559 else
34562 ac_ext=cpp
34563 ac_cpp='$CXXCPP $CPPFLAGS'
34564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34569 /* end confdefs.h. */
34570 #include <math.h>
34572 main ()
34574 _sincos(0, 0, 0);
34576 return 0;
34578 _ACEOF
34579 if ac_fn_cxx_try_compile "$LINENO"; then :
34580 glibcxx_cv_func__sincos_use=yes
34581 else
34582 glibcxx_cv_func__sincos_use=no
34584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34585 ac_ext=c
34586 ac_cpp='$CPP $CPPFLAGS'
34587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34596 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34598 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34599 for ac_func in _sincos
34600 do :
34601 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34602 if test "x$ac_cv_func__sincos" = x""yes; then :
34603 cat >>confdefs.h <<_ACEOF
34604 #define HAVE__SINCOS 1
34605 _ACEOF
34608 done
34617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34618 $as_echo_n "checking for fpclass declaration... " >&6; }
34619 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34620 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34621 $as_echo_n "(cached) " >&6
34622 else
34625 ac_ext=cpp
34626 ac_cpp='$CXXCPP $CPPFLAGS'
34627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34632 /* end confdefs.h. */
34633 #include <math.h>
34634 #ifdef HAVE_IEEEFP_H
34635 #include <ieeefp.h>
34636 #endif
34639 main ()
34641 fpclass(0);
34643 return 0;
34645 _ACEOF
34646 if ac_fn_cxx_try_compile "$LINENO"; then :
34647 glibcxx_cv_func_fpclass_use=yes
34648 else
34649 glibcxx_cv_func_fpclass_use=no
34651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34652 ac_ext=c
34653 ac_cpp='$CPP $CPPFLAGS'
34654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34663 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34665 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34666 for ac_func in fpclass
34667 do :
34668 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34669 if test "x$ac_cv_func_fpclass" = x""yes; then :
34670 cat >>confdefs.h <<_ACEOF
34671 #define HAVE_FPCLASS 1
34672 _ACEOF
34675 done
34677 else
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34680 $as_echo_n "checking for _fpclass declaration... " >&6; }
34681 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34682 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34683 $as_echo_n "(cached) " >&6
34684 else
34687 ac_ext=cpp
34688 ac_cpp='$CXXCPP $CPPFLAGS'
34689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34694 /* end confdefs.h. */
34695 #include <math.h>
34696 #ifdef HAVE_IEEEFP_H
34697 #include <ieeefp.h>
34698 #endif
34701 main ()
34703 _fpclass(0);
34705 return 0;
34707 _ACEOF
34708 if ac_fn_cxx_try_compile "$LINENO"; then :
34709 glibcxx_cv_func__fpclass_use=yes
34710 else
34711 glibcxx_cv_func__fpclass_use=no
34713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34714 ac_ext=c
34715 ac_cpp='$CPP $CPPFLAGS'
34716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34725 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34727 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34728 for ac_func in _fpclass
34729 do :
34730 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34731 if test "x$ac_cv_func__fpclass" = x""yes; then :
34732 cat >>confdefs.h <<_ACEOF
34733 #define HAVE__FPCLASS 1
34734 _ACEOF
34737 done
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34747 $as_echo_n "checking for qfpclass declaration... " >&6; }
34748 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34749 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34750 $as_echo_n "(cached) " >&6
34751 else
34754 ac_ext=cpp
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34761 /* end confdefs.h. */
34762 #include <math.h>
34763 #ifdef HAVE_IEEEFP_H
34764 #include <ieeefp.h>
34765 #endif
34768 main ()
34770 qfpclass(0);
34772 return 0;
34774 _ACEOF
34775 if ac_fn_cxx_try_compile "$LINENO"; then :
34776 glibcxx_cv_func_qfpclass_use=yes
34777 else
34778 glibcxx_cv_func_qfpclass_use=no
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34781 ac_ext=c
34782 ac_cpp='$CPP $CPPFLAGS'
34783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34792 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34794 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34795 for ac_func in qfpclass
34796 do :
34797 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34798 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34799 cat >>confdefs.h <<_ACEOF
34800 #define HAVE_QFPCLASS 1
34801 _ACEOF
34804 done
34806 else
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34809 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34810 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34811 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34825 #ifdef HAVE_IEEEFP_H
34826 #include <ieeefp.h>
34827 #endif
34830 main ()
34832 _qfpclass(0);
34834 return 0;
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func__qfpclass_use=yes
34839 else
34840 glibcxx_cv_func__qfpclass_use=no
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34854 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34856 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34857 for ac_func in _qfpclass
34858 do :
34859 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34860 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE__QFPCLASS 1
34863 _ACEOF
34866 done
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34876 $as_echo_n "checking for hypot declaration... " >&6; }
34877 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34878 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34879 $as_echo_n "(cached) " >&6
34880 else
34883 ac_ext=cpp
34884 ac_cpp='$CXXCPP $CPPFLAGS'
34885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34890 /* end confdefs.h. */
34891 #include <math.h>
34893 main ()
34895 hypot(0, 0);
34897 return 0;
34899 _ACEOF
34900 if ac_fn_cxx_try_compile "$LINENO"; then :
34901 glibcxx_cv_func_hypot_use=yes
34902 else
34903 glibcxx_cv_func_hypot_use=no
34905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34906 ac_ext=c
34907 ac_cpp='$CPP $CPPFLAGS'
34908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34917 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34919 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34920 for ac_func in hypot
34921 do :
34922 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34923 if test "x$ac_cv_func_hypot" = x""yes; then :
34924 cat >>confdefs.h <<_ACEOF
34925 #define HAVE_HYPOT 1
34926 _ACEOF
34929 done
34931 else
34933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34934 $as_echo_n "checking for _hypot declaration... " >&6; }
34935 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34936 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34937 $as_echo_n "(cached) " >&6
34938 else
34941 ac_ext=cpp
34942 ac_cpp='$CXXCPP $CPPFLAGS'
34943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34949 #include <math.h>
34951 main ()
34953 _hypot(0, 0);
34955 return 0;
34957 _ACEOF
34958 if ac_fn_cxx_try_compile "$LINENO"; then :
34959 glibcxx_cv_func__hypot_use=yes
34960 else
34961 glibcxx_cv_func__hypot_use=no
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34964 ac_ext=c
34965 ac_cpp='$CPP $CPPFLAGS'
34966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34975 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34977 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34978 for ac_func in _hypot
34979 do :
34980 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34981 if test "x$ac_cv_func__hypot" = x""yes; then :
34982 cat >>confdefs.h <<_ACEOF
34983 #define HAVE__HYPOT 1
34984 _ACEOF
34987 done
34996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34997 $as_echo_n "checking for float trig functions... " >&6; }
34998 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35013 main ()
35015 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35017 return 0;
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021 glibcxx_cv_func_float_trig_use=yes
35022 else
35023 glibcxx_cv_func_float_trig_use=no
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35035 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35036 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35037 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35038 do :
35039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35041 eval as_val=\$$as_ac_var
35042 if test "x$as_val" = x""yes; then :
35043 cat >>confdefs.h <<_ACEOF
35044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35045 _ACEOF
35048 done
35050 else
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35052 $as_echo_n "checking for _float trig functions... " >&6; }
35053 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35054 $as_echo_n "(cached) " >&6
35055 else
35058 ac_ext=cpp
35059 ac_cpp='$CXXCPP $CPPFLAGS'
35060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35065 /* end confdefs.h. */
35066 #include <math.h>
35068 main ()
35070 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35072 return 0;
35074 _ACEOF
35075 if ac_fn_cxx_try_compile "$LINENO"; then :
35076 glibcxx_cv_func__float_trig_use=yes
35077 else
35078 glibcxx_cv_func__float_trig_use=no
35080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35090 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35091 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35092 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35093 do :
35094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35096 eval as_val=\$$as_ac_var
35097 if test "x$as_val" = x""yes; then :
35098 cat >>confdefs.h <<_ACEOF
35099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35100 _ACEOF
35103 done
35112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35113 $as_echo_n "checking for float round functions... " >&6; }
35114 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35115 $as_echo_n "(cached) " >&6
35116 else
35119 ac_ext=cpp
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35126 /* end confdefs.h. */
35127 #include <math.h>
35129 main ()
35131 ceilf (0); floorf (0);
35133 return 0;
35135 _ACEOF
35136 if ac_fn_cxx_try_compile "$LINENO"; then :
35137 glibcxx_cv_func_float_round_use=yes
35138 else
35139 glibcxx_cv_func_float_round_use=no
35141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35142 ac_ext=c
35143 ac_cpp='$CPP $CPPFLAGS'
35144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35151 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35152 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35153 for ac_func in ceilf floorf
35154 do :
35155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35157 eval as_val=\$$as_ac_var
35158 if test "x$as_val" = x""yes; then :
35159 cat >>confdefs.h <<_ACEOF
35160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35161 _ACEOF
35164 done
35166 else
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35168 $as_echo_n "checking for _float round functions... " >&6; }
35169 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35170 $as_echo_n "(cached) " >&6
35171 else
35174 ac_ext=cpp
35175 ac_cpp='$CXXCPP $CPPFLAGS'
35176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35181 /* end confdefs.h. */
35182 #include <math.h>
35184 main ()
35186 _ceilf (0); _floorf (0);
35188 return 0;
35190 _ACEOF
35191 if ac_fn_cxx_try_compile "$LINENO"; then :
35192 glibcxx_cv_func__float_round_use=yes
35193 else
35194 glibcxx_cv_func__float_round_use=no
35196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35197 ac_ext=c
35198 ac_cpp='$CPP $CPPFLAGS'
35199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35206 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35207 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35208 for ac_func in _ceilf _floorf
35209 do :
35210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35212 eval as_val=\$$as_ac_var
35213 if test "x$as_val" = x""yes; then :
35214 cat >>confdefs.h <<_ACEOF
35215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35216 _ACEOF
35219 done
35229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35230 $as_echo_n "checking for expf declaration... " >&6; }
35231 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35232 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35233 $as_echo_n "(cached) " >&6
35234 else
35237 ac_ext=cpp
35238 ac_cpp='$CXXCPP $CPPFLAGS'
35239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35244 /* end confdefs.h. */
35245 #include <math.h>
35246 #ifdef HAVE_IEEEFP_H
35247 #include <ieeefp.h>
35248 #endif
35251 main ()
35253 expf(0);
35255 return 0;
35257 _ACEOF
35258 if ac_fn_cxx_try_compile "$LINENO"; then :
35259 glibcxx_cv_func_expf_use=yes
35260 else
35261 glibcxx_cv_func_expf_use=no
35263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35264 ac_ext=c
35265 ac_cpp='$CPP $CPPFLAGS'
35266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35275 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35277 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35278 for ac_func in expf
35279 do :
35280 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35281 if test "x$ac_cv_func_expf" = x""yes; then :
35282 cat >>confdefs.h <<_ACEOF
35283 #define HAVE_EXPF 1
35284 _ACEOF
35287 done
35289 else
35291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35292 $as_echo_n "checking for _expf declaration... " >&6; }
35293 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35294 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35295 $as_echo_n "(cached) " >&6
35296 else
35299 ac_ext=cpp
35300 ac_cpp='$CXXCPP $CPPFLAGS'
35301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35306 /* end confdefs.h. */
35307 #include <math.h>
35308 #ifdef HAVE_IEEEFP_H
35309 #include <ieeefp.h>
35310 #endif
35313 main ()
35315 _expf(0);
35317 return 0;
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func__expf_use=yes
35322 else
35323 glibcxx_cv_func__expf_use=no
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35337 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35339 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35340 for ac_func in _expf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35343 if test "x$ac_cv_func__expf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE__EXPF 1
35346 _ACEOF
35349 done
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35359 $as_echo_n "checking for isnanf declaration... " >&6; }
35360 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35361 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35375 #ifdef HAVE_IEEEFP_H
35376 #include <ieeefp.h>
35377 #endif
35380 main ()
35382 isnanf(0);
35384 return 0;
35386 _ACEOF
35387 if ac_fn_cxx_try_compile "$LINENO"; then :
35388 glibcxx_cv_func_isnanf_use=yes
35389 else
35390 glibcxx_cv_func_isnanf_use=no
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35404 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35406 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35407 for ac_func in isnanf
35408 do :
35409 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35410 if test "x$ac_cv_func_isnanf" = x""yes; then :
35411 cat >>confdefs.h <<_ACEOF
35412 #define HAVE_ISNANF 1
35413 _ACEOF
35416 done
35418 else
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35421 $as_echo_n "checking for _isnanf declaration... " >&6; }
35422 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35423 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35424 $as_echo_n "(cached) " >&6
35425 else
35428 ac_ext=cpp
35429 ac_cpp='$CXXCPP $CPPFLAGS'
35430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35435 /* end confdefs.h. */
35436 #include <math.h>
35437 #ifdef HAVE_IEEEFP_H
35438 #include <ieeefp.h>
35439 #endif
35442 main ()
35444 _isnanf(0);
35446 return 0;
35448 _ACEOF
35449 if ac_fn_cxx_try_compile "$LINENO"; then :
35450 glibcxx_cv_func__isnanf_use=yes
35451 else
35452 glibcxx_cv_func__isnanf_use=no
35454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455 ac_ext=c
35456 ac_cpp='$CPP $CPPFLAGS'
35457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35466 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35468 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35469 for ac_func in _isnanf
35470 do :
35471 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35472 if test "x$ac_cv_func__isnanf" = x""yes; then :
35473 cat >>confdefs.h <<_ACEOF
35474 #define HAVE__ISNANF 1
35475 _ACEOF
35478 done
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35488 $as_echo_n "checking for isinff declaration... " >&6; }
35489 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35490 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35491 $as_echo_n "(cached) " >&6
35492 else
35495 ac_ext=cpp
35496 ac_cpp='$CXXCPP $CPPFLAGS'
35497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35502 /* end confdefs.h. */
35503 #include <math.h>
35504 #ifdef HAVE_IEEEFP_H
35505 #include <ieeefp.h>
35506 #endif
35509 main ()
35511 isinff(0);
35513 return 0;
35515 _ACEOF
35516 if ac_fn_cxx_try_compile "$LINENO"; then :
35517 glibcxx_cv_func_isinff_use=yes
35518 else
35519 glibcxx_cv_func_isinff_use=no
35521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35522 ac_ext=c
35523 ac_cpp='$CPP $CPPFLAGS'
35524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35533 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35535 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35536 for ac_func in isinff
35537 do :
35538 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35539 if test "x$ac_cv_func_isinff" = x""yes; then :
35540 cat >>confdefs.h <<_ACEOF
35541 #define HAVE_ISINFF 1
35542 _ACEOF
35545 done
35547 else
35549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35550 $as_echo_n "checking for _isinff declaration... " >&6; }
35551 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35552 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35553 $as_echo_n "(cached) " >&6
35554 else
35557 ac_ext=cpp
35558 ac_cpp='$CXXCPP $CPPFLAGS'
35559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35564 /* end confdefs.h. */
35565 #include <math.h>
35566 #ifdef HAVE_IEEEFP_H
35567 #include <ieeefp.h>
35568 #endif
35571 main ()
35573 _isinff(0);
35575 return 0;
35577 _ACEOF
35578 if ac_fn_cxx_try_compile "$LINENO"; then :
35579 glibcxx_cv_func__isinff_use=yes
35580 else
35581 glibcxx_cv_func__isinff_use=no
35583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35584 ac_ext=c
35585 ac_cpp='$CPP $CPPFLAGS'
35586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35595 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35597 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35598 for ac_func in _isinff
35599 do :
35600 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35601 if test "x$ac_cv_func__isinff" = x""yes; then :
35602 cat >>confdefs.h <<_ACEOF
35603 #define HAVE__ISINFF 1
35604 _ACEOF
35607 done
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35617 $as_echo_n "checking for atan2f declaration... " >&6; }
35618 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35619 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35620 $as_echo_n "(cached) " >&6
35621 else
35624 ac_ext=cpp
35625 ac_cpp='$CXXCPP $CPPFLAGS'
35626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35631 /* end confdefs.h. */
35632 #include <math.h>
35634 main ()
35636 atan2f(0, 0);
35638 return 0;
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func_atan2f_use=yes
35643 else
35644 glibcxx_cv_func_atan2f_use=no
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35658 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35660 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35661 for ac_func in atan2f
35662 do :
35663 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35664 if test "x$ac_cv_func_atan2f" = x""yes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE_ATAN2F 1
35667 _ACEOF
35670 done
35672 else
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35675 $as_echo_n "checking for _atan2f declaration... " >&6; }
35676 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35677 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35692 main ()
35694 _atan2f(0, 0);
35696 return 0;
35698 _ACEOF
35699 if ac_fn_cxx_try_compile "$LINENO"; then :
35700 glibcxx_cv_func__atan2f_use=yes
35701 else
35702 glibcxx_cv_func__atan2f_use=no
35704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35705 ac_ext=c
35706 ac_cpp='$CPP $CPPFLAGS'
35707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35716 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35718 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35719 for ac_func in _atan2f
35720 do :
35721 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35722 if test "x$ac_cv_func__atan2f" = x""yes; then :
35723 cat >>confdefs.h <<_ACEOF
35724 #define HAVE__ATAN2F 1
35725 _ACEOF
35728 done
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35738 $as_echo_n "checking for fabsf declaration... " >&6; }
35739 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35740 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35741 $as_echo_n "(cached) " >&6
35742 else
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35752 /* end confdefs.h. */
35753 #include <math.h>
35754 #ifdef HAVE_IEEEFP_H
35755 #include <ieeefp.h>
35756 #endif
35759 main ()
35761 fabsf(0);
35763 return 0;
35765 _ACEOF
35766 if ac_fn_cxx_try_compile "$LINENO"; then :
35767 glibcxx_cv_func_fabsf_use=yes
35768 else
35769 glibcxx_cv_func_fabsf_use=no
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 ac_ext=c
35773 ac_cpp='$CPP $CPPFLAGS'
35774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35783 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35785 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35786 for ac_func in fabsf
35787 do :
35788 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35789 if test "x$ac_cv_func_fabsf" = x""yes; then :
35790 cat >>confdefs.h <<_ACEOF
35791 #define HAVE_FABSF 1
35792 _ACEOF
35795 done
35797 else
35799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35800 $as_echo_n "checking for _fabsf declaration... " >&6; }
35801 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35802 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35803 $as_echo_n "(cached) " >&6
35804 else
35807 ac_ext=cpp
35808 ac_cpp='$CXXCPP $CPPFLAGS'
35809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35814 /* end confdefs.h. */
35815 #include <math.h>
35816 #ifdef HAVE_IEEEFP_H
35817 #include <ieeefp.h>
35818 #endif
35821 main ()
35823 _fabsf(0);
35825 return 0;
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func__fabsf_use=yes
35830 else
35831 glibcxx_cv_func__fabsf_use=no
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35845 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35847 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35848 for ac_func in _fabsf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35851 if test "x$ac_cv_func__fabsf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE__FABSF 1
35854 _ACEOF
35857 done
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35867 $as_echo_n "checking for fmodf declaration... " >&6; }
35868 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35869 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35870 $as_echo_n "(cached) " >&6
35871 else
35874 ac_ext=cpp
35875 ac_cpp='$CXXCPP $CPPFLAGS'
35876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35881 /* end confdefs.h. */
35882 #include <math.h>
35884 main ()
35886 fmodf(0, 0);
35888 return 0;
35890 _ACEOF
35891 if ac_fn_cxx_try_compile "$LINENO"; then :
35892 glibcxx_cv_func_fmodf_use=yes
35893 else
35894 glibcxx_cv_func_fmodf_use=no
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35908 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35910 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35911 for ac_func in fmodf
35912 do :
35913 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35914 if test "x$ac_cv_func_fmodf" = x""yes; then :
35915 cat >>confdefs.h <<_ACEOF
35916 #define HAVE_FMODF 1
35917 _ACEOF
35920 done
35922 else
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35925 $as_echo_n "checking for _fmodf declaration... " >&6; }
35926 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35927 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 _fmodf(0, 0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__fmodf_use=yes
35951 else
35952 glibcxx_cv_func__fmodf_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35966 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35968 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35969 for ac_func in _fmodf
35970 do :
35971 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35972 if test "x$ac_cv_func__fmodf" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE__FMODF 1
35975 _ACEOF
35978 done
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35988 $as_echo_n "checking for frexpf declaration... " >&6; }
35989 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35990 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35991 $as_echo_n "(cached) " >&6
35992 else
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h. */
36003 #include <math.h>
36005 main ()
36007 frexpf(0, 0);
36009 return 0;
36011 _ACEOF
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_frexpf_use=yes
36014 else
36015 glibcxx_cv_func_frexpf_use=no
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 ac_ext=c
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36029 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36031 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36032 for ac_func in frexpf
36033 do :
36034 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36035 if test "x$ac_cv_func_frexpf" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_FREXPF 1
36038 _ACEOF
36041 done
36043 else
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36046 $as_echo_n "checking for _frexpf declaration... " >&6; }
36047 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36048 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36050 else
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36061 #include <math.h>
36063 main ()
36065 _frexpf(0, 0);
36067 return 0;
36069 _ACEOF
36070 if ac_fn_cxx_try_compile "$LINENO"; then :
36071 glibcxx_cv_func__frexpf_use=yes
36072 else
36073 glibcxx_cv_func__frexpf_use=no
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076 ac_ext=c
36077 ac_cpp='$CPP $CPPFLAGS'
36078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36087 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36089 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36090 for ac_func in _frexpf
36091 do :
36092 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36093 if test "x$ac_cv_func__frexpf" = x""yes; then :
36094 cat >>confdefs.h <<_ACEOF
36095 #define HAVE__FREXPF 1
36096 _ACEOF
36099 done
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36109 $as_echo_n "checking for hypotf declaration... " >&6; }
36110 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36111 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36112 $as_echo_n "(cached) " >&6
36113 else
36116 ac_ext=cpp
36117 ac_cpp='$CXXCPP $CPPFLAGS'
36118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36123 /* end confdefs.h. */
36124 #include <math.h>
36126 main ()
36128 hypotf(0, 0);
36130 return 0;
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134 glibcxx_cv_func_hypotf_use=yes
36135 else
36136 glibcxx_cv_func_hypotf_use=no
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36150 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36152 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36153 for ac_func in hypotf
36154 do :
36155 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36156 if test "x$ac_cv_func_hypotf" = x""yes; then :
36157 cat >>confdefs.h <<_ACEOF
36158 #define HAVE_HYPOTF 1
36159 _ACEOF
36162 done
36164 else
36166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36167 $as_echo_n "checking for _hypotf declaration... " >&6; }
36168 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36169 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36170 $as_echo_n "(cached) " >&6
36171 else
36174 ac_ext=cpp
36175 ac_cpp='$CXXCPP $CPPFLAGS'
36176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36181 /* end confdefs.h. */
36182 #include <math.h>
36184 main ()
36186 _hypotf(0, 0);
36188 return 0;
36190 _ACEOF
36191 if ac_fn_cxx_try_compile "$LINENO"; then :
36192 glibcxx_cv_func__hypotf_use=yes
36193 else
36194 glibcxx_cv_func__hypotf_use=no
36196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36197 ac_ext=c
36198 ac_cpp='$CPP $CPPFLAGS'
36199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36208 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36210 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36211 for ac_func in _hypotf
36212 do :
36213 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36214 if test "x$ac_cv_func__hypotf" = x""yes; then :
36215 cat >>confdefs.h <<_ACEOF
36216 #define HAVE__HYPOTF 1
36217 _ACEOF
36220 done
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36230 $as_echo_n "checking for ldexpf declaration... " >&6; }
36231 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36232 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36233 $as_echo_n "(cached) " >&6
36234 else
36237 ac_ext=cpp
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36244 /* end confdefs.h. */
36245 #include <math.h>
36247 main ()
36249 ldexpf(0, 0);
36251 return 0;
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func_ldexpf_use=yes
36256 else
36257 glibcxx_cv_func_ldexpf_use=no
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36271 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36273 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36274 for ac_func in ldexpf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36277 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE_LDEXPF 1
36280 _ACEOF
36283 done
36285 else
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36288 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36289 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36290 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36305 main ()
36307 _ldexpf(0, 0);
36309 return 0;
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func__ldexpf_use=yes
36314 else
36315 glibcxx_cv_func__ldexpf_use=no
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36329 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36331 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36332 for ac_func in _ldexpf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36335 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE__LDEXPF 1
36338 _ACEOF
36341 done
36350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36351 $as_echo_n "checking for logf declaration... " >&6; }
36352 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36353 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36354 $as_echo_n "(cached) " >&6
36355 else
36358 ac_ext=cpp
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 /* end confdefs.h. */
36366 #include <math.h>
36367 #ifdef HAVE_IEEEFP_H
36368 #include <ieeefp.h>
36369 #endif
36372 main ()
36374 logf(0);
36376 return 0;
36378 _ACEOF
36379 if ac_fn_cxx_try_compile "$LINENO"; then :
36380 glibcxx_cv_func_logf_use=yes
36381 else
36382 glibcxx_cv_func_logf_use=no
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385 ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36396 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36398 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36399 for ac_func in logf
36400 do :
36401 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36402 if test "x$ac_cv_func_logf" = x""yes; then :
36403 cat >>confdefs.h <<_ACEOF
36404 #define HAVE_LOGF 1
36405 _ACEOF
36408 done
36410 else
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36413 $as_echo_n "checking for _logf declaration... " >&6; }
36414 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36415 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36416 $as_echo_n "(cached) " >&6
36417 else
36420 ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36427 /* end confdefs.h. */
36428 #include <math.h>
36429 #ifdef HAVE_IEEEFP_H
36430 #include <ieeefp.h>
36431 #endif
36434 main ()
36436 _logf(0);
36438 return 0;
36440 _ACEOF
36441 if ac_fn_cxx_try_compile "$LINENO"; then :
36442 glibcxx_cv_func__logf_use=yes
36443 else
36444 glibcxx_cv_func__logf_use=no
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447 ac_ext=c
36448 ac_cpp='$CPP $CPPFLAGS'
36449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36458 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36460 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36461 for ac_func in _logf
36462 do :
36463 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36464 if test "x$ac_cv_func__logf" = x""yes; then :
36465 cat >>confdefs.h <<_ACEOF
36466 #define HAVE__LOGF 1
36467 _ACEOF
36470 done
36479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36480 $as_echo_n "checking for log10f declaration... " >&6; }
36481 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36482 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36483 $as_echo_n "(cached) " >&6
36484 else
36487 ac_ext=cpp
36488 ac_cpp='$CXXCPP $CPPFLAGS'
36489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36494 /* end confdefs.h. */
36495 #include <math.h>
36496 #ifdef HAVE_IEEEFP_H
36497 #include <ieeefp.h>
36498 #endif
36501 main ()
36503 log10f(0);
36505 return 0;
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509 glibcxx_cv_func_log10f_use=yes
36510 else
36511 glibcxx_cv_func_log10f_use=no
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36525 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36527 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36528 for ac_func in log10f
36529 do :
36530 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36531 if test "x$ac_cv_func_log10f" = x""yes; then :
36532 cat >>confdefs.h <<_ACEOF
36533 #define HAVE_LOG10F 1
36534 _ACEOF
36537 done
36539 else
36541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36542 $as_echo_n "checking for _log10f declaration... " >&6; }
36543 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36544 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36545 $as_echo_n "(cached) " >&6
36546 else
36549 ac_ext=cpp
36550 ac_cpp='$CXXCPP $CPPFLAGS'
36551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36556 /* end confdefs.h. */
36557 #include <math.h>
36558 #ifdef HAVE_IEEEFP_H
36559 #include <ieeefp.h>
36560 #endif
36563 main ()
36565 _log10f(0);
36567 return 0;
36569 _ACEOF
36570 if ac_fn_cxx_try_compile "$LINENO"; then :
36571 glibcxx_cv_func__log10f_use=yes
36572 else
36573 glibcxx_cv_func__log10f_use=no
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576 ac_ext=c
36577 ac_cpp='$CPP $CPPFLAGS'
36578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36587 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36589 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36590 for ac_func in _log10f
36591 do :
36592 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36593 if test "x$ac_cv_func__log10f" = x""yes; then :
36594 cat >>confdefs.h <<_ACEOF
36595 #define HAVE__LOG10F 1
36596 _ACEOF
36599 done
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36609 $as_echo_n "checking for modff declaration... " >&6; }
36610 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36611 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36626 main ()
36628 modff(0, 0);
36630 return 0;
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func_modff_use=yes
36635 else
36636 glibcxx_cv_func_modff_use=no
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36650 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36652 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36653 for ac_func in modff
36654 do :
36655 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36656 if test "x$ac_cv_func_modff" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE_MODFF 1
36659 _ACEOF
36662 done
36664 else
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36667 $as_echo_n "checking for _modff declaration... " >&6; }
36668 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36669 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36670 $as_echo_n "(cached) " >&6
36671 else
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h. */
36682 #include <math.h>
36684 main ()
36686 _modff(0, 0);
36688 return 0;
36690 _ACEOF
36691 if ac_fn_cxx_try_compile "$LINENO"; then :
36692 glibcxx_cv_func__modff_use=yes
36693 else
36694 glibcxx_cv_func__modff_use=no
36696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36697 ac_ext=c
36698 ac_cpp='$CPP $CPPFLAGS'
36699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36708 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36710 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36711 for ac_func in _modff
36712 do :
36713 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36714 if test "x$ac_cv_func__modff" = x""yes; then :
36715 cat >>confdefs.h <<_ACEOF
36716 #define HAVE__MODFF 1
36717 _ACEOF
36720 done
36729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36730 $as_echo_n "checking for modf declaration... " >&6; }
36731 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36732 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36733 $as_echo_n "(cached) " >&6
36734 else
36737 ac_ext=cpp
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36744 /* end confdefs.h. */
36745 #include <math.h>
36747 main ()
36749 modf(0, 0);
36751 return 0;
36753 _ACEOF
36754 if ac_fn_cxx_try_compile "$LINENO"; then :
36755 glibcxx_cv_func_modf_use=yes
36756 else
36757 glibcxx_cv_func_modf_use=no
36759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36760 ac_ext=c
36761 ac_cpp='$CPP $CPPFLAGS'
36762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36771 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36773 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36774 for ac_func in modf
36775 do :
36776 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36777 if test "x$ac_cv_func_modf" = x""yes; then :
36778 cat >>confdefs.h <<_ACEOF
36779 #define HAVE_MODF 1
36780 _ACEOF
36783 done
36785 else
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36788 $as_echo_n "checking for _modf declaration... " >&6; }
36789 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36790 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36791 $as_echo_n "(cached) " >&6
36792 else
36795 ac_ext=cpp
36796 ac_cpp='$CXXCPP $CPPFLAGS'
36797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36802 /* end confdefs.h. */
36803 #include <math.h>
36805 main ()
36807 _modf(0, 0);
36809 return 0;
36811 _ACEOF
36812 if ac_fn_cxx_try_compile "$LINENO"; then :
36813 glibcxx_cv_func__modf_use=yes
36814 else
36815 glibcxx_cv_func__modf_use=no
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818 ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36829 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36831 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36832 for ac_func in _modf
36833 do :
36834 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36835 if test "x$ac_cv_func__modf" = x""yes; then :
36836 cat >>confdefs.h <<_ACEOF
36837 #define HAVE__MODF 1
36838 _ACEOF
36841 done
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36851 $as_echo_n "checking for powf declaration... " >&6; }
36852 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36853 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36854 $as_echo_n "(cached) " >&6
36855 else
36858 ac_ext=cpp
36859 ac_cpp='$CXXCPP $CPPFLAGS'
36860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36865 /* end confdefs.h. */
36866 #include <math.h>
36868 main ()
36870 powf(0, 0);
36872 return 0;
36874 _ACEOF
36875 if ac_fn_cxx_try_compile "$LINENO"; then :
36876 glibcxx_cv_func_powf_use=yes
36877 else
36878 glibcxx_cv_func_powf_use=no
36880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36881 ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36892 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36894 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36895 for ac_func in powf
36896 do :
36897 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36898 if test "x$ac_cv_func_powf" = x""yes; then :
36899 cat >>confdefs.h <<_ACEOF
36900 #define HAVE_POWF 1
36901 _ACEOF
36904 done
36906 else
36908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36909 $as_echo_n "checking for _powf declaration... " >&6; }
36910 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36911 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36912 $as_echo_n "(cached) " >&6
36913 else
36916 ac_ext=cpp
36917 ac_cpp='$CXXCPP $CPPFLAGS'
36918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36923 /* end confdefs.h. */
36924 #include <math.h>
36926 main ()
36928 _powf(0, 0);
36930 return 0;
36932 _ACEOF
36933 if ac_fn_cxx_try_compile "$LINENO"; then :
36934 glibcxx_cv_func__powf_use=yes
36935 else
36936 glibcxx_cv_func__powf_use=no
36938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36939 ac_ext=c
36940 ac_cpp='$CPP $CPPFLAGS'
36941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36950 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36952 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36953 for ac_func in _powf
36954 do :
36955 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36956 if test "x$ac_cv_func__powf" = x""yes; then :
36957 cat >>confdefs.h <<_ACEOF
36958 #define HAVE__POWF 1
36959 _ACEOF
36962 done
36971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36972 $as_echo_n "checking for sqrtf declaration... " >&6; }
36973 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36974 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36975 $as_echo_n "(cached) " >&6
36976 else
36979 ac_ext=cpp
36980 ac_cpp='$CXXCPP $CPPFLAGS'
36981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36986 /* end confdefs.h. */
36987 #include <math.h>
36988 #ifdef HAVE_IEEEFP_H
36989 #include <ieeefp.h>
36990 #endif
36993 main ()
36995 sqrtf(0);
36997 return 0;
36999 _ACEOF
37000 if ac_fn_cxx_try_compile "$LINENO"; then :
37001 glibcxx_cv_func_sqrtf_use=yes
37002 else
37003 glibcxx_cv_func_sqrtf_use=no
37005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37006 ac_ext=c
37007 ac_cpp='$CPP $CPPFLAGS'
37008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37017 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37019 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37020 for ac_func in sqrtf
37021 do :
37022 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37023 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37024 cat >>confdefs.h <<_ACEOF
37025 #define HAVE_SQRTF 1
37026 _ACEOF
37029 done
37031 else
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37034 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37035 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37036 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37037 $as_echo_n "(cached) " >&6
37038 else
37041 ac_ext=cpp
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37048 /* end confdefs.h. */
37049 #include <math.h>
37050 #ifdef HAVE_IEEEFP_H
37051 #include <ieeefp.h>
37052 #endif
37055 main ()
37057 _sqrtf(0);
37059 return 0;
37061 _ACEOF
37062 if ac_fn_cxx_try_compile "$LINENO"; then :
37063 glibcxx_cv_func__sqrtf_use=yes
37064 else
37065 glibcxx_cv_func__sqrtf_use=no
37067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37079 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37081 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37082 for ac_func in _sqrtf
37083 do :
37084 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37085 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37086 cat >>confdefs.h <<_ACEOF
37087 #define HAVE__SQRTF 1
37088 _ACEOF
37091 done
37100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37101 $as_echo_n "checking for sincosf declaration... " >&6; }
37102 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37103 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37104 $as_echo_n "(cached) " >&6
37105 else
37108 ac_ext=cpp
37109 ac_cpp='$CXXCPP $CPPFLAGS'
37110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37115 /* end confdefs.h. */
37116 #include <math.h>
37118 main ()
37120 sincosf(0, 0, 0);
37122 return 0;
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126 glibcxx_cv_func_sincosf_use=yes
37127 else
37128 glibcxx_cv_func_sincosf_use=no
37130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37142 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37144 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37145 for ac_func in sincosf
37146 do :
37147 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37148 if test "x$ac_cv_func_sincosf" = x""yes; then :
37149 cat >>confdefs.h <<_ACEOF
37150 #define HAVE_SINCOSF 1
37151 _ACEOF
37154 done
37156 else
37158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37159 $as_echo_n "checking for _sincosf declaration... " >&6; }
37160 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37161 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37162 $as_echo_n "(cached) " >&6
37163 else
37166 ac_ext=cpp
37167 ac_cpp='$CXXCPP $CPPFLAGS'
37168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37173 /* end confdefs.h. */
37174 #include <math.h>
37176 main ()
37178 _sincosf(0, 0, 0);
37180 return 0;
37182 _ACEOF
37183 if ac_fn_cxx_try_compile "$LINENO"; then :
37184 glibcxx_cv_func__sincosf_use=yes
37185 else
37186 glibcxx_cv_func__sincosf_use=no
37188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37189 ac_ext=c
37190 ac_cpp='$CPP $CPPFLAGS'
37191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37200 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37202 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37203 for ac_func in _sincosf
37204 do :
37205 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37206 if test "x$ac_cv_func__sincosf" = x""yes; then :
37207 cat >>confdefs.h <<_ACEOF
37208 #define HAVE__SINCOSF 1
37209 _ACEOF
37212 done
37221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37222 $as_echo_n "checking for finitef declaration... " >&6; }
37223 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37224 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37225 $as_echo_n "(cached) " >&6
37226 else
37229 ac_ext=cpp
37230 ac_cpp='$CXXCPP $CPPFLAGS'
37231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37236 /* end confdefs.h. */
37237 #include <math.h>
37238 #ifdef HAVE_IEEEFP_H
37239 #include <ieeefp.h>
37240 #endif
37243 main ()
37245 finitef(0);
37247 return 0;
37249 _ACEOF
37250 if ac_fn_cxx_try_compile "$LINENO"; then :
37251 glibcxx_cv_func_finitef_use=yes
37252 else
37253 glibcxx_cv_func_finitef_use=no
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37267 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37269 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37270 for ac_func in finitef
37271 do :
37272 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37273 if test "x$ac_cv_func_finitef" = x""yes; then :
37274 cat >>confdefs.h <<_ACEOF
37275 #define HAVE_FINITEF 1
37276 _ACEOF
37279 done
37281 else
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37284 $as_echo_n "checking for _finitef declaration... " >&6; }
37285 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37286 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37287 $as_echo_n "(cached) " >&6
37288 else
37291 ac_ext=cpp
37292 ac_cpp='$CXXCPP $CPPFLAGS'
37293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37298 /* end confdefs.h. */
37299 #include <math.h>
37300 #ifdef HAVE_IEEEFP_H
37301 #include <ieeefp.h>
37302 #endif
37305 main ()
37307 _finitef(0);
37309 return 0;
37311 _ACEOF
37312 if ac_fn_cxx_try_compile "$LINENO"; then :
37313 glibcxx_cv_func__finitef_use=yes
37314 else
37315 glibcxx_cv_func__finitef_use=no
37317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37318 ac_ext=c
37319 ac_cpp='$CPP $CPPFLAGS'
37320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37329 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37331 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37332 for ac_func in _finitef
37333 do :
37334 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37335 if test "x$ac_cv_func__finitef" = x""yes; then :
37336 cat >>confdefs.h <<_ACEOF
37337 #define HAVE__FINITEF 1
37338 _ACEOF
37341 done
37350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37351 $as_echo_n "checking for long double trig functions... " >&6; }
37352 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37353 $as_echo_n "(cached) " >&6
37354 else
37357 ac_ext=cpp
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37364 /* end confdefs.h. */
37365 #include <math.h>
37367 main ()
37369 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37371 return 0;
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375 glibcxx_cv_func_long_double_trig_use=yes
37376 else
37377 glibcxx_cv_func_long_double_trig_use=no
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37389 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37390 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37391 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37392 do :
37393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37395 eval as_val=\$$as_ac_var
37396 if test "x$as_val" = x""yes; then :
37397 cat >>confdefs.h <<_ACEOF
37398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37399 _ACEOF
37402 done
37404 else
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37406 $as_echo_n "checking for _long double trig functions... " >&6; }
37407 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37408 $as_echo_n "(cached) " >&6
37409 else
37412 ac_ext=cpp
37413 ac_cpp='$CXXCPP $CPPFLAGS'
37414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37419 /* end confdefs.h. */
37420 #include <math.h>
37422 main ()
37424 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37426 return 0;
37428 _ACEOF
37429 if ac_fn_cxx_try_compile "$LINENO"; then :
37430 glibcxx_cv_func__long_double_trig_use=yes
37431 else
37432 glibcxx_cv_func__long_double_trig_use=no
37434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37435 ac_ext=c
37436 ac_cpp='$CPP $CPPFLAGS'
37437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37444 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37445 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37446 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37447 do :
37448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37450 eval as_val=\$$as_ac_var
37451 if test "x$as_val" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 _ACEOF
37457 done
37466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37467 $as_echo_n "checking for long double round functions... " >&6; }
37468 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37469 $as_echo_n "(cached) " >&6
37470 else
37473 ac_ext=cpp
37474 ac_cpp='$CXXCPP $CPPFLAGS'
37475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37480 /* end confdefs.h. */
37481 #include <math.h>
37483 main ()
37485 ceill (0); floorl (0);
37487 return 0;
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func_long_double_round_use=yes
37492 else
37493 glibcxx_cv_func_long_double_round_use=no
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37505 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37506 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37507 for ac_func in ceill floorl
37508 do :
37509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37511 eval as_val=\$$as_ac_var
37512 if test "x$as_val" = x""yes; then :
37513 cat >>confdefs.h <<_ACEOF
37514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37515 _ACEOF
37518 done
37520 else
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37522 $as_echo_n "checking for _long double round functions... " >&6; }
37523 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37524 $as_echo_n "(cached) " >&6
37525 else
37528 ac_ext=cpp
37529 ac_cpp='$CXXCPP $CPPFLAGS'
37530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37535 /* end confdefs.h. */
37536 #include <math.h>
37538 main ()
37540 _ceill (0); _floorl (0);
37542 return 0;
37544 _ACEOF
37545 if ac_fn_cxx_try_compile "$LINENO"; then :
37546 glibcxx_cv_func__long_double_round_use=yes
37547 else
37548 glibcxx_cv_func__long_double_round_use=no
37550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37551 ac_ext=c
37552 ac_cpp='$CPP $CPPFLAGS'
37553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37560 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37561 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37562 for ac_func in _ceill _floorl
37563 do :
37564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37566 eval as_val=\$$as_ac_var
37567 if test "x$as_val" = x""yes; then :
37568 cat >>confdefs.h <<_ACEOF
37569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37570 _ACEOF
37573 done
37583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37584 $as_echo_n "checking for isnanl declaration... " >&6; }
37585 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37586 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37587 $as_echo_n "(cached) " >&6
37588 else
37591 ac_ext=cpp
37592 ac_cpp='$CXXCPP $CPPFLAGS'
37593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37598 /* end confdefs.h. */
37599 #include <math.h>
37600 #ifdef HAVE_IEEEFP_H
37601 #include <ieeefp.h>
37602 #endif
37605 main ()
37607 isnanl(0);
37609 return 0;
37611 _ACEOF
37612 if ac_fn_cxx_try_compile "$LINENO"; then :
37613 glibcxx_cv_func_isnanl_use=yes
37614 else
37615 glibcxx_cv_func_isnanl_use=no
37617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37618 ac_ext=c
37619 ac_cpp='$CPP $CPPFLAGS'
37620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37629 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37631 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37632 for ac_func in isnanl
37633 do :
37634 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37635 if test "x$ac_cv_func_isnanl" = x""yes; then :
37636 cat >>confdefs.h <<_ACEOF
37637 #define HAVE_ISNANL 1
37638 _ACEOF
37641 done
37643 else
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37646 $as_echo_n "checking for _isnanl declaration... " >&6; }
37647 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37648 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37649 $as_echo_n "(cached) " >&6
37650 else
37653 ac_ext=cpp
37654 ac_cpp='$CXXCPP $CPPFLAGS'
37655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37660 /* end confdefs.h. */
37661 #include <math.h>
37662 #ifdef HAVE_IEEEFP_H
37663 #include <ieeefp.h>
37664 #endif
37667 main ()
37669 _isnanl(0);
37671 return 0;
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func__isnanl_use=yes
37676 else
37677 glibcxx_cv_func__isnanl_use=no
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37691 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37693 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37694 for ac_func in _isnanl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37697 if test "x$ac_cv_func__isnanl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE__ISNANL 1
37700 _ACEOF
37703 done
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37713 $as_echo_n "checking for isinfl declaration... " >&6; }
37714 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37715 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37729 #ifdef HAVE_IEEEFP_H
37730 #include <ieeefp.h>
37731 #endif
37734 main ()
37736 isinfl(0);
37738 return 0;
37740 _ACEOF
37741 if ac_fn_cxx_try_compile "$LINENO"; then :
37742 glibcxx_cv_func_isinfl_use=yes
37743 else
37744 glibcxx_cv_func_isinfl_use=no
37746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37747 ac_ext=c
37748 ac_cpp='$CPP $CPPFLAGS'
37749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37758 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37760 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37761 for ac_func in isinfl
37762 do :
37763 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37764 if test "x$ac_cv_func_isinfl" = x""yes; then :
37765 cat >>confdefs.h <<_ACEOF
37766 #define HAVE_ISINFL 1
37767 _ACEOF
37770 done
37772 else
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37775 $as_echo_n "checking for _isinfl declaration... " >&6; }
37776 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37777 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37778 $as_echo_n "(cached) " >&6
37779 else
37782 ac_ext=cpp
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37789 /* end confdefs.h. */
37790 #include <math.h>
37791 #ifdef HAVE_IEEEFP_H
37792 #include <ieeefp.h>
37793 #endif
37796 main ()
37798 _isinfl(0);
37800 return 0;
37802 _ACEOF
37803 if ac_fn_cxx_try_compile "$LINENO"; then :
37804 glibcxx_cv_func__isinfl_use=yes
37805 else
37806 glibcxx_cv_func__isinfl_use=no
37808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37809 ac_ext=c
37810 ac_cpp='$CPP $CPPFLAGS'
37811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37820 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37822 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37823 for ac_func in _isinfl
37824 do :
37825 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37826 if test "x$ac_cv_func__isinfl" = x""yes; then :
37827 cat >>confdefs.h <<_ACEOF
37828 #define HAVE__ISINFL 1
37829 _ACEOF
37832 done
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37842 $as_echo_n "checking for atan2l declaration... " >&6; }
37843 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37844 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37845 $as_echo_n "(cached) " >&6
37846 else
37849 ac_ext=cpp
37850 ac_cpp='$CXXCPP $CPPFLAGS'
37851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37856 /* end confdefs.h. */
37857 #include <math.h>
37859 main ()
37861 atan2l(0, 0);
37863 return 0;
37865 _ACEOF
37866 if ac_fn_cxx_try_compile "$LINENO"; then :
37867 glibcxx_cv_func_atan2l_use=yes
37868 else
37869 glibcxx_cv_func_atan2l_use=no
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37883 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37885 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37886 for ac_func in atan2l
37887 do :
37888 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37889 if test "x$ac_cv_func_atan2l" = x""yes; then :
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE_ATAN2L 1
37892 _ACEOF
37895 done
37897 else
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37900 $as_echo_n "checking for _atan2l declaration... " >&6; }
37901 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37902 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37903 $as_echo_n "(cached) " >&6
37904 else
37907 ac_ext=cpp
37908 ac_cpp='$CXXCPP $CPPFLAGS'
37909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37914 /* end confdefs.h. */
37915 #include <math.h>
37917 main ()
37919 _atan2l(0, 0);
37921 return 0;
37923 _ACEOF
37924 if ac_fn_cxx_try_compile "$LINENO"; then :
37925 glibcxx_cv_func__atan2l_use=yes
37926 else
37927 glibcxx_cv_func__atan2l_use=no
37929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37930 ac_ext=c
37931 ac_cpp='$CPP $CPPFLAGS'
37932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37941 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37943 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37944 for ac_func in _atan2l
37945 do :
37946 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37947 if test "x$ac_cv_func__atan2l" = x""yes; then :
37948 cat >>confdefs.h <<_ACEOF
37949 #define HAVE__ATAN2L 1
37950 _ACEOF
37953 done
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37963 $as_echo_n "checking for expl declaration... " >&6; }
37964 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37965 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37966 $as_echo_n "(cached) " >&6
37967 else
37970 ac_ext=cpp
37971 ac_cpp='$CXXCPP $CPPFLAGS'
37972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37977 /* end confdefs.h. */
37978 #include <math.h>
37979 #ifdef HAVE_IEEEFP_H
37980 #include <ieeefp.h>
37981 #endif
37984 main ()
37986 expl(0);
37988 return 0;
37990 _ACEOF
37991 if ac_fn_cxx_try_compile "$LINENO"; then :
37992 glibcxx_cv_func_expl_use=yes
37993 else
37994 glibcxx_cv_func_expl_use=no
37996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37997 ac_ext=c
37998 ac_cpp='$CPP $CPPFLAGS'
37999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38008 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38010 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38011 for ac_func in expl
38012 do :
38013 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38014 if test "x$ac_cv_func_expl" = x""yes; then :
38015 cat >>confdefs.h <<_ACEOF
38016 #define HAVE_EXPL 1
38017 _ACEOF
38020 done
38022 else
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38025 $as_echo_n "checking for _expl declaration... " >&6; }
38026 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38027 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38041 #ifdef HAVE_IEEEFP_H
38042 #include <ieeefp.h>
38043 #endif
38046 main ()
38048 _expl(0);
38050 return 0;
38052 _ACEOF
38053 if ac_fn_cxx_try_compile "$LINENO"; then :
38054 glibcxx_cv_func__expl_use=yes
38055 else
38056 glibcxx_cv_func__expl_use=no
38058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38059 ac_ext=c
38060 ac_cpp='$CPP $CPPFLAGS'
38061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38070 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38072 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38073 for ac_func in _expl
38074 do :
38075 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38076 if test "x$ac_cv_func__expl" = x""yes; then :
38077 cat >>confdefs.h <<_ACEOF
38078 #define HAVE__EXPL 1
38079 _ACEOF
38082 done
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38092 $as_echo_n "checking for fabsl declaration... " >&6; }
38093 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38094 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38095 $as_echo_n "(cached) " >&6
38096 else
38099 ac_ext=cpp
38100 ac_cpp='$CXXCPP $CPPFLAGS'
38101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38106 /* end confdefs.h. */
38107 #include <math.h>
38108 #ifdef HAVE_IEEEFP_H
38109 #include <ieeefp.h>
38110 #endif
38113 main ()
38115 fabsl(0);
38117 return 0;
38119 _ACEOF
38120 if ac_fn_cxx_try_compile "$LINENO"; then :
38121 glibcxx_cv_func_fabsl_use=yes
38122 else
38123 glibcxx_cv_func_fabsl_use=no
38125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38126 ac_ext=c
38127 ac_cpp='$CPP $CPPFLAGS'
38128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38137 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38139 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38140 for ac_func in fabsl
38141 do :
38142 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38143 if test "x$ac_cv_func_fabsl" = x""yes; then :
38144 cat >>confdefs.h <<_ACEOF
38145 #define HAVE_FABSL 1
38146 _ACEOF
38149 done
38151 else
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38154 $as_echo_n "checking for _fabsl declaration... " >&6; }
38155 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38156 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38157 $as_echo_n "(cached) " >&6
38158 else
38161 ac_ext=cpp
38162 ac_cpp='$CXXCPP $CPPFLAGS'
38163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38168 /* end confdefs.h. */
38169 #include <math.h>
38170 #ifdef HAVE_IEEEFP_H
38171 #include <ieeefp.h>
38172 #endif
38175 main ()
38177 _fabsl(0);
38179 return 0;
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__fabsl_use=yes
38184 else
38185 glibcxx_cv_func__fabsl_use=no
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38199 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38201 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38202 for ac_func in _fabsl
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38205 if test "x$ac_cv_func__fabsl" = x""yes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__FABSL 1
38208 _ACEOF
38211 done
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38221 $as_echo_n "checking for fmodl declaration... " >&6; }
38222 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38223 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38238 main ()
38240 fmodl(0, 0);
38242 return 0;
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_fmodl_use=yes
38247 else
38248 glibcxx_cv_func_fmodl_use=no
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38262 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38264 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38265 for ac_func in fmodl
38266 do :
38267 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38268 if test "x$ac_cv_func_fmodl" = x""yes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_FMODL 1
38271 _ACEOF
38274 done
38276 else
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38279 $as_echo_n "checking for _fmodl declaration... " >&6; }
38280 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38281 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38296 main ()
38298 _fmodl(0, 0);
38300 return 0;
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__fmodl_use=yes
38305 else
38306 glibcxx_cv_func__fmodl_use=no
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38320 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38322 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38323 for ac_func in _fmodl
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38326 if test "x$ac_cv_func__fmodl" = x""yes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__FMODL 1
38329 _ACEOF
38332 done
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38342 $as_echo_n "checking for frexpl declaration... " >&6; }
38343 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38344 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38359 main ()
38361 frexpl(0, 0);
38363 return 0;
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func_frexpl_use=yes
38368 else
38369 glibcxx_cv_func_frexpl_use=no
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38383 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38385 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38386 for ac_func in frexpl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38389 if test "x$ac_cv_func_frexpl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE_FREXPL 1
38392 _ACEOF
38395 done
38397 else
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38400 $as_echo_n "checking for _frexpl declaration... " >&6; }
38401 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38402 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38404 else
38407 ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38415 #include <math.h>
38417 main ()
38419 _frexpl(0, 0);
38421 return 0;
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func__frexpl_use=yes
38426 else
38427 glibcxx_cv_func__frexpl_use=no
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38441 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38443 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38444 for ac_func in _frexpl
38445 do :
38446 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38447 if test "x$ac_cv_func__frexpl" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE__FREXPL 1
38450 _ACEOF
38453 done
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38463 $as_echo_n "checking for hypotl declaration... " >&6; }
38464 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38465 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38480 main ()
38482 hypotl(0, 0);
38484 return 0;
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488 glibcxx_cv_func_hypotl_use=yes
38489 else
38490 glibcxx_cv_func_hypotl_use=no
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38504 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38506 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38507 for ac_func in hypotl
38508 do :
38509 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38510 if test "x$ac_cv_func_hypotl" = x""yes; then :
38511 cat >>confdefs.h <<_ACEOF
38512 #define HAVE_HYPOTL 1
38513 _ACEOF
38516 done
38518 else
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38521 $as_echo_n "checking for _hypotl declaration... " >&6; }
38522 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38523 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38524 $as_echo_n "(cached) " >&6
38525 else
38528 ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h. */
38536 #include <math.h>
38538 main ()
38540 _hypotl(0, 0);
38542 return 0;
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func__hypotl_use=yes
38547 else
38548 glibcxx_cv_func__hypotl_use=no
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38562 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38564 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38565 for ac_func in _hypotl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38568 if test "x$ac_cv_func__hypotl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE__HYPOTL 1
38571 _ACEOF
38574 done
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38584 $as_echo_n "checking for ldexpl declaration... " >&6; }
38585 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38586 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38587 $as_echo_n "(cached) " >&6
38588 else
38591 ac_ext=cpp
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38598 /* end confdefs.h. */
38599 #include <math.h>
38601 main ()
38603 ldexpl(0, 0);
38605 return 0;
38607 _ACEOF
38608 if ac_fn_cxx_try_compile "$LINENO"; then :
38609 glibcxx_cv_func_ldexpl_use=yes
38610 else
38611 glibcxx_cv_func_ldexpl_use=no
38613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 ac_ext=c
38615 ac_cpp='$CPP $CPPFLAGS'
38616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38625 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38627 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38628 for ac_func in ldexpl
38629 do :
38630 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38631 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38632 cat >>confdefs.h <<_ACEOF
38633 #define HAVE_LDEXPL 1
38634 _ACEOF
38637 done
38639 else
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38642 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38643 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38644 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38659 main ()
38661 _ldexpl(0, 0);
38663 return 0;
38665 _ACEOF
38666 if ac_fn_cxx_try_compile "$LINENO"; then :
38667 glibcxx_cv_func__ldexpl_use=yes
38668 else
38669 glibcxx_cv_func__ldexpl_use=no
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38683 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38685 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38686 for ac_func in _ldexpl
38687 do :
38688 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38689 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38690 cat >>confdefs.h <<_ACEOF
38691 #define HAVE__LDEXPL 1
38692 _ACEOF
38695 done
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38705 $as_echo_n "checking for logl declaration... " >&6; }
38706 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38707 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38726 main ()
38728 logl(0);
38730 return 0;
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func_logl_use=yes
38735 else
38736 glibcxx_cv_func_logl_use=no
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38750 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38752 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38753 for ac_func in logl
38754 do :
38755 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38756 if test "x$ac_cv_func_logl" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE_LOGL 1
38759 _ACEOF
38762 done
38764 else
38766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38767 $as_echo_n "checking for _logl declaration... " >&6; }
38768 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38769 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38770 $as_echo_n "(cached) " >&6
38771 else
38774 ac_ext=cpp
38775 ac_cpp='$CXXCPP $CPPFLAGS'
38776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38781 /* end confdefs.h. */
38782 #include <math.h>
38783 #ifdef HAVE_IEEEFP_H
38784 #include <ieeefp.h>
38785 #endif
38788 main ()
38790 _logl(0);
38792 return 0;
38794 _ACEOF
38795 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 glibcxx_cv_func__logl_use=yes
38797 else
38798 glibcxx_cv_func__logl_use=no
38800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38801 ac_ext=c
38802 ac_cpp='$CPP $CPPFLAGS'
38803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38812 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38814 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38815 for ac_func in _logl
38816 do :
38817 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38818 if test "x$ac_cv_func__logl" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE__LOGL 1
38821 _ACEOF
38824 done
38833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38834 $as_echo_n "checking for log10l declaration... " >&6; }
38835 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38836 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38850 #ifdef HAVE_IEEEFP_H
38851 #include <ieeefp.h>
38852 #endif
38855 main ()
38857 log10l(0);
38859 return 0;
38861 _ACEOF
38862 if ac_fn_cxx_try_compile "$LINENO"; then :
38863 glibcxx_cv_func_log10l_use=yes
38864 else
38865 glibcxx_cv_func_log10l_use=no
38867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38868 ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38879 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38881 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38882 for ac_func in log10l
38883 do :
38884 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38885 if test "x$ac_cv_func_log10l" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE_LOG10L 1
38888 _ACEOF
38891 done
38893 else
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38896 $as_echo_n "checking for _log10l declaration... " >&6; }
38897 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38898 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38899 $as_echo_n "(cached) " >&6
38900 else
38903 ac_ext=cpp
38904 ac_cpp='$CXXCPP $CPPFLAGS'
38905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38910 /* end confdefs.h. */
38911 #include <math.h>
38912 #ifdef HAVE_IEEEFP_H
38913 #include <ieeefp.h>
38914 #endif
38917 main ()
38919 _log10l(0);
38921 return 0;
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__log10l_use=yes
38926 else
38927 glibcxx_cv_func__log10l_use=no
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38941 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38943 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38944 for ac_func in _log10l
38945 do :
38946 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38947 if test "x$ac_cv_func__log10l" = x""yes; then :
38948 cat >>confdefs.h <<_ACEOF
38949 #define HAVE__LOG10L 1
38950 _ACEOF
38953 done
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38963 $as_echo_n "checking for modfl declaration... " >&6; }
38964 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38965 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38980 main ()
38982 modfl(0, 0);
38984 return 0;
38986 _ACEOF
38987 if ac_fn_cxx_try_compile "$LINENO"; then :
38988 glibcxx_cv_func_modfl_use=yes
38989 else
38990 glibcxx_cv_func_modfl_use=no
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39004 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39006 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39007 for ac_func in modfl
39008 do :
39009 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39010 if test "x$ac_cv_func_modfl" = x""yes; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define HAVE_MODFL 1
39013 _ACEOF
39016 done
39018 else
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39021 $as_echo_n "checking for _modfl declaration... " >&6; }
39022 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39023 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39024 $as_echo_n "(cached) " >&6
39025 else
39028 ac_ext=cpp
39029 ac_cpp='$CXXCPP $CPPFLAGS'
39030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39035 /* end confdefs.h. */
39036 #include <math.h>
39038 main ()
39040 _modfl(0, 0);
39042 return 0;
39044 _ACEOF
39045 if ac_fn_cxx_try_compile "$LINENO"; then :
39046 glibcxx_cv_func__modfl_use=yes
39047 else
39048 glibcxx_cv_func__modfl_use=no
39050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39051 ac_ext=c
39052 ac_cpp='$CPP $CPPFLAGS'
39053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39062 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39064 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39065 for ac_func in _modfl
39066 do :
39067 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39068 if test "x$ac_cv_func__modfl" = x""yes; then :
39069 cat >>confdefs.h <<_ACEOF
39070 #define HAVE__MODFL 1
39071 _ACEOF
39074 done
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39084 $as_echo_n "checking for powl declaration... " >&6; }
39085 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39086 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39087 $as_echo_n "(cached) " >&6
39088 else
39091 ac_ext=cpp
39092 ac_cpp='$CXXCPP $CPPFLAGS'
39093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39098 /* end confdefs.h. */
39099 #include <math.h>
39101 main ()
39103 powl(0, 0);
39105 return 0;
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109 glibcxx_cv_func_powl_use=yes
39110 else
39111 glibcxx_cv_func_powl_use=no
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114 ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39125 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39127 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39128 for ac_func in powl
39129 do :
39130 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39131 if test "x$ac_cv_func_powl" = x""yes; then :
39132 cat >>confdefs.h <<_ACEOF
39133 #define HAVE_POWL 1
39134 _ACEOF
39137 done
39139 else
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39142 $as_echo_n "checking for _powl declaration... " >&6; }
39143 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39144 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39145 $as_echo_n "(cached) " >&6
39146 else
39149 ac_ext=cpp
39150 ac_cpp='$CXXCPP $CPPFLAGS'
39151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39156 /* end confdefs.h. */
39157 #include <math.h>
39159 main ()
39161 _powl(0, 0);
39163 return 0;
39165 _ACEOF
39166 if ac_fn_cxx_try_compile "$LINENO"; then :
39167 glibcxx_cv_func__powl_use=yes
39168 else
39169 glibcxx_cv_func__powl_use=no
39171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39172 ac_ext=c
39173 ac_cpp='$CPP $CPPFLAGS'
39174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39183 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39185 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39186 for ac_func in _powl
39187 do :
39188 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39189 if test "x$ac_cv_func__powl" = x""yes; then :
39190 cat >>confdefs.h <<_ACEOF
39191 #define HAVE__POWL 1
39192 _ACEOF
39195 done
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39205 $as_echo_n "checking for sqrtl declaration... " >&6; }
39206 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39207 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39208 $as_echo_n "(cached) " >&6
39209 else
39212 ac_ext=cpp
39213 ac_cpp='$CXXCPP $CPPFLAGS'
39214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39219 /* end confdefs.h. */
39220 #include <math.h>
39221 #ifdef HAVE_IEEEFP_H
39222 #include <ieeefp.h>
39223 #endif
39226 main ()
39228 sqrtl(0);
39230 return 0;
39232 _ACEOF
39233 if ac_fn_cxx_try_compile "$LINENO"; then :
39234 glibcxx_cv_func_sqrtl_use=yes
39235 else
39236 glibcxx_cv_func_sqrtl_use=no
39238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39239 ac_ext=c
39240 ac_cpp='$CPP $CPPFLAGS'
39241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39250 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39252 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39253 for ac_func in sqrtl
39254 do :
39255 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39256 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39257 cat >>confdefs.h <<_ACEOF
39258 #define HAVE_SQRTL 1
39259 _ACEOF
39262 done
39264 else
39266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39267 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39268 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39269 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39270 $as_echo_n "(cached) " >&6
39271 else
39274 ac_ext=cpp
39275 ac_cpp='$CXXCPP $CPPFLAGS'
39276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39281 /* end confdefs.h. */
39282 #include <math.h>
39283 #ifdef HAVE_IEEEFP_H
39284 #include <ieeefp.h>
39285 #endif
39288 main ()
39290 _sqrtl(0);
39292 return 0;
39294 _ACEOF
39295 if ac_fn_cxx_try_compile "$LINENO"; then :
39296 glibcxx_cv_func__sqrtl_use=yes
39297 else
39298 glibcxx_cv_func__sqrtl_use=no
39300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39301 ac_ext=c
39302 ac_cpp='$CPP $CPPFLAGS'
39303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39312 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39314 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39315 for ac_func in _sqrtl
39316 do :
39317 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39318 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39319 cat >>confdefs.h <<_ACEOF
39320 #define HAVE__SQRTL 1
39321 _ACEOF
39324 done
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39334 $as_echo_n "checking for sincosl declaration... " >&6; }
39335 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39336 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39337 $as_echo_n "(cached) " >&6
39338 else
39341 ac_ext=cpp
39342 ac_cpp='$CXXCPP $CPPFLAGS'
39343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39348 /* end confdefs.h. */
39349 #include <math.h>
39351 main ()
39353 sincosl(0, 0, 0);
39355 return 0;
39357 _ACEOF
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359 glibcxx_cv_func_sincosl_use=yes
39360 else
39361 glibcxx_cv_func_sincosl_use=no
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364 ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39375 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39377 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39378 for ac_func in sincosl
39379 do :
39380 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39381 if test "x$ac_cv_func_sincosl" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define HAVE_SINCOSL 1
39384 _ACEOF
39387 done
39389 else
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39392 $as_echo_n "checking for _sincosl declaration... " >&6; }
39393 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39394 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39395 $as_echo_n "(cached) " >&6
39396 else
39399 ac_ext=cpp
39400 ac_cpp='$CXXCPP $CPPFLAGS'
39401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39406 /* end confdefs.h. */
39407 #include <math.h>
39409 main ()
39411 _sincosl(0, 0, 0);
39413 return 0;
39415 _ACEOF
39416 if ac_fn_cxx_try_compile "$LINENO"; then :
39417 glibcxx_cv_func__sincosl_use=yes
39418 else
39419 glibcxx_cv_func__sincosl_use=no
39421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39422 ac_ext=c
39423 ac_cpp='$CPP $CPPFLAGS'
39424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39433 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39435 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39436 for ac_func in _sincosl
39437 do :
39438 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39439 if test "x$ac_cv_func__sincosl" = x""yes; then :
39440 cat >>confdefs.h <<_ACEOF
39441 #define HAVE__SINCOSL 1
39442 _ACEOF
39445 done
39454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39455 $as_echo_n "checking for finitel declaration... " >&6; }
39456 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39457 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39458 $as_echo_n "(cached) " >&6
39459 else
39462 ac_ext=cpp
39463 ac_cpp='$CXXCPP $CPPFLAGS'
39464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39469 /* end confdefs.h. */
39470 #include <math.h>
39471 #ifdef HAVE_IEEEFP_H
39472 #include <ieeefp.h>
39473 #endif
39476 main ()
39478 finitel(0);
39480 return 0;
39482 _ACEOF
39483 if ac_fn_cxx_try_compile "$LINENO"; then :
39484 glibcxx_cv_func_finitel_use=yes
39485 else
39486 glibcxx_cv_func_finitel_use=no
39488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39489 ac_ext=c
39490 ac_cpp='$CPP $CPPFLAGS'
39491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39500 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39502 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39503 for ac_func in finitel
39504 do :
39505 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39506 if test "x$ac_cv_func_finitel" = x""yes; then :
39507 cat >>confdefs.h <<_ACEOF
39508 #define HAVE_FINITEL 1
39509 _ACEOF
39512 done
39514 else
39516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39517 $as_echo_n "checking for _finitel declaration... " >&6; }
39518 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39519 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39520 $as_echo_n "(cached) " >&6
39521 else
39524 ac_ext=cpp
39525 ac_cpp='$CXXCPP $CPPFLAGS'
39526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39531 /* end confdefs.h. */
39532 #include <math.h>
39533 #ifdef HAVE_IEEEFP_H
39534 #include <ieeefp.h>
39535 #endif
39538 main ()
39540 _finitel(0);
39542 return 0;
39544 _ACEOF
39545 if ac_fn_cxx_try_compile "$LINENO"; then :
39546 glibcxx_cv_func__finitel_use=yes
39547 else
39548 glibcxx_cv_func__finitel_use=no
39550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39551 ac_ext=c
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39562 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39564 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39565 for ac_func in _finitel
39566 do :
39567 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39568 if test "x$ac_cv_func__finitel" = x""yes; then :
39569 cat >>confdefs.h <<_ACEOF
39570 #define HAVE__FINITEL 1
39571 _ACEOF
39574 done
39582 LIBS="$ac_save_LIBS"
39583 CXXFLAGS="$ac_save_CXXFLAGS"
39586 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39587 ac_save_CXXFLAGS="$CXXFLAGS"
39588 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39592 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39593 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39594 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39595 $as_echo_n "(cached) " >&6
39596 else
39599 ac_ext=cpp
39600 ac_cpp='$CXXCPP $CPPFLAGS'
39601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39606 /* end confdefs.h. */
39607 #include <stdlib.h>
39609 main ()
39611 at_quick_exit(0);
39613 return 0;
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617 glibcxx_cv_func_at_quick_exit_use=yes
39618 else
39619 glibcxx_cv_func_at_quick_exit_use=no
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622 ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39633 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39634 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39635 for ac_func in at_quick_exit
39636 do :
39637 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39638 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39639 cat >>confdefs.h <<_ACEOF
39640 #define HAVE_AT_QUICK_EXIT 1
39641 _ACEOF
39644 done
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39650 $as_echo_n "checking for quick_exit declaration... " >&6; }
39651 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39652 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39653 $as_echo_n "(cached) " >&6
39654 else
39657 ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39664 /* end confdefs.h. */
39665 #include <stdlib.h>
39667 main ()
39669 quick_exit(0);
39671 return 0;
39673 _ACEOF
39674 if ac_fn_cxx_try_compile "$LINENO"; then :
39675 glibcxx_cv_func_quick_exit_use=yes
39676 else
39677 glibcxx_cv_func_quick_exit_use=no
39679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39680 ac_ext=c
39681 ac_cpp='$CPP $CPPFLAGS'
39682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39691 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39692 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39693 for ac_func in quick_exit
39694 do :
39695 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39696 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39697 cat >>confdefs.h <<_ACEOF
39698 #define HAVE_QUICK_EXIT 1
39699 _ACEOF
39702 done
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39708 $as_echo_n "checking for strtold declaration... " >&6; }
39709 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39710 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <stdlib.h>
39725 main ()
39727 strtold(0, 0);
39729 return 0;
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733 glibcxx_cv_func_strtold_use=yes
39734 else
39735 glibcxx_cv_func_strtold_use=no
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738 ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39749 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39750 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39751 for ac_func in strtold
39752 do :
39753 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39754 if test "x$ac_cv_func_strtold" = x""yes; then :
39755 cat >>confdefs.h <<_ACEOF
39756 #define HAVE_STRTOLD 1
39757 _ACEOF
39760 done
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39768 $as_echo_n "checking for strtof declaration... " >&6; }
39769 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39770 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39771 $as_echo_n "(cached) " >&6
39772 else
39775 ac_ext=cpp
39776 ac_cpp='$CXXCPP $CPPFLAGS'
39777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39782 /* end confdefs.h. */
39783 #include <stdlib.h>
39785 main ()
39787 strtof(0, 0);
39789 return 0;
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func_strtof_use=yes
39794 else
39795 glibcxx_cv_func_strtof_use=no
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39809 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39810 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39811 for ac_func in strtof
39812 do :
39813 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39814 if test "x$ac_cv_func_strtof" = x""yes; then :
39815 cat >>confdefs.h <<_ACEOF
39816 #define HAVE_STRTOF 1
39817 _ACEOF
39820 done
39827 CXXFLAGS="$ac_save_CXXFLAGS"
39834 am_save_CPPFLAGS="$CPPFLAGS"
39836 for element in $INCICONV; do
39837 haveit=
39838 for x in $CPPFLAGS; do
39840 acl_save_prefix="$prefix"
39841 prefix="$acl_final_prefix"
39842 acl_save_exec_prefix="$exec_prefix"
39843 exec_prefix="$acl_final_exec_prefix"
39844 eval x=\"$x\"
39845 exec_prefix="$acl_save_exec_prefix"
39846 prefix="$acl_save_prefix"
39848 if test "X$x" = "X$element"; then
39849 haveit=yes
39850 break
39852 done
39853 if test -z "$haveit"; then
39854 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39856 done
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39860 $as_echo_n "checking for iconv... " >&6; }
39861 if test "${am_cv_func_iconv+set}" = set; then :
39862 $as_echo_n "(cached) " >&6
39863 else
39865 am_cv_func_iconv="no, consider installing GNU libiconv"
39866 am_cv_lib_iconv=no
39867 if test x$gcc_no_link = xyes; then
39868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39871 /* end confdefs.h. */
39872 #include <stdlib.h>
39873 #include <iconv.h>
39875 main ()
39877 iconv_t cd = iconv_open("","");
39878 iconv(cd,NULL,NULL,NULL,NULL);
39879 iconv_close(cd);
39881 return 0;
39883 _ACEOF
39884 if ac_fn_c_try_link "$LINENO"; then :
39885 am_cv_func_iconv=yes
39887 rm -f core conftest.err conftest.$ac_objext \
39888 conftest$ac_exeext conftest.$ac_ext
39889 if test "$am_cv_func_iconv" != yes; then
39890 am_save_LIBS="$LIBS"
39891 LIBS="$LIBS $LIBICONV"
39892 if test x$gcc_no_link = xyes; then
39893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39896 /* end confdefs.h. */
39897 #include <stdlib.h>
39898 #include <iconv.h>
39900 main ()
39902 iconv_t cd = iconv_open("","");
39903 iconv(cd,NULL,NULL,NULL,NULL);
39904 iconv_close(cd);
39906 return 0;
39908 _ACEOF
39909 if ac_fn_c_try_link "$LINENO"; then :
39910 am_cv_lib_iconv=yes
39911 am_cv_func_iconv=yes
39913 rm -f core conftest.err conftest.$ac_objext \
39914 conftest$ac_exeext conftest.$ac_ext
39915 LIBS="$am_save_LIBS"
39919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39920 $as_echo "$am_cv_func_iconv" >&6; }
39921 if test "$am_cv_func_iconv" = yes; then
39923 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39926 if test "$am_cv_lib_iconv" = yes; then
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39928 $as_echo_n "checking how to link with libiconv... " >&6; }
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39930 $as_echo "$LIBICONV" >&6; }
39931 else
39932 CPPFLAGS="$am_save_CPPFLAGS"
39933 LIBICONV=
39934 LTLIBICONV=
39939 if test "$am_cv_func_iconv" = yes; then
39940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39941 $as_echo_n "checking for iconv declaration... " >&6; }
39942 if test "${am_cv_proto_iconv+set}" = set; then :
39943 $as_echo_n "(cached) " >&6
39944 else
39946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947 /* end confdefs.h. */
39949 #include <stdlib.h>
39950 #include <iconv.h>
39951 extern
39952 #ifdef __cplusplus
39954 #endif
39955 #if defined(__STDC__) || defined(__cplusplus)
39956 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39957 #else
39958 size_t iconv();
39959 #endif
39962 main ()
39966 return 0;
39968 _ACEOF
39969 if ac_fn_c_try_compile "$LINENO"; then :
39970 am_cv_proto_iconv_arg1=""
39971 else
39972 am_cv_proto_iconv_arg1="const"
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 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);"
39978 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39980 }$am_cv_proto_iconv" >&5
39981 $as_echo "${ac_t:-
39982 }$am_cv_proto_iconv" >&6; }
39984 cat >>confdefs.h <<_ACEOF
39985 #define ICONV_CONST $am_cv_proto_iconv_arg1
39986 _ACEOF
39992 *-aix*)
39994 # If we're not using GNU ld, then there's no point in even trying these
39995 # tests. Check for that first. We should have already tested for gld
39996 # by now (in libtool), but require it now just to be safe...
39997 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39998 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40002 # The name set by libtool depends on the version of libtool. Shame on us
40003 # for depending on an impl detail, but c'est la vie. Older versions used
40004 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40005 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40006 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40007 # set (hence we're using an older libtool), then set it.
40008 if test x${with_gnu_ld+set} != xset; then
40009 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40010 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40011 with_gnu_ld=no
40012 else
40013 with_gnu_ld=$ac_cv_prog_gnu_ld
40017 # Start by getting the version number. I think the libtool test already
40018 # does some of this, but throws away the result.
40019 glibcxx_ld_is_gold=no
40020 if test x"$with_gnu_ld" = x"yes"; then
40021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40022 $as_echo_n "checking for ld version... " >&6; }
40024 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40025 glibcxx_ld_is_gold=yes
40027 ldver=`$LD --version 2>/dev/null |
40028 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'`
40030 glibcxx_gnu_ld_version=`echo $ldver | \
40031 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40033 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40036 # Set --gc-sections.
40037 glibcxx_have_gc_sections=no
40038 if test "$glibcxx_ld_is_gold" = "yes"; then
40039 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40040 glibcxx_have_gc_sections=yes
40042 else
40043 glibcxx_gcsections_min_ld=21602
40044 if test x"$with_gnu_ld" = x"yes" &&
40045 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40046 glibcxx_have_gc_sections=yes
40049 if test "$glibcxx_have_gc_sections" = "yes"; then
40050 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40051 # NB: This flag only works reliably after 2.16.1. Configure tests
40052 # for this are difficult, so hard wire a value that should work.
40054 ac_test_CFLAGS="${CFLAGS+set}"
40055 ac_save_CFLAGS="$CFLAGS"
40056 CFLAGS='-Wl,--gc-sections'
40058 # Check for -Wl,--gc-sections
40059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40060 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40061 if test x$gcc_no_link = xyes; then
40062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40065 /* end confdefs.h. */
40066 int one(void) { return 1; }
40067 int two(void) { return 2; }
40070 main ()
40072 two();
40074 return 0;
40076 _ACEOF
40077 if ac_fn_c_try_link "$LINENO"; then :
40078 ac_gcsections=yes
40079 else
40080 ac_gcsections=no
40082 rm -f core conftest.err conftest.$ac_objext \
40083 conftest$ac_exeext conftest.$ac_ext
40084 if test "$ac_gcsections" = "yes"; then
40085 rm -f conftest.c
40086 touch conftest.c
40087 if $CC -c conftest.c; then
40088 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40089 grep "Warning: gc-sections option ignored" > /dev/null; then
40090 ac_gcsections=no
40093 rm -f conftest.c conftest.o conftest
40095 if test "$ac_gcsections" = "yes"; then
40096 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40099 $as_echo "$ac_gcsections" >&6; }
40101 if test "$ac_test_CFLAGS" = set; then
40102 CFLAGS="$ac_save_CFLAGS"
40103 else
40104 # this is the suspicious part
40105 CFLAGS=''
40109 # Set -z,relro.
40110 # Note this is only for shared objects.
40111 ac_ld_relro=no
40112 if test x"$with_gnu_ld" = x"yes"; then
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40114 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40115 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40116 if test -n "$cxx_z_relo"; then
40117 OPT_LDFLAGS="-Wl,-z,relro"
40118 ac_ld_relro=yes
40120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40121 $as_echo "$ac_ld_relro" >&6; }
40124 # Set linker optimization flags.
40125 if test x"$with_gnu_ld" = x"yes"; then
40126 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40133 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40134 ac_save_CXXFLAGS="$CXXFLAGS"
40135 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40138 $as_echo_n "checking for sin in -lm... " >&6; }
40139 if test "${ac_cv_lib_m_sin+set}" = set; then :
40140 $as_echo_n "(cached) " >&6
40141 else
40142 ac_check_lib_save_LIBS=$LIBS
40143 LIBS="-lm $LIBS"
40144 if test x$gcc_no_link = xyes; then
40145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40148 /* end confdefs.h. */
40150 /* Override any GCC internal prototype to avoid an error.
40151 Use char because int might match the return type of a GCC
40152 builtin and then its argument prototype would still apply. */
40153 #ifdef __cplusplus
40154 extern "C"
40155 #endif
40156 char sin ();
40158 main ()
40160 return sin ();
40162 return 0;
40164 _ACEOF
40165 if ac_fn_c_try_link "$LINENO"; then :
40166 ac_cv_lib_m_sin=yes
40167 else
40168 ac_cv_lib_m_sin=no
40170 rm -f core conftest.err conftest.$ac_objext \
40171 conftest$ac_exeext conftest.$ac_ext
40172 LIBS=$ac_check_lib_save_LIBS
40174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40175 $as_echo "$ac_cv_lib_m_sin" >&6; }
40176 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40177 libm="-lm"
40180 ac_save_LIBS="$LIBS"
40181 LIBS="$LIBS $libm"
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40186 $as_echo_n "checking for isinf declaration... " >&6; }
40187 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40188 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40202 #ifdef HAVE_IEEEFP_H
40203 #include <ieeefp.h>
40204 #endif
40207 main ()
40209 isinf(0);
40211 return 0;
40213 _ACEOF
40214 if ac_fn_cxx_try_compile "$LINENO"; then :
40215 glibcxx_cv_func_isinf_use=yes
40216 else
40217 glibcxx_cv_func_isinf_use=no
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220 ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40231 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40233 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40234 for ac_func in isinf
40235 do :
40236 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40237 if test "x$ac_cv_func_isinf" = x""yes; then :
40238 cat >>confdefs.h <<_ACEOF
40239 #define HAVE_ISINF 1
40240 _ACEOF
40243 done
40245 else
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40248 $as_echo_n "checking for _isinf declaration... " >&6; }
40249 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40250 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40251 $as_echo_n "(cached) " >&6
40252 else
40255 ac_ext=cpp
40256 ac_cpp='$CXXCPP $CPPFLAGS'
40257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40262 /* end confdefs.h. */
40263 #include <math.h>
40264 #ifdef HAVE_IEEEFP_H
40265 #include <ieeefp.h>
40266 #endif
40269 main ()
40271 _isinf(0);
40273 return 0;
40275 _ACEOF
40276 if ac_fn_cxx_try_compile "$LINENO"; then :
40277 glibcxx_cv_func__isinf_use=yes
40278 else
40279 glibcxx_cv_func__isinf_use=no
40281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40282 ac_ext=c
40283 ac_cpp='$CPP $CPPFLAGS'
40284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40293 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40295 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40296 for ac_func in _isinf
40297 do :
40298 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40299 if test "x$ac_cv_func__isinf" = x""yes; then :
40300 cat >>confdefs.h <<_ACEOF
40301 #define HAVE__ISINF 1
40302 _ACEOF
40305 done
40314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40315 $as_echo_n "checking for isnan declaration... " >&6; }
40316 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40317 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40318 $as_echo_n "(cached) " >&6
40319 else
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40329 /* end confdefs.h. */
40330 #include <math.h>
40331 #ifdef HAVE_IEEEFP_H
40332 #include <ieeefp.h>
40333 #endif
40336 main ()
40338 isnan(0);
40340 return 0;
40342 _ACEOF
40343 if ac_fn_cxx_try_compile "$LINENO"; then :
40344 glibcxx_cv_func_isnan_use=yes
40345 else
40346 glibcxx_cv_func_isnan_use=no
40348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40349 ac_ext=c
40350 ac_cpp='$CPP $CPPFLAGS'
40351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40360 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40362 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40363 for ac_func in isnan
40364 do :
40365 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40366 if test "x$ac_cv_func_isnan" = x""yes; then :
40367 cat >>confdefs.h <<_ACEOF
40368 #define HAVE_ISNAN 1
40369 _ACEOF
40372 done
40374 else
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40377 $as_echo_n "checking for _isnan declaration... " >&6; }
40378 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40379 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40380 $as_echo_n "(cached) " >&6
40381 else
40384 ac_ext=cpp
40385 ac_cpp='$CXXCPP $CPPFLAGS'
40386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40391 /* end confdefs.h. */
40392 #include <math.h>
40393 #ifdef HAVE_IEEEFP_H
40394 #include <ieeefp.h>
40395 #endif
40398 main ()
40400 _isnan(0);
40402 return 0;
40404 _ACEOF
40405 if ac_fn_cxx_try_compile "$LINENO"; then :
40406 glibcxx_cv_func__isnan_use=yes
40407 else
40408 glibcxx_cv_func__isnan_use=no
40410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40411 ac_ext=c
40412 ac_cpp='$CPP $CPPFLAGS'
40413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40422 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40424 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40425 for ac_func in _isnan
40426 do :
40427 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40428 if test "x$ac_cv_func__isnan" = x""yes; then :
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE__ISNAN 1
40431 _ACEOF
40434 done
40443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40444 $as_echo_n "checking for finite declaration... " >&6; }
40445 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40446 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40447 $as_echo_n "(cached) " >&6
40448 else
40451 ac_ext=cpp
40452 ac_cpp='$CXXCPP $CPPFLAGS'
40453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40458 /* end confdefs.h. */
40459 #include <math.h>
40460 #ifdef HAVE_IEEEFP_H
40461 #include <ieeefp.h>
40462 #endif
40465 main ()
40467 finite(0);
40469 return 0;
40471 _ACEOF
40472 if ac_fn_cxx_try_compile "$LINENO"; then :
40473 glibcxx_cv_func_finite_use=yes
40474 else
40475 glibcxx_cv_func_finite_use=no
40477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40478 ac_ext=c
40479 ac_cpp='$CPP $CPPFLAGS'
40480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40489 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40491 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40492 for ac_func in finite
40493 do :
40494 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40495 if test "x$ac_cv_func_finite" = x""yes; then :
40496 cat >>confdefs.h <<_ACEOF
40497 #define HAVE_FINITE 1
40498 _ACEOF
40501 done
40503 else
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40506 $as_echo_n "checking for _finite declaration... " >&6; }
40507 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40508 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40509 $as_echo_n "(cached) " >&6
40510 else
40513 ac_ext=cpp
40514 ac_cpp='$CXXCPP $CPPFLAGS'
40515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40520 /* end confdefs.h. */
40521 #include <math.h>
40522 #ifdef HAVE_IEEEFP_H
40523 #include <ieeefp.h>
40524 #endif
40527 main ()
40529 _finite(0);
40531 return 0;
40533 _ACEOF
40534 if ac_fn_cxx_try_compile "$LINENO"; then :
40535 glibcxx_cv_func__finite_use=yes
40536 else
40537 glibcxx_cv_func__finite_use=no
40539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40540 ac_ext=c
40541 ac_cpp='$CPP $CPPFLAGS'
40542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40551 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40553 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40554 for ac_func in _finite
40555 do :
40556 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40557 if test "x$ac_cv_func__finite" = x""yes; then :
40558 cat >>confdefs.h <<_ACEOF
40559 #define HAVE__FINITE 1
40560 _ACEOF
40563 done
40572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40573 $as_echo_n "checking for sincos declaration... " >&6; }
40574 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40575 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40576 $as_echo_n "(cached) " >&6
40577 else
40580 ac_ext=cpp
40581 ac_cpp='$CXXCPP $CPPFLAGS'
40582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40587 /* end confdefs.h. */
40588 #include <math.h>
40590 main ()
40592 sincos(0, 0, 0);
40594 return 0;
40596 _ACEOF
40597 if ac_fn_cxx_try_compile "$LINENO"; then :
40598 glibcxx_cv_func_sincos_use=yes
40599 else
40600 glibcxx_cv_func_sincos_use=no
40602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40603 ac_ext=c
40604 ac_cpp='$CPP $CPPFLAGS'
40605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40614 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40616 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40617 for ac_func in sincos
40618 do :
40619 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40620 if test "x$ac_cv_func_sincos" = x""yes; then :
40621 cat >>confdefs.h <<_ACEOF
40622 #define HAVE_SINCOS 1
40623 _ACEOF
40626 done
40628 else
40630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40631 $as_echo_n "checking for _sincos declaration... " >&6; }
40632 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40633 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40634 $as_echo_n "(cached) " >&6
40635 else
40638 ac_ext=cpp
40639 ac_cpp='$CXXCPP $CPPFLAGS'
40640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40645 /* end confdefs.h. */
40646 #include <math.h>
40648 main ()
40650 _sincos(0, 0, 0);
40652 return 0;
40654 _ACEOF
40655 if ac_fn_cxx_try_compile "$LINENO"; then :
40656 glibcxx_cv_func__sincos_use=yes
40657 else
40658 glibcxx_cv_func__sincos_use=no
40660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40661 ac_ext=c
40662 ac_cpp='$CPP $CPPFLAGS'
40663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40672 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40674 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40675 for ac_func in _sincos
40676 do :
40677 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40678 if test "x$ac_cv_func__sincos" = x""yes; then :
40679 cat >>confdefs.h <<_ACEOF
40680 #define HAVE__SINCOS 1
40681 _ACEOF
40684 done
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40694 $as_echo_n "checking for fpclass declaration... " >&6; }
40695 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40696 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40697 $as_echo_n "(cached) " >&6
40698 else
40701 ac_ext=cpp
40702 ac_cpp='$CXXCPP $CPPFLAGS'
40703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40708 /* end confdefs.h. */
40709 #include <math.h>
40710 #ifdef HAVE_IEEEFP_H
40711 #include <ieeefp.h>
40712 #endif
40715 main ()
40717 fpclass(0);
40719 return 0;
40721 _ACEOF
40722 if ac_fn_cxx_try_compile "$LINENO"; then :
40723 glibcxx_cv_func_fpclass_use=yes
40724 else
40725 glibcxx_cv_func_fpclass_use=no
40727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40728 ac_ext=c
40729 ac_cpp='$CPP $CPPFLAGS'
40730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40739 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40741 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40742 for ac_func in fpclass
40743 do :
40744 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40745 if test "x$ac_cv_func_fpclass" = x""yes; then :
40746 cat >>confdefs.h <<_ACEOF
40747 #define HAVE_FPCLASS 1
40748 _ACEOF
40751 done
40753 else
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40756 $as_echo_n "checking for _fpclass declaration... " >&6; }
40757 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40758 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40759 $as_echo_n "(cached) " >&6
40760 else
40763 ac_ext=cpp
40764 ac_cpp='$CXXCPP $CPPFLAGS'
40765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40770 /* end confdefs.h. */
40771 #include <math.h>
40772 #ifdef HAVE_IEEEFP_H
40773 #include <ieeefp.h>
40774 #endif
40777 main ()
40779 _fpclass(0);
40781 return 0;
40783 _ACEOF
40784 if ac_fn_cxx_try_compile "$LINENO"; then :
40785 glibcxx_cv_func__fpclass_use=yes
40786 else
40787 glibcxx_cv_func__fpclass_use=no
40789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40790 ac_ext=c
40791 ac_cpp='$CPP $CPPFLAGS'
40792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40801 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40803 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40804 for ac_func in _fpclass
40805 do :
40806 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40807 if test "x$ac_cv_func__fpclass" = x""yes; then :
40808 cat >>confdefs.h <<_ACEOF
40809 #define HAVE__FPCLASS 1
40810 _ACEOF
40813 done
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40823 $as_echo_n "checking for qfpclass declaration... " >&6; }
40824 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40825 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40826 $as_echo_n "(cached) " >&6
40827 else
40830 ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h. */
40838 #include <math.h>
40839 #ifdef HAVE_IEEEFP_H
40840 #include <ieeefp.h>
40841 #endif
40844 main ()
40846 qfpclass(0);
40848 return 0;
40850 _ACEOF
40851 if ac_fn_cxx_try_compile "$LINENO"; then :
40852 glibcxx_cv_func_qfpclass_use=yes
40853 else
40854 glibcxx_cv_func_qfpclass_use=no
40856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40857 ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40868 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40870 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40871 for ac_func in qfpclass
40872 do :
40873 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40874 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40875 cat >>confdefs.h <<_ACEOF
40876 #define HAVE_QFPCLASS 1
40877 _ACEOF
40880 done
40882 else
40884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40885 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40886 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40887 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40888 $as_echo_n "(cached) " >&6
40889 else
40892 ac_ext=cpp
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40899 /* end confdefs.h. */
40900 #include <math.h>
40901 #ifdef HAVE_IEEEFP_H
40902 #include <ieeefp.h>
40903 #endif
40906 main ()
40908 _qfpclass(0);
40910 return 0;
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914 glibcxx_cv_func__qfpclass_use=yes
40915 else
40916 glibcxx_cv_func__qfpclass_use=no
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40930 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40932 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40933 for ac_func in _qfpclass
40934 do :
40935 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40936 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40937 cat >>confdefs.h <<_ACEOF
40938 #define HAVE__QFPCLASS 1
40939 _ACEOF
40942 done
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40952 $as_echo_n "checking for hypot declaration... " >&6; }
40953 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40954 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40955 $as_echo_n "(cached) " >&6
40956 else
40959 ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <math.h>
40969 main ()
40971 hypot(0, 0);
40973 return 0;
40975 _ACEOF
40976 if ac_fn_cxx_try_compile "$LINENO"; then :
40977 glibcxx_cv_func_hypot_use=yes
40978 else
40979 glibcxx_cv_func_hypot_use=no
40981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 ac_ext=c
40983 ac_cpp='$CPP $CPPFLAGS'
40984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40993 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40995 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40996 for ac_func in hypot
40997 do :
40998 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40999 if test "x$ac_cv_func_hypot" = x""yes; then :
41000 cat >>confdefs.h <<_ACEOF
41001 #define HAVE_HYPOT 1
41002 _ACEOF
41005 done
41007 else
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41010 $as_echo_n "checking for _hypot declaration... " >&6; }
41011 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41012 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41013 $as_echo_n "(cached) " >&6
41014 else
41017 ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <math.h>
41027 main ()
41029 _hypot(0, 0);
41031 return 0;
41033 _ACEOF
41034 if ac_fn_cxx_try_compile "$LINENO"; then :
41035 glibcxx_cv_func__hypot_use=yes
41036 else
41037 glibcxx_cv_func__hypot_use=no
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040 ac_ext=c
41041 ac_cpp='$CPP $CPPFLAGS'
41042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41051 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41053 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41054 for ac_func in _hypot
41055 do :
41056 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41057 if test "x$ac_cv_func__hypot" = x""yes; then :
41058 cat >>confdefs.h <<_ACEOF
41059 #define HAVE__HYPOT 1
41060 _ACEOF
41063 done
41072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41073 $as_echo_n "checking for float trig functions... " >&6; }
41074 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41075 $as_echo_n "(cached) " >&6
41076 else
41079 ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h. */
41087 #include <math.h>
41089 main ()
41091 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41093 return 0;
41095 _ACEOF
41096 if ac_fn_cxx_try_compile "$LINENO"; then :
41097 glibcxx_cv_func_float_trig_use=yes
41098 else
41099 glibcxx_cv_func_float_trig_use=no
41101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41102 ac_ext=c
41103 ac_cpp='$CPP $CPPFLAGS'
41104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41111 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41112 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41113 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41114 do :
41115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41117 eval as_val=\$$as_ac_var
41118 if test "x$as_val" = x""yes; then :
41119 cat >>confdefs.h <<_ACEOF
41120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41121 _ACEOF
41124 done
41126 else
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41128 $as_echo_n "checking for _float trig functions... " >&6; }
41129 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41130 $as_echo_n "(cached) " >&6
41131 else
41134 ac_ext=cpp
41135 ac_cpp='$CXXCPP $CPPFLAGS'
41136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41141 /* end confdefs.h. */
41142 #include <math.h>
41144 main ()
41146 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41148 return 0;
41150 _ACEOF
41151 if ac_fn_cxx_try_compile "$LINENO"; then :
41152 glibcxx_cv_func__float_trig_use=yes
41153 else
41154 glibcxx_cv_func__float_trig_use=no
41156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41157 ac_ext=c
41158 ac_cpp='$CPP $CPPFLAGS'
41159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41166 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41167 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41168 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41169 do :
41170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41172 eval as_val=\$$as_ac_var
41173 if test "x$as_val" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41176 _ACEOF
41179 done
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41189 $as_echo_n "checking for float round functions... " >&6; }
41190 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41191 $as_echo_n "(cached) " >&6
41192 else
41195 ac_ext=cpp
41196 ac_cpp='$CXXCPP $CPPFLAGS'
41197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41202 /* end confdefs.h. */
41203 #include <math.h>
41205 main ()
41207 ceilf (0); floorf (0);
41209 return 0;
41211 _ACEOF
41212 if ac_fn_cxx_try_compile "$LINENO"; then :
41213 glibcxx_cv_func_float_round_use=yes
41214 else
41215 glibcxx_cv_func_float_round_use=no
41217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41218 ac_ext=c
41219 ac_cpp='$CPP $CPPFLAGS'
41220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41227 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41228 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41229 for ac_func in ceilf floorf
41230 do :
41231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41233 eval as_val=\$$as_ac_var
41234 if test "x$as_val" = x""yes; then :
41235 cat >>confdefs.h <<_ACEOF
41236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41237 _ACEOF
41240 done
41242 else
41243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41244 $as_echo_n "checking for _float round functions... " >&6; }
41245 if test "${glibcxx_cv_func__float_round_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 _ceilf (0); _floorf (0);
41264 return 0;
41266 _ACEOF
41267 if ac_fn_cxx_try_compile "$LINENO"; then :
41268 glibcxx_cv_func__float_round_use=yes
41269 else
41270 glibcxx_cv_func__float_round_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_round_use" >&5
41282 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41283 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41284 for ac_func in _ceilf _floorf
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
41305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41306 $as_echo_n "checking for expf declaration... " >&6; }
41307 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41308 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41309 $as_echo_n "(cached) " >&6
41310 else
41313 ac_ext=cpp
41314 ac_cpp='$CXXCPP $CPPFLAGS'
41315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41320 /* end confdefs.h. */
41321 #include <math.h>
41322 #ifdef HAVE_IEEEFP_H
41323 #include <ieeefp.h>
41324 #endif
41327 main ()
41329 expf(0);
41331 return 0;
41333 _ACEOF
41334 if ac_fn_cxx_try_compile "$LINENO"; then :
41335 glibcxx_cv_func_expf_use=yes
41336 else
41337 glibcxx_cv_func_expf_use=no
41339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41340 ac_ext=c
41341 ac_cpp='$CPP $CPPFLAGS'
41342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41351 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41353 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41354 for ac_func in expf
41355 do :
41356 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41357 if test "x$ac_cv_func_expf" = x""yes; then :
41358 cat >>confdefs.h <<_ACEOF
41359 #define HAVE_EXPF 1
41360 _ACEOF
41363 done
41365 else
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41368 $as_echo_n "checking for _expf declaration... " >&6; }
41369 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41370 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41384 #ifdef HAVE_IEEEFP_H
41385 #include <ieeefp.h>
41386 #endif
41389 main ()
41391 _expf(0);
41393 return 0;
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397 glibcxx_cv_func__expf_use=yes
41398 else
41399 glibcxx_cv_func__expf_use=no
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41413 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41415 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41416 for ac_func in _expf
41417 do :
41418 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41419 if test "x$ac_cv_func__expf" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define HAVE__EXPF 1
41422 _ACEOF
41425 done
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41435 $as_echo_n "checking for isnanf declaration... " >&6; }
41436 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41437 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41438 $as_echo_n "(cached) " >&6
41439 else
41442 ac_ext=cpp
41443 ac_cpp='$CXXCPP $CPPFLAGS'
41444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41449 /* end confdefs.h. */
41450 #include <math.h>
41451 #ifdef HAVE_IEEEFP_H
41452 #include <ieeefp.h>
41453 #endif
41456 main ()
41458 isnanf(0);
41460 return 0;
41462 _ACEOF
41463 if ac_fn_cxx_try_compile "$LINENO"; then :
41464 glibcxx_cv_func_isnanf_use=yes
41465 else
41466 glibcxx_cv_func_isnanf_use=no
41468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41469 ac_ext=c
41470 ac_cpp='$CPP $CPPFLAGS'
41471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41480 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41482 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41483 for ac_func in isnanf
41484 do :
41485 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41486 if test "x$ac_cv_func_isnanf" = x""yes; then :
41487 cat >>confdefs.h <<_ACEOF
41488 #define HAVE_ISNANF 1
41489 _ACEOF
41492 done
41494 else
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41497 $as_echo_n "checking for _isnanf declaration... " >&6; }
41498 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41499 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41518 main ()
41520 _isnanf(0);
41522 return 0;
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func__isnanf_use=yes
41527 else
41528 glibcxx_cv_func__isnanf_use=no
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41542 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41544 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41545 for ac_func in _isnanf
41546 do :
41547 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41548 if test "x$ac_cv_func__isnanf" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE__ISNANF 1
41551 _ACEOF
41554 done
41563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41564 $as_echo_n "checking for isinff declaration... " >&6; }
41565 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41566 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41567 $as_echo_n "(cached) " >&6
41568 else
41571 ac_ext=cpp
41572 ac_cpp='$CXXCPP $CPPFLAGS'
41573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41578 /* end confdefs.h. */
41579 #include <math.h>
41580 #ifdef HAVE_IEEEFP_H
41581 #include <ieeefp.h>
41582 #endif
41585 main ()
41587 isinff(0);
41589 return 0;
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593 glibcxx_cv_func_isinff_use=yes
41594 else
41595 glibcxx_cv_func_isinff_use=no
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598 ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41609 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41611 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41612 for ac_func in isinff
41613 do :
41614 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41615 if test "x$ac_cv_func_isinff" = x""yes; then :
41616 cat >>confdefs.h <<_ACEOF
41617 #define HAVE_ISINFF 1
41618 _ACEOF
41621 done
41623 else
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41626 $as_echo_n "checking for _isinff declaration... " >&6; }
41627 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41628 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41642 #ifdef HAVE_IEEEFP_H
41643 #include <ieeefp.h>
41644 #endif
41647 main ()
41649 _isinff(0);
41651 return 0;
41653 _ACEOF
41654 if ac_fn_cxx_try_compile "$LINENO"; then :
41655 glibcxx_cv_func__isinff_use=yes
41656 else
41657 glibcxx_cv_func__isinff_use=no
41659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41660 ac_ext=c
41661 ac_cpp='$CPP $CPPFLAGS'
41662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41671 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41673 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41674 for ac_func in _isinff
41675 do :
41676 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41677 if test "x$ac_cv_func__isinff" = x""yes; then :
41678 cat >>confdefs.h <<_ACEOF
41679 #define HAVE__ISINFF 1
41680 _ACEOF
41683 done
41692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41693 $as_echo_n "checking for atan2f declaration... " >&6; }
41694 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41695 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41696 $as_echo_n "(cached) " >&6
41697 else
41700 ac_ext=cpp
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41707 /* end confdefs.h. */
41708 #include <math.h>
41710 main ()
41712 atan2f(0, 0);
41714 return 0;
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718 glibcxx_cv_func_atan2f_use=yes
41719 else
41720 glibcxx_cv_func_atan2f_use=no
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723 ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41734 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41736 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41737 for ac_func in atan2f
41738 do :
41739 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41740 if test "x$ac_cv_func_atan2f" = x""yes; then :
41741 cat >>confdefs.h <<_ACEOF
41742 #define HAVE_ATAN2F 1
41743 _ACEOF
41746 done
41748 else
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41751 $as_echo_n "checking for _atan2f declaration... " >&6; }
41752 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41753 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41754 $as_echo_n "(cached) " >&6
41755 else
41758 ac_ext=cpp
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h. */
41766 #include <math.h>
41768 main ()
41770 _atan2f(0, 0);
41772 return 0;
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__atan2f_use=yes
41777 else
41778 glibcxx_cv_func__atan2f_use=no
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781 ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41792 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41794 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41795 for ac_func in _atan2f
41796 do :
41797 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41798 if test "x$ac_cv_func__atan2f" = x""yes; then :
41799 cat >>confdefs.h <<_ACEOF
41800 #define HAVE__ATAN2F 1
41801 _ACEOF
41804 done
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41814 $as_echo_n "checking for fabsf declaration... " >&6; }
41815 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41816 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41830 #ifdef HAVE_IEEEFP_H
41831 #include <ieeefp.h>
41832 #endif
41835 main ()
41837 fabsf(0);
41839 return 0;
41841 _ACEOF
41842 if ac_fn_cxx_try_compile "$LINENO"; then :
41843 glibcxx_cv_func_fabsf_use=yes
41844 else
41845 glibcxx_cv_func_fabsf_use=no
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41848 ac_ext=c
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41859 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41861 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41862 for ac_func in fabsf
41863 do :
41864 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41865 if test "x$ac_cv_func_fabsf" = x""yes; then :
41866 cat >>confdefs.h <<_ACEOF
41867 #define HAVE_FABSF 1
41868 _ACEOF
41871 done
41873 else
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41876 $as_echo_n "checking for _fabsf declaration... " >&6; }
41877 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41878 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41879 $as_echo_n "(cached) " >&6
41880 else
41883 ac_ext=cpp
41884 ac_cpp='$CXXCPP $CPPFLAGS'
41885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41890 /* end confdefs.h. */
41891 #include <math.h>
41892 #ifdef HAVE_IEEEFP_H
41893 #include <ieeefp.h>
41894 #endif
41897 main ()
41899 _fabsf(0);
41901 return 0;
41903 _ACEOF
41904 if ac_fn_cxx_try_compile "$LINENO"; then :
41905 glibcxx_cv_func__fabsf_use=yes
41906 else
41907 glibcxx_cv_func__fabsf_use=no
41909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41910 ac_ext=c
41911 ac_cpp='$CPP $CPPFLAGS'
41912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41921 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41923 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41924 for ac_func in _fabsf
41925 do :
41926 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41927 if test "x$ac_cv_func__fabsf" = x""yes; then :
41928 cat >>confdefs.h <<_ACEOF
41929 #define HAVE__FABSF 1
41930 _ACEOF
41933 done
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41943 $as_echo_n "checking for fmodf declaration... " >&6; }
41944 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41945 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41946 $as_echo_n "(cached) " >&6
41947 else
41950 ac_ext=cpp
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41958 #include <math.h>
41960 main ()
41962 fmodf(0, 0);
41964 return 0;
41966 _ACEOF
41967 if ac_fn_cxx_try_compile "$LINENO"; then :
41968 glibcxx_cv_func_fmodf_use=yes
41969 else
41970 glibcxx_cv_func_fmodf_use=no
41972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41973 ac_ext=c
41974 ac_cpp='$CPP $CPPFLAGS'
41975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41984 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41986 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41987 for ac_func in fmodf
41988 do :
41989 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41990 if test "x$ac_cv_func_fmodf" = x""yes; then :
41991 cat >>confdefs.h <<_ACEOF
41992 #define HAVE_FMODF 1
41993 _ACEOF
41996 done
41998 else
42000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42001 $as_echo_n "checking for _fmodf declaration... " >&6; }
42002 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42003 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42004 $as_echo_n "(cached) " >&6
42005 else
42008 ac_ext=cpp
42009 ac_cpp='$CXXCPP $CPPFLAGS'
42010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42015 /* end confdefs.h. */
42016 #include <math.h>
42018 main ()
42020 _fmodf(0, 0);
42022 return 0;
42024 _ACEOF
42025 if ac_fn_cxx_try_compile "$LINENO"; then :
42026 glibcxx_cv_func__fmodf_use=yes
42027 else
42028 glibcxx_cv_func__fmodf_use=no
42030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42031 ac_ext=c
42032 ac_cpp='$CPP $CPPFLAGS'
42033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42042 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42044 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42045 for ac_func in _fmodf
42046 do :
42047 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42048 if test "x$ac_cv_func__fmodf" = x""yes; then :
42049 cat >>confdefs.h <<_ACEOF
42050 #define HAVE__FMODF 1
42051 _ACEOF
42054 done
42063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42064 $as_echo_n "checking for frexpf declaration... " >&6; }
42065 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42066 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42067 $as_echo_n "(cached) " >&6
42068 else
42071 ac_ext=cpp
42072 ac_cpp='$CXXCPP $CPPFLAGS'
42073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42078 /* end confdefs.h. */
42079 #include <math.h>
42081 main ()
42083 frexpf(0, 0);
42085 return 0;
42087 _ACEOF
42088 if ac_fn_cxx_try_compile "$LINENO"; then :
42089 glibcxx_cv_func_frexpf_use=yes
42090 else
42091 glibcxx_cv_func_frexpf_use=no
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42094 ac_ext=c
42095 ac_cpp='$CPP $CPPFLAGS'
42096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42105 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42107 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42108 for ac_func in frexpf
42109 do :
42110 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42111 if test "x$ac_cv_func_frexpf" = x""yes; then :
42112 cat >>confdefs.h <<_ACEOF
42113 #define HAVE_FREXPF 1
42114 _ACEOF
42117 done
42119 else
42121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42122 $as_echo_n "checking for _frexpf declaration... " >&6; }
42123 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42124 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42125 $as_echo_n "(cached) " >&6
42126 else
42129 ac_ext=cpp
42130 ac_cpp='$CXXCPP $CPPFLAGS'
42131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42136 /* end confdefs.h. */
42137 #include <math.h>
42139 main ()
42141 _frexpf(0, 0);
42143 return 0;
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147 glibcxx_cv_func__frexpf_use=yes
42148 else
42149 glibcxx_cv_func__frexpf_use=no
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42163 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42165 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42166 for ac_func in _frexpf
42167 do :
42168 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42169 if test "x$ac_cv_func__frexpf" = x""yes; then :
42170 cat >>confdefs.h <<_ACEOF
42171 #define HAVE__FREXPF 1
42172 _ACEOF
42175 done
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42185 $as_echo_n "checking for hypotf declaration... " >&6; }
42186 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42187 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42202 main ()
42204 hypotf(0, 0);
42206 return 0;
42208 _ACEOF
42209 if ac_fn_cxx_try_compile "$LINENO"; then :
42210 glibcxx_cv_func_hypotf_use=yes
42211 else
42212 glibcxx_cv_func_hypotf_use=no
42214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215 ac_ext=c
42216 ac_cpp='$CPP $CPPFLAGS'
42217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42226 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42228 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42229 for ac_func in hypotf
42230 do :
42231 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42232 if test "x$ac_cv_func_hypotf" = x""yes; then :
42233 cat >>confdefs.h <<_ACEOF
42234 #define HAVE_HYPOTF 1
42235 _ACEOF
42238 done
42240 else
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42243 $as_echo_n "checking for _hypotf declaration... " >&6; }
42244 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42245 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42246 $as_echo_n "(cached) " >&6
42247 else
42250 ac_ext=cpp
42251 ac_cpp='$CXXCPP $CPPFLAGS'
42252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42257 /* end confdefs.h. */
42258 #include <math.h>
42260 main ()
42262 _hypotf(0, 0);
42264 return 0;
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func__hypotf_use=yes
42269 else
42270 glibcxx_cv_func__hypotf_use=no
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42284 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42286 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42287 for ac_func in _hypotf
42288 do :
42289 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42290 if test "x$ac_cv_func__hypotf" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE__HYPOTF 1
42293 _ACEOF
42296 done
42305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42306 $as_echo_n "checking for ldexpf declaration... " >&6; }
42307 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42308 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42309 $as_echo_n "(cached) " >&6
42310 else
42313 ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h. */
42321 #include <math.h>
42323 main ()
42325 ldexpf(0, 0);
42327 return 0;
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func_ldexpf_use=yes
42332 else
42333 glibcxx_cv_func_ldexpf_use=no
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42347 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42349 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42350 for ac_func in ldexpf
42351 do :
42352 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42353 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42354 cat >>confdefs.h <<_ACEOF
42355 #define HAVE_LDEXPF 1
42356 _ACEOF
42359 done
42361 else
42363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42364 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42365 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42366 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42367 $as_echo_n "(cached) " >&6
42368 else
42371 ac_ext=cpp
42372 ac_cpp='$CXXCPP $CPPFLAGS'
42373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42378 /* end confdefs.h. */
42379 #include <math.h>
42381 main ()
42383 _ldexpf(0, 0);
42385 return 0;
42387 _ACEOF
42388 if ac_fn_cxx_try_compile "$LINENO"; then :
42389 glibcxx_cv_func__ldexpf_use=yes
42390 else
42391 glibcxx_cv_func__ldexpf_use=no
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42394 ac_ext=c
42395 ac_cpp='$CPP $CPPFLAGS'
42396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42405 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42407 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42408 for ac_func in _ldexpf
42409 do :
42410 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42411 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42412 cat >>confdefs.h <<_ACEOF
42413 #define HAVE__LDEXPF 1
42414 _ACEOF
42417 done
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42427 $as_echo_n "checking for logf declaration... " >&6; }
42428 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42429 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42430 $as_echo_n "(cached) " >&6
42431 else
42434 ac_ext=cpp
42435 ac_cpp='$CXXCPP $CPPFLAGS'
42436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42441 /* end confdefs.h. */
42442 #include <math.h>
42443 #ifdef HAVE_IEEEFP_H
42444 #include <ieeefp.h>
42445 #endif
42448 main ()
42450 logf(0);
42452 return 0;
42454 _ACEOF
42455 if ac_fn_cxx_try_compile "$LINENO"; then :
42456 glibcxx_cv_func_logf_use=yes
42457 else
42458 glibcxx_cv_func_logf_use=no
42460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42461 ac_ext=c
42462 ac_cpp='$CPP $CPPFLAGS'
42463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42472 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42474 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42475 for ac_func in logf
42476 do :
42477 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42478 if test "x$ac_cv_func_logf" = x""yes; then :
42479 cat >>confdefs.h <<_ACEOF
42480 #define HAVE_LOGF 1
42481 _ACEOF
42484 done
42486 else
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42489 $as_echo_n "checking for _logf declaration... " >&6; }
42490 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42491 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42492 $as_echo_n "(cached) " >&6
42493 else
42496 ac_ext=cpp
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42503 /* end confdefs.h. */
42504 #include <math.h>
42505 #ifdef HAVE_IEEEFP_H
42506 #include <ieeefp.h>
42507 #endif
42510 main ()
42512 _logf(0);
42514 return 0;
42516 _ACEOF
42517 if ac_fn_cxx_try_compile "$LINENO"; then :
42518 glibcxx_cv_func__logf_use=yes
42519 else
42520 glibcxx_cv_func__logf_use=no
42522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42523 ac_ext=c
42524 ac_cpp='$CPP $CPPFLAGS'
42525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42534 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42536 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42537 for ac_func in _logf
42538 do :
42539 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42540 if test "x$ac_cv_func__logf" = x""yes; then :
42541 cat >>confdefs.h <<_ACEOF
42542 #define HAVE__LOGF 1
42543 _ACEOF
42546 done
42555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42556 $as_echo_n "checking for log10f declaration... " >&6; }
42557 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42558 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42559 $as_echo_n "(cached) " >&6
42560 else
42563 ac_ext=cpp
42564 ac_cpp='$CXXCPP $CPPFLAGS'
42565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42570 /* end confdefs.h. */
42571 #include <math.h>
42572 #ifdef HAVE_IEEEFP_H
42573 #include <ieeefp.h>
42574 #endif
42577 main ()
42579 log10f(0);
42581 return 0;
42583 _ACEOF
42584 if ac_fn_cxx_try_compile "$LINENO"; then :
42585 glibcxx_cv_func_log10f_use=yes
42586 else
42587 glibcxx_cv_func_log10f_use=no
42589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42590 ac_ext=c
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42601 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42603 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42604 for ac_func in log10f
42605 do :
42606 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42607 if test "x$ac_cv_func_log10f" = x""yes; then :
42608 cat >>confdefs.h <<_ACEOF
42609 #define HAVE_LOG10F 1
42610 _ACEOF
42613 done
42615 else
42617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42618 $as_echo_n "checking for _log10f declaration... " >&6; }
42619 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42620 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42621 $as_echo_n "(cached) " >&6
42622 else
42625 ac_ext=cpp
42626 ac_cpp='$CXXCPP $CPPFLAGS'
42627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42632 /* end confdefs.h. */
42633 #include <math.h>
42634 #ifdef HAVE_IEEEFP_H
42635 #include <ieeefp.h>
42636 #endif
42639 main ()
42641 _log10f(0);
42643 return 0;
42645 _ACEOF
42646 if ac_fn_cxx_try_compile "$LINENO"; then :
42647 glibcxx_cv_func__log10f_use=yes
42648 else
42649 glibcxx_cv_func__log10f_use=no
42651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42652 ac_ext=c
42653 ac_cpp='$CPP $CPPFLAGS'
42654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42663 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42665 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42666 for ac_func in _log10f
42667 do :
42668 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42669 if test "x$ac_cv_func__log10f" = x""yes; then :
42670 cat >>confdefs.h <<_ACEOF
42671 #define HAVE__LOG10F 1
42672 _ACEOF
42675 done
42684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42685 $as_echo_n "checking for modff declaration... " >&6; }
42686 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42687 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42688 $as_echo_n "(cached) " >&6
42689 else
42692 ac_ext=cpp
42693 ac_cpp='$CXXCPP $CPPFLAGS'
42694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42699 /* end confdefs.h. */
42700 #include <math.h>
42702 main ()
42704 modff(0, 0);
42706 return 0;
42708 _ACEOF
42709 if ac_fn_cxx_try_compile "$LINENO"; then :
42710 glibcxx_cv_func_modff_use=yes
42711 else
42712 glibcxx_cv_func_modff_use=no
42714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715 ac_ext=c
42716 ac_cpp='$CPP $CPPFLAGS'
42717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42726 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42728 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42729 for ac_func in modff
42730 do :
42731 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42732 if test "x$ac_cv_func_modff" = x""yes; then :
42733 cat >>confdefs.h <<_ACEOF
42734 #define HAVE_MODFF 1
42735 _ACEOF
42738 done
42740 else
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42743 $as_echo_n "checking for _modff declaration... " >&6; }
42744 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42745 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42746 $as_echo_n "(cached) " >&6
42747 else
42750 ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h. */
42758 #include <math.h>
42760 main ()
42762 _modff(0, 0);
42764 return 0;
42766 _ACEOF
42767 if ac_fn_cxx_try_compile "$LINENO"; then :
42768 glibcxx_cv_func__modff_use=yes
42769 else
42770 glibcxx_cv_func__modff_use=no
42772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773 ac_ext=c
42774 ac_cpp='$CPP $CPPFLAGS'
42775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42784 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42786 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42787 for ac_func in _modff
42788 do :
42789 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42790 if test "x$ac_cv_func__modff" = x""yes; then :
42791 cat >>confdefs.h <<_ACEOF
42792 #define HAVE__MODFF 1
42793 _ACEOF
42796 done
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42806 $as_echo_n "checking for modf declaration... " >&6; }
42807 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42808 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42809 $as_echo_n "(cached) " >&6
42810 else
42813 ac_ext=cpp
42814 ac_cpp='$CXXCPP $CPPFLAGS'
42815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42820 /* end confdefs.h. */
42821 #include <math.h>
42823 main ()
42825 modf(0, 0);
42827 return 0;
42829 _ACEOF
42830 if ac_fn_cxx_try_compile "$LINENO"; then :
42831 glibcxx_cv_func_modf_use=yes
42832 else
42833 glibcxx_cv_func_modf_use=no
42835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42836 ac_ext=c
42837 ac_cpp='$CPP $CPPFLAGS'
42838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42847 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42849 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42850 for ac_func in modf
42851 do :
42852 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42853 if test "x$ac_cv_func_modf" = x""yes; then :
42854 cat >>confdefs.h <<_ACEOF
42855 #define HAVE_MODF 1
42856 _ACEOF
42859 done
42861 else
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42864 $as_echo_n "checking for _modf declaration... " >&6; }
42865 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42866 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42881 main ()
42883 _modf(0, 0);
42885 return 0;
42887 _ACEOF
42888 if ac_fn_cxx_try_compile "$LINENO"; then :
42889 glibcxx_cv_func__modf_use=yes
42890 else
42891 glibcxx_cv_func__modf_use=no
42893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42894 ac_ext=c
42895 ac_cpp='$CPP $CPPFLAGS'
42896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42905 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42907 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42908 for ac_func in _modf
42909 do :
42910 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42911 if test "x$ac_cv_func__modf" = x""yes; then :
42912 cat >>confdefs.h <<_ACEOF
42913 #define HAVE__MODF 1
42914 _ACEOF
42917 done
42926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42927 $as_echo_n "checking for powf declaration... " >&6; }
42928 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42929 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42930 $as_echo_n "(cached) " >&6
42931 else
42934 ac_ext=cpp
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42941 /* end confdefs.h. */
42942 #include <math.h>
42944 main ()
42946 powf(0, 0);
42948 return 0;
42950 _ACEOF
42951 if ac_fn_cxx_try_compile "$LINENO"; then :
42952 glibcxx_cv_func_powf_use=yes
42953 else
42954 glibcxx_cv_func_powf_use=no
42956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42957 ac_ext=c
42958 ac_cpp='$CPP $CPPFLAGS'
42959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42968 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42970 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42971 for ac_func in powf
42972 do :
42973 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42974 if test "x$ac_cv_func_powf" = x""yes; then :
42975 cat >>confdefs.h <<_ACEOF
42976 #define HAVE_POWF 1
42977 _ACEOF
42980 done
42982 else
42984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42985 $as_echo_n "checking for _powf declaration... " >&6; }
42986 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42987 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42988 $as_echo_n "(cached) " >&6
42989 else
42992 ac_ext=cpp
42993 ac_cpp='$CXXCPP $CPPFLAGS'
42994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42999 /* end confdefs.h. */
43000 #include <math.h>
43002 main ()
43004 _powf(0, 0);
43006 return 0;
43008 _ACEOF
43009 if ac_fn_cxx_try_compile "$LINENO"; then :
43010 glibcxx_cv_func__powf_use=yes
43011 else
43012 glibcxx_cv_func__powf_use=no
43014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43015 ac_ext=c
43016 ac_cpp='$CPP $CPPFLAGS'
43017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43026 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43028 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43029 for ac_func in _powf
43030 do :
43031 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43032 if test "x$ac_cv_func__powf" = x""yes; then :
43033 cat >>confdefs.h <<_ACEOF
43034 #define HAVE__POWF 1
43035 _ACEOF
43038 done
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43048 $as_echo_n "checking for sqrtf declaration... " >&6; }
43049 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43050 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43051 $as_echo_n "(cached) " >&6
43052 else
43055 ac_ext=cpp
43056 ac_cpp='$CXXCPP $CPPFLAGS'
43057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43062 /* end confdefs.h. */
43063 #include <math.h>
43064 #ifdef HAVE_IEEEFP_H
43065 #include <ieeefp.h>
43066 #endif
43069 main ()
43071 sqrtf(0);
43073 return 0;
43075 _ACEOF
43076 if ac_fn_cxx_try_compile "$LINENO"; then :
43077 glibcxx_cv_func_sqrtf_use=yes
43078 else
43079 glibcxx_cv_func_sqrtf_use=no
43081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43082 ac_ext=c
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43093 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43095 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43096 for ac_func in sqrtf
43097 do :
43098 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43099 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43100 cat >>confdefs.h <<_ACEOF
43101 #define HAVE_SQRTF 1
43102 _ACEOF
43105 done
43107 else
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43110 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43111 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43112 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43113 $as_echo_n "(cached) " >&6
43114 else
43117 ac_ext=cpp
43118 ac_cpp='$CXXCPP $CPPFLAGS'
43119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43124 /* end confdefs.h. */
43125 #include <math.h>
43126 #ifdef HAVE_IEEEFP_H
43127 #include <ieeefp.h>
43128 #endif
43131 main ()
43133 _sqrtf(0);
43135 return 0;
43137 _ACEOF
43138 if ac_fn_cxx_try_compile "$LINENO"; then :
43139 glibcxx_cv_func__sqrtf_use=yes
43140 else
43141 glibcxx_cv_func__sqrtf_use=no
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144 ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43155 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43157 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43158 for ac_func in _sqrtf
43159 do :
43160 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43161 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define HAVE__SQRTF 1
43164 _ACEOF
43167 done
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43177 $as_echo_n "checking for sincosf declaration... " >&6; }
43178 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43179 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43180 $as_echo_n "(cached) " >&6
43181 else
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h. */
43192 #include <math.h>
43194 main ()
43196 sincosf(0, 0, 0);
43198 return 0;
43200 _ACEOF
43201 if ac_fn_cxx_try_compile "$LINENO"; then :
43202 glibcxx_cv_func_sincosf_use=yes
43203 else
43204 glibcxx_cv_func_sincosf_use=no
43206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43207 ac_ext=c
43208 ac_cpp='$CPP $CPPFLAGS'
43209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43218 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43220 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43221 for ac_func in sincosf
43222 do :
43223 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43224 if test "x$ac_cv_func_sincosf" = x""yes; then :
43225 cat >>confdefs.h <<_ACEOF
43226 #define HAVE_SINCOSF 1
43227 _ACEOF
43230 done
43232 else
43234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43235 $as_echo_n "checking for _sincosf declaration... " >&6; }
43236 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43237 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43238 $as_echo_n "(cached) " >&6
43239 else
43242 ac_ext=cpp
43243 ac_cpp='$CXXCPP $CPPFLAGS'
43244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43249 /* end confdefs.h. */
43250 #include <math.h>
43252 main ()
43254 _sincosf(0, 0, 0);
43256 return 0;
43258 _ACEOF
43259 if ac_fn_cxx_try_compile "$LINENO"; then :
43260 glibcxx_cv_func__sincosf_use=yes
43261 else
43262 glibcxx_cv_func__sincosf_use=no
43264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43265 ac_ext=c
43266 ac_cpp='$CPP $CPPFLAGS'
43267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43276 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43278 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43279 for ac_func in _sincosf
43280 do :
43281 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43282 if test "x$ac_cv_func__sincosf" = x""yes; then :
43283 cat >>confdefs.h <<_ACEOF
43284 #define HAVE__SINCOSF 1
43285 _ACEOF
43288 done
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43298 $as_echo_n "checking for finitef declaration... " >&6; }
43299 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43300 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43301 $as_echo_n "(cached) " >&6
43302 else
43305 ac_ext=cpp
43306 ac_cpp='$CXXCPP $CPPFLAGS'
43307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43312 /* end confdefs.h. */
43313 #include <math.h>
43314 #ifdef HAVE_IEEEFP_H
43315 #include <ieeefp.h>
43316 #endif
43319 main ()
43321 finitef(0);
43323 return 0;
43325 _ACEOF
43326 if ac_fn_cxx_try_compile "$LINENO"; then :
43327 glibcxx_cv_func_finitef_use=yes
43328 else
43329 glibcxx_cv_func_finitef_use=no
43331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43332 ac_ext=c
43333 ac_cpp='$CPP $CPPFLAGS'
43334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43343 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43345 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43346 for ac_func in finitef
43347 do :
43348 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43349 if test "x$ac_cv_func_finitef" = x""yes; then :
43350 cat >>confdefs.h <<_ACEOF
43351 #define HAVE_FINITEF 1
43352 _ACEOF
43355 done
43357 else
43359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43360 $as_echo_n "checking for _finitef declaration... " >&6; }
43361 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43362 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43363 $as_echo_n "(cached) " >&6
43364 else
43367 ac_ext=cpp
43368 ac_cpp='$CXXCPP $CPPFLAGS'
43369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43374 /* end confdefs.h. */
43375 #include <math.h>
43376 #ifdef HAVE_IEEEFP_H
43377 #include <ieeefp.h>
43378 #endif
43381 main ()
43383 _finitef(0);
43385 return 0;
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389 glibcxx_cv_func__finitef_use=yes
43390 else
43391 glibcxx_cv_func__finitef_use=no
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43405 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43407 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43408 for ac_func in _finitef
43409 do :
43410 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43411 if test "x$ac_cv_func__finitef" = x""yes; then :
43412 cat >>confdefs.h <<_ACEOF
43413 #define HAVE__FINITEF 1
43414 _ACEOF
43417 done
43426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43427 $as_echo_n "checking for long double trig functions... " >&6; }
43428 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43429 $as_echo_n "(cached) " >&6
43430 else
43433 ac_ext=cpp
43434 ac_cpp='$CXXCPP $CPPFLAGS'
43435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43440 /* end confdefs.h. */
43441 #include <math.h>
43443 main ()
43445 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43447 return 0;
43449 _ACEOF
43450 if ac_fn_cxx_try_compile "$LINENO"; then :
43451 glibcxx_cv_func_long_double_trig_use=yes
43452 else
43453 glibcxx_cv_func_long_double_trig_use=no
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456 ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43465 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43466 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43467 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43468 do :
43469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43471 eval as_val=\$$as_ac_var
43472 if test "x$as_val" = x""yes; then :
43473 cat >>confdefs.h <<_ACEOF
43474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43475 _ACEOF
43478 done
43480 else
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43482 $as_echo_n "checking for _long double trig functions... " >&6; }
43483 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43484 $as_echo_n "(cached) " >&6
43485 else
43488 ac_ext=cpp
43489 ac_cpp='$CXXCPP $CPPFLAGS'
43490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43495 /* end confdefs.h. */
43496 #include <math.h>
43498 main ()
43500 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43502 return 0;
43504 _ACEOF
43505 if ac_fn_cxx_try_compile "$LINENO"; then :
43506 glibcxx_cv_func__long_double_trig_use=yes
43507 else
43508 glibcxx_cv_func__long_double_trig_use=no
43510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43511 ac_ext=c
43512 ac_cpp='$CPP $CPPFLAGS'
43513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43520 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43521 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43522 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43523 do :
43524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43526 eval as_val=\$$as_ac_var
43527 if test "x$as_val" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43530 _ACEOF
43533 done
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43543 $as_echo_n "checking for long double round functions... " >&6; }
43544 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43545 $as_echo_n "(cached) " >&6
43546 else
43549 ac_ext=cpp
43550 ac_cpp='$CXXCPP $CPPFLAGS'
43551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43556 /* end confdefs.h. */
43557 #include <math.h>
43559 main ()
43561 ceill (0); floorl (0);
43563 return 0;
43565 _ACEOF
43566 if ac_fn_cxx_try_compile "$LINENO"; then :
43567 glibcxx_cv_func_long_double_round_use=yes
43568 else
43569 glibcxx_cv_func_long_double_round_use=no
43571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43572 ac_ext=c
43573 ac_cpp='$CPP $CPPFLAGS'
43574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43581 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43582 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43583 for ac_func in ceill floorl
43584 do :
43585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43587 eval as_val=\$$as_ac_var
43588 if test "x$as_val" = x""yes; then :
43589 cat >>confdefs.h <<_ACEOF
43590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43591 _ACEOF
43594 done
43596 else
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43598 $as_echo_n "checking for _long double round functions... " >&6; }
43599 if test "${glibcxx_cv_func__long_double_round_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 _ceill (0); _floorl (0);
43618 return 0;
43620 _ACEOF
43621 if ac_fn_cxx_try_compile "$LINENO"; then :
43622 glibcxx_cv_func__long_double_round_use=yes
43623 else
43624 glibcxx_cv_func__long_double_round_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_round_use" >&5
43636 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43637 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43638 for ac_func in _ceill _floorl
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
43659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43660 $as_echo_n "checking for isnanl declaration... " >&6; }
43661 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43662 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43663 $as_echo_n "(cached) " >&6
43664 else
43667 ac_ext=cpp
43668 ac_cpp='$CXXCPP $CPPFLAGS'
43669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43674 /* end confdefs.h. */
43675 #include <math.h>
43676 #ifdef HAVE_IEEEFP_H
43677 #include <ieeefp.h>
43678 #endif
43681 main ()
43683 isnanl(0);
43685 return 0;
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func_isnanl_use=yes
43690 else
43691 glibcxx_cv_func_isnanl_use=no
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43705 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43707 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43708 for ac_func in isnanl
43709 do :
43710 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43711 if test "x$ac_cv_func_isnanl" = x""yes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE_ISNANL 1
43714 _ACEOF
43717 done
43719 else
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43722 $as_echo_n "checking for _isnanl declaration... " >&6; }
43723 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43724 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43743 main ()
43745 _isnanl(0);
43747 return 0;
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func__isnanl_use=yes
43752 else
43753 glibcxx_cv_func__isnanl_use=no
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43767 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43769 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43770 for ac_func in _isnanl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43773 if test "x$ac_cv_func__isnanl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE__ISNANL 1
43776 _ACEOF
43779 done
43788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43789 $as_echo_n "checking for isinfl declaration... " >&6; }
43790 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43791 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43792 $as_echo_n "(cached) " >&6
43793 else
43796 ac_ext=cpp
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43803 /* end confdefs.h. */
43804 #include <math.h>
43805 #ifdef HAVE_IEEEFP_H
43806 #include <ieeefp.h>
43807 #endif
43810 main ()
43812 isinfl(0);
43814 return 0;
43816 _ACEOF
43817 if ac_fn_cxx_try_compile "$LINENO"; then :
43818 glibcxx_cv_func_isinfl_use=yes
43819 else
43820 glibcxx_cv_func_isinfl_use=no
43822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43823 ac_ext=c
43824 ac_cpp='$CPP $CPPFLAGS'
43825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43834 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43836 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43837 for ac_func in isinfl
43838 do :
43839 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43840 if test "x$ac_cv_func_isinfl" = x""yes; then :
43841 cat >>confdefs.h <<_ACEOF
43842 #define HAVE_ISINFL 1
43843 _ACEOF
43846 done
43848 else
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43851 $as_echo_n "checking for _isinfl declaration... " >&6; }
43852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43853 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43872 main ()
43874 _isinfl(0);
43876 return 0;
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func__isinfl_use=yes
43881 else
43882 glibcxx_cv_func__isinfl_use=no
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43896 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43898 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43899 for ac_func in _isinfl
43900 do :
43901 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43902 if test "x$ac_cv_func__isinfl" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE__ISINFL 1
43905 _ACEOF
43908 done
43917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43918 $as_echo_n "checking for atan2l declaration... " >&6; }
43919 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43920 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43921 $as_echo_n "(cached) " >&6
43922 else
43925 ac_ext=cpp
43926 ac_cpp='$CXXCPP $CPPFLAGS'
43927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43932 /* end confdefs.h. */
43933 #include <math.h>
43935 main ()
43937 atan2l(0, 0);
43939 return 0;
43941 _ACEOF
43942 if ac_fn_cxx_try_compile "$LINENO"; then :
43943 glibcxx_cv_func_atan2l_use=yes
43944 else
43945 glibcxx_cv_func_atan2l_use=no
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_ext=c
43949 ac_cpp='$CPP $CPPFLAGS'
43950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43959 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43961 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43962 for ac_func in atan2l
43963 do :
43964 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43965 if test "x$ac_cv_func_atan2l" = x""yes; then :
43966 cat >>confdefs.h <<_ACEOF
43967 #define HAVE_ATAN2L 1
43968 _ACEOF
43971 done
43973 else
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43976 $as_echo_n "checking for _atan2l declaration... " >&6; }
43977 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43978 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43979 $as_echo_n "(cached) " >&6
43980 else
43983 ac_ext=cpp
43984 ac_cpp='$CXXCPP $CPPFLAGS'
43985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43990 /* end confdefs.h. */
43991 #include <math.h>
43993 main ()
43995 _atan2l(0, 0);
43997 return 0;
43999 _ACEOF
44000 if ac_fn_cxx_try_compile "$LINENO"; then :
44001 glibcxx_cv_func__atan2l_use=yes
44002 else
44003 glibcxx_cv_func__atan2l_use=no
44005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44006 ac_ext=c
44007 ac_cpp='$CPP $CPPFLAGS'
44008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44017 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44019 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44020 for ac_func in _atan2l
44021 do :
44022 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44023 if test "x$ac_cv_func__atan2l" = x""yes; then :
44024 cat >>confdefs.h <<_ACEOF
44025 #define HAVE__ATAN2L 1
44026 _ACEOF
44029 done
44038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44039 $as_echo_n "checking for expl declaration... " >&6; }
44040 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44041 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44042 $as_echo_n "(cached) " >&6
44043 else
44046 ac_ext=cpp
44047 ac_cpp='$CXXCPP $CPPFLAGS'
44048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44053 /* end confdefs.h. */
44054 #include <math.h>
44055 #ifdef HAVE_IEEEFP_H
44056 #include <ieeefp.h>
44057 #endif
44060 main ()
44062 expl(0);
44064 return 0;
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func_expl_use=yes
44069 else
44070 glibcxx_cv_func_expl_use=no
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44084 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44086 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44087 for ac_func in expl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44090 if test "x$ac_cv_func_expl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE_EXPL 1
44093 _ACEOF
44096 done
44098 else
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44101 $as_echo_n "checking for _expl declaration... " >&6; }
44102 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44103 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44117 #ifdef HAVE_IEEEFP_H
44118 #include <ieeefp.h>
44119 #endif
44122 main ()
44124 _expl(0);
44126 return 0;
44128 _ACEOF
44129 if ac_fn_cxx_try_compile "$LINENO"; then :
44130 glibcxx_cv_func__expl_use=yes
44131 else
44132 glibcxx_cv_func__expl_use=no
44134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44135 ac_ext=c
44136 ac_cpp='$CPP $CPPFLAGS'
44137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44146 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44148 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44149 for ac_func in _expl
44150 do :
44151 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44152 if test "x$ac_cv_func__expl" = x""yes; then :
44153 cat >>confdefs.h <<_ACEOF
44154 #define HAVE__EXPL 1
44155 _ACEOF
44158 done
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44168 $as_echo_n "checking for fabsl declaration... " >&6; }
44169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44170 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44171 $as_echo_n "(cached) " >&6
44172 else
44175 ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h. */
44183 #include <math.h>
44184 #ifdef HAVE_IEEEFP_H
44185 #include <ieeefp.h>
44186 #endif
44189 main ()
44191 fabsl(0);
44193 return 0;
44195 _ACEOF
44196 if ac_fn_cxx_try_compile "$LINENO"; then :
44197 glibcxx_cv_func_fabsl_use=yes
44198 else
44199 glibcxx_cv_func_fabsl_use=no
44201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44202 ac_ext=c
44203 ac_cpp='$CPP $CPPFLAGS'
44204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44213 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44215 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44216 for ac_func in fabsl
44217 do :
44218 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44219 if test "x$ac_cv_func_fabsl" = x""yes; then :
44220 cat >>confdefs.h <<_ACEOF
44221 #define HAVE_FABSL 1
44222 _ACEOF
44225 done
44227 else
44229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44230 $as_echo_n "checking for _fabsl declaration... " >&6; }
44231 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44232 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44233 $as_echo_n "(cached) " >&6
44234 else
44237 ac_ext=cpp
44238 ac_cpp='$CXXCPP $CPPFLAGS'
44239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44244 /* end confdefs.h. */
44245 #include <math.h>
44246 #ifdef HAVE_IEEEFP_H
44247 #include <ieeefp.h>
44248 #endif
44251 main ()
44253 _fabsl(0);
44255 return 0;
44257 _ACEOF
44258 if ac_fn_cxx_try_compile "$LINENO"; then :
44259 glibcxx_cv_func__fabsl_use=yes
44260 else
44261 glibcxx_cv_func__fabsl_use=no
44263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44264 ac_ext=c
44265 ac_cpp='$CPP $CPPFLAGS'
44266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44275 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44277 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44278 for ac_func in _fabsl
44279 do :
44280 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44281 if test "x$ac_cv_func__fabsl" = x""yes; then :
44282 cat >>confdefs.h <<_ACEOF
44283 #define HAVE__FABSL 1
44284 _ACEOF
44287 done
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44297 $as_echo_n "checking for fmodl declaration... " >&6; }
44298 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44299 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44300 $as_echo_n "(cached) " >&6
44301 else
44304 ac_ext=cpp
44305 ac_cpp='$CXXCPP $CPPFLAGS'
44306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44311 /* end confdefs.h. */
44312 #include <math.h>
44314 main ()
44316 fmodl(0, 0);
44318 return 0;
44320 _ACEOF
44321 if ac_fn_cxx_try_compile "$LINENO"; then :
44322 glibcxx_cv_func_fmodl_use=yes
44323 else
44324 glibcxx_cv_func_fmodl_use=no
44326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44327 ac_ext=c
44328 ac_cpp='$CPP $CPPFLAGS'
44329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44338 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44340 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44341 for ac_func in fmodl
44342 do :
44343 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44344 if test "x$ac_cv_func_fmodl" = x""yes; then :
44345 cat >>confdefs.h <<_ACEOF
44346 #define HAVE_FMODL 1
44347 _ACEOF
44350 done
44352 else
44354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44355 $as_echo_n "checking for _fmodl declaration... " >&6; }
44356 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44357 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44358 $as_echo_n "(cached) " >&6
44359 else
44362 ac_ext=cpp
44363 ac_cpp='$CXXCPP $CPPFLAGS'
44364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44369 /* end confdefs.h. */
44370 #include <math.h>
44372 main ()
44374 _fmodl(0, 0);
44376 return 0;
44378 _ACEOF
44379 if ac_fn_cxx_try_compile "$LINENO"; then :
44380 glibcxx_cv_func__fmodl_use=yes
44381 else
44382 glibcxx_cv_func__fmodl_use=no
44384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44385 ac_ext=c
44386 ac_cpp='$CPP $CPPFLAGS'
44387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44396 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44398 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44399 for ac_func in _fmodl
44400 do :
44401 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44402 if test "x$ac_cv_func__fmodl" = x""yes; then :
44403 cat >>confdefs.h <<_ACEOF
44404 #define HAVE__FMODL 1
44405 _ACEOF
44408 done
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44418 $as_echo_n "checking for frexpl declaration... " >&6; }
44419 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44420 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44421 $as_echo_n "(cached) " >&6
44422 else
44425 ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h. */
44433 #include <math.h>
44435 main ()
44437 frexpl(0, 0);
44439 return 0;
44441 _ACEOF
44442 if ac_fn_cxx_try_compile "$LINENO"; then :
44443 glibcxx_cv_func_frexpl_use=yes
44444 else
44445 glibcxx_cv_func_frexpl_use=no
44447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44448 ac_ext=c
44449 ac_cpp='$CPP $CPPFLAGS'
44450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44459 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44461 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44462 for ac_func in frexpl
44463 do :
44464 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44465 if test "x$ac_cv_func_frexpl" = x""yes; then :
44466 cat >>confdefs.h <<_ACEOF
44467 #define HAVE_FREXPL 1
44468 _ACEOF
44471 done
44473 else
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44476 $as_echo_n "checking for _frexpl declaration... " >&6; }
44477 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44478 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44479 $as_echo_n "(cached) " >&6
44480 else
44483 ac_ext=cpp
44484 ac_cpp='$CXXCPP $CPPFLAGS'
44485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h. */
44491 #include <math.h>
44493 main ()
44495 _frexpl(0, 0);
44497 return 0;
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 glibcxx_cv_func__frexpl_use=yes
44502 else
44503 glibcxx_cv_func__frexpl_use=no
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44517 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44519 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44520 for ac_func in _frexpl
44521 do :
44522 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44523 if test "x$ac_cv_func__frexpl" = x""yes; then :
44524 cat >>confdefs.h <<_ACEOF
44525 #define HAVE__FREXPL 1
44526 _ACEOF
44529 done
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44539 $as_echo_n "checking for hypotl declaration... " >&6; }
44540 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44541 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44542 $as_echo_n "(cached) " >&6
44543 else
44546 ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h. */
44554 #include <math.h>
44556 main ()
44558 hypotl(0, 0);
44560 return 0;
44562 _ACEOF
44563 if ac_fn_cxx_try_compile "$LINENO"; then :
44564 glibcxx_cv_func_hypotl_use=yes
44565 else
44566 glibcxx_cv_func_hypotl_use=no
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44580 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44582 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44583 for ac_func in hypotl
44584 do :
44585 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44586 if test "x$ac_cv_func_hypotl" = x""yes; then :
44587 cat >>confdefs.h <<_ACEOF
44588 #define HAVE_HYPOTL 1
44589 _ACEOF
44592 done
44594 else
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44597 $as_echo_n "checking for _hypotl declaration... " >&6; }
44598 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44599 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44600 $as_echo_n "(cached) " >&6
44601 else
44604 ac_ext=cpp
44605 ac_cpp='$CXXCPP $CPPFLAGS'
44606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h. */
44612 #include <math.h>
44614 main ()
44616 _hypotl(0, 0);
44618 return 0;
44620 _ACEOF
44621 if ac_fn_cxx_try_compile "$LINENO"; then :
44622 glibcxx_cv_func__hypotl_use=yes
44623 else
44624 glibcxx_cv_func__hypotl_use=no
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44638 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44640 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44641 for ac_func in _hypotl
44642 do :
44643 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44644 if test "x$ac_cv_func__hypotl" = x""yes; then :
44645 cat >>confdefs.h <<_ACEOF
44646 #define HAVE__HYPOTL 1
44647 _ACEOF
44650 done
44659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44660 $as_echo_n "checking for ldexpl declaration... " >&6; }
44661 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44662 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44663 $as_echo_n "(cached) " >&6
44664 else
44667 ac_ext=cpp
44668 ac_cpp='$CXXCPP $CPPFLAGS'
44669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674 /* end confdefs.h. */
44675 #include <math.h>
44677 main ()
44679 ldexpl(0, 0);
44681 return 0;
44683 _ACEOF
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44685 glibcxx_cv_func_ldexpl_use=yes
44686 else
44687 glibcxx_cv_func_ldexpl_use=no
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 ac_ext=c
44691 ac_cpp='$CPP $CPPFLAGS'
44692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44701 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44703 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44704 for ac_func in ldexpl
44705 do :
44706 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44707 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44708 cat >>confdefs.h <<_ACEOF
44709 #define HAVE_LDEXPL 1
44710 _ACEOF
44713 done
44715 else
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44718 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44719 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44720 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44721 $as_echo_n "(cached) " >&6
44722 else
44725 ac_ext=cpp
44726 ac_cpp='$CXXCPP $CPPFLAGS'
44727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44732 /* end confdefs.h. */
44733 #include <math.h>
44735 main ()
44737 _ldexpl(0, 0);
44739 return 0;
44741 _ACEOF
44742 if ac_fn_cxx_try_compile "$LINENO"; then :
44743 glibcxx_cv_func__ldexpl_use=yes
44744 else
44745 glibcxx_cv_func__ldexpl_use=no
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748 ac_ext=c
44749 ac_cpp='$CPP $CPPFLAGS'
44750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44759 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44761 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44762 for ac_func in _ldexpl
44763 do :
44764 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44765 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44766 cat >>confdefs.h <<_ACEOF
44767 #define HAVE__LDEXPL 1
44768 _ACEOF
44771 done
44780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44781 $as_echo_n "checking for logl declaration... " >&6; }
44782 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44783 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44784 $as_echo_n "(cached) " >&6
44785 else
44788 ac_ext=cpp
44789 ac_cpp='$CXXCPP $CPPFLAGS'
44790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44795 /* end confdefs.h. */
44796 #include <math.h>
44797 #ifdef HAVE_IEEEFP_H
44798 #include <ieeefp.h>
44799 #endif
44802 main ()
44804 logl(0);
44806 return 0;
44808 _ACEOF
44809 if ac_fn_cxx_try_compile "$LINENO"; then :
44810 glibcxx_cv_func_logl_use=yes
44811 else
44812 glibcxx_cv_func_logl_use=no
44814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44815 ac_ext=c
44816 ac_cpp='$CPP $CPPFLAGS'
44817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44826 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44828 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44829 for ac_func in logl
44830 do :
44831 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44832 if test "x$ac_cv_func_logl" = x""yes; then :
44833 cat >>confdefs.h <<_ACEOF
44834 #define HAVE_LOGL 1
44835 _ACEOF
44838 done
44840 else
44842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44843 $as_echo_n "checking for _logl declaration... " >&6; }
44844 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44845 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44846 $as_echo_n "(cached) " >&6
44847 else
44850 ac_ext=cpp
44851 ac_cpp='$CXXCPP $CPPFLAGS'
44852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44857 /* end confdefs.h. */
44858 #include <math.h>
44859 #ifdef HAVE_IEEEFP_H
44860 #include <ieeefp.h>
44861 #endif
44864 main ()
44866 _logl(0);
44868 return 0;
44870 _ACEOF
44871 if ac_fn_cxx_try_compile "$LINENO"; then :
44872 glibcxx_cv_func__logl_use=yes
44873 else
44874 glibcxx_cv_func__logl_use=no
44876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44877 ac_ext=c
44878 ac_cpp='$CPP $CPPFLAGS'
44879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44888 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44890 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44891 for ac_func in _logl
44892 do :
44893 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44894 if test "x$ac_cv_func__logl" = x""yes; then :
44895 cat >>confdefs.h <<_ACEOF
44896 #define HAVE__LOGL 1
44897 _ACEOF
44900 done
44909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44910 $as_echo_n "checking for log10l declaration... " >&6; }
44911 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44912 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44913 $as_echo_n "(cached) " >&6
44914 else
44917 ac_ext=cpp
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924 /* end confdefs.h. */
44925 #include <math.h>
44926 #ifdef HAVE_IEEEFP_H
44927 #include <ieeefp.h>
44928 #endif
44931 main ()
44933 log10l(0);
44935 return 0;
44937 _ACEOF
44938 if ac_fn_cxx_try_compile "$LINENO"; then :
44939 glibcxx_cv_func_log10l_use=yes
44940 else
44941 glibcxx_cv_func_log10l_use=no
44943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944 ac_ext=c
44945 ac_cpp='$CPP $CPPFLAGS'
44946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44955 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44957 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44958 for ac_func in log10l
44959 do :
44960 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44961 if test "x$ac_cv_func_log10l" = x""yes; then :
44962 cat >>confdefs.h <<_ACEOF
44963 #define HAVE_LOG10L 1
44964 _ACEOF
44967 done
44969 else
44971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44972 $as_echo_n "checking for _log10l declaration... " >&6; }
44973 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44974 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44975 $as_echo_n "(cached) " >&6
44976 else
44979 ac_ext=cpp
44980 ac_cpp='$CXXCPP $CPPFLAGS'
44981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44986 /* end confdefs.h. */
44987 #include <math.h>
44988 #ifdef HAVE_IEEEFP_H
44989 #include <ieeefp.h>
44990 #endif
44993 main ()
44995 _log10l(0);
44997 return 0;
44999 _ACEOF
45000 if ac_fn_cxx_try_compile "$LINENO"; then :
45001 glibcxx_cv_func__log10l_use=yes
45002 else
45003 glibcxx_cv_func__log10l_use=no
45005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45006 ac_ext=c
45007 ac_cpp='$CPP $CPPFLAGS'
45008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45017 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45019 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45020 for ac_func in _log10l
45021 do :
45022 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45023 if test "x$ac_cv_func__log10l" = x""yes; then :
45024 cat >>confdefs.h <<_ACEOF
45025 #define HAVE__LOG10L 1
45026 _ACEOF
45029 done
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45039 $as_echo_n "checking for modfl declaration... " >&6; }
45040 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45041 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45042 $as_echo_n "(cached) " >&6
45043 else
45046 ac_ext=cpp
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45053 /* end confdefs.h. */
45054 #include <math.h>
45056 main ()
45058 modfl(0, 0);
45060 return 0;
45062 _ACEOF
45063 if ac_fn_cxx_try_compile "$LINENO"; then :
45064 glibcxx_cv_func_modfl_use=yes
45065 else
45066 glibcxx_cv_func_modfl_use=no
45068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45069 ac_ext=c
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45080 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45082 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45083 for ac_func in modfl
45084 do :
45085 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45086 if test "x$ac_cv_func_modfl" = x""yes; then :
45087 cat >>confdefs.h <<_ACEOF
45088 #define HAVE_MODFL 1
45089 _ACEOF
45092 done
45094 else
45096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45097 $as_echo_n "checking for _modfl declaration... " >&6; }
45098 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45099 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45100 $as_echo_n "(cached) " >&6
45101 else
45104 ac_ext=cpp
45105 ac_cpp='$CXXCPP $CPPFLAGS'
45106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45111 /* end confdefs.h. */
45112 #include <math.h>
45114 main ()
45116 _modfl(0, 0);
45118 return 0;
45120 _ACEOF
45121 if ac_fn_cxx_try_compile "$LINENO"; then :
45122 glibcxx_cv_func__modfl_use=yes
45123 else
45124 glibcxx_cv_func__modfl_use=no
45126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45138 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45140 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45141 for ac_func in _modfl
45142 do :
45143 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45144 if test "x$ac_cv_func__modfl" = x""yes; then :
45145 cat >>confdefs.h <<_ACEOF
45146 #define HAVE__MODFL 1
45147 _ACEOF
45150 done
45159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45160 $as_echo_n "checking for powl declaration... " >&6; }
45161 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45162 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45163 $as_echo_n "(cached) " >&6
45164 else
45167 ac_ext=cpp
45168 ac_cpp='$CXXCPP $CPPFLAGS'
45169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45174 /* end confdefs.h. */
45175 #include <math.h>
45177 main ()
45179 powl(0, 0);
45181 return 0;
45183 _ACEOF
45184 if ac_fn_cxx_try_compile "$LINENO"; then :
45185 glibcxx_cv_func_powl_use=yes
45186 else
45187 glibcxx_cv_func_powl_use=no
45189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45190 ac_ext=c
45191 ac_cpp='$CPP $CPPFLAGS'
45192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45201 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45203 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45204 for ac_func in powl
45205 do :
45206 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45207 if test "x$ac_cv_func_powl" = x""yes; then :
45208 cat >>confdefs.h <<_ACEOF
45209 #define HAVE_POWL 1
45210 _ACEOF
45213 done
45215 else
45217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45218 $as_echo_n "checking for _powl declaration... " >&6; }
45219 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45220 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45221 $as_echo_n "(cached) " >&6
45222 else
45225 ac_ext=cpp
45226 ac_cpp='$CXXCPP $CPPFLAGS'
45227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45232 /* end confdefs.h. */
45233 #include <math.h>
45235 main ()
45237 _powl(0, 0);
45239 return 0;
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243 glibcxx_cv_func__powl_use=yes
45244 else
45245 glibcxx_cv_func__powl_use=no
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248 ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45259 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45261 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45262 for ac_func in _powl
45263 do :
45264 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45265 if test "x$ac_cv_func__powl" = x""yes; then :
45266 cat >>confdefs.h <<_ACEOF
45267 #define HAVE__POWL 1
45268 _ACEOF
45271 done
45280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45281 $as_echo_n "checking for sqrtl declaration... " >&6; }
45282 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45283 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45284 $as_echo_n "(cached) " >&6
45285 else
45288 ac_ext=cpp
45289 ac_cpp='$CXXCPP $CPPFLAGS'
45290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45295 /* end confdefs.h. */
45296 #include <math.h>
45297 #ifdef HAVE_IEEEFP_H
45298 #include <ieeefp.h>
45299 #endif
45302 main ()
45304 sqrtl(0);
45306 return 0;
45308 _ACEOF
45309 if ac_fn_cxx_try_compile "$LINENO"; then :
45310 glibcxx_cv_func_sqrtl_use=yes
45311 else
45312 glibcxx_cv_func_sqrtl_use=no
45314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45315 ac_ext=c
45316 ac_cpp='$CPP $CPPFLAGS'
45317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45326 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45328 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45329 for ac_func in sqrtl
45330 do :
45331 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45332 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45333 cat >>confdefs.h <<_ACEOF
45334 #define HAVE_SQRTL 1
45335 _ACEOF
45338 done
45340 else
45342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45343 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45344 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45345 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45346 $as_echo_n "(cached) " >&6
45347 else
45350 ac_ext=cpp
45351 ac_cpp='$CXXCPP $CPPFLAGS'
45352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <math.h>
45359 #ifdef HAVE_IEEEFP_H
45360 #include <ieeefp.h>
45361 #endif
45364 main ()
45366 _sqrtl(0);
45368 return 0;
45370 _ACEOF
45371 if ac_fn_cxx_try_compile "$LINENO"; then :
45372 glibcxx_cv_func__sqrtl_use=yes
45373 else
45374 glibcxx_cv_func__sqrtl_use=no
45376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45377 ac_ext=c
45378 ac_cpp='$CPP $CPPFLAGS'
45379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45388 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45390 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45391 for ac_func in _sqrtl
45392 do :
45393 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45394 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45395 cat >>confdefs.h <<_ACEOF
45396 #define HAVE__SQRTL 1
45397 _ACEOF
45400 done
45409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45410 $as_echo_n "checking for sincosl declaration... " >&6; }
45411 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45412 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45413 $as_echo_n "(cached) " >&6
45414 else
45417 ac_ext=cpp
45418 ac_cpp='$CXXCPP $CPPFLAGS'
45419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45424 /* end confdefs.h. */
45425 #include <math.h>
45427 main ()
45429 sincosl(0, 0, 0);
45431 return 0;
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435 glibcxx_cv_func_sincosl_use=yes
45436 else
45437 glibcxx_cv_func_sincosl_use=no
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440 ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45451 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45453 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45454 for ac_func in sincosl
45455 do :
45456 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45457 if test "x$ac_cv_func_sincosl" = x""yes; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define HAVE_SINCOSL 1
45460 _ACEOF
45463 done
45465 else
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45468 $as_echo_n "checking for _sincosl declaration... " >&6; }
45469 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45470 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45471 $as_echo_n "(cached) " >&6
45472 else
45475 ac_ext=cpp
45476 ac_cpp='$CXXCPP $CPPFLAGS'
45477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45482 /* end confdefs.h. */
45483 #include <math.h>
45485 main ()
45487 _sincosl(0, 0, 0);
45489 return 0;
45491 _ACEOF
45492 if ac_fn_cxx_try_compile "$LINENO"; then :
45493 glibcxx_cv_func__sincosl_use=yes
45494 else
45495 glibcxx_cv_func__sincosl_use=no
45497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45498 ac_ext=c
45499 ac_cpp='$CPP $CPPFLAGS'
45500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45509 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45511 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45512 for ac_func in _sincosl
45513 do :
45514 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45515 if test "x$ac_cv_func__sincosl" = x""yes; then :
45516 cat >>confdefs.h <<_ACEOF
45517 #define HAVE__SINCOSL 1
45518 _ACEOF
45521 done
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45531 $as_echo_n "checking for finitel declaration... " >&6; }
45532 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45533 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45534 $as_echo_n "(cached) " >&6
45535 else
45538 ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h. */
45546 #include <math.h>
45547 #ifdef HAVE_IEEEFP_H
45548 #include <ieeefp.h>
45549 #endif
45552 main ()
45554 finitel(0);
45556 return 0;
45558 _ACEOF
45559 if ac_fn_cxx_try_compile "$LINENO"; then :
45560 glibcxx_cv_func_finitel_use=yes
45561 else
45562 glibcxx_cv_func_finitel_use=no
45564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45565 ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45576 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45578 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45579 for ac_func in finitel
45580 do :
45581 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45582 if test "x$ac_cv_func_finitel" = x""yes; then :
45583 cat >>confdefs.h <<_ACEOF
45584 #define HAVE_FINITEL 1
45585 _ACEOF
45588 done
45590 else
45592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45593 $as_echo_n "checking for _finitel declaration... " >&6; }
45594 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45595 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45596 $as_echo_n "(cached) " >&6
45597 else
45600 ac_ext=cpp
45601 ac_cpp='$CXXCPP $CPPFLAGS'
45602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45607 /* end confdefs.h. */
45608 #include <math.h>
45609 #ifdef HAVE_IEEEFP_H
45610 #include <ieeefp.h>
45611 #endif
45614 main ()
45616 _finitel(0);
45618 return 0;
45620 _ACEOF
45621 if ac_fn_cxx_try_compile "$LINENO"; then :
45622 glibcxx_cv_func__finitel_use=yes
45623 else
45624 glibcxx_cv_func__finitel_use=no
45626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45627 ac_ext=c
45628 ac_cpp='$CPP $CPPFLAGS'
45629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45638 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45640 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45641 for ac_func in _finitel
45642 do :
45643 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45644 if test "x$ac_cv_func__finitel" = x""yes; then :
45645 cat >>confdefs.h <<_ACEOF
45646 #define HAVE__FINITEL 1
45647 _ACEOF
45650 done
45658 LIBS="$ac_save_LIBS"
45659 CXXFLAGS="$ac_save_CXXFLAGS"
45662 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45663 ac_save_CXXFLAGS="$CXXFLAGS"
45664 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45668 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45669 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45670 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45672 else
45675 ac_ext=cpp
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45683 #include <stdlib.h>
45685 main ()
45687 at_quick_exit(0);
45689 return 0;
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func_at_quick_exit_use=yes
45694 else
45695 glibcxx_cv_func_at_quick_exit_use=no
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45709 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45710 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45711 for ac_func in at_quick_exit
45712 do :
45713 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45714 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45715 cat >>confdefs.h <<_ACEOF
45716 #define HAVE_AT_QUICK_EXIT 1
45717 _ACEOF
45720 done
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45726 $as_echo_n "checking for quick_exit declaration... " >&6; }
45727 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45728 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45729 $as_echo_n "(cached) " >&6
45730 else
45733 ac_ext=cpp
45734 ac_cpp='$CXXCPP $CPPFLAGS'
45735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45740 /* end confdefs.h. */
45741 #include <stdlib.h>
45743 main ()
45745 quick_exit(0);
45747 return 0;
45749 _ACEOF
45750 if ac_fn_cxx_try_compile "$LINENO"; then :
45751 glibcxx_cv_func_quick_exit_use=yes
45752 else
45753 glibcxx_cv_func_quick_exit_use=no
45755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45767 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45768 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45769 for ac_func in quick_exit
45770 do :
45771 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45772 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45773 cat >>confdefs.h <<_ACEOF
45774 #define HAVE_QUICK_EXIT 1
45775 _ACEOF
45778 done
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45784 $as_echo_n "checking for strtold declaration... " >&6; }
45785 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45786 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45787 $as_echo_n "(cached) " >&6
45788 else
45791 ac_ext=cpp
45792 ac_cpp='$CXXCPP $CPPFLAGS'
45793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45798 /* end confdefs.h. */
45799 #include <stdlib.h>
45801 main ()
45803 strtold(0, 0);
45805 return 0;
45807 _ACEOF
45808 if ac_fn_cxx_try_compile "$LINENO"; then :
45809 glibcxx_cv_func_strtold_use=yes
45810 else
45811 glibcxx_cv_func_strtold_use=no
45813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45814 ac_ext=c
45815 ac_cpp='$CPP $CPPFLAGS'
45816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45825 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45826 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45827 for ac_func in strtold
45828 do :
45829 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45830 if test "x$ac_cv_func_strtold" = x""yes; then :
45831 cat >>confdefs.h <<_ACEOF
45832 #define HAVE_STRTOLD 1
45833 _ACEOF
45836 done
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45844 $as_echo_n "checking for strtof declaration... " >&6; }
45845 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45846 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45847 $as_echo_n "(cached) " >&6
45848 else
45851 ac_ext=cpp
45852 ac_cpp='$CXXCPP $CPPFLAGS'
45853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45858 /* end confdefs.h. */
45859 #include <stdlib.h>
45861 main ()
45863 strtof(0, 0);
45865 return 0;
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869 glibcxx_cv_func_strtof_use=yes
45870 else
45871 glibcxx_cv_func_strtof_use=no
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874 ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45885 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45886 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45887 for ac_func in strtof
45888 do :
45889 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45890 if test "x$ac_cv_func_strtof" = x""yes; then :
45891 cat >>confdefs.h <<_ACEOF
45892 #define HAVE_STRTOF 1
45893 _ACEOF
45896 done
45903 CXXFLAGS="$ac_save_CXXFLAGS"
45905 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45907 # We don't yet support AIX's TLS ABI.
45908 #GCC_CHECK_TLS
45914 am_save_CPPFLAGS="$CPPFLAGS"
45916 for element in $INCICONV; do
45917 haveit=
45918 for x in $CPPFLAGS; do
45920 acl_save_prefix="$prefix"
45921 prefix="$acl_final_prefix"
45922 acl_save_exec_prefix="$exec_prefix"
45923 exec_prefix="$acl_final_exec_prefix"
45924 eval x=\"$x\"
45925 exec_prefix="$acl_save_exec_prefix"
45926 prefix="$acl_save_prefix"
45928 if test "X$x" = "X$element"; then
45929 haveit=yes
45930 break
45932 done
45933 if test -z "$haveit"; then
45934 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45936 done
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45940 $as_echo_n "checking for iconv... " >&6; }
45941 if test "${am_cv_func_iconv+set}" = set; then :
45942 $as_echo_n "(cached) " >&6
45943 else
45945 am_cv_func_iconv="no, consider installing GNU libiconv"
45946 am_cv_lib_iconv=no
45947 if test x$gcc_no_link = xyes; then
45948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45951 /* end confdefs.h. */
45952 #include <stdlib.h>
45953 #include <iconv.h>
45955 main ()
45957 iconv_t cd = iconv_open("","");
45958 iconv(cd,NULL,NULL,NULL,NULL);
45959 iconv_close(cd);
45961 return 0;
45963 _ACEOF
45964 if ac_fn_c_try_link "$LINENO"; then :
45965 am_cv_func_iconv=yes
45967 rm -f core conftest.err conftest.$ac_objext \
45968 conftest$ac_exeext conftest.$ac_ext
45969 if test "$am_cv_func_iconv" != yes; then
45970 am_save_LIBS="$LIBS"
45971 LIBS="$LIBS $LIBICONV"
45972 if test x$gcc_no_link = xyes; then
45973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45976 /* end confdefs.h. */
45977 #include <stdlib.h>
45978 #include <iconv.h>
45980 main ()
45982 iconv_t cd = iconv_open("","");
45983 iconv(cd,NULL,NULL,NULL,NULL);
45984 iconv_close(cd);
45986 return 0;
45988 _ACEOF
45989 if ac_fn_c_try_link "$LINENO"; then :
45990 am_cv_lib_iconv=yes
45991 am_cv_func_iconv=yes
45993 rm -f core conftest.err conftest.$ac_objext \
45994 conftest$ac_exeext conftest.$ac_ext
45995 LIBS="$am_save_LIBS"
45999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46000 $as_echo "$am_cv_func_iconv" >&6; }
46001 if test "$am_cv_func_iconv" = yes; then
46003 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46006 if test "$am_cv_lib_iconv" = yes; then
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46008 $as_echo_n "checking how to link with libiconv... " >&6; }
46009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46010 $as_echo "$LIBICONV" >&6; }
46011 else
46012 CPPFLAGS="$am_save_CPPFLAGS"
46013 LIBICONV=
46014 LTLIBICONV=
46019 if test "$am_cv_func_iconv" = yes; then
46020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46021 $as_echo_n "checking for iconv declaration... " >&6; }
46022 if test "${am_cv_proto_iconv+set}" = set; then :
46023 $as_echo_n "(cached) " >&6
46024 else
46026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46027 /* end confdefs.h. */
46029 #include <stdlib.h>
46030 #include <iconv.h>
46031 extern
46032 #ifdef __cplusplus
46034 #endif
46035 #if defined(__STDC__) || defined(__cplusplus)
46036 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46037 #else
46038 size_t iconv();
46039 #endif
46042 main ()
46046 return 0;
46048 _ACEOF
46049 if ac_fn_c_try_compile "$LINENO"; then :
46050 am_cv_proto_iconv_arg1=""
46051 else
46052 am_cv_proto_iconv_arg1="const"
46054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46055 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);"
46058 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46060 }$am_cv_proto_iconv" >&5
46061 $as_echo "${ac_t:-
46062 }$am_cv_proto_iconv" >&6; }
46064 cat >>confdefs.h <<_ACEOF
46065 #define ICONV_CONST $am_cv_proto_iconv_arg1
46066 _ACEOF
46072 *-darwin*)
46073 # Darwin versions vary, but the linker should work in a cross environment,
46074 # so we just check for all the features here.
46075 # Check for available headers.
46077 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46079 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46080 ac_save_CXXFLAGS="$CXXFLAGS"
46081 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46084 $as_echo_n "checking for sin in -lm... " >&6; }
46085 if test "${ac_cv_lib_m_sin+set}" = set; then :
46086 $as_echo_n "(cached) " >&6
46087 else
46088 ac_check_lib_save_LIBS=$LIBS
46089 LIBS="-lm $LIBS"
46090 if test x$gcc_no_link = xyes; then
46091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46094 /* end confdefs.h. */
46096 /* Override any GCC internal prototype to avoid an error.
46097 Use char because int might match the return type of a GCC
46098 builtin and then its argument prototype would still apply. */
46099 #ifdef __cplusplus
46100 extern "C"
46101 #endif
46102 char sin ();
46104 main ()
46106 return sin ();
46108 return 0;
46110 _ACEOF
46111 if ac_fn_c_try_link "$LINENO"; then :
46112 ac_cv_lib_m_sin=yes
46113 else
46114 ac_cv_lib_m_sin=no
46116 rm -f core conftest.err conftest.$ac_objext \
46117 conftest$ac_exeext conftest.$ac_ext
46118 LIBS=$ac_check_lib_save_LIBS
46120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46121 $as_echo "$ac_cv_lib_m_sin" >&6; }
46122 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46123 libm="-lm"
46126 ac_save_LIBS="$LIBS"
46127 LIBS="$LIBS $libm"
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46132 $as_echo_n "checking for isinf declaration... " >&6; }
46133 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46134 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46153 main ()
46155 isinf(0);
46157 return 0;
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func_isinf_use=yes
46162 else
46163 glibcxx_cv_func_isinf_use=no
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46177 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46179 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46180 for ac_func in isinf
46181 do :
46182 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46183 if test "x$ac_cv_func_isinf" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE_ISINF 1
46186 _ACEOF
46189 done
46191 else
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46194 $as_echo_n "checking for _isinf declaration... " >&6; }
46195 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46196 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46197 $as_echo_n "(cached) " >&6
46198 else
46201 ac_ext=cpp
46202 ac_cpp='$CXXCPP $CPPFLAGS'
46203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46208 /* end confdefs.h. */
46209 #include <math.h>
46210 #ifdef HAVE_IEEEFP_H
46211 #include <ieeefp.h>
46212 #endif
46215 main ()
46217 _isinf(0);
46219 return 0;
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223 glibcxx_cv_func__isinf_use=yes
46224 else
46225 glibcxx_cv_func__isinf_use=no
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228 ac_ext=c
46229 ac_cpp='$CPP $CPPFLAGS'
46230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46239 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46241 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46242 for ac_func in _isinf
46243 do :
46244 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46245 if test "x$ac_cv_func__isinf" = x""yes; then :
46246 cat >>confdefs.h <<_ACEOF
46247 #define HAVE__ISINF 1
46248 _ACEOF
46251 done
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46261 $as_echo_n "checking for isnan declaration... " >&6; }
46262 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46263 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46282 main ()
46284 isnan(0);
46286 return 0;
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func_isnan_use=yes
46291 else
46292 glibcxx_cv_func_isnan_use=no
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46306 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46308 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46309 for ac_func in isnan
46310 do :
46311 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46312 if test "x$ac_cv_func_isnan" = x""yes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE_ISNAN 1
46315 _ACEOF
46318 done
46320 else
46322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46323 $as_echo_n "checking for _isnan declaration... " >&6; }
46324 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46325 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46326 $as_echo_n "(cached) " >&6
46327 else
46330 ac_ext=cpp
46331 ac_cpp='$CXXCPP $CPPFLAGS'
46332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46337 /* end confdefs.h. */
46338 #include <math.h>
46339 #ifdef HAVE_IEEEFP_H
46340 #include <ieeefp.h>
46341 #endif
46344 main ()
46346 _isnan(0);
46348 return 0;
46350 _ACEOF
46351 if ac_fn_cxx_try_compile "$LINENO"; then :
46352 glibcxx_cv_func__isnan_use=yes
46353 else
46354 glibcxx_cv_func__isnan_use=no
46356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46357 ac_ext=c
46358 ac_cpp='$CPP $CPPFLAGS'
46359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46368 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46370 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46371 for ac_func in _isnan
46372 do :
46373 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46374 if test "x$ac_cv_func__isnan" = x""yes; then :
46375 cat >>confdefs.h <<_ACEOF
46376 #define HAVE__ISNAN 1
46377 _ACEOF
46380 done
46389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46390 $as_echo_n "checking for finite declaration... " >&6; }
46391 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46392 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46393 $as_echo_n "(cached) " >&6
46394 else
46397 ac_ext=cpp
46398 ac_cpp='$CXXCPP $CPPFLAGS'
46399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46404 /* end confdefs.h. */
46405 #include <math.h>
46406 #ifdef HAVE_IEEEFP_H
46407 #include <ieeefp.h>
46408 #endif
46411 main ()
46413 finite(0);
46415 return 0;
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func_finite_use=yes
46420 else
46421 glibcxx_cv_func_finite_use=no
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46435 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46437 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46438 for ac_func in finite
46439 do :
46440 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46441 if test "x$ac_cv_func_finite" = x""yes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE_FINITE 1
46444 _ACEOF
46447 done
46449 else
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46452 $as_echo_n "checking for _finite declaration... " >&6; }
46453 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46454 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46455 $as_echo_n "(cached) " >&6
46456 else
46459 ac_ext=cpp
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46466 /* end confdefs.h. */
46467 #include <math.h>
46468 #ifdef HAVE_IEEEFP_H
46469 #include <ieeefp.h>
46470 #endif
46473 main ()
46475 _finite(0);
46477 return 0;
46479 _ACEOF
46480 if ac_fn_cxx_try_compile "$LINENO"; then :
46481 glibcxx_cv_func__finite_use=yes
46482 else
46483 glibcxx_cv_func__finite_use=no
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486 ac_ext=c
46487 ac_cpp='$CPP $CPPFLAGS'
46488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46497 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46499 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46500 for ac_func in _finite
46501 do :
46502 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46503 if test "x$ac_cv_func__finite" = x""yes; then :
46504 cat >>confdefs.h <<_ACEOF
46505 #define HAVE__FINITE 1
46506 _ACEOF
46509 done
46518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46519 $as_echo_n "checking for sincos declaration... " >&6; }
46520 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46521 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46522 $as_echo_n "(cached) " >&6
46523 else
46526 ac_ext=cpp
46527 ac_cpp='$CXXCPP $CPPFLAGS'
46528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46533 /* end confdefs.h. */
46534 #include <math.h>
46536 main ()
46538 sincos(0, 0, 0);
46540 return 0;
46542 _ACEOF
46543 if ac_fn_cxx_try_compile "$LINENO"; then :
46544 glibcxx_cv_func_sincos_use=yes
46545 else
46546 glibcxx_cv_func_sincos_use=no
46548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46549 ac_ext=c
46550 ac_cpp='$CPP $CPPFLAGS'
46551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46560 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46562 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46563 for ac_func in sincos
46564 do :
46565 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46566 if test "x$ac_cv_func_sincos" = x""yes; then :
46567 cat >>confdefs.h <<_ACEOF
46568 #define HAVE_SINCOS 1
46569 _ACEOF
46572 done
46574 else
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46577 $as_echo_n "checking for _sincos declaration... " >&6; }
46578 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46579 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46580 $as_echo_n "(cached) " >&6
46581 else
46584 ac_ext=cpp
46585 ac_cpp='$CXXCPP $CPPFLAGS'
46586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46591 /* end confdefs.h. */
46592 #include <math.h>
46594 main ()
46596 _sincos(0, 0, 0);
46598 return 0;
46600 _ACEOF
46601 if ac_fn_cxx_try_compile "$LINENO"; then :
46602 glibcxx_cv_func__sincos_use=yes
46603 else
46604 glibcxx_cv_func__sincos_use=no
46606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_ext=c
46608 ac_cpp='$CPP $CPPFLAGS'
46609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46618 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46620 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46621 for ac_func in _sincos
46622 do :
46623 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46624 if test "x$ac_cv_func__sincos" = x""yes; then :
46625 cat >>confdefs.h <<_ACEOF
46626 #define HAVE__SINCOS 1
46627 _ACEOF
46630 done
46639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46640 $as_echo_n "checking for fpclass declaration... " >&6; }
46641 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46642 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46643 $as_echo_n "(cached) " >&6
46644 else
46647 ac_ext=cpp
46648 ac_cpp='$CXXCPP $CPPFLAGS'
46649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46654 /* end confdefs.h. */
46655 #include <math.h>
46656 #ifdef HAVE_IEEEFP_H
46657 #include <ieeefp.h>
46658 #endif
46661 main ()
46663 fpclass(0);
46665 return 0;
46667 _ACEOF
46668 if ac_fn_cxx_try_compile "$LINENO"; then :
46669 glibcxx_cv_func_fpclass_use=yes
46670 else
46671 glibcxx_cv_func_fpclass_use=no
46673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46674 ac_ext=c
46675 ac_cpp='$CPP $CPPFLAGS'
46676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46685 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46687 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46688 for ac_func in fpclass
46689 do :
46690 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46691 if test "x$ac_cv_func_fpclass" = x""yes; then :
46692 cat >>confdefs.h <<_ACEOF
46693 #define HAVE_FPCLASS 1
46694 _ACEOF
46697 done
46699 else
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46702 $as_echo_n "checking for _fpclass declaration... " >&6; }
46703 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46704 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46705 $as_echo_n "(cached) " >&6
46706 else
46709 ac_ext=cpp
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46716 /* end confdefs.h. */
46717 #include <math.h>
46718 #ifdef HAVE_IEEEFP_H
46719 #include <ieeefp.h>
46720 #endif
46723 main ()
46725 _fpclass(0);
46727 return 0;
46729 _ACEOF
46730 if ac_fn_cxx_try_compile "$LINENO"; then :
46731 glibcxx_cv_func__fpclass_use=yes
46732 else
46733 glibcxx_cv_func__fpclass_use=no
46735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46736 ac_ext=c
46737 ac_cpp='$CPP $CPPFLAGS'
46738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46747 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46749 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46750 for ac_func in _fpclass
46751 do :
46752 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46753 if test "x$ac_cv_func__fpclass" = x""yes; then :
46754 cat >>confdefs.h <<_ACEOF
46755 #define HAVE__FPCLASS 1
46756 _ACEOF
46759 done
46768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46769 $as_echo_n "checking for qfpclass declaration... " >&6; }
46770 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46771 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46772 $as_echo_n "(cached) " >&6
46773 else
46776 ac_ext=cpp
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46783 /* end confdefs.h. */
46784 #include <math.h>
46785 #ifdef HAVE_IEEEFP_H
46786 #include <ieeefp.h>
46787 #endif
46790 main ()
46792 qfpclass(0);
46794 return 0;
46796 _ACEOF
46797 if ac_fn_cxx_try_compile "$LINENO"; then :
46798 glibcxx_cv_func_qfpclass_use=yes
46799 else
46800 glibcxx_cv_func_qfpclass_use=no
46802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46803 ac_ext=c
46804 ac_cpp='$CPP $CPPFLAGS'
46805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46814 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46816 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46817 for ac_func in qfpclass
46818 do :
46819 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46820 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46821 cat >>confdefs.h <<_ACEOF
46822 #define HAVE_QFPCLASS 1
46823 _ACEOF
46826 done
46828 else
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46831 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46832 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46833 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46834 $as_echo_n "(cached) " >&6
46835 else
46838 ac_ext=cpp
46839 ac_cpp='$CXXCPP $CPPFLAGS'
46840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46845 /* end confdefs.h. */
46846 #include <math.h>
46847 #ifdef HAVE_IEEEFP_H
46848 #include <ieeefp.h>
46849 #endif
46852 main ()
46854 _qfpclass(0);
46856 return 0;
46858 _ACEOF
46859 if ac_fn_cxx_try_compile "$LINENO"; then :
46860 glibcxx_cv_func__qfpclass_use=yes
46861 else
46862 glibcxx_cv_func__qfpclass_use=no
46864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46865 ac_ext=c
46866 ac_cpp='$CPP $CPPFLAGS'
46867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46876 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46878 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46879 for ac_func in _qfpclass
46880 do :
46881 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46882 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46883 cat >>confdefs.h <<_ACEOF
46884 #define HAVE__QFPCLASS 1
46885 _ACEOF
46888 done
46897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46898 $as_echo_n "checking for hypot declaration... " >&6; }
46899 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46900 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46901 $as_echo_n "(cached) " >&6
46902 else
46905 ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46912 /* end confdefs.h. */
46913 #include <math.h>
46915 main ()
46917 hypot(0, 0);
46919 return 0;
46921 _ACEOF
46922 if ac_fn_cxx_try_compile "$LINENO"; then :
46923 glibcxx_cv_func_hypot_use=yes
46924 else
46925 glibcxx_cv_func_hypot_use=no
46927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46928 ac_ext=c
46929 ac_cpp='$CPP $CPPFLAGS'
46930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46939 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46941 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46942 for ac_func in hypot
46943 do :
46944 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46945 if test "x$ac_cv_func_hypot" = x""yes; then :
46946 cat >>confdefs.h <<_ACEOF
46947 #define HAVE_HYPOT 1
46948 _ACEOF
46951 done
46953 else
46955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46956 $as_echo_n "checking for _hypot declaration... " >&6; }
46957 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46958 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46959 $as_echo_n "(cached) " >&6
46960 else
46963 ac_ext=cpp
46964 ac_cpp='$CXXCPP $CPPFLAGS'
46965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46970 /* end confdefs.h. */
46971 #include <math.h>
46973 main ()
46975 _hypot(0, 0);
46977 return 0;
46979 _ACEOF
46980 if ac_fn_cxx_try_compile "$LINENO"; then :
46981 glibcxx_cv_func__hypot_use=yes
46982 else
46983 glibcxx_cv_func__hypot_use=no
46985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46986 ac_ext=c
46987 ac_cpp='$CPP $CPPFLAGS'
46988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46997 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46999 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47000 for ac_func in _hypot
47001 do :
47002 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47003 if test "x$ac_cv_func__hypot" = x""yes; then :
47004 cat >>confdefs.h <<_ACEOF
47005 #define HAVE__HYPOT 1
47006 _ACEOF
47009 done
47018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47019 $as_echo_n "checking for float trig functions... " >&6; }
47020 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47021 $as_echo_n "(cached) " >&6
47022 else
47025 ac_ext=cpp
47026 ac_cpp='$CXXCPP $CPPFLAGS'
47027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47032 /* end confdefs.h. */
47033 #include <math.h>
47035 main ()
47037 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47039 return 0;
47041 _ACEOF
47042 if ac_fn_cxx_try_compile "$LINENO"; then :
47043 glibcxx_cv_func_float_trig_use=yes
47044 else
47045 glibcxx_cv_func_float_trig_use=no
47047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47048 ac_ext=c
47049 ac_cpp='$CPP $CPPFLAGS'
47050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47057 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47058 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47059 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47060 do :
47061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47063 eval as_val=\$$as_ac_var
47064 if test "x$as_val" = x""yes; then :
47065 cat >>confdefs.h <<_ACEOF
47066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47067 _ACEOF
47070 done
47072 else
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47074 $as_echo_n "checking for _float trig functions... " >&6; }
47075 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47076 $as_echo_n "(cached) " >&6
47077 else
47080 ac_ext=cpp
47081 ac_cpp='$CXXCPP $CPPFLAGS'
47082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47087 /* end confdefs.h. */
47088 #include <math.h>
47090 main ()
47092 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47094 return 0;
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func__float_trig_use=yes
47099 else
47100 glibcxx_cv_func__float_trig_use=no
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47112 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47113 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47114 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47115 do :
47116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47118 eval as_val=\$$as_ac_var
47119 if test "x$as_val" = x""yes; then :
47120 cat >>confdefs.h <<_ACEOF
47121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47122 _ACEOF
47125 done
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47135 $as_echo_n "checking for float round functions... " >&6; }
47136 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47137 $as_echo_n "(cached) " >&6
47138 else
47141 ac_ext=cpp
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h. */
47149 #include <math.h>
47151 main ()
47153 ceilf (0); floorf (0);
47155 return 0;
47157 _ACEOF
47158 if ac_fn_cxx_try_compile "$LINENO"; then :
47159 glibcxx_cv_func_float_round_use=yes
47160 else
47161 glibcxx_cv_func_float_round_use=no
47163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47164 ac_ext=c
47165 ac_cpp='$CPP $CPPFLAGS'
47166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47173 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47174 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47175 for ac_func in ceilf floorf
47176 do :
47177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47179 eval as_val=\$$as_ac_var
47180 if test "x$as_val" = x""yes; then :
47181 cat >>confdefs.h <<_ACEOF
47182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47183 _ACEOF
47186 done
47188 else
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47190 $as_echo_n "checking for _float round functions... " >&6; }
47191 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47192 $as_echo_n "(cached) " >&6
47193 else
47196 ac_ext=cpp
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47203 /* end confdefs.h. */
47204 #include <math.h>
47206 main ()
47208 _ceilf (0); _floorf (0);
47210 return 0;
47212 _ACEOF
47213 if ac_fn_cxx_try_compile "$LINENO"; then :
47214 glibcxx_cv_func__float_round_use=yes
47215 else
47216 glibcxx_cv_func__float_round_use=no
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47219 ac_ext=c
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47228 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47229 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47230 for ac_func in _ceilf _floorf
47231 do :
47232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47234 eval as_val=\$$as_ac_var
47235 if test "x$as_val" = x""yes; then :
47236 cat >>confdefs.h <<_ACEOF
47237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47238 _ACEOF
47241 done
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47252 $as_echo_n "checking for expf declaration... " >&6; }
47253 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47254 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47255 $as_echo_n "(cached) " >&6
47256 else
47259 ac_ext=cpp
47260 ac_cpp='$CXXCPP $CPPFLAGS'
47261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47266 /* end confdefs.h. */
47267 #include <math.h>
47268 #ifdef HAVE_IEEEFP_H
47269 #include <ieeefp.h>
47270 #endif
47273 main ()
47275 expf(0);
47277 return 0;
47279 _ACEOF
47280 if ac_fn_cxx_try_compile "$LINENO"; then :
47281 glibcxx_cv_func_expf_use=yes
47282 else
47283 glibcxx_cv_func_expf_use=no
47285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47286 ac_ext=c
47287 ac_cpp='$CPP $CPPFLAGS'
47288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47297 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47299 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47300 for ac_func in expf
47301 do :
47302 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47303 if test "x$ac_cv_func_expf" = x""yes; then :
47304 cat >>confdefs.h <<_ACEOF
47305 #define HAVE_EXPF 1
47306 _ACEOF
47309 done
47311 else
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47314 $as_echo_n "checking for _expf declaration... " >&6; }
47315 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47316 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47317 $as_echo_n "(cached) " >&6
47318 else
47321 ac_ext=cpp
47322 ac_cpp='$CXXCPP $CPPFLAGS'
47323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47328 /* end confdefs.h. */
47329 #include <math.h>
47330 #ifdef HAVE_IEEEFP_H
47331 #include <ieeefp.h>
47332 #endif
47335 main ()
47337 _expf(0);
47339 return 0;
47341 _ACEOF
47342 if ac_fn_cxx_try_compile "$LINENO"; then :
47343 glibcxx_cv_func__expf_use=yes
47344 else
47345 glibcxx_cv_func__expf_use=no
47347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47348 ac_ext=c
47349 ac_cpp='$CPP $CPPFLAGS'
47350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47359 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47361 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47362 for ac_func in _expf
47363 do :
47364 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47365 if test "x$ac_cv_func__expf" = x""yes; then :
47366 cat >>confdefs.h <<_ACEOF
47367 #define HAVE__EXPF 1
47368 _ACEOF
47371 done
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47381 $as_echo_n "checking for isnanf declaration... " >&6; }
47382 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47383 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47384 $as_echo_n "(cached) " >&6
47385 else
47388 ac_ext=cpp
47389 ac_cpp='$CXXCPP $CPPFLAGS'
47390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47395 /* end confdefs.h. */
47396 #include <math.h>
47397 #ifdef HAVE_IEEEFP_H
47398 #include <ieeefp.h>
47399 #endif
47402 main ()
47404 isnanf(0);
47406 return 0;
47408 _ACEOF
47409 if ac_fn_cxx_try_compile "$LINENO"; then :
47410 glibcxx_cv_func_isnanf_use=yes
47411 else
47412 glibcxx_cv_func_isnanf_use=no
47414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47415 ac_ext=c
47416 ac_cpp='$CPP $CPPFLAGS'
47417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47426 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47428 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47429 for ac_func in isnanf
47430 do :
47431 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47432 if test "x$ac_cv_func_isnanf" = x""yes; then :
47433 cat >>confdefs.h <<_ACEOF
47434 #define HAVE_ISNANF 1
47435 _ACEOF
47438 done
47440 else
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47443 $as_echo_n "checking for _isnanf declaration... " >&6; }
47444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47445 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47446 $as_echo_n "(cached) " >&6
47447 else
47450 ac_ext=cpp
47451 ac_cpp='$CXXCPP $CPPFLAGS'
47452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47457 /* end confdefs.h. */
47458 #include <math.h>
47459 #ifdef HAVE_IEEEFP_H
47460 #include <ieeefp.h>
47461 #endif
47464 main ()
47466 _isnanf(0);
47468 return 0;
47470 _ACEOF
47471 if ac_fn_cxx_try_compile "$LINENO"; then :
47472 glibcxx_cv_func__isnanf_use=yes
47473 else
47474 glibcxx_cv_func__isnanf_use=no
47476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47477 ac_ext=c
47478 ac_cpp='$CPP $CPPFLAGS'
47479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47488 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47490 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47491 for ac_func in _isnanf
47492 do :
47493 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47494 if test "x$ac_cv_func__isnanf" = x""yes; then :
47495 cat >>confdefs.h <<_ACEOF
47496 #define HAVE__ISNANF 1
47497 _ACEOF
47500 done
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47510 $as_echo_n "checking for isinff declaration... " >&6; }
47511 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47512 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47513 $as_echo_n "(cached) " >&6
47514 else
47517 ac_ext=cpp
47518 ac_cpp='$CXXCPP $CPPFLAGS'
47519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47524 /* end confdefs.h. */
47525 #include <math.h>
47526 #ifdef HAVE_IEEEFP_H
47527 #include <ieeefp.h>
47528 #endif
47531 main ()
47533 isinff(0);
47535 return 0;
47537 _ACEOF
47538 if ac_fn_cxx_try_compile "$LINENO"; then :
47539 glibcxx_cv_func_isinff_use=yes
47540 else
47541 glibcxx_cv_func_isinff_use=no
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544 ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47555 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47557 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47558 for ac_func in isinff
47559 do :
47560 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47561 if test "x$ac_cv_func_isinff" = x""yes; then :
47562 cat >>confdefs.h <<_ACEOF
47563 #define HAVE_ISINFF 1
47564 _ACEOF
47567 done
47569 else
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47572 $as_echo_n "checking for _isinff declaration... " >&6; }
47573 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47574 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47588 #ifdef HAVE_IEEEFP_H
47589 #include <ieeefp.h>
47590 #endif
47593 main ()
47595 _isinff(0);
47597 return 0;
47599 _ACEOF
47600 if ac_fn_cxx_try_compile "$LINENO"; then :
47601 glibcxx_cv_func__isinff_use=yes
47602 else
47603 glibcxx_cv_func__isinff_use=no
47605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47606 ac_ext=c
47607 ac_cpp='$CPP $CPPFLAGS'
47608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47617 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47619 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47620 for ac_func in _isinff
47621 do :
47622 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47623 if test "x$ac_cv_func__isinff" = x""yes; then :
47624 cat >>confdefs.h <<_ACEOF
47625 #define HAVE__ISINFF 1
47626 _ACEOF
47629 done
47638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47639 $as_echo_n "checking for atan2f declaration... " >&6; }
47640 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47641 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47642 $as_echo_n "(cached) " >&6
47643 else
47646 ac_ext=cpp
47647 ac_cpp='$CXXCPP $CPPFLAGS'
47648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47653 /* end confdefs.h. */
47654 #include <math.h>
47656 main ()
47658 atan2f(0, 0);
47660 return 0;
47662 _ACEOF
47663 if ac_fn_cxx_try_compile "$LINENO"; then :
47664 glibcxx_cv_func_atan2f_use=yes
47665 else
47666 glibcxx_cv_func_atan2f_use=no
47668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47669 ac_ext=c
47670 ac_cpp='$CPP $CPPFLAGS'
47671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47680 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47682 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47683 for ac_func in atan2f
47684 do :
47685 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47686 if test "x$ac_cv_func_atan2f" = x""yes; then :
47687 cat >>confdefs.h <<_ACEOF
47688 #define HAVE_ATAN2F 1
47689 _ACEOF
47692 done
47694 else
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47697 $as_echo_n "checking for _atan2f declaration... " >&6; }
47698 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47699 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47700 $as_echo_n "(cached) " >&6
47701 else
47704 ac_ext=cpp
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47711 /* end confdefs.h. */
47712 #include <math.h>
47714 main ()
47716 _atan2f(0, 0);
47718 return 0;
47720 _ACEOF
47721 if ac_fn_cxx_try_compile "$LINENO"; then :
47722 glibcxx_cv_func__atan2f_use=yes
47723 else
47724 glibcxx_cv_func__atan2f_use=no
47726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47727 ac_ext=c
47728 ac_cpp='$CPP $CPPFLAGS'
47729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47738 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47740 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47741 for ac_func in _atan2f
47742 do :
47743 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47744 if test "x$ac_cv_func__atan2f" = x""yes; then :
47745 cat >>confdefs.h <<_ACEOF
47746 #define HAVE__ATAN2F 1
47747 _ACEOF
47750 done
47759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47760 $as_echo_n "checking for fabsf declaration... " >&6; }
47761 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47762 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47763 $as_echo_n "(cached) " >&6
47764 else
47767 ac_ext=cpp
47768 ac_cpp='$CXXCPP $CPPFLAGS'
47769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47774 /* end confdefs.h. */
47775 #include <math.h>
47776 #ifdef HAVE_IEEEFP_H
47777 #include <ieeefp.h>
47778 #endif
47781 main ()
47783 fabsf(0);
47785 return 0;
47787 _ACEOF
47788 if ac_fn_cxx_try_compile "$LINENO"; then :
47789 glibcxx_cv_func_fabsf_use=yes
47790 else
47791 glibcxx_cv_func_fabsf_use=no
47793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794 ac_ext=c
47795 ac_cpp='$CPP $CPPFLAGS'
47796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47805 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47807 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47808 for ac_func in fabsf
47809 do :
47810 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47811 if test "x$ac_cv_func_fabsf" = x""yes; then :
47812 cat >>confdefs.h <<_ACEOF
47813 #define HAVE_FABSF 1
47814 _ACEOF
47817 done
47819 else
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47822 $as_echo_n "checking for _fabsf declaration... " >&6; }
47823 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47824 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47825 $as_echo_n "(cached) " >&6
47826 else
47829 ac_ext=cpp
47830 ac_cpp='$CXXCPP $CPPFLAGS'
47831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47836 /* end confdefs.h. */
47837 #include <math.h>
47838 #ifdef HAVE_IEEEFP_H
47839 #include <ieeefp.h>
47840 #endif
47843 main ()
47845 _fabsf(0);
47847 return 0;
47849 _ACEOF
47850 if ac_fn_cxx_try_compile "$LINENO"; then :
47851 glibcxx_cv_func__fabsf_use=yes
47852 else
47853 glibcxx_cv_func__fabsf_use=no
47855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47856 ac_ext=c
47857 ac_cpp='$CPP $CPPFLAGS'
47858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47867 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47869 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47870 for ac_func in _fabsf
47871 do :
47872 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47873 if test "x$ac_cv_func__fabsf" = x""yes; then :
47874 cat >>confdefs.h <<_ACEOF
47875 #define HAVE__FABSF 1
47876 _ACEOF
47879 done
47888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47889 $as_echo_n "checking for fmodf declaration... " >&6; }
47890 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47891 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47892 $as_echo_n "(cached) " >&6
47893 else
47896 ac_ext=cpp
47897 ac_cpp='$CXXCPP $CPPFLAGS'
47898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47903 /* end confdefs.h. */
47904 #include <math.h>
47906 main ()
47908 fmodf(0, 0);
47910 return 0;
47912 _ACEOF
47913 if ac_fn_cxx_try_compile "$LINENO"; then :
47914 glibcxx_cv_func_fmodf_use=yes
47915 else
47916 glibcxx_cv_func_fmodf_use=no
47918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47919 ac_ext=c
47920 ac_cpp='$CPP $CPPFLAGS'
47921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47930 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47932 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47933 for ac_func in fmodf
47934 do :
47935 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47936 if test "x$ac_cv_func_fmodf" = x""yes; then :
47937 cat >>confdefs.h <<_ACEOF
47938 #define HAVE_FMODF 1
47939 _ACEOF
47942 done
47944 else
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47947 $as_echo_n "checking for _fmodf declaration... " >&6; }
47948 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47949 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47950 $as_echo_n "(cached) " >&6
47951 else
47954 ac_ext=cpp
47955 ac_cpp='$CXXCPP $CPPFLAGS'
47956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47961 /* end confdefs.h. */
47962 #include <math.h>
47964 main ()
47966 _fmodf(0, 0);
47968 return 0;
47970 _ACEOF
47971 if ac_fn_cxx_try_compile "$LINENO"; then :
47972 glibcxx_cv_func__fmodf_use=yes
47973 else
47974 glibcxx_cv_func__fmodf_use=no
47976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47977 ac_ext=c
47978 ac_cpp='$CPP $CPPFLAGS'
47979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47988 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47990 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47991 for ac_func in _fmodf
47992 do :
47993 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47994 if test "x$ac_cv_func__fmodf" = x""yes; then :
47995 cat >>confdefs.h <<_ACEOF
47996 #define HAVE__FMODF 1
47997 _ACEOF
48000 done
48009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48010 $as_echo_n "checking for frexpf declaration... " >&6; }
48011 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48012 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48013 $as_echo_n "(cached) " >&6
48014 else
48017 ac_ext=cpp
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024 /* end confdefs.h. */
48025 #include <math.h>
48027 main ()
48029 frexpf(0, 0);
48031 return 0;
48033 _ACEOF
48034 if ac_fn_cxx_try_compile "$LINENO"; then :
48035 glibcxx_cv_func_frexpf_use=yes
48036 else
48037 glibcxx_cv_func_frexpf_use=no
48039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48040 ac_ext=c
48041 ac_cpp='$CPP $CPPFLAGS'
48042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48051 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48053 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48054 for ac_func in frexpf
48055 do :
48056 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48057 if test "x$ac_cv_func_frexpf" = x""yes; then :
48058 cat >>confdefs.h <<_ACEOF
48059 #define HAVE_FREXPF 1
48060 _ACEOF
48063 done
48065 else
48067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48068 $as_echo_n "checking for _frexpf declaration... " >&6; }
48069 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48070 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48071 $as_echo_n "(cached) " >&6
48072 else
48075 ac_ext=cpp
48076 ac_cpp='$CXXCPP $CPPFLAGS'
48077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48082 /* end confdefs.h. */
48083 #include <math.h>
48085 main ()
48087 _frexpf(0, 0);
48089 return 0;
48091 _ACEOF
48092 if ac_fn_cxx_try_compile "$LINENO"; then :
48093 glibcxx_cv_func__frexpf_use=yes
48094 else
48095 glibcxx_cv_func__frexpf_use=no
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48098 ac_ext=c
48099 ac_cpp='$CPP $CPPFLAGS'
48100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48109 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48111 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48112 for ac_func in _frexpf
48113 do :
48114 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48115 if test "x$ac_cv_func__frexpf" = x""yes; then :
48116 cat >>confdefs.h <<_ACEOF
48117 #define HAVE__FREXPF 1
48118 _ACEOF
48121 done
48130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48131 $as_echo_n "checking for hypotf declaration... " >&6; }
48132 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48133 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48134 $as_echo_n "(cached) " >&6
48135 else
48138 ac_ext=cpp
48139 ac_cpp='$CXXCPP $CPPFLAGS'
48140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48145 /* end confdefs.h. */
48146 #include <math.h>
48148 main ()
48150 hypotf(0, 0);
48152 return 0;
48154 _ACEOF
48155 if ac_fn_cxx_try_compile "$LINENO"; then :
48156 glibcxx_cv_func_hypotf_use=yes
48157 else
48158 glibcxx_cv_func_hypotf_use=no
48160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48161 ac_ext=c
48162 ac_cpp='$CPP $CPPFLAGS'
48163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48172 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48174 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48175 for ac_func in hypotf
48176 do :
48177 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48178 if test "x$ac_cv_func_hypotf" = x""yes; then :
48179 cat >>confdefs.h <<_ACEOF
48180 #define HAVE_HYPOTF 1
48181 _ACEOF
48184 done
48186 else
48188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48189 $as_echo_n "checking for _hypotf declaration... " >&6; }
48190 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48191 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48192 $as_echo_n "(cached) " >&6
48193 else
48196 ac_ext=cpp
48197 ac_cpp='$CXXCPP $CPPFLAGS'
48198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48203 /* end confdefs.h. */
48204 #include <math.h>
48206 main ()
48208 _hypotf(0, 0);
48210 return 0;
48212 _ACEOF
48213 if ac_fn_cxx_try_compile "$LINENO"; then :
48214 glibcxx_cv_func__hypotf_use=yes
48215 else
48216 glibcxx_cv_func__hypotf_use=no
48218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48219 ac_ext=c
48220 ac_cpp='$CPP $CPPFLAGS'
48221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48230 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48232 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48233 for ac_func in _hypotf
48234 do :
48235 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48236 if test "x$ac_cv_func__hypotf" = x""yes; then :
48237 cat >>confdefs.h <<_ACEOF
48238 #define HAVE__HYPOTF 1
48239 _ACEOF
48242 done
48251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48252 $as_echo_n "checking for ldexpf declaration... " >&6; }
48253 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48254 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48255 $as_echo_n "(cached) " >&6
48256 else
48259 ac_ext=cpp
48260 ac_cpp='$CXXCPP $CPPFLAGS'
48261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48266 /* end confdefs.h. */
48267 #include <math.h>
48269 main ()
48271 ldexpf(0, 0);
48273 return 0;
48275 _ACEOF
48276 if ac_fn_cxx_try_compile "$LINENO"; then :
48277 glibcxx_cv_func_ldexpf_use=yes
48278 else
48279 glibcxx_cv_func_ldexpf_use=no
48281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48282 ac_ext=c
48283 ac_cpp='$CPP $CPPFLAGS'
48284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48293 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48295 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48296 for ac_func in ldexpf
48297 do :
48298 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48299 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48300 cat >>confdefs.h <<_ACEOF
48301 #define HAVE_LDEXPF 1
48302 _ACEOF
48305 done
48307 else
48309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48310 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48311 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48312 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48313 $as_echo_n "(cached) " >&6
48314 else
48317 ac_ext=cpp
48318 ac_cpp='$CXXCPP $CPPFLAGS'
48319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48324 /* end confdefs.h. */
48325 #include <math.h>
48327 main ()
48329 _ldexpf(0, 0);
48331 return 0;
48333 _ACEOF
48334 if ac_fn_cxx_try_compile "$LINENO"; then :
48335 glibcxx_cv_func__ldexpf_use=yes
48336 else
48337 glibcxx_cv_func__ldexpf_use=no
48339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48340 ac_ext=c
48341 ac_cpp='$CPP $CPPFLAGS'
48342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48351 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48353 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48354 for ac_func in _ldexpf
48355 do :
48356 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48357 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48358 cat >>confdefs.h <<_ACEOF
48359 #define HAVE__LDEXPF 1
48360 _ACEOF
48363 done
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48373 $as_echo_n "checking for logf declaration... " >&6; }
48374 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48375 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48377 else
48380 ac_ext=cpp
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48388 #include <math.h>
48389 #ifdef HAVE_IEEEFP_H
48390 #include <ieeefp.h>
48391 #endif
48394 main ()
48396 logf(0);
48398 return 0;
48400 _ACEOF
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func_logf_use=yes
48403 else
48404 glibcxx_cv_func_logf_use=no
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407 ac_ext=c
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48418 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48420 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48421 for ac_func in logf
48422 do :
48423 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48424 if test "x$ac_cv_func_logf" = x""yes; then :
48425 cat >>confdefs.h <<_ACEOF
48426 #define HAVE_LOGF 1
48427 _ACEOF
48430 done
48432 else
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48435 $as_echo_n "checking for _logf declaration... " >&6; }
48436 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48437 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48438 $as_echo_n "(cached) " >&6
48439 else
48442 ac_ext=cpp
48443 ac_cpp='$CXXCPP $CPPFLAGS'
48444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 #include <math.h>
48451 #ifdef HAVE_IEEEFP_H
48452 #include <ieeefp.h>
48453 #endif
48456 main ()
48458 _logf(0);
48460 return 0;
48462 _ACEOF
48463 if ac_fn_cxx_try_compile "$LINENO"; then :
48464 glibcxx_cv_func__logf_use=yes
48465 else
48466 glibcxx_cv_func__logf_use=no
48468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48469 ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48480 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48482 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48483 for ac_func in _logf
48484 do :
48485 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48486 if test "x$ac_cv_func__logf" = x""yes; then :
48487 cat >>confdefs.h <<_ACEOF
48488 #define HAVE__LOGF 1
48489 _ACEOF
48492 done
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48502 $as_echo_n "checking for log10f declaration... " >&6; }
48503 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48504 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48505 $as_echo_n "(cached) " >&6
48506 else
48509 ac_ext=cpp
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48516 /* end confdefs.h. */
48517 #include <math.h>
48518 #ifdef HAVE_IEEEFP_H
48519 #include <ieeefp.h>
48520 #endif
48523 main ()
48525 log10f(0);
48527 return 0;
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func_log10f_use=yes
48532 else
48533 glibcxx_cv_func_log10f_use=no
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48547 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48549 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48550 for ac_func in log10f
48551 do :
48552 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48553 if test "x$ac_cv_func_log10f" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE_LOG10F 1
48556 _ACEOF
48559 done
48561 else
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48564 $as_echo_n "checking for _log10f declaration... " >&6; }
48565 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48566 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48567 $as_echo_n "(cached) " >&6
48568 else
48571 ac_ext=cpp
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48578 /* end confdefs.h. */
48579 #include <math.h>
48580 #ifdef HAVE_IEEEFP_H
48581 #include <ieeefp.h>
48582 #endif
48585 main ()
48587 _log10f(0);
48589 return 0;
48591 _ACEOF
48592 if ac_fn_cxx_try_compile "$LINENO"; then :
48593 glibcxx_cv_func__log10f_use=yes
48594 else
48595 glibcxx_cv_func__log10f_use=no
48597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48598 ac_ext=c
48599 ac_cpp='$CPP $CPPFLAGS'
48600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48609 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48611 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48612 for ac_func in _log10f
48613 do :
48614 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48615 if test "x$ac_cv_func__log10f" = x""yes; then :
48616 cat >>confdefs.h <<_ACEOF
48617 #define HAVE__LOG10F 1
48618 _ACEOF
48621 done
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48631 $as_echo_n "checking for modff declaration... " >&6; }
48632 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48633 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48634 $as_echo_n "(cached) " >&6
48635 else
48638 ac_ext=cpp
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48645 /* end confdefs.h. */
48646 #include <math.h>
48648 main ()
48650 modff(0, 0);
48652 return 0;
48654 _ACEOF
48655 if ac_fn_cxx_try_compile "$LINENO"; then :
48656 glibcxx_cv_func_modff_use=yes
48657 else
48658 glibcxx_cv_func_modff_use=no
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661 ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48672 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48674 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48675 for ac_func in modff
48676 do :
48677 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48678 if test "x$ac_cv_func_modff" = x""yes; then :
48679 cat >>confdefs.h <<_ACEOF
48680 #define HAVE_MODFF 1
48681 _ACEOF
48684 done
48686 else
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48689 $as_echo_n "checking for _modff declaration... " >&6; }
48690 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48691 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48706 main ()
48708 _modff(0, 0);
48710 return 0;
48712 _ACEOF
48713 if ac_fn_cxx_try_compile "$LINENO"; then :
48714 glibcxx_cv_func__modff_use=yes
48715 else
48716 glibcxx_cv_func__modff_use=no
48718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48719 ac_ext=c
48720 ac_cpp='$CPP $CPPFLAGS'
48721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48730 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48732 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48733 for ac_func in _modff
48734 do :
48735 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48736 if test "x$ac_cv_func__modff" = x""yes; then :
48737 cat >>confdefs.h <<_ACEOF
48738 #define HAVE__MODFF 1
48739 _ACEOF
48742 done
48751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48752 $as_echo_n "checking for modf declaration... " >&6; }
48753 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48754 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48755 $as_echo_n "(cached) " >&6
48756 else
48759 ac_ext=cpp
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766 /* end confdefs.h. */
48767 #include <math.h>
48769 main ()
48771 modf(0, 0);
48773 return 0;
48775 _ACEOF
48776 if ac_fn_cxx_try_compile "$LINENO"; then :
48777 glibcxx_cv_func_modf_use=yes
48778 else
48779 glibcxx_cv_func_modf_use=no
48781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48782 ac_ext=c
48783 ac_cpp='$CPP $CPPFLAGS'
48784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48793 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48795 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48796 for ac_func in modf
48797 do :
48798 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48799 if test "x$ac_cv_func_modf" = x""yes; then :
48800 cat >>confdefs.h <<_ACEOF
48801 #define HAVE_MODF 1
48802 _ACEOF
48805 done
48807 else
48809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48810 $as_echo_n "checking for _modf declaration... " >&6; }
48811 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48812 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48827 main ()
48829 _modf(0, 0);
48831 return 0;
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__modf_use=yes
48836 else
48837 glibcxx_cv_func__modf_use=no
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48851 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48853 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48854 for ac_func in _modf
48855 do :
48856 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48857 if test "x$ac_cv_func__modf" = x""yes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE__MODF 1
48860 _ACEOF
48863 done
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48873 $as_echo_n "checking for powf declaration... " >&6; }
48874 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48875 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48876 $as_echo_n "(cached) " >&6
48877 else
48880 ac_ext=cpp
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48887 /* end confdefs.h. */
48888 #include <math.h>
48890 main ()
48892 powf(0, 0);
48894 return 0;
48896 _ACEOF
48897 if ac_fn_cxx_try_compile "$LINENO"; then :
48898 glibcxx_cv_func_powf_use=yes
48899 else
48900 glibcxx_cv_func_powf_use=no
48902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48903 ac_ext=c
48904 ac_cpp='$CPP $CPPFLAGS'
48905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48914 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48916 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48917 for ac_func in powf
48918 do :
48919 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48920 if test "x$ac_cv_func_powf" = x""yes; then :
48921 cat >>confdefs.h <<_ACEOF
48922 #define HAVE_POWF 1
48923 _ACEOF
48926 done
48928 else
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48931 $as_echo_n "checking for _powf declaration... " >&6; }
48932 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48933 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48934 $as_echo_n "(cached) " >&6
48935 else
48938 ac_ext=cpp
48939 ac_cpp='$CXXCPP $CPPFLAGS'
48940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48945 /* end confdefs.h. */
48946 #include <math.h>
48948 main ()
48950 _powf(0, 0);
48952 return 0;
48954 _ACEOF
48955 if ac_fn_cxx_try_compile "$LINENO"; then :
48956 glibcxx_cv_func__powf_use=yes
48957 else
48958 glibcxx_cv_func__powf_use=no
48960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48961 ac_ext=c
48962 ac_cpp='$CPP $CPPFLAGS'
48963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48972 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48974 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48975 for ac_func in _powf
48976 do :
48977 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48978 if test "x$ac_cv_func__powf" = x""yes; then :
48979 cat >>confdefs.h <<_ACEOF
48980 #define HAVE__POWF 1
48981 _ACEOF
48984 done
48993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48994 $as_echo_n "checking for sqrtf declaration... " >&6; }
48995 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48996 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48997 $as_echo_n "(cached) " >&6
48998 else
49001 ac_ext=cpp
49002 ac_cpp='$CXXCPP $CPPFLAGS'
49003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49008 /* end confdefs.h. */
49009 #include <math.h>
49010 #ifdef HAVE_IEEEFP_H
49011 #include <ieeefp.h>
49012 #endif
49015 main ()
49017 sqrtf(0);
49019 return 0;
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func_sqrtf_use=yes
49024 else
49025 glibcxx_cv_func_sqrtf_use=no
49027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49028 ac_ext=c
49029 ac_cpp='$CPP $CPPFLAGS'
49030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49039 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49041 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49042 for ac_func in sqrtf
49043 do :
49044 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49045 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE_SQRTF 1
49048 _ACEOF
49051 done
49053 else
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49056 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49057 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49058 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49059 $as_echo_n "(cached) " >&6
49060 else
49063 ac_ext=cpp
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49070 /* end confdefs.h. */
49071 #include <math.h>
49072 #ifdef HAVE_IEEEFP_H
49073 #include <ieeefp.h>
49074 #endif
49077 main ()
49079 _sqrtf(0);
49081 return 0;
49083 _ACEOF
49084 if ac_fn_cxx_try_compile "$LINENO"; then :
49085 glibcxx_cv_func__sqrtf_use=yes
49086 else
49087 glibcxx_cv_func__sqrtf_use=no
49089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49090 ac_ext=c
49091 ac_cpp='$CPP $CPPFLAGS'
49092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49101 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49103 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49104 for ac_func in _sqrtf
49105 do :
49106 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49107 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49108 cat >>confdefs.h <<_ACEOF
49109 #define HAVE__SQRTF 1
49110 _ACEOF
49113 done
49122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49123 $as_echo_n "checking for sincosf declaration... " >&6; }
49124 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49125 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49126 $as_echo_n "(cached) " >&6
49127 else
49130 ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h. */
49138 #include <math.h>
49140 main ()
49142 sincosf(0, 0, 0);
49144 return 0;
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func_sincosf_use=yes
49149 else
49150 glibcxx_cv_func_sincosf_use=no
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49164 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49166 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49167 for ac_func in sincosf
49168 do :
49169 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49170 if test "x$ac_cv_func_sincosf" = x""yes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define HAVE_SINCOSF 1
49173 _ACEOF
49176 done
49178 else
49180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49181 $as_echo_n "checking for _sincosf declaration... " >&6; }
49182 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49183 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49184 $as_echo_n "(cached) " >&6
49185 else
49188 ac_ext=cpp
49189 ac_cpp='$CXXCPP $CPPFLAGS'
49190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49195 /* end confdefs.h. */
49196 #include <math.h>
49198 main ()
49200 _sincosf(0, 0, 0);
49202 return 0;
49204 _ACEOF
49205 if ac_fn_cxx_try_compile "$LINENO"; then :
49206 glibcxx_cv_func__sincosf_use=yes
49207 else
49208 glibcxx_cv_func__sincosf_use=no
49210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49211 ac_ext=c
49212 ac_cpp='$CPP $CPPFLAGS'
49213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49222 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49224 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49225 for ac_func in _sincosf
49226 do :
49227 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49228 if test "x$ac_cv_func__sincosf" = x""yes; then :
49229 cat >>confdefs.h <<_ACEOF
49230 #define HAVE__SINCOSF 1
49231 _ACEOF
49234 done
49243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49244 $as_echo_n "checking for finitef declaration... " >&6; }
49245 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49246 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49247 $as_echo_n "(cached) " >&6
49248 else
49251 ac_ext=cpp
49252 ac_cpp='$CXXCPP $CPPFLAGS'
49253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49258 /* end confdefs.h. */
49259 #include <math.h>
49260 #ifdef HAVE_IEEEFP_H
49261 #include <ieeefp.h>
49262 #endif
49265 main ()
49267 finitef(0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func_finitef_use=yes
49274 else
49275 glibcxx_cv_func_finitef_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49289 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49291 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49292 for ac_func in finitef
49293 do :
49294 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49295 if test "x$ac_cv_func_finitef" = x""yes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE_FINITEF 1
49298 _ACEOF
49301 done
49303 else
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49306 $as_echo_n "checking for _finitef declaration... " >&6; }
49307 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49308 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49309 $as_echo_n "(cached) " >&6
49310 else
49313 ac_ext=cpp
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49320 /* end confdefs.h. */
49321 #include <math.h>
49322 #ifdef HAVE_IEEEFP_H
49323 #include <ieeefp.h>
49324 #endif
49327 main ()
49329 _finitef(0);
49331 return 0;
49333 _ACEOF
49334 if ac_fn_cxx_try_compile "$LINENO"; then :
49335 glibcxx_cv_func__finitef_use=yes
49336 else
49337 glibcxx_cv_func__finitef_use=no
49339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49340 ac_ext=c
49341 ac_cpp='$CPP $CPPFLAGS'
49342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49351 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49353 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49354 for ac_func in _finitef
49355 do :
49356 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49357 if test "x$ac_cv_func__finitef" = x""yes; then :
49358 cat >>confdefs.h <<_ACEOF
49359 #define HAVE__FINITEF 1
49360 _ACEOF
49363 done
49372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49373 $as_echo_n "checking for long double trig functions... " >&6; }
49374 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49375 $as_echo_n "(cached) " >&6
49376 else
49379 ac_ext=cpp
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49386 /* end confdefs.h. */
49387 #include <math.h>
49389 main ()
49391 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49393 return 0;
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func_long_double_trig_use=yes
49398 else
49399 glibcxx_cv_func_long_double_trig_use=no
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49411 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49412 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49413 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49414 do :
49415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49417 eval as_val=\$$as_ac_var
49418 if test "x$as_val" = x""yes; then :
49419 cat >>confdefs.h <<_ACEOF
49420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49421 _ACEOF
49424 done
49426 else
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49428 $as_echo_n "checking for _long double trig functions... " >&6; }
49429 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49430 $as_echo_n "(cached) " >&6
49431 else
49434 ac_ext=cpp
49435 ac_cpp='$CXXCPP $CPPFLAGS'
49436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49441 /* end confdefs.h. */
49442 #include <math.h>
49444 main ()
49446 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49448 return 0;
49450 _ACEOF
49451 if ac_fn_cxx_try_compile "$LINENO"; then :
49452 glibcxx_cv_func__long_double_trig_use=yes
49453 else
49454 glibcxx_cv_func__long_double_trig_use=no
49456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49457 ac_ext=c
49458 ac_cpp='$CPP $CPPFLAGS'
49459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49466 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49467 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49468 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49469 do :
49470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49472 eval as_val=\$$as_ac_var
49473 if test "x$as_val" = x""yes; then :
49474 cat >>confdefs.h <<_ACEOF
49475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49476 _ACEOF
49479 done
49488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49489 $as_echo_n "checking for long double round functions... " >&6; }
49490 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49491 $as_echo_n "(cached) " >&6
49492 else
49495 ac_ext=cpp
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h. */
49503 #include <math.h>
49505 main ()
49507 ceill (0); floorl (0);
49509 return 0;
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513 glibcxx_cv_func_long_double_round_use=yes
49514 else
49515 glibcxx_cv_func_long_double_round_use=no
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518 ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49527 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49528 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49529 for ac_func in ceill floorl
49530 do :
49531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49533 eval as_val=\$$as_ac_var
49534 if test "x$as_val" = x""yes; then :
49535 cat >>confdefs.h <<_ACEOF
49536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49537 _ACEOF
49540 done
49542 else
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49544 $as_echo_n "checking for _long double round functions... " >&6; }
49545 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49546 $as_echo_n "(cached) " >&6
49547 else
49550 ac_ext=cpp
49551 ac_cpp='$CXXCPP $CPPFLAGS'
49552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49557 /* end confdefs.h. */
49558 #include <math.h>
49560 main ()
49562 _ceill (0); _floorl (0);
49564 return 0;
49566 _ACEOF
49567 if ac_fn_cxx_try_compile "$LINENO"; then :
49568 glibcxx_cv_func__long_double_round_use=yes
49569 else
49570 glibcxx_cv_func__long_double_round_use=no
49572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49573 ac_ext=c
49574 ac_cpp='$CPP $CPPFLAGS'
49575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49582 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49583 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49584 for ac_func in _ceill _floorl
49585 do :
49586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49588 eval as_val=\$$as_ac_var
49589 if test "x$as_val" = x""yes; then :
49590 cat >>confdefs.h <<_ACEOF
49591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49592 _ACEOF
49595 done
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49606 $as_echo_n "checking for isnanl declaration... " >&6; }
49607 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49608 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49609 $as_echo_n "(cached) " >&6
49610 else
49613 ac_ext=cpp
49614 ac_cpp='$CXXCPP $CPPFLAGS'
49615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49620 /* end confdefs.h. */
49621 #include <math.h>
49622 #ifdef HAVE_IEEEFP_H
49623 #include <ieeefp.h>
49624 #endif
49627 main ()
49629 isnanl(0);
49631 return 0;
49633 _ACEOF
49634 if ac_fn_cxx_try_compile "$LINENO"; then :
49635 glibcxx_cv_func_isnanl_use=yes
49636 else
49637 glibcxx_cv_func_isnanl_use=no
49639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49640 ac_ext=c
49641 ac_cpp='$CPP $CPPFLAGS'
49642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49651 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49653 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49654 for ac_func in isnanl
49655 do :
49656 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49657 if test "x$ac_cv_func_isnanl" = x""yes; then :
49658 cat >>confdefs.h <<_ACEOF
49659 #define HAVE_ISNANL 1
49660 _ACEOF
49663 done
49665 else
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49668 $as_echo_n "checking for _isnanl declaration... " >&6; }
49669 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49670 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49671 $as_echo_n "(cached) " >&6
49672 else
49675 ac_ext=cpp
49676 ac_cpp='$CXXCPP $CPPFLAGS'
49677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49682 /* end confdefs.h. */
49683 #include <math.h>
49684 #ifdef HAVE_IEEEFP_H
49685 #include <ieeefp.h>
49686 #endif
49689 main ()
49691 _isnanl(0);
49693 return 0;
49695 _ACEOF
49696 if ac_fn_cxx_try_compile "$LINENO"; then :
49697 glibcxx_cv_func__isnanl_use=yes
49698 else
49699 glibcxx_cv_func__isnanl_use=no
49701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49702 ac_ext=c
49703 ac_cpp='$CPP $CPPFLAGS'
49704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49713 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49715 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49716 for ac_func in _isnanl
49717 do :
49718 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49719 if test "x$ac_cv_func__isnanl" = x""yes; then :
49720 cat >>confdefs.h <<_ACEOF
49721 #define HAVE__ISNANL 1
49722 _ACEOF
49725 done
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49735 $as_echo_n "checking for isinfl declaration... " >&6; }
49736 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49737 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49738 $as_echo_n "(cached) " >&6
49739 else
49742 ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h. */
49750 #include <math.h>
49751 #ifdef HAVE_IEEEFP_H
49752 #include <ieeefp.h>
49753 #endif
49756 main ()
49758 isinfl(0);
49760 return 0;
49762 _ACEOF
49763 if ac_fn_cxx_try_compile "$LINENO"; then :
49764 glibcxx_cv_func_isinfl_use=yes
49765 else
49766 glibcxx_cv_func_isinfl_use=no
49768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49769 ac_ext=c
49770 ac_cpp='$CPP $CPPFLAGS'
49771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49780 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49782 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49783 for ac_func in isinfl
49784 do :
49785 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49786 if test "x$ac_cv_func_isinfl" = x""yes; then :
49787 cat >>confdefs.h <<_ACEOF
49788 #define HAVE_ISINFL 1
49789 _ACEOF
49792 done
49794 else
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49797 $as_echo_n "checking for _isinfl declaration... " >&6; }
49798 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49799 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49800 $as_echo_n "(cached) " >&6
49801 else
49804 ac_ext=cpp
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49811 /* end confdefs.h. */
49812 #include <math.h>
49813 #ifdef HAVE_IEEEFP_H
49814 #include <ieeefp.h>
49815 #endif
49818 main ()
49820 _isinfl(0);
49822 return 0;
49824 _ACEOF
49825 if ac_fn_cxx_try_compile "$LINENO"; then :
49826 glibcxx_cv_func__isinfl_use=yes
49827 else
49828 glibcxx_cv_func__isinfl_use=no
49830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49831 ac_ext=c
49832 ac_cpp='$CPP $CPPFLAGS'
49833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49842 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49844 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49845 for ac_func in _isinfl
49846 do :
49847 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49848 if test "x$ac_cv_func__isinfl" = x""yes; then :
49849 cat >>confdefs.h <<_ACEOF
49850 #define HAVE__ISINFL 1
49851 _ACEOF
49854 done
49863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49864 $as_echo_n "checking for atan2l declaration... " >&6; }
49865 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49866 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49867 $as_echo_n "(cached) " >&6
49868 else
49871 ac_ext=cpp
49872 ac_cpp='$CXXCPP $CPPFLAGS'
49873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49878 /* end confdefs.h. */
49879 #include <math.h>
49881 main ()
49883 atan2l(0, 0);
49885 return 0;
49887 _ACEOF
49888 if ac_fn_cxx_try_compile "$LINENO"; then :
49889 glibcxx_cv_func_atan2l_use=yes
49890 else
49891 glibcxx_cv_func_atan2l_use=no
49893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49894 ac_ext=c
49895 ac_cpp='$CPP $CPPFLAGS'
49896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49905 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49907 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49908 for ac_func in atan2l
49909 do :
49910 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49911 if test "x$ac_cv_func_atan2l" = x""yes; then :
49912 cat >>confdefs.h <<_ACEOF
49913 #define HAVE_ATAN2L 1
49914 _ACEOF
49917 done
49919 else
49921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49922 $as_echo_n "checking for _atan2l declaration... " >&6; }
49923 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49924 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49925 $as_echo_n "(cached) " >&6
49926 else
49929 ac_ext=cpp
49930 ac_cpp='$CXXCPP $CPPFLAGS'
49931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49936 /* end confdefs.h. */
49937 #include <math.h>
49939 main ()
49941 _atan2l(0, 0);
49943 return 0;
49945 _ACEOF
49946 if ac_fn_cxx_try_compile "$LINENO"; then :
49947 glibcxx_cv_func__atan2l_use=yes
49948 else
49949 glibcxx_cv_func__atan2l_use=no
49951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49952 ac_ext=c
49953 ac_cpp='$CPP $CPPFLAGS'
49954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49963 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49965 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49966 for ac_func in _atan2l
49967 do :
49968 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49969 if test "x$ac_cv_func__atan2l" = x""yes; then :
49970 cat >>confdefs.h <<_ACEOF
49971 #define HAVE__ATAN2L 1
49972 _ACEOF
49975 done
49984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49985 $as_echo_n "checking for expl declaration... " >&6; }
49986 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49987 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49988 $as_echo_n "(cached) " >&6
49989 else
49992 ac_ext=cpp
49993 ac_cpp='$CXXCPP $CPPFLAGS'
49994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49999 /* end confdefs.h. */
50000 #include <math.h>
50001 #ifdef HAVE_IEEEFP_H
50002 #include <ieeefp.h>
50003 #endif
50006 main ()
50008 expl(0);
50010 return 0;
50012 _ACEOF
50013 if ac_fn_cxx_try_compile "$LINENO"; then :
50014 glibcxx_cv_func_expl_use=yes
50015 else
50016 glibcxx_cv_func_expl_use=no
50018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50030 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50032 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50033 for ac_func in expl
50034 do :
50035 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50036 if test "x$ac_cv_func_expl" = x""yes; then :
50037 cat >>confdefs.h <<_ACEOF
50038 #define HAVE_EXPL 1
50039 _ACEOF
50042 done
50044 else
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50047 $as_echo_n "checking for _expl declaration... " >&6; }
50048 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50049 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50063 #ifdef HAVE_IEEEFP_H
50064 #include <ieeefp.h>
50065 #endif
50068 main ()
50070 _expl(0);
50072 return 0;
50074 _ACEOF
50075 if ac_fn_cxx_try_compile "$LINENO"; then :
50076 glibcxx_cv_func__expl_use=yes
50077 else
50078 glibcxx_cv_func__expl_use=no
50080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50081 ac_ext=c
50082 ac_cpp='$CPP $CPPFLAGS'
50083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50092 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50094 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50095 for ac_func in _expl
50096 do :
50097 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50098 if test "x$ac_cv_func__expl" = x""yes; then :
50099 cat >>confdefs.h <<_ACEOF
50100 #define HAVE__EXPL 1
50101 _ACEOF
50104 done
50113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50114 $as_echo_n "checking for fabsl declaration... " >&6; }
50115 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50116 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50117 $as_echo_n "(cached) " >&6
50118 else
50121 ac_ext=cpp
50122 ac_cpp='$CXXCPP $CPPFLAGS'
50123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50128 /* end confdefs.h. */
50129 #include <math.h>
50130 #ifdef HAVE_IEEEFP_H
50131 #include <ieeefp.h>
50132 #endif
50135 main ()
50137 fabsl(0);
50139 return 0;
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143 glibcxx_cv_func_fabsl_use=yes
50144 else
50145 glibcxx_cv_func_fabsl_use=no
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148 ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50159 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50161 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50162 for ac_func in fabsl
50163 do :
50164 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50165 if test "x$ac_cv_func_fabsl" = x""yes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE_FABSL 1
50168 _ACEOF
50171 done
50173 else
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50176 $as_echo_n "checking for _fabsl declaration... " >&6; }
50177 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50178 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50179 $as_echo_n "(cached) " >&6
50180 else
50183 ac_ext=cpp
50184 ac_cpp='$CXXCPP $CPPFLAGS'
50185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50190 /* end confdefs.h. */
50191 #include <math.h>
50192 #ifdef HAVE_IEEEFP_H
50193 #include <ieeefp.h>
50194 #endif
50197 main ()
50199 _fabsl(0);
50201 return 0;
50203 _ACEOF
50204 if ac_fn_cxx_try_compile "$LINENO"; then :
50205 glibcxx_cv_func__fabsl_use=yes
50206 else
50207 glibcxx_cv_func__fabsl_use=no
50209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50210 ac_ext=c
50211 ac_cpp='$CPP $CPPFLAGS'
50212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50221 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50223 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50224 for ac_func in _fabsl
50225 do :
50226 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50227 if test "x$ac_cv_func__fabsl" = x""yes; then :
50228 cat >>confdefs.h <<_ACEOF
50229 #define HAVE__FABSL 1
50230 _ACEOF
50233 done
50242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50243 $as_echo_n "checking for fmodl declaration... " >&6; }
50244 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50245 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50246 $as_echo_n "(cached) " >&6
50247 else
50250 ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h. */
50258 #include <math.h>
50260 main ()
50262 fmodl(0, 0);
50264 return 0;
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func_fmodl_use=yes
50269 else
50270 glibcxx_cv_func_fmodl_use=no
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50284 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50286 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50287 for ac_func in fmodl
50288 do :
50289 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50290 if test "x$ac_cv_func_fmodl" = x""yes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE_FMODL 1
50293 _ACEOF
50296 done
50298 else
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50301 $as_echo_n "checking for _fmodl declaration... " >&6; }
50302 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50303 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50304 $as_echo_n "(cached) " >&6
50305 else
50308 ac_ext=cpp
50309 ac_cpp='$CXXCPP $CPPFLAGS'
50310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50315 /* end confdefs.h. */
50316 #include <math.h>
50318 main ()
50320 _fmodl(0, 0);
50322 return 0;
50324 _ACEOF
50325 if ac_fn_cxx_try_compile "$LINENO"; then :
50326 glibcxx_cv_func__fmodl_use=yes
50327 else
50328 glibcxx_cv_func__fmodl_use=no
50330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50331 ac_ext=c
50332 ac_cpp='$CPP $CPPFLAGS'
50333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50342 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50344 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50345 for ac_func in _fmodl
50346 do :
50347 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50348 if test "x$ac_cv_func__fmodl" = x""yes; then :
50349 cat >>confdefs.h <<_ACEOF
50350 #define HAVE__FMODL 1
50351 _ACEOF
50354 done
50363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50364 $as_echo_n "checking for frexpl declaration... " >&6; }
50365 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50366 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50367 $as_echo_n "(cached) " >&6
50368 else
50371 ac_ext=cpp
50372 ac_cpp='$CXXCPP $CPPFLAGS'
50373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50378 /* end confdefs.h. */
50379 #include <math.h>
50381 main ()
50383 frexpl(0, 0);
50385 return 0;
50387 _ACEOF
50388 if ac_fn_cxx_try_compile "$LINENO"; then :
50389 glibcxx_cv_func_frexpl_use=yes
50390 else
50391 glibcxx_cv_func_frexpl_use=no
50393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50394 ac_ext=c
50395 ac_cpp='$CPP $CPPFLAGS'
50396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50405 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50407 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50408 for ac_func in frexpl
50409 do :
50410 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50411 if test "x$ac_cv_func_frexpl" = x""yes; then :
50412 cat >>confdefs.h <<_ACEOF
50413 #define HAVE_FREXPL 1
50414 _ACEOF
50417 done
50419 else
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50422 $as_echo_n "checking for _frexpl declaration... " >&6; }
50423 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50424 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50425 $as_echo_n "(cached) " >&6
50426 else
50429 ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h. */
50437 #include <math.h>
50439 main ()
50441 _frexpl(0, 0);
50443 return 0;
50445 _ACEOF
50446 if ac_fn_cxx_try_compile "$LINENO"; then :
50447 glibcxx_cv_func__frexpl_use=yes
50448 else
50449 glibcxx_cv_func__frexpl_use=no
50451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50452 ac_ext=c
50453 ac_cpp='$CPP $CPPFLAGS'
50454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50463 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50465 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50466 for ac_func in _frexpl
50467 do :
50468 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50469 if test "x$ac_cv_func__frexpl" = x""yes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define HAVE__FREXPL 1
50472 _ACEOF
50475 done
50484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50485 $as_echo_n "checking for hypotl declaration... " >&6; }
50486 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50487 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50488 $as_echo_n "(cached) " >&6
50489 else
50492 ac_ext=cpp
50493 ac_cpp='$CXXCPP $CPPFLAGS'
50494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50499 /* end confdefs.h. */
50500 #include <math.h>
50502 main ()
50504 hypotl(0, 0);
50506 return 0;
50508 _ACEOF
50509 if ac_fn_cxx_try_compile "$LINENO"; then :
50510 glibcxx_cv_func_hypotl_use=yes
50511 else
50512 glibcxx_cv_func_hypotl_use=no
50514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50515 ac_ext=c
50516 ac_cpp='$CPP $CPPFLAGS'
50517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50526 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50528 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50529 for ac_func in hypotl
50530 do :
50531 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50532 if test "x$ac_cv_func_hypotl" = x""yes; then :
50533 cat >>confdefs.h <<_ACEOF
50534 #define HAVE_HYPOTL 1
50535 _ACEOF
50538 done
50540 else
50542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50543 $as_echo_n "checking for _hypotl declaration... " >&6; }
50544 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50545 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50546 $as_echo_n "(cached) " >&6
50547 else
50550 ac_ext=cpp
50551 ac_cpp='$CXXCPP $CPPFLAGS'
50552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50557 /* end confdefs.h. */
50558 #include <math.h>
50560 main ()
50562 _hypotl(0, 0);
50564 return 0;
50566 _ACEOF
50567 if ac_fn_cxx_try_compile "$LINENO"; then :
50568 glibcxx_cv_func__hypotl_use=yes
50569 else
50570 glibcxx_cv_func__hypotl_use=no
50572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50573 ac_ext=c
50574 ac_cpp='$CPP $CPPFLAGS'
50575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50584 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50586 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50587 for ac_func in _hypotl
50588 do :
50589 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50590 if test "x$ac_cv_func__hypotl" = x""yes; then :
50591 cat >>confdefs.h <<_ACEOF
50592 #define HAVE__HYPOTL 1
50593 _ACEOF
50596 done
50605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50606 $as_echo_n "checking for ldexpl declaration... " >&6; }
50607 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50608 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50609 $as_echo_n "(cached) " >&6
50610 else
50613 ac_ext=cpp
50614 ac_cpp='$CXXCPP $CPPFLAGS'
50615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50620 /* end confdefs.h. */
50621 #include <math.h>
50623 main ()
50625 ldexpl(0, 0);
50627 return 0;
50629 _ACEOF
50630 if ac_fn_cxx_try_compile "$LINENO"; then :
50631 glibcxx_cv_func_ldexpl_use=yes
50632 else
50633 glibcxx_cv_func_ldexpl_use=no
50635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50636 ac_ext=c
50637 ac_cpp='$CPP $CPPFLAGS'
50638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50647 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50649 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50650 for ac_func in ldexpl
50651 do :
50652 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50653 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50654 cat >>confdefs.h <<_ACEOF
50655 #define HAVE_LDEXPL 1
50656 _ACEOF
50659 done
50661 else
50663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50664 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50665 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50666 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50667 $as_echo_n "(cached) " >&6
50668 else
50671 ac_ext=cpp
50672 ac_cpp='$CXXCPP $CPPFLAGS'
50673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50678 /* end confdefs.h. */
50679 #include <math.h>
50681 main ()
50683 _ldexpl(0, 0);
50685 return 0;
50687 _ACEOF
50688 if ac_fn_cxx_try_compile "$LINENO"; then :
50689 glibcxx_cv_func__ldexpl_use=yes
50690 else
50691 glibcxx_cv_func__ldexpl_use=no
50693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50694 ac_ext=c
50695 ac_cpp='$CPP $CPPFLAGS'
50696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50705 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50707 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50708 for ac_func in _ldexpl
50709 do :
50710 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50711 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50712 cat >>confdefs.h <<_ACEOF
50713 #define HAVE__LDEXPL 1
50714 _ACEOF
50717 done
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50727 $as_echo_n "checking for logl declaration... " >&6; }
50728 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50729 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50730 $as_echo_n "(cached) " >&6
50731 else
50734 ac_ext=cpp
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 #include <math.h>
50743 #ifdef HAVE_IEEEFP_H
50744 #include <ieeefp.h>
50745 #endif
50748 main ()
50750 logl(0);
50752 return 0;
50754 _ACEOF
50755 if ac_fn_cxx_try_compile "$LINENO"; then :
50756 glibcxx_cv_func_logl_use=yes
50757 else
50758 glibcxx_cv_func_logl_use=no
50760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50761 ac_ext=c
50762 ac_cpp='$CPP $CPPFLAGS'
50763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50772 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50774 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50775 for ac_func in logl
50776 do :
50777 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50778 if test "x$ac_cv_func_logl" = x""yes; then :
50779 cat >>confdefs.h <<_ACEOF
50780 #define HAVE_LOGL 1
50781 _ACEOF
50784 done
50786 else
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50789 $as_echo_n "checking for _logl declaration... " >&6; }
50790 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50791 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50792 $as_echo_n "(cached) " >&6
50793 else
50796 ac_ext=cpp
50797 ac_cpp='$CXXCPP $CPPFLAGS'
50798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50803 /* end confdefs.h. */
50804 #include <math.h>
50805 #ifdef HAVE_IEEEFP_H
50806 #include <ieeefp.h>
50807 #endif
50810 main ()
50812 _logl(0);
50814 return 0;
50816 _ACEOF
50817 if ac_fn_cxx_try_compile "$LINENO"; then :
50818 glibcxx_cv_func__logl_use=yes
50819 else
50820 glibcxx_cv_func__logl_use=no
50822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50823 ac_ext=c
50824 ac_cpp='$CPP $CPPFLAGS'
50825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50834 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50836 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50837 for ac_func in _logl
50838 do :
50839 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50840 if test "x$ac_cv_func__logl" = x""yes; then :
50841 cat >>confdefs.h <<_ACEOF
50842 #define HAVE__LOGL 1
50843 _ACEOF
50846 done
50855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50856 $as_echo_n "checking for log10l declaration... " >&6; }
50857 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50858 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50859 $as_echo_n "(cached) " >&6
50860 else
50863 ac_ext=cpp
50864 ac_cpp='$CXXCPP $CPPFLAGS'
50865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50870 /* end confdefs.h. */
50871 #include <math.h>
50872 #ifdef HAVE_IEEEFP_H
50873 #include <ieeefp.h>
50874 #endif
50877 main ()
50879 log10l(0);
50881 return 0;
50883 _ACEOF
50884 if ac_fn_cxx_try_compile "$LINENO"; then :
50885 glibcxx_cv_func_log10l_use=yes
50886 else
50887 glibcxx_cv_func_log10l_use=no
50889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50890 ac_ext=c
50891 ac_cpp='$CPP $CPPFLAGS'
50892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50901 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50903 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50904 for ac_func in log10l
50905 do :
50906 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50907 if test "x$ac_cv_func_log10l" = x""yes; then :
50908 cat >>confdefs.h <<_ACEOF
50909 #define HAVE_LOG10L 1
50910 _ACEOF
50913 done
50915 else
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50918 $as_echo_n "checking for _log10l declaration... " >&6; }
50919 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50920 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50934 #ifdef HAVE_IEEEFP_H
50935 #include <ieeefp.h>
50936 #endif
50939 main ()
50941 _log10l(0);
50943 return 0;
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947 glibcxx_cv_func__log10l_use=yes
50948 else
50949 glibcxx_cv_func__log10l_use=no
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952 ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50963 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50965 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50966 for ac_func in _log10l
50967 do :
50968 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50969 if test "x$ac_cv_func__log10l" = x""yes; then :
50970 cat >>confdefs.h <<_ACEOF
50971 #define HAVE__LOG10L 1
50972 _ACEOF
50975 done
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50985 $as_echo_n "checking for modfl declaration... " >&6; }
50986 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50987 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50988 $as_echo_n "(cached) " >&6
50989 else
50992 ac_ext=cpp
50993 ac_cpp='$CXXCPP $CPPFLAGS'
50994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50999 /* end confdefs.h. */
51000 #include <math.h>
51002 main ()
51004 modfl(0, 0);
51006 return 0;
51008 _ACEOF
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_modfl_use=yes
51011 else
51012 glibcxx_cv_func_modfl_use=no
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51015 ac_ext=c
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51026 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51028 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51029 for ac_func in modfl
51030 do :
51031 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51032 if test "x$ac_cv_func_modfl" = x""yes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_MODFL 1
51035 _ACEOF
51038 done
51040 else
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51043 $as_echo_n "checking for _modfl declaration... " >&6; }
51044 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51045 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51060 main ()
51062 _modfl(0, 0);
51064 return 0;
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func__modfl_use=yes
51069 else
51070 glibcxx_cv_func__modfl_use=no
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51084 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51086 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51087 for ac_func in _modfl
51088 do :
51089 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51090 if test "x$ac_cv_func__modfl" = x""yes; then :
51091 cat >>confdefs.h <<_ACEOF
51092 #define HAVE__MODFL 1
51093 _ACEOF
51096 done
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51106 $as_echo_n "checking for powl declaration... " >&6; }
51107 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51108 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <math.h>
51123 main ()
51125 powl(0, 0);
51127 return 0;
51129 _ACEOF
51130 if ac_fn_cxx_try_compile "$LINENO"; then :
51131 glibcxx_cv_func_powl_use=yes
51132 else
51133 glibcxx_cv_func_powl_use=no
51135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51136 ac_ext=c
51137 ac_cpp='$CPP $CPPFLAGS'
51138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51147 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51149 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51150 for ac_func in powl
51151 do :
51152 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51153 if test "x$ac_cv_func_powl" = x""yes; then :
51154 cat >>confdefs.h <<_ACEOF
51155 #define HAVE_POWL 1
51156 _ACEOF
51159 done
51161 else
51163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51164 $as_echo_n "checking for _powl declaration... " >&6; }
51165 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51166 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51167 $as_echo_n "(cached) " >&6
51168 else
51171 ac_ext=cpp
51172 ac_cpp='$CXXCPP $CPPFLAGS'
51173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51178 /* end confdefs.h. */
51179 #include <math.h>
51181 main ()
51183 _powl(0, 0);
51185 return 0;
51187 _ACEOF
51188 if ac_fn_cxx_try_compile "$LINENO"; then :
51189 glibcxx_cv_func__powl_use=yes
51190 else
51191 glibcxx_cv_func__powl_use=no
51193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51194 ac_ext=c
51195 ac_cpp='$CPP $CPPFLAGS'
51196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51205 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51207 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51208 for ac_func in _powl
51209 do :
51210 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51211 if test "x$ac_cv_func__powl" = x""yes; then :
51212 cat >>confdefs.h <<_ACEOF
51213 #define HAVE__POWL 1
51214 _ACEOF
51217 done
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51227 $as_echo_n "checking for sqrtl declaration... " >&6; }
51228 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51229 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51230 $as_echo_n "(cached) " >&6
51231 else
51234 ac_ext=cpp
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51241 /* end confdefs.h. */
51242 #include <math.h>
51243 #ifdef HAVE_IEEEFP_H
51244 #include <ieeefp.h>
51245 #endif
51248 main ()
51250 sqrtl(0);
51252 return 0;
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func_sqrtl_use=yes
51257 else
51258 glibcxx_cv_func_sqrtl_use=no
51260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51261 ac_ext=c
51262 ac_cpp='$CPP $CPPFLAGS'
51263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51272 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51274 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51275 for ac_func in sqrtl
51276 do :
51277 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51278 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE_SQRTL 1
51281 _ACEOF
51284 done
51286 else
51288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51289 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51290 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51291 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51292 $as_echo_n "(cached) " >&6
51293 else
51296 ac_ext=cpp
51297 ac_cpp='$CXXCPP $CPPFLAGS'
51298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51303 /* end confdefs.h. */
51304 #include <math.h>
51305 #ifdef HAVE_IEEEFP_H
51306 #include <ieeefp.h>
51307 #endif
51310 main ()
51312 _sqrtl(0);
51314 return 0;
51316 _ACEOF
51317 if ac_fn_cxx_try_compile "$LINENO"; then :
51318 glibcxx_cv_func__sqrtl_use=yes
51319 else
51320 glibcxx_cv_func__sqrtl_use=no
51322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51334 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51336 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51337 for ac_func in _sqrtl
51338 do :
51339 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51340 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51341 cat >>confdefs.h <<_ACEOF
51342 #define HAVE__SQRTL 1
51343 _ACEOF
51346 done
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51356 $as_echo_n "checking for sincosl declaration... " >&6; }
51357 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51358 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51373 main ()
51375 sincosl(0, 0, 0);
51377 return 0;
51379 _ACEOF
51380 if ac_fn_cxx_try_compile "$LINENO"; then :
51381 glibcxx_cv_func_sincosl_use=yes
51382 else
51383 glibcxx_cv_func_sincosl_use=no
51385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51386 ac_ext=c
51387 ac_cpp='$CPP $CPPFLAGS'
51388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51397 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51399 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51400 for ac_func in sincosl
51401 do :
51402 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51403 if test "x$ac_cv_func_sincosl" = x""yes; then :
51404 cat >>confdefs.h <<_ACEOF
51405 #define HAVE_SINCOSL 1
51406 _ACEOF
51409 done
51411 else
51413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51414 $as_echo_n "checking for _sincosl declaration... " >&6; }
51415 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51416 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51417 $as_echo_n "(cached) " >&6
51418 else
51421 ac_ext=cpp
51422 ac_cpp='$CXXCPP $CPPFLAGS'
51423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51428 /* end confdefs.h. */
51429 #include <math.h>
51431 main ()
51433 _sincosl(0, 0, 0);
51435 return 0;
51437 _ACEOF
51438 if ac_fn_cxx_try_compile "$LINENO"; then :
51439 glibcxx_cv_func__sincosl_use=yes
51440 else
51441 glibcxx_cv_func__sincosl_use=no
51443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51444 ac_ext=c
51445 ac_cpp='$CPP $CPPFLAGS'
51446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51455 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51457 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51458 for ac_func in _sincosl
51459 do :
51460 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51461 if test "x$ac_cv_func__sincosl" = x""yes; then :
51462 cat >>confdefs.h <<_ACEOF
51463 #define HAVE__SINCOSL 1
51464 _ACEOF
51467 done
51476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51477 $as_echo_n "checking for finitel declaration... " >&6; }
51478 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51479 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51480 $as_echo_n "(cached) " >&6
51481 else
51484 ac_ext=cpp
51485 ac_cpp='$CXXCPP $CPPFLAGS'
51486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51491 /* end confdefs.h. */
51492 #include <math.h>
51493 #ifdef HAVE_IEEEFP_H
51494 #include <ieeefp.h>
51495 #endif
51498 main ()
51500 finitel(0);
51502 return 0;
51504 _ACEOF
51505 if ac_fn_cxx_try_compile "$LINENO"; then :
51506 glibcxx_cv_func_finitel_use=yes
51507 else
51508 glibcxx_cv_func_finitel_use=no
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51511 ac_ext=c
51512 ac_cpp='$CPP $CPPFLAGS'
51513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51522 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51524 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51525 for ac_func in finitel
51526 do :
51527 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51528 if test "x$ac_cv_func_finitel" = x""yes; then :
51529 cat >>confdefs.h <<_ACEOF
51530 #define HAVE_FINITEL 1
51531 _ACEOF
51534 done
51536 else
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51539 $as_echo_n "checking for _finitel declaration... " >&6; }
51540 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51541 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51542 $as_echo_n "(cached) " >&6
51543 else
51546 ac_ext=cpp
51547 ac_cpp='$CXXCPP $CPPFLAGS'
51548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h. */
51554 #include <math.h>
51555 #ifdef HAVE_IEEEFP_H
51556 #include <ieeefp.h>
51557 #endif
51560 main ()
51562 _finitel(0);
51564 return 0;
51566 _ACEOF
51567 if ac_fn_cxx_try_compile "$LINENO"; then :
51568 glibcxx_cv_func__finitel_use=yes
51569 else
51570 glibcxx_cv_func__finitel_use=no
51572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51573 ac_ext=c
51574 ac_cpp='$CPP $CPPFLAGS'
51575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51584 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51586 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51587 for ac_func in _finitel
51588 do :
51589 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51590 if test "x$ac_cv_func__finitel" = x""yes; then :
51591 cat >>confdefs.h <<_ACEOF
51592 #define HAVE__FINITEL 1
51593 _ACEOF
51596 done
51604 LIBS="$ac_save_LIBS"
51605 CXXFLAGS="$ac_save_CXXFLAGS"
51608 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51609 ac_save_CXXFLAGS="$CXXFLAGS"
51610 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51614 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51615 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51616 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51617 $as_echo_n "(cached) " >&6
51618 else
51621 ac_ext=cpp
51622 ac_cpp='$CXXCPP $CPPFLAGS'
51623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51628 /* end confdefs.h. */
51629 #include <stdlib.h>
51631 main ()
51633 at_quick_exit(0);
51635 return 0;
51637 _ACEOF
51638 if ac_fn_cxx_try_compile "$LINENO"; then :
51639 glibcxx_cv_func_at_quick_exit_use=yes
51640 else
51641 glibcxx_cv_func_at_quick_exit_use=no
51643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51644 ac_ext=c
51645 ac_cpp='$CPP $CPPFLAGS'
51646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51655 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51656 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51657 for ac_func in at_quick_exit
51658 do :
51659 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51660 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE_AT_QUICK_EXIT 1
51663 _ACEOF
51666 done
51671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51672 $as_echo_n "checking for quick_exit declaration... " >&6; }
51673 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51674 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51675 $as_echo_n "(cached) " >&6
51676 else
51679 ac_ext=cpp
51680 ac_cpp='$CXXCPP $CPPFLAGS'
51681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51686 /* end confdefs.h. */
51687 #include <stdlib.h>
51689 main ()
51691 quick_exit(0);
51693 return 0;
51695 _ACEOF
51696 if ac_fn_cxx_try_compile "$LINENO"; then :
51697 glibcxx_cv_func_quick_exit_use=yes
51698 else
51699 glibcxx_cv_func_quick_exit_use=no
51701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51702 ac_ext=c
51703 ac_cpp='$CPP $CPPFLAGS'
51704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51713 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51714 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51715 for ac_func in quick_exit
51716 do :
51717 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51718 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51719 cat >>confdefs.h <<_ACEOF
51720 #define HAVE_QUICK_EXIT 1
51721 _ACEOF
51724 done
51729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51730 $as_echo_n "checking for strtold declaration... " >&6; }
51731 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51732 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51733 $as_echo_n "(cached) " >&6
51734 else
51737 ac_ext=cpp
51738 ac_cpp='$CXXCPP $CPPFLAGS'
51739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51744 /* end confdefs.h. */
51745 #include <stdlib.h>
51747 main ()
51749 strtold(0, 0);
51751 return 0;
51753 _ACEOF
51754 if ac_fn_cxx_try_compile "$LINENO"; then :
51755 glibcxx_cv_func_strtold_use=yes
51756 else
51757 glibcxx_cv_func_strtold_use=no
51759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51760 ac_ext=c
51761 ac_cpp='$CPP $CPPFLAGS'
51762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51771 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51772 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51773 for ac_func in strtold
51774 do :
51775 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51776 if test "x$ac_cv_func_strtold" = x""yes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE_STRTOLD 1
51779 _ACEOF
51782 done
51789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51790 $as_echo_n "checking for strtof declaration... " >&6; }
51791 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51792 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51793 $as_echo_n "(cached) " >&6
51794 else
51797 ac_ext=cpp
51798 ac_cpp='$CXXCPP $CPPFLAGS'
51799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51804 /* end confdefs.h. */
51805 #include <stdlib.h>
51807 main ()
51809 strtof(0, 0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func_strtof_use=yes
51816 else
51817 glibcxx_cv_func_strtof_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51831 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51832 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51833 for ac_func in strtof
51834 do :
51835 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51836 if test "x$ac_cv_func_strtof" = x""yes; then :
51837 cat >>confdefs.h <<_ACEOF
51838 #define HAVE_STRTOF 1
51839 _ACEOF
51842 done
51849 CXXFLAGS="$ac_save_CXXFLAGS"
51853 *djgpp)
51854 # GLIBCXX_CHECK_MATH_SUPPORT
51855 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51857 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51859 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51861 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51863 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51867 *-freebsd*)
51868 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51871 # If we're not using GNU ld, then there's no point in even trying these
51872 # tests. Check for that first. We should have already tested for gld
51873 # by now (in libtool), but require it now just to be safe...
51874 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51875 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51879 # The name set by libtool depends on the version of libtool. Shame on us
51880 # for depending on an impl detail, but c'est la vie. Older versions used
51881 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51882 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51883 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51884 # set (hence we're using an older libtool), then set it.
51885 if test x${with_gnu_ld+set} != xset; then
51886 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51887 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51888 with_gnu_ld=no
51889 else
51890 with_gnu_ld=$ac_cv_prog_gnu_ld
51894 # Start by getting the version number. I think the libtool test already
51895 # does some of this, but throws away the result.
51896 glibcxx_ld_is_gold=no
51897 if test x"$with_gnu_ld" = x"yes"; then
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51899 $as_echo_n "checking for ld version... " >&6; }
51901 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51902 glibcxx_ld_is_gold=yes
51904 ldver=`$LD --version 2>/dev/null |
51905 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'`
51907 glibcxx_gnu_ld_version=`echo $ldver | \
51908 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51910 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51913 # Set --gc-sections.
51914 glibcxx_have_gc_sections=no
51915 if test "$glibcxx_ld_is_gold" = "yes"; then
51916 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51917 glibcxx_have_gc_sections=yes
51919 else
51920 glibcxx_gcsections_min_ld=21602
51921 if test x"$with_gnu_ld" = x"yes" &&
51922 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51923 glibcxx_have_gc_sections=yes
51926 if test "$glibcxx_have_gc_sections" = "yes"; then
51927 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51928 # NB: This flag only works reliably after 2.16.1. Configure tests
51929 # for this are difficult, so hard wire a value that should work.
51931 ac_test_CFLAGS="${CFLAGS+set}"
51932 ac_save_CFLAGS="$CFLAGS"
51933 CFLAGS='-Wl,--gc-sections'
51935 # Check for -Wl,--gc-sections
51936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51937 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51938 if test x$gcc_no_link = xyes; then
51939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51942 /* end confdefs.h. */
51943 int one(void) { return 1; }
51944 int two(void) { return 2; }
51947 main ()
51949 two();
51951 return 0;
51953 _ACEOF
51954 if ac_fn_c_try_link "$LINENO"; then :
51955 ac_gcsections=yes
51956 else
51957 ac_gcsections=no
51959 rm -f core conftest.err conftest.$ac_objext \
51960 conftest$ac_exeext conftest.$ac_ext
51961 if test "$ac_gcsections" = "yes"; then
51962 rm -f conftest.c
51963 touch conftest.c
51964 if $CC -c conftest.c; then
51965 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51966 grep "Warning: gc-sections option ignored" > /dev/null; then
51967 ac_gcsections=no
51970 rm -f conftest.c conftest.o conftest
51972 if test "$ac_gcsections" = "yes"; then
51973 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51976 $as_echo "$ac_gcsections" >&6; }
51978 if test "$ac_test_CFLAGS" = set; then
51979 CFLAGS="$ac_save_CFLAGS"
51980 else
51981 # this is the suspicious part
51982 CFLAGS=''
51986 # Set -z,relro.
51987 # Note this is only for shared objects.
51988 ac_ld_relro=no
51989 if test x"$with_gnu_ld" = x"yes"; then
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51991 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51992 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51993 if test -n "$cxx_z_relo"; then
51994 OPT_LDFLAGS="-Wl,-z,relro"
51995 ac_ld_relro=yes
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51998 $as_echo "$ac_ld_relro" >&6; }
52001 # Set linker optimization flags.
52002 if test x"$with_gnu_ld" = x"yes"; then
52003 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52009 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52011 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52013 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52015 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52017 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52019 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52021 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52023 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52025 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52028 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52030 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52032 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52034 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52036 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52038 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52040 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52042 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52044 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52046 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52048 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52050 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52052 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52054 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52056 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52058 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52060 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52062 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52064 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52066 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52068 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52070 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52072 if test x"long_double_math_on_this_cpu" = x"yes"; then
52073 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52075 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52077 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52081 *-hpux*)
52082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52085 # If we're not using GNU ld, then there's no point in even trying these
52086 # tests. Check for that first. We should have already tested for gld
52087 # by now (in libtool), but require it now just to be safe...
52088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52093 # The name set by libtool depends on the version of libtool. Shame on us
52094 # for depending on an impl detail, but c'est la vie. Older versions used
52095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52098 # set (hence we're using an older libtool), then set it.
52099 if test x${with_gnu_ld+set} != xset; then
52100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52102 with_gnu_ld=no
52103 else
52104 with_gnu_ld=$ac_cv_prog_gnu_ld
52108 # Start by getting the version number. I think the libtool test already
52109 # does some of this, but throws away the result.
52110 glibcxx_ld_is_gold=no
52111 if test x"$with_gnu_ld" = x"yes"; then
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52113 $as_echo_n "checking for ld version... " >&6; }
52115 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52116 glibcxx_ld_is_gold=yes
52118 ldver=`$LD --version 2>/dev/null |
52119 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'`
52121 glibcxx_gnu_ld_version=`echo $ldver | \
52122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52124 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52127 # Set --gc-sections.
52128 glibcxx_have_gc_sections=no
52129 if test "$glibcxx_ld_is_gold" = "yes"; then
52130 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52131 glibcxx_have_gc_sections=yes
52133 else
52134 glibcxx_gcsections_min_ld=21602
52135 if test x"$with_gnu_ld" = x"yes" &&
52136 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52137 glibcxx_have_gc_sections=yes
52140 if test "$glibcxx_have_gc_sections" = "yes"; then
52141 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52142 # NB: This flag only works reliably after 2.16.1. Configure tests
52143 # for this are difficult, so hard wire a value that should work.
52145 ac_test_CFLAGS="${CFLAGS+set}"
52146 ac_save_CFLAGS="$CFLAGS"
52147 CFLAGS='-Wl,--gc-sections'
52149 # Check for -Wl,--gc-sections
52150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52151 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52152 if test x$gcc_no_link = xyes; then
52153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52156 /* end confdefs.h. */
52157 int one(void) { return 1; }
52158 int two(void) { return 2; }
52161 main ()
52163 two();
52165 return 0;
52167 _ACEOF
52168 if ac_fn_c_try_link "$LINENO"; then :
52169 ac_gcsections=yes
52170 else
52171 ac_gcsections=no
52173 rm -f core conftest.err conftest.$ac_objext \
52174 conftest$ac_exeext conftest.$ac_ext
52175 if test "$ac_gcsections" = "yes"; then
52176 rm -f conftest.c
52177 touch conftest.c
52178 if $CC -c conftest.c; then
52179 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52180 grep "Warning: gc-sections option ignored" > /dev/null; then
52181 ac_gcsections=no
52184 rm -f conftest.c conftest.o conftest
52186 if test "$ac_gcsections" = "yes"; then
52187 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52190 $as_echo "$ac_gcsections" >&6; }
52192 if test "$ac_test_CFLAGS" = set; then
52193 CFLAGS="$ac_save_CFLAGS"
52194 else
52195 # this is the suspicious part
52196 CFLAGS=''
52200 # Set -z,relro.
52201 # Note this is only for shared objects.
52202 ac_ld_relro=no
52203 if test x"$with_gnu_ld" = x"yes"; then
52204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52205 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52206 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52207 if test -n "$cxx_z_relo"; then
52208 OPT_LDFLAGS="-Wl,-z,relro"
52209 ac_ld_relro=yes
52211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52212 $as_echo "$ac_ld_relro" >&6; }
52215 # Set linker optimization flags.
52216 if test x"$with_gnu_ld" = x"yes"; then
52217 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52224 # GLIBCXX_CHECK_MATH_SUPPORT
52225 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52227 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52229 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52231 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52233 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52235 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52237 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52239 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52241 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52243 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52245 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52247 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52249 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52251 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52253 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52255 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52257 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52259 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52261 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52263 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52265 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52268 # GLIBCXX_CHECK_STDLIB_SUPPORT
52269 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52274 # Check whether --enable-tls was given.
52275 if test "${enable_tls+set}" = set; then :
52276 enableval=$enable_tls;
52277 case "$enableval" in
52278 yes|no) ;;
52279 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52280 esac
52282 else
52283 enable_tls=yes
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52288 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52289 if test "${gcc_cv_have_tls+set}" = set; then :
52290 $as_echo_n "(cached) " >&6
52291 else
52293 if test "$cross_compiling" = yes; then :
52294 if test x$gcc_no_link = xyes; then
52295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52298 /* end confdefs.h. */
52299 __thread int a; int b; int main() { return a = b; }
52300 _ACEOF
52301 if ac_fn_c_try_link "$LINENO"; then :
52302 chktls_save_LDFLAGS="$LDFLAGS"
52303 case $host in
52304 *-*-linux*)
52305 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52307 esac
52308 chktls_save_CFLAGS="$CFLAGS"
52309 CFLAGS="-fPIC $CFLAGS"
52310 if test x$gcc_no_link = xyes; then
52311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52314 /* end confdefs.h. */
52315 int f() { return 0; }
52316 _ACEOF
52317 if ac_fn_c_try_link "$LINENO"; then :
52318 if test x$gcc_no_link = xyes; then
52319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 __thread int a; int b; int f() { return a = b; }
52324 _ACEOF
52325 if ac_fn_c_try_link "$LINENO"; then :
52326 gcc_cv_have_tls=yes
52327 else
52328 gcc_cv_have_tls=no
52330 rm -f core conftest.err conftest.$ac_objext \
52331 conftest$ac_exeext conftest.$ac_ext
52332 else
52333 gcc_cv_have_tls=yes
52335 rm -f core conftest.err conftest.$ac_objext \
52336 conftest$ac_exeext conftest.$ac_ext
52337 CFLAGS="$chktls_save_CFLAGS"
52338 LDFLAGS="$chktls_save_LDFLAGS"
52339 else
52340 gcc_cv_have_tls=no
52342 rm -f core conftest.err conftest.$ac_objext \
52343 conftest$ac_exeext conftest.$ac_ext
52346 else
52347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52348 /* end confdefs.h. */
52349 __thread int a; int b; int main() { return a = b; }
52350 _ACEOF
52351 if ac_fn_c_try_run "$LINENO"; then :
52352 chktls_save_LDFLAGS="$LDFLAGS"
52353 LDFLAGS="-static $LDFLAGS"
52354 if test x$gcc_no_link = xyes; then
52355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 int main() { return 0; }
52360 _ACEOF
52361 if ac_fn_c_try_link "$LINENO"; then :
52362 if test "$cross_compiling" = yes; then :
52363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52365 as_fn_error "cannot run test program while cross compiling
52366 See \`config.log' for more details." "$LINENO" 5; }
52367 else
52368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52369 /* end confdefs.h. */
52370 __thread int a; int b; int main() { return a = b; }
52371 _ACEOF
52372 if ac_fn_c_try_run "$LINENO"; then :
52373 gcc_cv_have_tls=yes
52374 else
52375 gcc_cv_have_tls=no
52377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52378 conftest.$ac_objext conftest.beam conftest.$ac_ext
52381 else
52382 gcc_cv_have_tls=yes
52384 rm -f core conftest.err conftest.$ac_objext \
52385 conftest$ac_exeext conftest.$ac_ext
52386 LDFLAGS="$chktls_save_LDFLAGS"
52387 if test $gcc_cv_have_tls = yes; then
52388 chktls_save_CFLAGS="$CFLAGS"
52389 thread_CFLAGS=failed
52390 for flag in '' '-pthread' '-lpthread'; do
52391 CFLAGS="$flag $chktls_save_CFLAGS"
52392 if test x$gcc_no_link = xyes; then
52393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 #include <pthread.h>
52398 void *g(void *d) { return NULL; }
52400 main ()
52402 pthread_t t; pthread_create(&t,NULL,g,NULL);
52404 return 0;
52406 _ACEOF
52407 if ac_fn_c_try_link "$LINENO"; then :
52408 thread_CFLAGS="$flag"
52410 rm -f core conftest.err conftest.$ac_objext \
52411 conftest$ac_exeext conftest.$ac_ext
52412 if test "X$thread_CFLAGS" != Xfailed; then
52413 break
52415 done
52416 CFLAGS="$chktls_save_CFLAGS"
52417 if test "X$thread_CFLAGS" != Xfailed; then
52418 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52419 if test "$cross_compiling" = yes; then :
52420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52422 as_fn_error "cannot run test program while cross compiling
52423 See \`config.log' for more details." "$LINENO" 5; }
52424 else
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52427 #include <pthread.h>
52428 __thread int a;
52429 static int *volatile a_in_other_thread;
52430 static void *
52431 thread_func (void *arg)
52433 a_in_other_thread = &a;
52434 return (void *)0;
52437 main ()
52439 pthread_t thread;
52440 void *thread_retval;
52441 int *volatile a_in_main_thread;
52442 a_in_main_thread = &a;
52443 if (pthread_create (&thread, (pthread_attr_t *)0,
52444 thread_func, (void *)0))
52445 return 0;
52446 if (pthread_join (thread, &thread_retval))
52447 return 0;
52448 return (a_in_other_thread == a_in_main_thread);
52450 return 0;
52452 _ACEOF
52453 if ac_fn_c_try_run "$LINENO"; then :
52454 gcc_cv_have_tls=yes
52455 else
52456 gcc_cv_have_tls=no
52458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52459 conftest.$ac_objext conftest.beam conftest.$ac_ext
52462 CFLAGS="$chktls_save_CFLAGS"
52465 else
52466 gcc_cv_have_tls=no
52468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52469 conftest.$ac_objext conftest.beam conftest.$ac_ext
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52474 $as_echo "$gcc_cv_have_tls" >&6; }
52475 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52477 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52480 case "$target" in
52481 *-hpux10*)
52482 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52484 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52486 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52488 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52490 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52493 esac
52495 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52497 # All these tests are for C++; save the language and the compiler flags.
52498 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52499 # found in GLIBCXX_CONFIGURE.
52501 ac_ext=cpp
52502 ac_cpp='$CXXCPP $CPPFLAGS'
52503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52507 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52508 ac_save_CXXFLAGS="$CXXFLAGS"
52510 # Check for maintainer-mode bits.
52511 if test x"$USE_MAINTAINER_MODE" = xno; then
52512 WERROR=''
52513 else
52514 WERROR='-Werror'
52517 # Check for -ffunction-sections -fdata-sections
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52519 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52520 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52522 /* end confdefs.h. */
52523 int foo; void bar() { };
52525 main ()
52529 return 0;
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 ac_fdsections=yes
52534 else
52535 ac_fdsections=no
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 if test "$ac_test_CXXFLAGS" = set; then
52539 CXXFLAGS="$ac_save_CXXFLAGS"
52540 else
52541 # this is the suspicious part
52542 CXXFLAGS=''
52544 if test x"$ac_fdsections" = x"yes"; then
52545 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52548 $as_echo "$ac_fdsections" >&6; }
52550 ac_ext=c
52551 ac_cpp='$CPP $CPPFLAGS'
52552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560 # If we're not using GNU ld, then there's no point in even trying these
52561 # tests. Check for that first. We should have already tested for gld
52562 # by now (in libtool), but require it now just to be safe...
52563 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52564 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52568 # The name set by libtool depends on the version of libtool. Shame on us
52569 # for depending on an impl detail, but c'est la vie. Older versions used
52570 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52571 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52572 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52573 # set (hence we're using an older libtool), then set it.
52574 if test x${with_gnu_ld+set} != xset; then
52575 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52576 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52577 with_gnu_ld=no
52578 else
52579 with_gnu_ld=$ac_cv_prog_gnu_ld
52583 # Start by getting the version number. I think the libtool test already
52584 # does some of this, but throws away the result.
52585 glibcxx_ld_is_gold=no
52586 if test x"$with_gnu_ld" = x"yes"; then
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52588 $as_echo_n "checking for ld version... " >&6; }
52590 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52591 glibcxx_ld_is_gold=yes
52593 ldver=`$LD --version 2>/dev/null |
52594 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'`
52596 glibcxx_gnu_ld_version=`echo $ldver | \
52597 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52599 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52602 # Set --gc-sections.
52603 glibcxx_have_gc_sections=no
52604 if test "$glibcxx_ld_is_gold" = "yes"; then
52605 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52606 glibcxx_have_gc_sections=yes
52608 else
52609 glibcxx_gcsections_min_ld=21602
52610 if test x"$with_gnu_ld" = x"yes" &&
52611 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52612 glibcxx_have_gc_sections=yes
52615 if test "$glibcxx_have_gc_sections" = "yes"; then
52616 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52617 # NB: This flag only works reliably after 2.16.1. Configure tests
52618 # for this are difficult, so hard wire a value that should work.
52620 ac_test_CFLAGS="${CFLAGS+set}"
52621 ac_save_CFLAGS="$CFLAGS"
52622 CFLAGS='-Wl,--gc-sections'
52624 # Check for -Wl,--gc-sections
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52626 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52627 if test x$gcc_no_link = xyes; then
52628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 int one(void) { return 1; }
52633 int two(void) { return 2; }
52636 main ()
52638 two();
52640 return 0;
52642 _ACEOF
52643 if ac_fn_c_try_link "$LINENO"; then :
52644 ac_gcsections=yes
52645 else
52646 ac_gcsections=no
52648 rm -f core conftest.err conftest.$ac_objext \
52649 conftest$ac_exeext conftest.$ac_ext
52650 if test "$ac_gcsections" = "yes"; then
52651 rm -f conftest.c
52652 touch conftest.c
52653 if $CC -c conftest.c; then
52654 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52655 grep "Warning: gc-sections option ignored" > /dev/null; then
52656 ac_gcsections=no
52659 rm -f conftest.c conftest.o conftest
52661 if test "$ac_gcsections" = "yes"; then
52662 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52665 $as_echo "$ac_gcsections" >&6; }
52667 if test "$ac_test_CFLAGS" = set; then
52668 CFLAGS="$ac_save_CFLAGS"
52669 else
52670 # this is the suspicious part
52671 CFLAGS=''
52675 # Set -z,relro.
52676 # Note this is only for shared objects.
52677 ac_ld_relro=no
52678 if test x"$with_gnu_ld" = x"yes"; then
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52680 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52681 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52682 if test -n "$cxx_z_relo"; then
52683 OPT_LDFLAGS="-Wl,-z,relro"
52684 ac_ld_relro=yes
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52687 $as_echo "$ac_ld_relro" >&6; }
52690 # Set linker optimization flags.
52691 if test x"$with_gnu_ld" = x"yes"; then
52692 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52699 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52700 ac_save_CXXFLAGS="$CXXFLAGS"
52701 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52704 $as_echo_n "checking for sin in -lm... " >&6; }
52705 if test "${ac_cv_lib_m_sin+set}" = set; then :
52706 $as_echo_n "(cached) " >&6
52707 else
52708 ac_check_lib_save_LIBS=$LIBS
52709 LIBS="-lm $LIBS"
52710 if test x$gcc_no_link = xyes; then
52711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52714 /* end confdefs.h. */
52716 /* Override any GCC internal prototype to avoid an error.
52717 Use char because int might match the return type of a GCC
52718 builtin and then its argument prototype would still apply. */
52719 #ifdef __cplusplus
52720 extern "C"
52721 #endif
52722 char sin ();
52724 main ()
52726 return sin ();
52728 return 0;
52730 _ACEOF
52731 if ac_fn_c_try_link "$LINENO"; then :
52732 ac_cv_lib_m_sin=yes
52733 else
52734 ac_cv_lib_m_sin=no
52736 rm -f core conftest.err conftest.$ac_objext \
52737 conftest$ac_exeext conftest.$ac_ext
52738 LIBS=$ac_check_lib_save_LIBS
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52741 $as_echo "$ac_cv_lib_m_sin" >&6; }
52742 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52743 libm="-lm"
52746 ac_save_LIBS="$LIBS"
52747 LIBS="$LIBS $libm"
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52752 $as_echo_n "checking for isinf declaration... " >&6; }
52753 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52754 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52755 $as_echo_n "(cached) " >&6
52756 else
52759 ac_ext=cpp
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766 /* end confdefs.h. */
52767 #include <math.h>
52768 #ifdef HAVE_IEEEFP_H
52769 #include <ieeefp.h>
52770 #endif
52773 main ()
52775 isinf(0);
52777 return 0;
52779 _ACEOF
52780 if ac_fn_cxx_try_compile "$LINENO"; then :
52781 glibcxx_cv_func_isinf_use=yes
52782 else
52783 glibcxx_cv_func_isinf_use=no
52785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52786 ac_ext=c
52787 ac_cpp='$CPP $CPPFLAGS'
52788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52797 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52799 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52800 for ac_func in isinf
52801 do :
52802 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52803 if test "x$ac_cv_func_isinf" = x""yes; then :
52804 cat >>confdefs.h <<_ACEOF
52805 #define HAVE_ISINF 1
52806 _ACEOF
52809 done
52811 else
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52814 $as_echo_n "checking for _isinf declaration... " >&6; }
52815 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52816 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52817 $as_echo_n "(cached) " >&6
52818 else
52821 ac_ext=cpp
52822 ac_cpp='$CXXCPP $CPPFLAGS'
52823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52828 /* end confdefs.h. */
52829 #include <math.h>
52830 #ifdef HAVE_IEEEFP_H
52831 #include <ieeefp.h>
52832 #endif
52835 main ()
52837 _isinf(0);
52839 return 0;
52841 _ACEOF
52842 if ac_fn_cxx_try_compile "$LINENO"; then :
52843 glibcxx_cv_func__isinf_use=yes
52844 else
52845 glibcxx_cv_func__isinf_use=no
52847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52848 ac_ext=c
52849 ac_cpp='$CPP $CPPFLAGS'
52850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52859 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52861 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52862 for ac_func in _isinf
52863 do :
52864 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52865 if test "x$ac_cv_func__isinf" = x""yes; then :
52866 cat >>confdefs.h <<_ACEOF
52867 #define HAVE__ISINF 1
52868 _ACEOF
52871 done
52880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52881 $as_echo_n "checking for isnan declaration... " >&6; }
52882 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52883 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52884 $as_echo_n "(cached) " >&6
52885 else
52888 ac_ext=cpp
52889 ac_cpp='$CXXCPP $CPPFLAGS'
52890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895 /* end confdefs.h. */
52896 #include <math.h>
52897 #ifdef HAVE_IEEEFP_H
52898 #include <ieeefp.h>
52899 #endif
52902 main ()
52904 isnan(0);
52906 return 0;
52908 _ACEOF
52909 if ac_fn_cxx_try_compile "$LINENO"; then :
52910 glibcxx_cv_func_isnan_use=yes
52911 else
52912 glibcxx_cv_func_isnan_use=no
52914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52915 ac_ext=c
52916 ac_cpp='$CPP $CPPFLAGS'
52917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52926 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52928 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52929 for ac_func in isnan
52930 do :
52931 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52932 if test "x$ac_cv_func_isnan" = x""yes; then :
52933 cat >>confdefs.h <<_ACEOF
52934 #define HAVE_ISNAN 1
52935 _ACEOF
52938 done
52940 else
52942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52943 $as_echo_n "checking for _isnan declaration... " >&6; }
52944 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52945 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52946 $as_echo_n "(cached) " >&6
52947 else
52950 ac_ext=cpp
52951 ac_cpp='$CXXCPP $CPPFLAGS'
52952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52957 /* end confdefs.h. */
52958 #include <math.h>
52959 #ifdef HAVE_IEEEFP_H
52960 #include <ieeefp.h>
52961 #endif
52964 main ()
52966 _isnan(0);
52968 return 0;
52970 _ACEOF
52971 if ac_fn_cxx_try_compile "$LINENO"; then :
52972 glibcxx_cv_func__isnan_use=yes
52973 else
52974 glibcxx_cv_func__isnan_use=no
52976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52977 ac_ext=c
52978 ac_cpp='$CPP $CPPFLAGS'
52979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52988 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52990 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52991 for ac_func in _isnan
52992 do :
52993 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52994 if test "x$ac_cv_func__isnan" = x""yes; then :
52995 cat >>confdefs.h <<_ACEOF
52996 #define HAVE__ISNAN 1
52997 _ACEOF
53000 done
53009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53010 $as_echo_n "checking for finite declaration... " >&6; }
53011 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53012 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53013 $as_echo_n "(cached) " >&6
53014 else
53017 ac_ext=cpp
53018 ac_cpp='$CXXCPP $CPPFLAGS'
53019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53024 /* end confdefs.h. */
53025 #include <math.h>
53026 #ifdef HAVE_IEEEFP_H
53027 #include <ieeefp.h>
53028 #endif
53031 main ()
53033 finite(0);
53035 return 0;
53037 _ACEOF
53038 if ac_fn_cxx_try_compile "$LINENO"; then :
53039 glibcxx_cv_func_finite_use=yes
53040 else
53041 glibcxx_cv_func_finite_use=no
53043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53044 ac_ext=c
53045 ac_cpp='$CPP $CPPFLAGS'
53046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53055 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53057 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53058 for ac_func in finite
53059 do :
53060 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53061 if test "x$ac_cv_func_finite" = x""yes; then :
53062 cat >>confdefs.h <<_ACEOF
53063 #define HAVE_FINITE 1
53064 _ACEOF
53067 done
53069 else
53071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53072 $as_echo_n "checking for _finite declaration... " >&6; }
53073 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53074 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53075 $as_echo_n "(cached) " >&6
53076 else
53079 ac_ext=cpp
53080 ac_cpp='$CXXCPP $CPPFLAGS'
53081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h. */
53087 #include <math.h>
53088 #ifdef HAVE_IEEEFP_H
53089 #include <ieeefp.h>
53090 #endif
53093 main ()
53095 _finite(0);
53097 return 0;
53099 _ACEOF
53100 if ac_fn_cxx_try_compile "$LINENO"; then :
53101 glibcxx_cv_func__finite_use=yes
53102 else
53103 glibcxx_cv_func__finite_use=no
53105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53106 ac_ext=c
53107 ac_cpp='$CPP $CPPFLAGS'
53108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53117 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53119 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53120 for ac_func in _finite
53121 do :
53122 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53123 if test "x$ac_cv_func__finite" = x""yes; then :
53124 cat >>confdefs.h <<_ACEOF
53125 #define HAVE__FINITE 1
53126 _ACEOF
53129 done
53138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53139 $as_echo_n "checking for sincos declaration... " >&6; }
53140 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53141 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53142 $as_echo_n "(cached) " >&6
53143 else
53146 ac_ext=cpp
53147 ac_cpp='$CXXCPP $CPPFLAGS'
53148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53153 /* end confdefs.h. */
53154 #include <math.h>
53156 main ()
53158 sincos(0, 0, 0);
53160 return 0;
53162 _ACEOF
53163 if ac_fn_cxx_try_compile "$LINENO"; then :
53164 glibcxx_cv_func_sincos_use=yes
53165 else
53166 glibcxx_cv_func_sincos_use=no
53168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53169 ac_ext=c
53170 ac_cpp='$CPP $CPPFLAGS'
53171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53180 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53182 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53183 for ac_func in sincos
53184 do :
53185 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53186 if test "x$ac_cv_func_sincos" = x""yes; then :
53187 cat >>confdefs.h <<_ACEOF
53188 #define HAVE_SINCOS 1
53189 _ACEOF
53192 done
53194 else
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53197 $as_echo_n "checking for _sincos declaration... " >&6; }
53198 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53199 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53200 $as_echo_n "(cached) " >&6
53201 else
53204 ac_ext=cpp
53205 ac_cpp='$CXXCPP $CPPFLAGS'
53206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53211 /* end confdefs.h. */
53212 #include <math.h>
53214 main ()
53216 _sincos(0, 0, 0);
53218 return 0;
53220 _ACEOF
53221 if ac_fn_cxx_try_compile "$LINENO"; then :
53222 glibcxx_cv_func__sincos_use=yes
53223 else
53224 glibcxx_cv_func__sincos_use=no
53226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53227 ac_ext=c
53228 ac_cpp='$CPP $CPPFLAGS'
53229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53238 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53240 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53241 for ac_func in _sincos
53242 do :
53243 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53244 if test "x$ac_cv_func__sincos" = x""yes; then :
53245 cat >>confdefs.h <<_ACEOF
53246 #define HAVE__SINCOS 1
53247 _ACEOF
53250 done
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53260 $as_echo_n "checking for fpclass declaration... " >&6; }
53261 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53262 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <math.h>
53276 #ifdef HAVE_IEEEFP_H
53277 #include <ieeefp.h>
53278 #endif
53281 main ()
53283 fpclass(0);
53285 return 0;
53287 _ACEOF
53288 if ac_fn_cxx_try_compile "$LINENO"; then :
53289 glibcxx_cv_func_fpclass_use=yes
53290 else
53291 glibcxx_cv_func_fpclass_use=no
53293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53294 ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53305 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53307 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53308 for ac_func in fpclass
53309 do :
53310 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53311 if test "x$ac_cv_func_fpclass" = x""yes; then :
53312 cat >>confdefs.h <<_ACEOF
53313 #define HAVE_FPCLASS 1
53314 _ACEOF
53317 done
53319 else
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53322 $as_echo_n "checking for _fpclass declaration... " >&6; }
53323 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53324 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53325 $as_echo_n "(cached) " >&6
53326 else
53329 ac_ext=cpp
53330 ac_cpp='$CXXCPP $CPPFLAGS'
53331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53336 /* end confdefs.h. */
53337 #include <math.h>
53338 #ifdef HAVE_IEEEFP_H
53339 #include <ieeefp.h>
53340 #endif
53343 main ()
53345 _fpclass(0);
53347 return 0;
53349 _ACEOF
53350 if ac_fn_cxx_try_compile "$LINENO"; then :
53351 glibcxx_cv_func__fpclass_use=yes
53352 else
53353 glibcxx_cv_func__fpclass_use=no
53355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53356 ac_ext=c
53357 ac_cpp='$CPP $CPPFLAGS'
53358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53367 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53369 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53370 for ac_func in _fpclass
53371 do :
53372 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53373 if test "x$ac_cv_func__fpclass" = x""yes; then :
53374 cat >>confdefs.h <<_ACEOF
53375 #define HAVE__FPCLASS 1
53376 _ACEOF
53379 done
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53389 $as_echo_n "checking for qfpclass declaration... " >&6; }
53390 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53391 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53392 $as_echo_n "(cached) " >&6
53393 else
53396 ac_ext=cpp
53397 ac_cpp='$CXXCPP $CPPFLAGS'
53398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53403 /* end confdefs.h. */
53404 #include <math.h>
53405 #ifdef HAVE_IEEEFP_H
53406 #include <ieeefp.h>
53407 #endif
53410 main ()
53412 qfpclass(0);
53414 return 0;
53416 _ACEOF
53417 if ac_fn_cxx_try_compile "$LINENO"; then :
53418 glibcxx_cv_func_qfpclass_use=yes
53419 else
53420 glibcxx_cv_func_qfpclass_use=no
53422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53423 ac_ext=c
53424 ac_cpp='$CPP $CPPFLAGS'
53425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53434 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53436 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53437 for ac_func in qfpclass
53438 do :
53439 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53440 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53441 cat >>confdefs.h <<_ACEOF
53442 #define HAVE_QFPCLASS 1
53443 _ACEOF
53446 done
53448 else
53450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53451 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53452 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53453 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53454 $as_echo_n "(cached) " >&6
53455 else
53458 ac_ext=cpp
53459 ac_cpp='$CXXCPP $CPPFLAGS'
53460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53465 /* end confdefs.h. */
53466 #include <math.h>
53467 #ifdef HAVE_IEEEFP_H
53468 #include <ieeefp.h>
53469 #endif
53472 main ()
53474 _qfpclass(0);
53476 return 0;
53478 _ACEOF
53479 if ac_fn_cxx_try_compile "$LINENO"; then :
53480 glibcxx_cv_func__qfpclass_use=yes
53481 else
53482 glibcxx_cv_func__qfpclass_use=no
53484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53485 ac_ext=c
53486 ac_cpp='$CPP $CPPFLAGS'
53487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53496 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53498 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53499 for ac_func in _qfpclass
53500 do :
53501 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53502 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53503 cat >>confdefs.h <<_ACEOF
53504 #define HAVE__QFPCLASS 1
53505 _ACEOF
53508 done
53517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53518 $as_echo_n "checking for hypot declaration... " >&6; }
53519 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53520 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53521 $as_echo_n "(cached) " >&6
53522 else
53525 ac_ext=cpp
53526 ac_cpp='$CXXCPP $CPPFLAGS'
53527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53532 /* end confdefs.h. */
53533 #include <math.h>
53535 main ()
53537 hypot(0, 0);
53539 return 0;
53541 _ACEOF
53542 if ac_fn_cxx_try_compile "$LINENO"; then :
53543 glibcxx_cv_func_hypot_use=yes
53544 else
53545 glibcxx_cv_func_hypot_use=no
53547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53548 ac_ext=c
53549 ac_cpp='$CPP $CPPFLAGS'
53550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53559 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53561 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53562 for ac_func in hypot
53563 do :
53564 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53565 if test "x$ac_cv_func_hypot" = x""yes; then :
53566 cat >>confdefs.h <<_ACEOF
53567 #define HAVE_HYPOT 1
53568 _ACEOF
53571 done
53573 else
53575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53576 $as_echo_n "checking for _hypot declaration... " >&6; }
53577 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53578 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53579 $as_echo_n "(cached) " >&6
53580 else
53583 ac_ext=cpp
53584 ac_cpp='$CXXCPP $CPPFLAGS'
53585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53590 /* end confdefs.h. */
53591 #include <math.h>
53593 main ()
53595 _hypot(0, 0);
53597 return 0;
53599 _ACEOF
53600 if ac_fn_cxx_try_compile "$LINENO"; then :
53601 glibcxx_cv_func__hypot_use=yes
53602 else
53603 glibcxx_cv_func__hypot_use=no
53605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53606 ac_ext=c
53607 ac_cpp='$CPP $CPPFLAGS'
53608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53617 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53619 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53620 for ac_func in _hypot
53621 do :
53622 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53623 if test "x$ac_cv_func__hypot" = x""yes; then :
53624 cat >>confdefs.h <<_ACEOF
53625 #define HAVE__HYPOT 1
53626 _ACEOF
53629 done
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53639 $as_echo_n "checking for float trig functions... " >&6; }
53640 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53641 $as_echo_n "(cached) " >&6
53642 else
53645 ac_ext=cpp
53646 ac_cpp='$CXXCPP $CPPFLAGS'
53647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53652 /* end confdefs.h. */
53653 #include <math.h>
53655 main ()
53657 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53659 return 0;
53661 _ACEOF
53662 if ac_fn_cxx_try_compile "$LINENO"; then :
53663 glibcxx_cv_func_float_trig_use=yes
53664 else
53665 glibcxx_cv_func_float_trig_use=no
53667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53668 ac_ext=c
53669 ac_cpp='$CPP $CPPFLAGS'
53670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53677 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53678 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53679 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53680 do :
53681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53683 eval as_val=\$$as_ac_var
53684 if test "x$as_val" = x""yes; then :
53685 cat >>confdefs.h <<_ACEOF
53686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53687 _ACEOF
53690 done
53692 else
53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53694 $as_echo_n "checking for _float trig functions... " >&6; }
53695 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53696 $as_echo_n "(cached) " >&6
53697 else
53700 ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h. */
53708 #include <math.h>
53710 main ()
53712 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53714 return 0;
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718 glibcxx_cv_func__float_trig_use=yes
53719 else
53720 glibcxx_cv_func__float_trig_use=no
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53732 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53733 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53734 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53735 do :
53736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53738 eval as_val=\$$as_ac_var
53739 if test "x$as_val" = x""yes; then :
53740 cat >>confdefs.h <<_ACEOF
53741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53742 _ACEOF
53745 done
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53755 $as_echo_n "checking for float round functions... " >&6; }
53756 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53758 else
53761 ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53769 #include <math.h>
53771 main ()
53773 ceilf (0); floorf (0);
53775 return 0;
53777 _ACEOF
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779 glibcxx_cv_func_float_round_use=yes
53780 else
53781 glibcxx_cv_func_float_round_use=no
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53784 ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53793 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53794 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53795 for ac_func in ceilf floorf
53796 do :
53797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53799 eval as_val=\$$as_ac_var
53800 if test "x$as_val" = x""yes; then :
53801 cat >>confdefs.h <<_ACEOF
53802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53803 _ACEOF
53806 done
53808 else
53809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53810 $as_echo_n "checking for _float round functions... " >&6; }
53811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53812 $as_echo_n "(cached) " >&6
53813 else
53816 ac_ext=cpp
53817 ac_cpp='$CXXCPP $CPPFLAGS'
53818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53823 /* end confdefs.h. */
53824 #include <math.h>
53826 main ()
53828 _ceilf (0); _floorf (0);
53830 return 0;
53832 _ACEOF
53833 if ac_fn_cxx_try_compile "$LINENO"; then :
53834 glibcxx_cv_func__float_round_use=yes
53835 else
53836 glibcxx_cv_func__float_round_use=no
53838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53839 ac_ext=c
53840 ac_cpp='$CPP $CPPFLAGS'
53841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53848 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53849 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53850 for ac_func in _ceilf _floorf
53851 do :
53852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53854 eval as_val=\$$as_ac_var
53855 if test "x$as_val" = x""yes; then :
53856 cat >>confdefs.h <<_ACEOF
53857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53858 _ACEOF
53861 done
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53872 $as_echo_n "checking for expf declaration... " >&6; }
53873 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53874 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53876 else
53879 ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 #include <math.h>
53888 #ifdef HAVE_IEEEFP_H
53889 #include <ieeefp.h>
53890 #endif
53893 main ()
53895 expf(0);
53897 return 0;
53899 _ACEOF
53900 if ac_fn_cxx_try_compile "$LINENO"; then :
53901 glibcxx_cv_func_expf_use=yes
53902 else
53903 glibcxx_cv_func_expf_use=no
53905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53906 ac_ext=c
53907 ac_cpp='$CPP $CPPFLAGS'
53908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53917 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53919 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53920 for ac_func in expf
53921 do :
53922 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53923 if test "x$ac_cv_func_expf" = x""yes; then :
53924 cat >>confdefs.h <<_ACEOF
53925 #define HAVE_EXPF 1
53926 _ACEOF
53929 done
53931 else
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53934 $as_echo_n "checking for _expf declaration... " >&6; }
53935 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53936 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53937 $as_echo_n "(cached) " >&6
53938 else
53941 ac_ext=cpp
53942 ac_cpp='$CXXCPP $CPPFLAGS'
53943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53948 /* end confdefs.h. */
53949 #include <math.h>
53950 #ifdef HAVE_IEEEFP_H
53951 #include <ieeefp.h>
53952 #endif
53955 main ()
53957 _expf(0);
53959 return 0;
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963 glibcxx_cv_func__expf_use=yes
53964 else
53965 glibcxx_cv_func__expf_use=no
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968 ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53979 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53981 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53982 for ac_func in _expf
53983 do :
53984 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53985 if test "x$ac_cv_func__expf" = x""yes; then :
53986 cat >>confdefs.h <<_ACEOF
53987 #define HAVE__EXPF 1
53988 _ACEOF
53991 done
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54001 $as_echo_n "checking for isnanf declaration... " >&6; }
54002 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54003 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54004 $as_echo_n "(cached) " >&6
54005 else
54008 ac_ext=cpp
54009 ac_cpp='$CXXCPP $CPPFLAGS'
54010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54015 /* end confdefs.h. */
54016 #include <math.h>
54017 #ifdef HAVE_IEEEFP_H
54018 #include <ieeefp.h>
54019 #endif
54022 main ()
54024 isnanf(0);
54026 return 0;
54028 _ACEOF
54029 if ac_fn_cxx_try_compile "$LINENO"; then :
54030 glibcxx_cv_func_isnanf_use=yes
54031 else
54032 glibcxx_cv_func_isnanf_use=no
54034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54035 ac_ext=c
54036 ac_cpp='$CPP $CPPFLAGS'
54037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54046 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54048 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54049 for ac_func in isnanf
54050 do :
54051 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54052 if test "x$ac_cv_func_isnanf" = x""yes; then :
54053 cat >>confdefs.h <<_ACEOF
54054 #define HAVE_ISNANF 1
54055 _ACEOF
54058 done
54060 else
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54063 $as_echo_n "checking for _isnanf declaration... " >&6; }
54064 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54065 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54066 $as_echo_n "(cached) " >&6
54067 else
54070 ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54077 /* end confdefs.h. */
54078 #include <math.h>
54079 #ifdef HAVE_IEEEFP_H
54080 #include <ieeefp.h>
54081 #endif
54084 main ()
54086 _isnanf(0);
54088 return 0;
54090 _ACEOF
54091 if ac_fn_cxx_try_compile "$LINENO"; then :
54092 glibcxx_cv_func__isnanf_use=yes
54093 else
54094 glibcxx_cv_func__isnanf_use=no
54096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54097 ac_ext=c
54098 ac_cpp='$CPP $CPPFLAGS'
54099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54108 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54110 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54111 for ac_func in _isnanf
54112 do :
54113 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54114 if test "x$ac_cv_func__isnanf" = x""yes; then :
54115 cat >>confdefs.h <<_ACEOF
54116 #define HAVE__ISNANF 1
54117 _ACEOF
54120 done
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54130 $as_echo_n "checking for isinff declaration... " >&6; }
54131 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54132 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54133 $as_echo_n "(cached) " >&6
54134 else
54137 ac_ext=cpp
54138 ac_cpp='$CXXCPP $CPPFLAGS'
54139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54144 /* end confdefs.h. */
54145 #include <math.h>
54146 #ifdef HAVE_IEEEFP_H
54147 #include <ieeefp.h>
54148 #endif
54151 main ()
54153 isinff(0);
54155 return 0;
54157 _ACEOF
54158 if ac_fn_cxx_try_compile "$LINENO"; then :
54159 glibcxx_cv_func_isinff_use=yes
54160 else
54161 glibcxx_cv_func_isinff_use=no
54163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54164 ac_ext=c
54165 ac_cpp='$CPP $CPPFLAGS'
54166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54175 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54177 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54178 for ac_func in isinff
54179 do :
54180 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54181 if test "x$ac_cv_func_isinff" = x""yes; then :
54182 cat >>confdefs.h <<_ACEOF
54183 #define HAVE_ISINFF 1
54184 _ACEOF
54187 done
54189 else
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54192 $as_echo_n "checking for _isinff declaration... " >&6; }
54193 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54194 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54195 $as_echo_n "(cached) " >&6
54196 else
54199 ac_ext=cpp
54200 ac_cpp='$CXXCPP $CPPFLAGS'
54201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54206 /* end confdefs.h. */
54207 #include <math.h>
54208 #ifdef HAVE_IEEEFP_H
54209 #include <ieeefp.h>
54210 #endif
54213 main ()
54215 _isinff(0);
54217 return 0;
54219 _ACEOF
54220 if ac_fn_cxx_try_compile "$LINENO"; then :
54221 glibcxx_cv_func__isinff_use=yes
54222 else
54223 glibcxx_cv_func__isinff_use=no
54225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54226 ac_ext=c
54227 ac_cpp='$CPP $CPPFLAGS'
54228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54237 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54239 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54240 for ac_func in _isinff
54241 do :
54242 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54243 if test "x$ac_cv_func__isinff" = x""yes; then :
54244 cat >>confdefs.h <<_ACEOF
54245 #define HAVE__ISINFF 1
54246 _ACEOF
54249 done
54258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54259 $as_echo_n "checking for atan2f declaration... " >&6; }
54260 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54261 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54262 $as_echo_n "(cached) " >&6
54263 else
54266 ac_ext=cpp
54267 ac_cpp='$CXXCPP $CPPFLAGS'
54268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54273 /* end confdefs.h. */
54274 #include <math.h>
54276 main ()
54278 atan2f(0, 0);
54280 return 0;
54282 _ACEOF
54283 if ac_fn_cxx_try_compile "$LINENO"; then :
54284 glibcxx_cv_func_atan2f_use=yes
54285 else
54286 glibcxx_cv_func_atan2f_use=no
54288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54289 ac_ext=c
54290 ac_cpp='$CPP $CPPFLAGS'
54291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54300 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54302 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54303 for ac_func in atan2f
54304 do :
54305 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54306 if test "x$ac_cv_func_atan2f" = x""yes; then :
54307 cat >>confdefs.h <<_ACEOF
54308 #define HAVE_ATAN2F 1
54309 _ACEOF
54312 done
54314 else
54316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54317 $as_echo_n "checking for _atan2f declaration... " >&6; }
54318 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54319 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54320 $as_echo_n "(cached) " >&6
54321 else
54324 ac_ext=cpp
54325 ac_cpp='$CXXCPP $CPPFLAGS'
54326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54331 /* end confdefs.h. */
54332 #include <math.h>
54334 main ()
54336 _atan2f(0, 0);
54338 return 0;
54340 _ACEOF
54341 if ac_fn_cxx_try_compile "$LINENO"; then :
54342 glibcxx_cv_func__atan2f_use=yes
54343 else
54344 glibcxx_cv_func__atan2f_use=no
54346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54347 ac_ext=c
54348 ac_cpp='$CPP $CPPFLAGS'
54349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54358 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54360 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54361 for ac_func in _atan2f
54362 do :
54363 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54364 if test "x$ac_cv_func__atan2f" = x""yes; then :
54365 cat >>confdefs.h <<_ACEOF
54366 #define HAVE__ATAN2F 1
54367 _ACEOF
54370 done
54379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54380 $as_echo_n "checking for fabsf declaration... " >&6; }
54381 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54382 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54383 $as_echo_n "(cached) " >&6
54384 else
54387 ac_ext=cpp
54388 ac_cpp='$CXXCPP $CPPFLAGS'
54389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54394 /* end confdefs.h. */
54395 #include <math.h>
54396 #ifdef HAVE_IEEEFP_H
54397 #include <ieeefp.h>
54398 #endif
54401 main ()
54403 fabsf(0);
54405 return 0;
54407 _ACEOF
54408 if ac_fn_cxx_try_compile "$LINENO"; then :
54409 glibcxx_cv_func_fabsf_use=yes
54410 else
54411 glibcxx_cv_func_fabsf_use=no
54413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54414 ac_ext=c
54415 ac_cpp='$CPP $CPPFLAGS'
54416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54425 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54427 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54428 for ac_func in fabsf
54429 do :
54430 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54431 if test "x$ac_cv_func_fabsf" = x""yes; then :
54432 cat >>confdefs.h <<_ACEOF
54433 #define HAVE_FABSF 1
54434 _ACEOF
54437 done
54439 else
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54442 $as_echo_n "checking for _fabsf declaration... " >&6; }
54443 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54444 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54445 $as_echo_n "(cached) " >&6
54446 else
54449 ac_ext=cpp
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54456 /* end confdefs.h. */
54457 #include <math.h>
54458 #ifdef HAVE_IEEEFP_H
54459 #include <ieeefp.h>
54460 #endif
54463 main ()
54465 _fabsf(0);
54467 return 0;
54469 _ACEOF
54470 if ac_fn_cxx_try_compile "$LINENO"; then :
54471 glibcxx_cv_func__fabsf_use=yes
54472 else
54473 glibcxx_cv_func__fabsf_use=no
54475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476 ac_ext=c
54477 ac_cpp='$CPP $CPPFLAGS'
54478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54487 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54489 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54490 for ac_func in _fabsf
54491 do :
54492 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54493 if test "x$ac_cv_func__fabsf" = x""yes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define HAVE__FABSF 1
54496 _ACEOF
54499 done
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54509 $as_echo_n "checking for fmodf declaration... " >&6; }
54510 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54511 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54512 $as_echo_n "(cached) " >&6
54513 else
54516 ac_ext=cpp
54517 ac_cpp='$CXXCPP $CPPFLAGS'
54518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54523 /* end confdefs.h. */
54524 #include <math.h>
54526 main ()
54528 fmodf(0, 0);
54530 return 0;
54532 _ACEOF
54533 if ac_fn_cxx_try_compile "$LINENO"; then :
54534 glibcxx_cv_func_fmodf_use=yes
54535 else
54536 glibcxx_cv_func_fmodf_use=no
54538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54539 ac_ext=c
54540 ac_cpp='$CPP $CPPFLAGS'
54541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54550 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54552 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54553 for ac_func in fmodf
54554 do :
54555 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54556 if test "x$ac_cv_func_fmodf" = x""yes; then :
54557 cat >>confdefs.h <<_ACEOF
54558 #define HAVE_FMODF 1
54559 _ACEOF
54562 done
54564 else
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54567 $as_echo_n "checking for _fmodf declaration... " >&6; }
54568 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54569 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54570 $as_echo_n "(cached) " >&6
54571 else
54574 ac_ext=cpp
54575 ac_cpp='$CXXCPP $CPPFLAGS'
54576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54581 /* end confdefs.h. */
54582 #include <math.h>
54584 main ()
54586 _fmodf(0, 0);
54588 return 0;
54590 _ACEOF
54591 if ac_fn_cxx_try_compile "$LINENO"; then :
54592 glibcxx_cv_func__fmodf_use=yes
54593 else
54594 glibcxx_cv_func__fmodf_use=no
54596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54597 ac_ext=c
54598 ac_cpp='$CPP $CPPFLAGS'
54599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54608 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54610 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54611 for ac_func in _fmodf
54612 do :
54613 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54614 if test "x$ac_cv_func__fmodf" = x""yes; then :
54615 cat >>confdefs.h <<_ACEOF
54616 #define HAVE__FMODF 1
54617 _ACEOF
54620 done
54629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54630 $as_echo_n "checking for frexpf declaration... " >&6; }
54631 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54632 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54633 $as_echo_n "(cached) " >&6
54634 else
54637 ac_ext=cpp
54638 ac_cpp='$CXXCPP $CPPFLAGS'
54639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54644 /* end confdefs.h. */
54645 #include <math.h>
54647 main ()
54649 frexpf(0, 0);
54651 return 0;
54653 _ACEOF
54654 if ac_fn_cxx_try_compile "$LINENO"; then :
54655 glibcxx_cv_func_frexpf_use=yes
54656 else
54657 glibcxx_cv_func_frexpf_use=no
54659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54660 ac_ext=c
54661 ac_cpp='$CPP $CPPFLAGS'
54662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54671 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54673 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54674 for ac_func in frexpf
54675 do :
54676 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54677 if test "x$ac_cv_func_frexpf" = x""yes; then :
54678 cat >>confdefs.h <<_ACEOF
54679 #define HAVE_FREXPF 1
54680 _ACEOF
54683 done
54685 else
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54688 $as_echo_n "checking for _frexpf declaration... " >&6; }
54689 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54690 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54691 $as_echo_n "(cached) " >&6
54692 else
54695 ac_ext=cpp
54696 ac_cpp='$CXXCPP $CPPFLAGS'
54697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54702 /* end confdefs.h. */
54703 #include <math.h>
54705 main ()
54707 _frexpf(0, 0);
54709 return 0;
54711 _ACEOF
54712 if ac_fn_cxx_try_compile "$LINENO"; then :
54713 glibcxx_cv_func__frexpf_use=yes
54714 else
54715 glibcxx_cv_func__frexpf_use=no
54717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54718 ac_ext=c
54719 ac_cpp='$CPP $CPPFLAGS'
54720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54729 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54731 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54732 for ac_func in _frexpf
54733 do :
54734 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54735 if test "x$ac_cv_func__frexpf" = x""yes; then :
54736 cat >>confdefs.h <<_ACEOF
54737 #define HAVE__FREXPF 1
54738 _ACEOF
54741 done
54750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54751 $as_echo_n "checking for hypotf declaration... " >&6; }
54752 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54753 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54754 $as_echo_n "(cached) " >&6
54755 else
54758 ac_ext=cpp
54759 ac_cpp='$CXXCPP $CPPFLAGS'
54760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54765 /* end confdefs.h. */
54766 #include <math.h>
54768 main ()
54770 hypotf(0, 0);
54772 return 0;
54774 _ACEOF
54775 if ac_fn_cxx_try_compile "$LINENO"; then :
54776 glibcxx_cv_func_hypotf_use=yes
54777 else
54778 glibcxx_cv_func_hypotf_use=no
54780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54781 ac_ext=c
54782 ac_cpp='$CPP $CPPFLAGS'
54783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54792 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54794 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54795 for ac_func in hypotf
54796 do :
54797 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54798 if test "x$ac_cv_func_hypotf" = x""yes; then :
54799 cat >>confdefs.h <<_ACEOF
54800 #define HAVE_HYPOTF 1
54801 _ACEOF
54804 done
54806 else
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54809 $as_echo_n "checking for _hypotf declaration... " >&6; }
54810 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54811 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54812 $as_echo_n "(cached) " >&6
54813 else
54816 ac_ext=cpp
54817 ac_cpp='$CXXCPP $CPPFLAGS'
54818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54823 /* end confdefs.h. */
54824 #include <math.h>
54826 main ()
54828 _hypotf(0, 0);
54830 return 0;
54832 _ACEOF
54833 if ac_fn_cxx_try_compile "$LINENO"; then :
54834 glibcxx_cv_func__hypotf_use=yes
54835 else
54836 glibcxx_cv_func__hypotf_use=no
54838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54839 ac_ext=c
54840 ac_cpp='$CPP $CPPFLAGS'
54841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54850 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54852 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54853 for ac_func in _hypotf
54854 do :
54855 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54856 if test "x$ac_cv_func__hypotf" = x""yes; then :
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE__HYPOTF 1
54859 _ACEOF
54862 done
54871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54872 $as_echo_n "checking for ldexpf declaration... " >&6; }
54873 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54874 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54875 $as_echo_n "(cached) " >&6
54876 else
54879 ac_ext=cpp
54880 ac_cpp='$CXXCPP $CPPFLAGS'
54881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54886 /* end confdefs.h. */
54887 #include <math.h>
54889 main ()
54891 ldexpf(0, 0);
54893 return 0;
54895 _ACEOF
54896 if ac_fn_cxx_try_compile "$LINENO"; then :
54897 glibcxx_cv_func_ldexpf_use=yes
54898 else
54899 glibcxx_cv_func_ldexpf_use=no
54901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54902 ac_ext=c
54903 ac_cpp='$CPP $CPPFLAGS'
54904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54913 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54915 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54916 for ac_func in ldexpf
54917 do :
54918 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54919 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54920 cat >>confdefs.h <<_ACEOF
54921 #define HAVE_LDEXPF 1
54922 _ACEOF
54925 done
54927 else
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54930 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54931 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54932 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54933 $as_echo_n "(cached) " >&6
54934 else
54937 ac_ext=cpp
54938 ac_cpp='$CXXCPP $CPPFLAGS'
54939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54944 /* end confdefs.h. */
54945 #include <math.h>
54947 main ()
54949 _ldexpf(0, 0);
54951 return 0;
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func__ldexpf_use=yes
54956 else
54957 glibcxx_cv_func__ldexpf_use=no
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54971 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54973 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54974 for ac_func in _ldexpf
54975 do :
54976 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54977 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define HAVE__LDEXPF 1
54980 _ACEOF
54983 done
54992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54993 $as_echo_n "checking for logf declaration... " >&6; }
54994 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54995 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54996 $as_echo_n "(cached) " >&6
54997 else
55000 ac_ext=cpp
55001 ac_cpp='$CXXCPP $CPPFLAGS'
55002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55007 /* end confdefs.h. */
55008 #include <math.h>
55009 #ifdef HAVE_IEEEFP_H
55010 #include <ieeefp.h>
55011 #endif
55014 main ()
55016 logf(0);
55018 return 0;
55020 _ACEOF
55021 if ac_fn_cxx_try_compile "$LINENO"; then :
55022 glibcxx_cv_func_logf_use=yes
55023 else
55024 glibcxx_cv_func_logf_use=no
55026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55027 ac_ext=c
55028 ac_cpp='$CPP $CPPFLAGS'
55029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55038 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55040 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55041 for ac_func in logf
55042 do :
55043 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55044 if test "x$ac_cv_func_logf" = x""yes; then :
55045 cat >>confdefs.h <<_ACEOF
55046 #define HAVE_LOGF 1
55047 _ACEOF
55050 done
55052 else
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55055 $as_echo_n "checking for _logf declaration... " >&6; }
55056 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55057 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55058 $as_echo_n "(cached) " >&6
55059 else
55062 ac_ext=cpp
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h. */
55070 #include <math.h>
55071 #ifdef HAVE_IEEEFP_H
55072 #include <ieeefp.h>
55073 #endif
55076 main ()
55078 _logf(0);
55080 return 0;
55082 _ACEOF
55083 if ac_fn_cxx_try_compile "$LINENO"; then :
55084 glibcxx_cv_func__logf_use=yes
55085 else
55086 glibcxx_cv_func__logf_use=no
55088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55089 ac_ext=c
55090 ac_cpp='$CPP $CPPFLAGS'
55091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55100 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55102 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55103 for ac_func in _logf
55104 do :
55105 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55106 if test "x$ac_cv_func__logf" = x""yes; then :
55107 cat >>confdefs.h <<_ACEOF
55108 #define HAVE__LOGF 1
55109 _ACEOF
55112 done
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55122 $as_echo_n "checking for log10f declaration... " >&6; }
55123 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55124 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55125 $as_echo_n "(cached) " >&6
55126 else
55129 ac_ext=cpp
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55137 #include <math.h>
55138 #ifdef HAVE_IEEEFP_H
55139 #include <ieeefp.h>
55140 #endif
55143 main ()
55145 log10f(0);
55147 return 0;
55149 _ACEOF
55150 if ac_fn_cxx_try_compile "$LINENO"; then :
55151 glibcxx_cv_func_log10f_use=yes
55152 else
55153 glibcxx_cv_func_log10f_use=no
55155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55156 ac_ext=c
55157 ac_cpp='$CPP $CPPFLAGS'
55158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55167 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55169 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55170 for ac_func in log10f
55171 do :
55172 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55173 if test "x$ac_cv_func_log10f" = x""yes; then :
55174 cat >>confdefs.h <<_ACEOF
55175 #define HAVE_LOG10F 1
55176 _ACEOF
55179 done
55181 else
55183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55184 $as_echo_n "checking for _log10f declaration... " >&6; }
55185 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55186 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55187 $as_echo_n "(cached) " >&6
55188 else
55191 ac_ext=cpp
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55198 /* end confdefs.h. */
55199 #include <math.h>
55200 #ifdef HAVE_IEEEFP_H
55201 #include <ieeefp.h>
55202 #endif
55205 main ()
55207 _log10f(0);
55209 return 0;
55211 _ACEOF
55212 if ac_fn_cxx_try_compile "$LINENO"; then :
55213 glibcxx_cv_func__log10f_use=yes
55214 else
55215 glibcxx_cv_func__log10f_use=no
55217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55218 ac_ext=c
55219 ac_cpp='$CPP $CPPFLAGS'
55220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55229 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55231 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55232 for ac_func in _log10f
55233 do :
55234 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55235 if test "x$ac_cv_func__log10f" = x""yes; then :
55236 cat >>confdefs.h <<_ACEOF
55237 #define HAVE__LOG10F 1
55238 _ACEOF
55241 done
55250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55251 $as_echo_n "checking for modff declaration... " >&6; }
55252 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55253 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55254 $as_echo_n "(cached) " >&6
55255 else
55258 ac_ext=cpp
55259 ac_cpp='$CXXCPP $CPPFLAGS'
55260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55265 /* end confdefs.h. */
55266 #include <math.h>
55268 main ()
55270 modff(0, 0);
55272 return 0;
55274 _ACEOF
55275 if ac_fn_cxx_try_compile "$LINENO"; then :
55276 glibcxx_cv_func_modff_use=yes
55277 else
55278 glibcxx_cv_func_modff_use=no
55280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55281 ac_ext=c
55282 ac_cpp='$CPP $CPPFLAGS'
55283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55292 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55294 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55295 for ac_func in modff
55296 do :
55297 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55298 if test "x$ac_cv_func_modff" = x""yes; then :
55299 cat >>confdefs.h <<_ACEOF
55300 #define HAVE_MODFF 1
55301 _ACEOF
55304 done
55306 else
55308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55309 $as_echo_n "checking for _modff declaration... " >&6; }
55310 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55311 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55312 $as_echo_n "(cached) " >&6
55313 else
55316 ac_ext=cpp
55317 ac_cpp='$CXXCPP $CPPFLAGS'
55318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55323 /* end confdefs.h. */
55324 #include <math.h>
55326 main ()
55328 _modff(0, 0);
55330 return 0;
55332 _ACEOF
55333 if ac_fn_cxx_try_compile "$LINENO"; then :
55334 glibcxx_cv_func__modff_use=yes
55335 else
55336 glibcxx_cv_func__modff_use=no
55338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55339 ac_ext=c
55340 ac_cpp='$CPP $CPPFLAGS'
55341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55350 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55352 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55353 for ac_func in _modff
55354 do :
55355 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55356 if test "x$ac_cv_func__modff" = x""yes; then :
55357 cat >>confdefs.h <<_ACEOF
55358 #define HAVE__MODFF 1
55359 _ACEOF
55362 done
55371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55372 $as_echo_n "checking for modf declaration... " >&6; }
55373 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55374 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55375 $as_echo_n "(cached) " >&6
55376 else
55379 ac_ext=cpp
55380 ac_cpp='$CXXCPP $CPPFLAGS'
55381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55386 /* end confdefs.h. */
55387 #include <math.h>
55389 main ()
55391 modf(0, 0);
55393 return 0;
55395 _ACEOF
55396 if ac_fn_cxx_try_compile "$LINENO"; then :
55397 glibcxx_cv_func_modf_use=yes
55398 else
55399 glibcxx_cv_func_modf_use=no
55401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55402 ac_ext=c
55403 ac_cpp='$CPP $CPPFLAGS'
55404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55413 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55415 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55416 for ac_func in modf
55417 do :
55418 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55419 if test "x$ac_cv_func_modf" = x""yes; then :
55420 cat >>confdefs.h <<_ACEOF
55421 #define HAVE_MODF 1
55422 _ACEOF
55425 done
55427 else
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55430 $as_echo_n "checking for _modf declaration... " >&6; }
55431 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55432 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55433 $as_echo_n "(cached) " >&6
55434 else
55437 ac_ext=cpp
55438 ac_cpp='$CXXCPP $CPPFLAGS'
55439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55444 /* end confdefs.h. */
55445 #include <math.h>
55447 main ()
55449 _modf(0, 0);
55451 return 0;
55453 _ACEOF
55454 if ac_fn_cxx_try_compile "$LINENO"; then :
55455 glibcxx_cv_func__modf_use=yes
55456 else
55457 glibcxx_cv_func__modf_use=no
55459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55460 ac_ext=c
55461 ac_cpp='$CPP $CPPFLAGS'
55462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55471 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55473 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55474 for ac_func in _modf
55475 do :
55476 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55477 if test "x$ac_cv_func__modf" = x""yes; then :
55478 cat >>confdefs.h <<_ACEOF
55479 #define HAVE__MODF 1
55480 _ACEOF
55483 done
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55493 $as_echo_n "checking for powf declaration... " >&6; }
55494 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55495 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55496 $as_echo_n "(cached) " >&6
55497 else
55500 ac_ext=cpp
55501 ac_cpp='$CXXCPP $CPPFLAGS'
55502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55507 /* end confdefs.h. */
55508 #include <math.h>
55510 main ()
55512 powf(0, 0);
55514 return 0;
55516 _ACEOF
55517 if ac_fn_cxx_try_compile "$LINENO"; then :
55518 glibcxx_cv_func_powf_use=yes
55519 else
55520 glibcxx_cv_func_powf_use=no
55522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55523 ac_ext=c
55524 ac_cpp='$CPP $CPPFLAGS'
55525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55534 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55536 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55537 for ac_func in powf
55538 do :
55539 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55540 if test "x$ac_cv_func_powf" = x""yes; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define HAVE_POWF 1
55543 _ACEOF
55546 done
55548 else
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55551 $as_echo_n "checking for _powf declaration... " >&6; }
55552 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55553 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55554 $as_echo_n "(cached) " >&6
55555 else
55558 ac_ext=cpp
55559 ac_cpp='$CXXCPP $CPPFLAGS'
55560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55565 /* end confdefs.h. */
55566 #include <math.h>
55568 main ()
55570 _powf(0, 0);
55572 return 0;
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func__powf_use=yes
55577 else
55578 glibcxx_cv_func__powf_use=no
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55592 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55594 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55595 for ac_func in _powf
55596 do :
55597 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55598 if test "x$ac_cv_func__powf" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE__POWF 1
55601 _ACEOF
55604 done
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55614 $as_echo_n "checking for sqrtf declaration... " >&6; }
55615 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55616 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55617 $as_echo_n "(cached) " >&6
55618 else
55621 ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h. */
55629 #include <math.h>
55630 #ifdef HAVE_IEEEFP_H
55631 #include <ieeefp.h>
55632 #endif
55635 main ()
55637 sqrtf(0);
55639 return 0;
55641 _ACEOF
55642 if ac_fn_cxx_try_compile "$LINENO"; then :
55643 glibcxx_cv_func_sqrtf_use=yes
55644 else
55645 glibcxx_cv_func_sqrtf_use=no
55647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55648 ac_ext=c
55649 ac_cpp='$CPP $CPPFLAGS'
55650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55659 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55661 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55662 for ac_func in sqrtf
55663 do :
55664 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55665 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55666 cat >>confdefs.h <<_ACEOF
55667 #define HAVE_SQRTF 1
55668 _ACEOF
55671 done
55673 else
55675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55676 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55679 $as_echo_n "(cached) " >&6
55680 else
55683 ac_ext=cpp
55684 ac_cpp='$CXXCPP $CPPFLAGS'
55685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55690 /* end confdefs.h. */
55691 #include <math.h>
55692 #ifdef HAVE_IEEEFP_H
55693 #include <ieeefp.h>
55694 #endif
55697 main ()
55699 _sqrtf(0);
55701 return 0;
55703 _ACEOF
55704 if ac_fn_cxx_try_compile "$LINENO"; then :
55705 glibcxx_cv_func__sqrtf_use=yes
55706 else
55707 glibcxx_cv_func__sqrtf_use=no
55709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55710 ac_ext=c
55711 ac_cpp='$CPP $CPPFLAGS'
55712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55721 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55723 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55724 for ac_func in _sqrtf
55725 do :
55726 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55727 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55728 cat >>confdefs.h <<_ACEOF
55729 #define HAVE__SQRTF 1
55730 _ACEOF
55733 done
55742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55743 $as_echo_n "checking for sincosf declaration... " >&6; }
55744 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55745 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55746 $as_echo_n "(cached) " >&6
55747 else
55750 ac_ext=cpp
55751 ac_cpp='$CXXCPP $CPPFLAGS'
55752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55757 /* end confdefs.h. */
55758 #include <math.h>
55760 main ()
55762 sincosf(0, 0, 0);
55764 return 0;
55766 _ACEOF
55767 if ac_fn_cxx_try_compile "$LINENO"; then :
55768 glibcxx_cv_func_sincosf_use=yes
55769 else
55770 glibcxx_cv_func_sincosf_use=no
55772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55773 ac_ext=c
55774 ac_cpp='$CPP $CPPFLAGS'
55775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55784 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55786 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55787 for ac_func in sincosf
55788 do :
55789 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55790 if test "x$ac_cv_func_sincosf" = x""yes; then :
55791 cat >>confdefs.h <<_ACEOF
55792 #define HAVE_SINCOSF 1
55793 _ACEOF
55796 done
55798 else
55800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55801 $as_echo_n "checking for _sincosf declaration... " >&6; }
55802 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55803 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55804 $as_echo_n "(cached) " >&6
55805 else
55808 ac_ext=cpp
55809 ac_cpp='$CXXCPP $CPPFLAGS'
55810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 #include <math.h>
55818 main ()
55820 _sincosf(0, 0, 0);
55822 return 0;
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func__sincosf_use=yes
55827 else
55828 glibcxx_cv_func__sincosf_use=no
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55842 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55844 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55845 for ac_func in _sincosf
55846 do :
55847 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55848 if test "x$ac_cv_func__sincosf" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE__SINCOSF 1
55851 _ACEOF
55854 done
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55864 $as_echo_n "checking for finitef declaration... " >&6; }
55865 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55866 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55867 $as_echo_n "(cached) " >&6
55868 else
55871 ac_ext=cpp
55872 ac_cpp='$CXXCPP $CPPFLAGS'
55873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55878 /* end confdefs.h. */
55879 #include <math.h>
55880 #ifdef HAVE_IEEEFP_H
55881 #include <ieeefp.h>
55882 #endif
55885 main ()
55887 finitef(0);
55889 return 0;
55891 _ACEOF
55892 if ac_fn_cxx_try_compile "$LINENO"; then :
55893 glibcxx_cv_func_finitef_use=yes
55894 else
55895 glibcxx_cv_func_finitef_use=no
55897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55898 ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55909 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55911 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55912 for ac_func in finitef
55913 do :
55914 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55915 if test "x$ac_cv_func_finitef" = x""yes; then :
55916 cat >>confdefs.h <<_ACEOF
55917 #define HAVE_FINITEF 1
55918 _ACEOF
55921 done
55923 else
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55926 $as_echo_n "checking for _finitef declaration... " >&6; }
55927 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55928 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55942 #ifdef HAVE_IEEEFP_H
55943 #include <ieeefp.h>
55944 #endif
55947 main ()
55949 _finitef(0);
55951 return 0;
55953 _ACEOF
55954 if ac_fn_cxx_try_compile "$LINENO"; then :
55955 glibcxx_cv_func__finitef_use=yes
55956 else
55957 glibcxx_cv_func__finitef_use=no
55959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55960 ac_ext=c
55961 ac_cpp='$CPP $CPPFLAGS'
55962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55971 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55973 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55974 for ac_func in _finitef
55975 do :
55976 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55977 if test "x$ac_cv_func__finitef" = x""yes; then :
55978 cat >>confdefs.h <<_ACEOF
55979 #define HAVE__FINITEF 1
55980 _ACEOF
55983 done
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55993 $as_echo_n "checking for long double trig functions... " >&6; }
55994 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55995 $as_echo_n "(cached) " >&6
55996 else
55999 ac_ext=cpp
56000 ac_cpp='$CXXCPP $CPPFLAGS'
56001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56006 /* end confdefs.h. */
56007 #include <math.h>
56009 main ()
56011 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56013 return 0;
56015 _ACEOF
56016 if ac_fn_cxx_try_compile "$LINENO"; then :
56017 glibcxx_cv_func_long_double_trig_use=yes
56018 else
56019 glibcxx_cv_func_long_double_trig_use=no
56021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56022 ac_ext=c
56023 ac_cpp='$CPP $CPPFLAGS'
56024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56031 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56032 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56033 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56034 do :
56035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56037 eval as_val=\$$as_ac_var
56038 if test "x$as_val" = x""yes; then :
56039 cat >>confdefs.h <<_ACEOF
56040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56041 _ACEOF
56044 done
56046 else
56047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56048 $as_echo_n "checking for _long double trig functions... " >&6; }
56049 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56050 $as_echo_n "(cached) " >&6
56051 else
56054 ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h. */
56062 #include <math.h>
56064 main ()
56066 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56068 return 0;
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072 glibcxx_cv_func__long_double_trig_use=yes
56073 else
56074 glibcxx_cv_func__long_double_trig_use=no
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077 ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56086 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56087 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56088 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56089 do :
56090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56092 eval as_val=\$$as_ac_var
56093 if test "x$as_val" = x""yes; then :
56094 cat >>confdefs.h <<_ACEOF
56095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56096 _ACEOF
56099 done
56108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56109 $as_echo_n "checking for long double round functions... " >&6; }
56110 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56111 $as_echo_n "(cached) " >&6
56112 else
56115 ac_ext=cpp
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h. */
56123 #include <math.h>
56125 main ()
56127 ceill (0); floorl (0);
56129 return 0;
56131 _ACEOF
56132 if ac_fn_cxx_try_compile "$LINENO"; then :
56133 glibcxx_cv_func_long_double_round_use=yes
56134 else
56135 glibcxx_cv_func_long_double_round_use=no
56137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56138 ac_ext=c
56139 ac_cpp='$CPP $CPPFLAGS'
56140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56147 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56148 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56149 for ac_func in ceill floorl
56150 do :
56151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56153 eval as_val=\$$as_ac_var
56154 if test "x$as_val" = x""yes; then :
56155 cat >>confdefs.h <<_ACEOF
56156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56157 _ACEOF
56160 done
56162 else
56163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56164 $as_echo_n "checking for _long double round functions... " >&6; }
56165 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56180 main ()
56182 _ceill (0); _floorl (0);
56184 return 0;
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func__long_double_round_use=yes
56189 else
56190 glibcxx_cv_func__long_double_round_use=no
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56202 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56203 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56204 for ac_func in _ceill _floorl
56205 do :
56206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56208 eval as_val=\$$as_ac_var
56209 if test "x$as_val" = x""yes; then :
56210 cat >>confdefs.h <<_ACEOF
56211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56212 _ACEOF
56215 done
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56226 $as_echo_n "checking for isnanl declaration... " >&6; }
56227 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56228 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56229 $as_echo_n "(cached) " >&6
56230 else
56233 ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <math.h>
56242 #ifdef HAVE_IEEEFP_H
56243 #include <ieeefp.h>
56244 #endif
56247 main ()
56249 isnanl(0);
56251 return 0;
56253 _ACEOF
56254 if ac_fn_cxx_try_compile "$LINENO"; then :
56255 glibcxx_cv_func_isnanl_use=yes
56256 else
56257 glibcxx_cv_func_isnanl_use=no
56259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56271 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56273 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56274 for ac_func in isnanl
56275 do :
56276 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56277 if test "x$ac_cv_func_isnanl" = x""yes; then :
56278 cat >>confdefs.h <<_ACEOF
56279 #define HAVE_ISNANL 1
56280 _ACEOF
56283 done
56285 else
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56288 $as_echo_n "checking for _isnanl declaration... " >&6; }
56289 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56290 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <math.h>
56304 #ifdef HAVE_IEEEFP_H
56305 #include <ieeefp.h>
56306 #endif
56309 main ()
56311 _isnanl(0);
56313 return 0;
56315 _ACEOF
56316 if ac_fn_cxx_try_compile "$LINENO"; then :
56317 glibcxx_cv_func__isnanl_use=yes
56318 else
56319 glibcxx_cv_func__isnanl_use=no
56321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56322 ac_ext=c
56323 ac_cpp='$CPP $CPPFLAGS'
56324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56333 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56335 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56336 for ac_func in _isnanl
56337 do :
56338 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56339 if test "x$ac_cv_func__isnanl" = x""yes; then :
56340 cat >>confdefs.h <<_ACEOF
56341 #define HAVE__ISNANL 1
56342 _ACEOF
56345 done
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56355 $as_echo_n "checking for isinfl declaration... " >&6; }
56356 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56357 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56358 $as_echo_n "(cached) " >&6
56359 else
56362 ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h. */
56370 #include <math.h>
56371 #ifdef HAVE_IEEEFP_H
56372 #include <ieeefp.h>
56373 #endif
56376 main ()
56378 isinfl(0);
56380 return 0;
56382 _ACEOF
56383 if ac_fn_cxx_try_compile "$LINENO"; then :
56384 glibcxx_cv_func_isinfl_use=yes
56385 else
56386 glibcxx_cv_func_isinfl_use=no
56388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56389 ac_ext=c
56390 ac_cpp='$CPP $CPPFLAGS'
56391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56400 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56402 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56403 for ac_func in isinfl
56404 do :
56405 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56406 if test "x$ac_cv_func_isinfl" = x""yes; then :
56407 cat >>confdefs.h <<_ACEOF
56408 #define HAVE_ISINFL 1
56409 _ACEOF
56412 done
56414 else
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56417 $as_echo_n "checking for _isinfl declaration... " >&6; }
56418 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56419 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56420 $as_echo_n "(cached) " >&6
56421 else
56424 ac_ext=cpp
56425 ac_cpp='$CXXCPP $CPPFLAGS'
56426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56431 /* end confdefs.h. */
56432 #include <math.h>
56433 #ifdef HAVE_IEEEFP_H
56434 #include <ieeefp.h>
56435 #endif
56438 main ()
56440 _isinfl(0);
56442 return 0;
56444 _ACEOF
56445 if ac_fn_cxx_try_compile "$LINENO"; then :
56446 glibcxx_cv_func__isinfl_use=yes
56447 else
56448 glibcxx_cv_func__isinfl_use=no
56450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56451 ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56462 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56464 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56465 for ac_func in _isinfl
56466 do :
56467 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56468 if test "x$ac_cv_func__isinfl" = x""yes; then :
56469 cat >>confdefs.h <<_ACEOF
56470 #define HAVE__ISINFL 1
56471 _ACEOF
56474 done
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56484 $as_echo_n "checking for atan2l declaration... " >&6; }
56485 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56486 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56487 $as_echo_n "(cached) " >&6
56488 else
56491 ac_ext=cpp
56492 ac_cpp='$CXXCPP $CPPFLAGS'
56493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56498 /* end confdefs.h. */
56499 #include <math.h>
56501 main ()
56503 atan2l(0, 0);
56505 return 0;
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func_atan2l_use=yes
56510 else
56511 glibcxx_cv_func_atan2l_use=no
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514 ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56525 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56527 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56528 for ac_func in atan2l
56529 do :
56530 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56531 if test "x$ac_cv_func_atan2l" = x""yes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE_ATAN2L 1
56534 _ACEOF
56537 done
56539 else
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56542 $as_echo_n "checking for _atan2l declaration... " >&6; }
56543 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56544 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56545 $as_echo_n "(cached) " >&6
56546 else
56549 ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h. */
56557 #include <math.h>
56559 main ()
56561 _atan2l(0, 0);
56563 return 0;
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567 glibcxx_cv_func__atan2l_use=yes
56568 else
56569 glibcxx_cv_func__atan2l_use=no
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56583 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56585 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56586 for ac_func in _atan2l
56587 do :
56588 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56589 if test "x$ac_cv_func__atan2l" = x""yes; then :
56590 cat >>confdefs.h <<_ACEOF
56591 #define HAVE__ATAN2L 1
56592 _ACEOF
56595 done
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56605 $as_echo_n "checking for expl declaration... " >&6; }
56606 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56607 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56608 $as_echo_n "(cached) " >&6
56609 else
56612 ac_ext=cpp
56613 ac_cpp='$CXXCPP $CPPFLAGS'
56614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56619 /* end confdefs.h. */
56620 #include <math.h>
56621 #ifdef HAVE_IEEEFP_H
56622 #include <ieeefp.h>
56623 #endif
56626 main ()
56628 expl(0);
56630 return 0;
56632 _ACEOF
56633 if ac_fn_cxx_try_compile "$LINENO"; then :
56634 glibcxx_cv_func_expl_use=yes
56635 else
56636 glibcxx_cv_func_expl_use=no
56638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56639 ac_ext=c
56640 ac_cpp='$CPP $CPPFLAGS'
56641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56650 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56652 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56653 for ac_func in expl
56654 do :
56655 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56656 if test "x$ac_cv_func_expl" = x""yes; then :
56657 cat >>confdefs.h <<_ACEOF
56658 #define HAVE_EXPL 1
56659 _ACEOF
56662 done
56664 else
56666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56667 $as_echo_n "checking for _expl declaration... " >&6; }
56668 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56669 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56670 $as_echo_n "(cached) " >&6
56671 else
56674 ac_ext=cpp
56675 ac_cpp='$CXXCPP $CPPFLAGS'
56676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56681 /* end confdefs.h. */
56682 #include <math.h>
56683 #ifdef HAVE_IEEEFP_H
56684 #include <ieeefp.h>
56685 #endif
56688 main ()
56690 _expl(0);
56692 return 0;
56694 _ACEOF
56695 if ac_fn_cxx_try_compile "$LINENO"; then :
56696 glibcxx_cv_func__expl_use=yes
56697 else
56698 glibcxx_cv_func__expl_use=no
56700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56701 ac_ext=c
56702 ac_cpp='$CPP $CPPFLAGS'
56703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56712 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56714 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56715 for ac_func in _expl
56716 do :
56717 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56718 if test "x$ac_cv_func__expl" = x""yes; then :
56719 cat >>confdefs.h <<_ACEOF
56720 #define HAVE__EXPL 1
56721 _ACEOF
56724 done
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56734 $as_echo_n "checking for fabsl declaration... " >&6; }
56735 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56736 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56737 $as_echo_n "(cached) " >&6
56738 else
56741 ac_ext=cpp
56742 ac_cpp='$CXXCPP $CPPFLAGS'
56743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56748 /* end confdefs.h. */
56749 #include <math.h>
56750 #ifdef HAVE_IEEEFP_H
56751 #include <ieeefp.h>
56752 #endif
56755 main ()
56757 fabsl(0);
56759 return 0;
56761 _ACEOF
56762 if ac_fn_cxx_try_compile "$LINENO"; then :
56763 glibcxx_cv_func_fabsl_use=yes
56764 else
56765 glibcxx_cv_func_fabsl_use=no
56767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56768 ac_ext=c
56769 ac_cpp='$CPP $CPPFLAGS'
56770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56779 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56781 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56782 for ac_func in fabsl
56783 do :
56784 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56785 if test "x$ac_cv_func_fabsl" = x""yes; then :
56786 cat >>confdefs.h <<_ACEOF
56787 #define HAVE_FABSL 1
56788 _ACEOF
56791 done
56793 else
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56796 $as_echo_n "checking for _fabsl declaration... " >&6; }
56797 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56798 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56799 $as_echo_n "(cached) " >&6
56800 else
56803 ac_ext=cpp
56804 ac_cpp='$CXXCPP $CPPFLAGS'
56805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56810 /* end confdefs.h. */
56811 #include <math.h>
56812 #ifdef HAVE_IEEEFP_H
56813 #include <ieeefp.h>
56814 #endif
56817 main ()
56819 _fabsl(0);
56821 return 0;
56823 _ACEOF
56824 if ac_fn_cxx_try_compile "$LINENO"; then :
56825 glibcxx_cv_func__fabsl_use=yes
56826 else
56827 glibcxx_cv_func__fabsl_use=no
56829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56830 ac_ext=c
56831 ac_cpp='$CPP $CPPFLAGS'
56832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56841 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56843 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56844 for ac_func in _fabsl
56845 do :
56846 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56847 if test "x$ac_cv_func__fabsl" = x""yes; then :
56848 cat >>confdefs.h <<_ACEOF
56849 #define HAVE__FABSL 1
56850 _ACEOF
56853 done
56862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56863 $as_echo_n "checking for fmodl declaration... " >&6; }
56864 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56865 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56866 $as_echo_n "(cached) " >&6
56867 else
56870 ac_ext=cpp
56871 ac_cpp='$CXXCPP $CPPFLAGS'
56872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56877 /* end confdefs.h. */
56878 #include <math.h>
56880 main ()
56882 fmodl(0, 0);
56884 return 0;
56886 _ACEOF
56887 if ac_fn_cxx_try_compile "$LINENO"; then :
56888 glibcxx_cv_func_fmodl_use=yes
56889 else
56890 glibcxx_cv_func_fmodl_use=no
56892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56893 ac_ext=c
56894 ac_cpp='$CPP $CPPFLAGS'
56895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56904 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56906 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56907 for ac_func in fmodl
56908 do :
56909 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56910 if test "x$ac_cv_func_fmodl" = x""yes; then :
56911 cat >>confdefs.h <<_ACEOF
56912 #define HAVE_FMODL 1
56913 _ACEOF
56916 done
56918 else
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56921 $as_echo_n "checking for _fmodl declaration... " >&6; }
56922 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56923 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56924 $as_echo_n "(cached) " >&6
56925 else
56928 ac_ext=cpp
56929 ac_cpp='$CXXCPP $CPPFLAGS'
56930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56935 /* end confdefs.h. */
56936 #include <math.h>
56938 main ()
56940 _fmodl(0, 0);
56942 return 0;
56944 _ACEOF
56945 if ac_fn_cxx_try_compile "$LINENO"; then :
56946 glibcxx_cv_func__fmodl_use=yes
56947 else
56948 glibcxx_cv_func__fmodl_use=no
56950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56951 ac_ext=c
56952 ac_cpp='$CPP $CPPFLAGS'
56953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56962 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56965 for ac_func in _fmodl
56966 do :
56967 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56968 if test "x$ac_cv_func__fmodl" = x""yes; then :
56969 cat >>confdefs.h <<_ACEOF
56970 #define HAVE__FMODL 1
56971 _ACEOF
56974 done
56983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56984 $as_echo_n "checking for frexpl declaration... " >&6; }
56985 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56986 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56987 $as_echo_n "(cached) " >&6
56988 else
56991 ac_ext=cpp
56992 ac_cpp='$CXXCPP $CPPFLAGS'
56993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56998 /* end confdefs.h. */
56999 #include <math.h>
57001 main ()
57003 frexpl(0, 0);
57005 return 0;
57007 _ACEOF
57008 if ac_fn_cxx_try_compile "$LINENO"; then :
57009 glibcxx_cv_func_frexpl_use=yes
57010 else
57011 glibcxx_cv_func_frexpl_use=no
57013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57014 ac_ext=c
57015 ac_cpp='$CPP $CPPFLAGS'
57016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57025 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57027 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57028 for ac_func in frexpl
57029 do :
57030 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57031 if test "x$ac_cv_func_frexpl" = x""yes; then :
57032 cat >>confdefs.h <<_ACEOF
57033 #define HAVE_FREXPL 1
57034 _ACEOF
57037 done
57039 else
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57042 $as_echo_n "checking for _frexpl declaration... " >&6; }
57043 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57044 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57045 $as_echo_n "(cached) " >&6
57046 else
57049 ac_ext=cpp
57050 ac_cpp='$CXXCPP $CPPFLAGS'
57051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57056 /* end confdefs.h. */
57057 #include <math.h>
57059 main ()
57061 _frexpl(0, 0);
57063 return 0;
57065 _ACEOF
57066 if ac_fn_cxx_try_compile "$LINENO"; then :
57067 glibcxx_cv_func__frexpl_use=yes
57068 else
57069 glibcxx_cv_func__frexpl_use=no
57071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57072 ac_ext=c
57073 ac_cpp='$CPP $CPPFLAGS'
57074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57083 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57085 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57086 for ac_func in _frexpl
57087 do :
57088 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57089 if test "x$ac_cv_func__frexpl" = x""yes; then :
57090 cat >>confdefs.h <<_ACEOF
57091 #define HAVE__FREXPL 1
57092 _ACEOF
57095 done
57104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57105 $as_echo_n "checking for hypotl declaration... " >&6; }
57106 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57107 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57108 $as_echo_n "(cached) " >&6
57109 else
57112 ac_ext=cpp
57113 ac_cpp='$CXXCPP $CPPFLAGS'
57114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57119 /* end confdefs.h. */
57120 #include <math.h>
57122 main ()
57124 hypotl(0, 0);
57126 return 0;
57128 _ACEOF
57129 if ac_fn_cxx_try_compile "$LINENO"; then :
57130 glibcxx_cv_func_hypotl_use=yes
57131 else
57132 glibcxx_cv_func_hypotl_use=no
57134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57135 ac_ext=c
57136 ac_cpp='$CPP $CPPFLAGS'
57137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57146 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57148 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57149 for ac_func in hypotl
57150 do :
57151 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57152 if test "x$ac_cv_func_hypotl" = x""yes; then :
57153 cat >>confdefs.h <<_ACEOF
57154 #define HAVE_HYPOTL 1
57155 _ACEOF
57158 done
57160 else
57162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57163 $as_echo_n "checking for _hypotl declaration... " >&6; }
57164 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57165 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57166 $as_echo_n "(cached) " >&6
57167 else
57170 ac_ext=cpp
57171 ac_cpp='$CXXCPP $CPPFLAGS'
57172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57177 /* end confdefs.h. */
57178 #include <math.h>
57180 main ()
57182 _hypotl(0, 0);
57184 return 0;
57186 _ACEOF
57187 if ac_fn_cxx_try_compile "$LINENO"; then :
57188 glibcxx_cv_func__hypotl_use=yes
57189 else
57190 glibcxx_cv_func__hypotl_use=no
57192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57193 ac_ext=c
57194 ac_cpp='$CPP $CPPFLAGS'
57195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57204 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57206 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57207 for ac_func in _hypotl
57208 do :
57209 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57210 if test "x$ac_cv_func__hypotl" = x""yes; then :
57211 cat >>confdefs.h <<_ACEOF
57212 #define HAVE__HYPOTL 1
57213 _ACEOF
57216 done
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57226 $as_echo_n "checking for ldexpl declaration... " >&6; }
57227 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57228 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57229 $as_echo_n "(cached) " >&6
57230 else
57233 ac_ext=cpp
57234 ac_cpp='$CXXCPP $CPPFLAGS'
57235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57240 /* end confdefs.h. */
57241 #include <math.h>
57243 main ()
57245 ldexpl(0, 0);
57247 return 0;
57249 _ACEOF
57250 if ac_fn_cxx_try_compile "$LINENO"; then :
57251 glibcxx_cv_func_ldexpl_use=yes
57252 else
57253 glibcxx_cv_func_ldexpl_use=no
57255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57256 ac_ext=c
57257 ac_cpp='$CPP $CPPFLAGS'
57258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57267 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57269 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57270 for ac_func in ldexpl
57271 do :
57272 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57273 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57274 cat >>confdefs.h <<_ACEOF
57275 #define HAVE_LDEXPL 1
57276 _ACEOF
57279 done
57281 else
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57284 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57285 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57286 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57287 $as_echo_n "(cached) " >&6
57288 else
57291 ac_ext=cpp
57292 ac_cpp='$CXXCPP $CPPFLAGS'
57293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57298 /* end confdefs.h. */
57299 #include <math.h>
57301 main ()
57303 _ldexpl(0, 0);
57305 return 0;
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func__ldexpl_use=yes
57310 else
57311 glibcxx_cv_func__ldexpl_use=no
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57325 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57327 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57328 for ac_func in _ldexpl
57329 do :
57330 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57331 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57332 cat >>confdefs.h <<_ACEOF
57333 #define HAVE__LDEXPL 1
57334 _ACEOF
57337 done
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57347 $as_echo_n "checking for logl declaration... " >&6; }
57348 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57349 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57350 $as_echo_n "(cached) " >&6
57351 else
57354 ac_ext=cpp
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57361 /* end confdefs.h. */
57362 #include <math.h>
57363 #ifdef HAVE_IEEEFP_H
57364 #include <ieeefp.h>
57365 #endif
57368 main ()
57370 logl(0);
57372 return 0;
57374 _ACEOF
57375 if ac_fn_cxx_try_compile "$LINENO"; then :
57376 glibcxx_cv_func_logl_use=yes
57377 else
57378 glibcxx_cv_func_logl_use=no
57380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57381 ac_ext=c
57382 ac_cpp='$CPP $CPPFLAGS'
57383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57392 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57394 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57395 for ac_func in logl
57396 do :
57397 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57398 if test "x$ac_cv_func_logl" = x""yes; then :
57399 cat >>confdefs.h <<_ACEOF
57400 #define HAVE_LOGL 1
57401 _ACEOF
57404 done
57406 else
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57409 $as_echo_n "checking for _logl declaration... " >&6; }
57410 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57411 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57412 $as_echo_n "(cached) " >&6
57413 else
57416 ac_ext=cpp
57417 ac_cpp='$CXXCPP $CPPFLAGS'
57418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57423 /* end confdefs.h. */
57424 #include <math.h>
57425 #ifdef HAVE_IEEEFP_H
57426 #include <ieeefp.h>
57427 #endif
57430 main ()
57432 _logl(0);
57434 return 0;
57436 _ACEOF
57437 if ac_fn_cxx_try_compile "$LINENO"; then :
57438 glibcxx_cv_func__logl_use=yes
57439 else
57440 glibcxx_cv_func__logl_use=no
57442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57443 ac_ext=c
57444 ac_cpp='$CPP $CPPFLAGS'
57445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57454 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57456 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57457 for ac_func in _logl
57458 do :
57459 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57460 if test "x$ac_cv_func__logl" = x""yes; then :
57461 cat >>confdefs.h <<_ACEOF
57462 #define HAVE__LOGL 1
57463 _ACEOF
57466 done
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57476 $as_echo_n "checking for log10l declaration... " >&6; }
57477 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57478 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57479 $as_echo_n "(cached) " >&6
57480 else
57483 ac_ext=cpp
57484 ac_cpp='$CXXCPP $CPPFLAGS'
57485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57490 /* end confdefs.h. */
57491 #include <math.h>
57492 #ifdef HAVE_IEEEFP_H
57493 #include <ieeefp.h>
57494 #endif
57497 main ()
57499 log10l(0);
57501 return 0;
57503 _ACEOF
57504 if ac_fn_cxx_try_compile "$LINENO"; then :
57505 glibcxx_cv_func_log10l_use=yes
57506 else
57507 glibcxx_cv_func_log10l_use=no
57509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57510 ac_ext=c
57511 ac_cpp='$CPP $CPPFLAGS'
57512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57521 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57523 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57524 for ac_func in log10l
57525 do :
57526 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57527 if test "x$ac_cv_func_log10l" = x""yes; then :
57528 cat >>confdefs.h <<_ACEOF
57529 #define HAVE_LOG10L 1
57530 _ACEOF
57533 done
57535 else
57537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57538 $as_echo_n "checking for _log10l declaration... " >&6; }
57539 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57540 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57541 $as_echo_n "(cached) " >&6
57542 else
57545 ac_ext=cpp
57546 ac_cpp='$CXXCPP $CPPFLAGS'
57547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57552 /* end confdefs.h. */
57553 #include <math.h>
57554 #ifdef HAVE_IEEEFP_H
57555 #include <ieeefp.h>
57556 #endif
57559 main ()
57561 _log10l(0);
57563 return 0;
57565 _ACEOF
57566 if ac_fn_cxx_try_compile "$LINENO"; then :
57567 glibcxx_cv_func__log10l_use=yes
57568 else
57569 glibcxx_cv_func__log10l_use=no
57571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57572 ac_ext=c
57573 ac_cpp='$CPP $CPPFLAGS'
57574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57583 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57585 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57586 for ac_func in _log10l
57587 do :
57588 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57589 if test "x$ac_cv_func__log10l" = x""yes; then :
57590 cat >>confdefs.h <<_ACEOF
57591 #define HAVE__LOG10L 1
57592 _ACEOF
57595 done
57604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57605 $as_echo_n "checking for modfl declaration... " >&6; }
57606 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57607 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57608 $as_echo_n "(cached) " >&6
57609 else
57612 ac_ext=cpp
57613 ac_cpp='$CXXCPP $CPPFLAGS'
57614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57619 /* end confdefs.h. */
57620 #include <math.h>
57622 main ()
57624 modfl(0, 0);
57626 return 0;
57628 _ACEOF
57629 if ac_fn_cxx_try_compile "$LINENO"; then :
57630 glibcxx_cv_func_modfl_use=yes
57631 else
57632 glibcxx_cv_func_modfl_use=no
57634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57635 ac_ext=c
57636 ac_cpp='$CPP $CPPFLAGS'
57637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57646 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57648 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57649 for ac_func in modfl
57650 do :
57651 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57652 if test "x$ac_cv_func_modfl" = x""yes; then :
57653 cat >>confdefs.h <<_ACEOF
57654 #define HAVE_MODFL 1
57655 _ACEOF
57658 done
57660 else
57662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57663 $as_echo_n "checking for _modfl declaration... " >&6; }
57664 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57665 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57666 $as_echo_n "(cached) " >&6
57667 else
57670 ac_ext=cpp
57671 ac_cpp='$CXXCPP $CPPFLAGS'
57672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57677 /* end confdefs.h. */
57678 #include <math.h>
57680 main ()
57682 _modfl(0, 0);
57684 return 0;
57686 _ACEOF
57687 if ac_fn_cxx_try_compile "$LINENO"; then :
57688 glibcxx_cv_func__modfl_use=yes
57689 else
57690 glibcxx_cv_func__modfl_use=no
57692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57693 ac_ext=c
57694 ac_cpp='$CPP $CPPFLAGS'
57695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57704 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57706 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57707 for ac_func in _modfl
57708 do :
57709 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57710 if test "x$ac_cv_func__modfl" = x""yes; then :
57711 cat >>confdefs.h <<_ACEOF
57712 #define HAVE__MODFL 1
57713 _ACEOF
57716 done
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57726 $as_echo_n "checking for powl declaration... " >&6; }
57727 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57728 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57729 $as_echo_n "(cached) " >&6
57730 else
57733 ac_ext=cpp
57734 ac_cpp='$CXXCPP $CPPFLAGS'
57735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57740 /* end confdefs.h. */
57741 #include <math.h>
57743 main ()
57745 powl(0, 0);
57747 return 0;
57749 _ACEOF
57750 if ac_fn_cxx_try_compile "$LINENO"; then :
57751 glibcxx_cv_func_powl_use=yes
57752 else
57753 glibcxx_cv_func_powl_use=no
57755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57756 ac_ext=c
57757 ac_cpp='$CPP $CPPFLAGS'
57758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57767 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57769 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57770 for ac_func in powl
57771 do :
57772 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57773 if test "x$ac_cv_func_powl" = x""yes; then :
57774 cat >>confdefs.h <<_ACEOF
57775 #define HAVE_POWL 1
57776 _ACEOF
57779 done
57781 else
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57784 $as_echo_n "checking for _powl declaration... " >&6; }
57785 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57786 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57787 $as_echo_n "(cached) " >&6
57788 else
57791 ac_ext=cpp
57792 ac_cpp='$CXXCPP $CPPFLAGS'
57793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57798 /* end confdefs.h. */
57799 #include <math.h>
57801 main ()
57803 _powl(0, 0);
57805 return 0;
57807 _ACEOF
57808 if ac_fn_cxx_try_compile "$LINENO"; then :
57809 glibcxx_cv_func__powl_use=yes
57810 else
57811 glibcxx_cv_func__powl_use=no
57813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57814 ac_ext=c
57815 ac_cpp='$CPP $CPPFLAGS'
57816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57825 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57827 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57828 for ac_func in _powl
57829 do :
57830 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57831 if test "x$ac_cv_func__powl" = x""yes; then :
57832 cat >>confdefs.h <<_ACEOF
57833 #define HAVE__POWL 1
57834 _ACEOF
57837 done
57846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57847 $as_echo_n "checking for sqrtl declaration... " >&6; }
57848 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57849 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57850 $as_echo_n "(cached) " >&6
57851 else
57854 ac_ext=cpp
57855 ac_cpp='$CXXCPP $CPPFLAGS'
57856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57861 /* end confdefs.h. */
57862 #include <math.h>
57863 #ifdef HAVE_IEEEFP_H
57864 #include <ieeefp.h>
57865 #endif
57868 main ()
57870 sqrtl(0);
57872 return 0;
57874 _ACEOF
57875 if ac_fn_cxx_try_compile "$LINENO"; then :
57876 glibcxx_cv_func_sqrtl_use=yes
57877 else
57878 glibcxx_cv_func_sqrtl_use=no
57880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57881 ac_ext=c
57882 ac_cpp='$CPP $CPPFLAGS'
57883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57892 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57894 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57895 for ac_func in sqrtl
57896 do :
57897 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57898 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57899 cat >>confdefs.h <<_ACEOF
57900 #define HAVE_SQRTL 1
57901 _ACEOF
57904 done
57906 else
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57909 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57910 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57911 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57912 $as_echo_n "(cached) " >&6
57913 else
57916 ac_ext=cpp
57917 ac_cpp='$CXXCPP $CPPFLAGS'
57918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57923 /* end confdefs.h. */
57924 #include <math.h>
57925 #ifdef HAVE_IEEEFP_H
57926 #include <ieeefp.h>
57927 #endif
57930 main ()
57932 _sqrtl(0);
57934 return 0;
57936 _ACEOF
57937 if ac_fn_cxx_try_compile "$LINENO"; then :
57938 glibcxx_cv_func__sqrtl_use=yes
57939 else
57940 glibcxx_cv_func__sqrtl_use=no
57942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57943 ac_ext=c
57944 ac_cpp='$CPP $CPPFLAGS'
57945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57954 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57956 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57957 for ac_func in _sqrtl
57958 do :
57959 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57960 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57961 cat >>confdefs.h <<_ACEOF
57962 #define HAVE__SQRTL 1
57963 _ACEOF
57966 done
57975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57976 $as_echo_n "checking for sincosl declaration... " >&6; }
57977 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57978 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57979 $as_echo_n "(cached) " >&6
57980 else
57983 ac_ext=cpp
57984 ac_cpp='$CXXCPP $CPPFLAGS'
57985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57990 /* end confdefs.h. */
57991 #include <math.h>
57993 main ()
57995 sincosl(0, 0, 0);
57997 return 0;
57999 _ACEOF
58000 if ac_fn_cxx_try_compile "$LINENO"; then :
58001 glibcxx_cv_func_sincosl_use=yes
58002 else
58003 glibcxx_cv_func_sincosl_use=no
58005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58006 ac_ext=c
58007 ac_cpp='$CPP $CPPFLAGS'
58008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58017 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58019 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58020 for ac_func in sincosl
58021 do :
58022 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58023 if test "x$ac_cv_func_sincosl" = x""yes; then :
58024 cat >>confdefs.h <<_ACEOF
58025 #define HAVE_SINCOSL 1
58026 _ACEOF
58029 done
58031 else
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58034 $as_echo_n "checking for _sincosl declaration... " >&6; }
58035 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58036 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58037 $as_echo_n "(cached) " >&6
58038 else
58041 ac_ext=cpp
58042 ac_cpp='$CXXCPP $CPPFLAGS'
58043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58048 /* end confdefs.h. */
58049 #include <math.h>
58051 main ()
58053 _sincosl(0, 0, 0);
58055 return 0;
58057 _ACEOF
58058 if ac_fn_cxx_try_compile "$LINENO"; then :
58059 glibcxx_cv_func__sincosl_use=yes
58060 else
58061 glibcxx_cv_func__sincosl_use=no
58063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58064 ac_ext=c
58065 ac_cpp='$CPP $CPPFLAGS'
58066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58075 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58077 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58078 for ac_func in _sincosl
58079 do :
58080 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58081 if test "x$ac_cv_func__sincosl" = x""yes; then :
58082 cat >>confdefs.h <<_ACEOF
58083 #define HAVE__SINCOSL 1
58084 _ACEOF
58087 done
58096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58097 $as_echo_n "checking for finitel declaration... " >&6; }
58098 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58099 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58100 $as_echo_n "(cached) " >&6
58101 else
58104 ac_ext=cpp
58105 ac_cpp='$CXXCPP $CPPFLAGS'
58106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58111 /* end confdefs.h. */
58112 #include <math.h>
58113 #ifdef HAVE_IEEEFP_H
58114 #include <ieeefp.h>
58115 #endif
58118 main ()
58120 finitel(0);
58122 return 0;
58124 _ACEOF
58125 if ac_fn_cxx_try_compile "$LINENO"; then :
58126 glibcxx_cv_func_finitel_use=yes
58127 else
58128 glibcxx_cv_func_finitel_use=no
58130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58131 ac_ext=c
58132 ac_cpp='$CPP $CPPFLAGS'
58133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58142 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58144 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58145 for ac_func in finitel
58146 do :
58147 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58148 if test "x$ac_cv_func_finitel" = x""yes; then :
58149 cat >>confdefs.h <<_ACEOF
58150 #define HAVE_FINITEL 1
58151 _ACEOF
58154 done
58156 else
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58159 $as_echo_n "checking for _finitel declaration... " >&6; }
58160 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58161 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <math.h>
58175 #ifdef HAVE_IEEEFP_H
58176 #include <ieeefp.h>
58177 #endif
58180 main ()
58182 _finitel(0);
58184 return 0;
58186 _ACEOF
58187 if ac_fn_cxx_try_compile "$LINENO"; then :
58188 glibcxx_cv_func__finitel_use=yes
58189 else
58190 glibcxx_cv_func__finitel_use=no
58192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58193 ac_ext=c
58194 ac_cpp='$CPP $CPPFLAGS'
58195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58204 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58206 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58207 for ac_func in _finitel
58208 do :
58209 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58210 if test "x$ac_cv_func__finitel" = x""yes; then :
58211 cat >>confdefs.h <<_ACEOF
58212 #define HAVE__FINITEL 1
58213 _ACEOF
58216 done
58224 LIBS="$ac_save_LIBS"
58225 CXXFLAGS="$ac_save_CXXFLAGS"
58228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58229 ac_save_CXXFLAGS="$CXXFLAGS"
58230 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58234 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58235 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58236 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58237 $as_echo_n "(cached) " >&6
58238 else
58241 ac_ext=cpp
58242 ac_cpp='$CXXCPP $CPPFLAGS'
58243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58248 /* end confdefs.h. */
58249 #include <stdlib.h>
58251 main ()
58253 at_quick_exit(0);
58255 return 0;
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_at_quick_exit_use=yes
58260 else
58261 glibcxx_cv_func_at_quick_exit_use=no
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58275 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58276 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58277 for ac_func in at_quick_exit
58278 do :
58279 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58280 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58281 cat >>confdefs.h <<_ACEOF
58282 #define HAVE_AT_QUICK_EXIT 1
58283 _ACEOF
58286 done
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58292 $as_echo_n "checking for quick_exit declaration... " >&6; }
58293 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58294 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <stdlib.h>
58309 main ()
58311 quick_exit(0);
58313 return 0;
58315 _ACEOF
58316 if ac_fn_cxx_try_compile "$LINENO"; then :
58317 glibcxx_cv_func_quick_exit_use=yes
58318 else
58319 glibcxx_cv_func_quick_exit_use=no
58321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58322 ac_ext=c
58323 ac_cpp='$CPP $CPPFLAGS'
58324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58333 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58334 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58335 for ac_func in quick_exit
58336 do :
58337 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58338 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58339 cat >>confdefs.h <<_ACEOF
58340 #define HAVE_QUICK_EXIT 1
58341 _ACEOF
58344 done
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58350 $as_echo_n "checking for strtold declaration... " >&6; }
58351 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58352 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58353 $as_echo_n "(cached) " >&6
58354 else
58357 ac_ext=cpp
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58364 /* end confdefs.h. */
58365 #include <stdlib.h>
58367 main ()
58369 strtold(0, 0);
58371 return 0;
58373 _ACEOF
58374 if ac_fn_cxx_try_compile "$LINENO"; then :
58375 glibcxx_cv_func_strtold_use=yes
58376 else
58377 glibcxx_cv_func_strtold_use=no
58379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58380 ac_ext=c
58381 ac_cpp='$CPP $CPPFLAGS'
58382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58391 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58392 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58393 for ac_func in strtold
58394 do :
58395 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58396 if test "x$ac_cv_func_strtold" = x""yes; then :
58397 cat >>confdefs.h <<_ACEOF
58398 #define HAVE_STRTOLD 1
58399 _ACEOF
58402 done
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58410 $as_echo_n "checking for strtof declaration... " >&6; }
58411 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58412 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58413 $as_echo_n "(cached) " >&6
58414 else
58417 ac_ext=cpp
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58424 /* end confdefs.h. */
58425 #include <stdlib.h>
58427 main ()
58429 strtof(0, 0);
58431 return 0;
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435 glibcxx_cv_func_strtof_use=yes
58436 else
58437 glibcxx_cv_func_strtof_use=no
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58451 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58452 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58453 for ac_func in strtof
58454 do :
58455 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58456 if test "x$ac_cv_func_strtof" = x""yes; then :
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE_STRTOF 1
58459 _ACEOF
58462 done
58469 CXXFLAGS="$ac_save_CXXFLAGS"
58471 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58475 # Check whether --enable-tls was given.
58476 if test "${enable_tls+set}" = set; then :
58477 enableval=$enable_tls;
58478 case "$enableval" in
58479 yes|no) ;;
58480 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58481 esac
58483 else
58484 enable_tls=yes
58488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58489 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58490 if test "${gcc_cv_have_tls+set}" = set; then :
58491 $as_echo_n "(cached) " >&6
58492 else
58494 if test "$cross_compiling" = yes; then :
58495 if test x$gcc_no_link = xyes; then
58496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h. */
58500 __thread int a; int b; int main() { return a = b; }
58501 _ACEOF
58502 if ac_fn_c_try_link "$LINENO"; then :
58503 chktls_save_LDFLAGS="$LDFLAGS"
58504 case $host in
58505 *-*-linux*)
58506 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58508 esac
58509 chktls_save_CFLAGS="$CFLAGS"
58510 CFLAGS="-fPIC $CFLAGS"
58511 if test x$gcc_no_link = xyes; then
58512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58515 /* end confdefs.h. */
58516 int f() { return 0; }
58517 _ACEOF
58518 if ac_fn_c_try_link "$LINENO"; then :
58519 if test x$gcc_no_link = xyes; then
58520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58523 /* end confdefs.h. */
58524 __thread int a; int b; int f() { return a = b; }
58525 _ACEOF
58526 if ac_fn_c_try_link "$LINENO"; then :
58527 gcc_cv_have_tls=yes
58528 else
58529 gcc_cv_have_tls=no
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 else
58534 gcc_cv_have_tls=yes
58536 rm -f core conftest.err conftest.$ac_objext \
58537 conftest$ac_exeext conftest.$ac_ext
58538 CFLAGS="$chktls_save_CFLAGS"
58539 LDFLAGS="$chktls_save_LDFLAGS"
58540 else
58541 gcc_cv_have_tls=no
58543 rm -f core conftest.err conftest.$ac_objext \
58544 conftest$ac_exeext conftest.$ac_ext
58547 else
58548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58549 /* end confdefs.h. */
58550 __thread int a; int b; int main() { return a = b; }
58551 _ACEOF
58552 if ac_fn_c_try_run "$LINENO"; then :
58553 chktls_save_LDFLAGS="$LDFLAGS"
58554 LDFLAGS="-static $LDFLAGS"
58555 if test x$gcc_no_link = xyes; then
58556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 int main() { return 0; }
58561 _ACEOF
58562 if ac_fn_c_try_link "$LINENO"; then :
58563 if test "$cross_compiling" = yes; then :
58564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58566 as_fn_error "cannot run test program while cross compiling
58567 See \`config.log' for more details." "$LINENO" 5; }
58568 else
58569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58570 /* end confdefs.h. */
58571 __thread int a; int b; int main() { return a = b; }
58572 _ACEOF
58573 if ac_fn_c_try_run "$LINENO"; then :
58574 gcc_cv_have_tls=yes
58575 else
58576 gcc_cv_have_tls=no
58578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58579 conftest.$ac_objext conftest.beam conftest.$ac_ext
58582 else
58583 gcc_cv_have_tls=yes
58585 rm -f core conftest.err conftest.$ac_objext \
58586 conftest$ac_exeext conftest.$ac_ext
58587 LDFLAGS="$chktls_save_LDFLAGS"
58588 if test $gcc_cv_have_tls = yes; then
58589 chktls_save_CFLAGS="$CFLAGS"
58590 thread_CFLAGS=failed
58591 for flag in '' '-pthread' '-lpthread'; do
58592 CFLAGS="$flag $chktls_save_CFLAGS"
58593 if test x$gcc_no_link = xyes; then
58594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h. */
58598 #include <pthread.h>
58599 void *g(void *d) { return NULL; }
58601 main ()
58603 pthread_t t; pthread_create(&t,NULL,g,NULL);
58605 return 0;
58607 _ACEOF
58608 if ac_fn_c_try_link "$LINENO"; then :
58609 thread_CFLAGS="$flag"
58611 rm -f core conftest.err conftest.$ac_objext \
58612 conftest$ac_exeext conftest.$ac_ext
58613 if test "X$thread_CFLAGS" != Xfailed; then
58614 break
58616 done
58617 CFLAGS="$chktls_save_CFLAGS"
58618 if test "X$thread_CFLAGS" != Xfailed; then
58619 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58620 if test "$cross_compiling" = yes; then :
58621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58623 as_fn_error "cannot run test program while cross compiling
58624 See \`config.log' for more details." "$LINENO" 5; }
58625 else
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <pthread.h>
58629 __thread int a;
58630 static int *volatile a_in_other_thread;
58631 static void *
58632 thread_func (void *arg)
58634 a_in_other_thread = &a;
58635 return (void *)0;
58638 main ()
58640 pthread_t thread;
58641 void *thread_retval;
58642 int *volatile a_in_main_thread;
58643 a_in_main_thread = &a;
58644 if (pthread_create (&thread, (pthread_attr_t *)0,
58645 thread_func, (void *)0))
58646 return 0;
58647 if (pthread_join (thread, &thread_retval))
58648 return 0;
58649 return (a_in_other_thread == a_in_main_thread);
58651 return 0;
58653 _ACEOF
58654 if ac_fn_c_try_run "$LINENO"; then :
58655 gcc_cv_have_tls=yes
58656 else
58657 gcc_cv_have_tls=no
58659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58660 conftest.$ac_objext conftest.beam conftest.$ac_ext
58663 CFLAGS="$chktls_save_CFLAGS"
58666 else
58667 gcc_cv_have_tls=no
58669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58670 conftest.$ac_objext conftest.beam conftest.$ac_ext
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58675 $as_echo "$gcc_cv_have_tls" >&6; }
58676 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58678 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58686 am_save_CPPFLAGS="$CPPFLAGS"
58688 for element in $INCICONV; do
58689 haveit=
58690 for x in $CPPFLAGS; do
58692 acl_save_prefix="$prefix"
58693 prefix="$acl_final_prefix"
58694 acl_save_exec_prefix="$exec_prefix"
58695 exec_prefix="$acl_final_exec_prefix"
58696 eval x=\"$x\"
58697 exec_prefix="$acl_save_exec_prefix"
58698 prefix="$acl_save_prefix"
58700 if test "X$x" = "X$element"; then
58701 haveit=yes
58702 break
58704 done
58705 if test -z "$haveit"; then
58706 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58708 done
58711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58712 $as_echo_n "checking for iconv... " >&6; }
58713 if test "${am_cv_func_iconv+set}" = set; then :
58714 $as_echo_n "(cached) " >&6
58715 else
58717 am_cv_func_iconv="no, consider installing GNU libiconv"
58718 am_cv_lib_iconv=no
58719 if test x$gcc_no_link = xyes; then
58720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58723 /* end confdefs.h. */
58724 #include <stdlib.h>
58725 #include <iconv.h>
58727 main ()
58729 iconv_t cd = iconv_open("","");
58730 iconv(cd,NULL,NULL,NULL,NULL);
58731 iconv_close(cd);
58733 return 0;
58735 _ACEOF
58736 if ac_fn_c_try_link "$LINENO"; then :
58737 am_cv_func_iconv=yes
58739 rm -f core conftest.err conftest.$ac_objext \
58740 conftest$ac_exeext conftest.$ac_ext
58741 if test "$am_cv_func_iconv" != yes; then
58742 am_save_LIBS="$LIBS"
58743 LIBS="$LIBS $LIBICONV"
58744 if test x$gcc_no_link = xyes; then
58745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58748 /* end confdefs.h. */
58749 #include <stdlib.h>
58750 #include <iconv.h>
58752 main ()
58754 iconv_t cd = iconv_open("","");
58755 iconv(cd,NULL,NULL,NULL,NULL);
58756 iconv_close(cd);
58758 return 0;
58760 _ACEOF
58761 if ac_fn_c_try_link "$LINENO"; then :
58762 am_cv_lib_iconv=yes
58763 am_cv_func_iconv=yes
58765 rm -f core conftest.err conftest.$ac_objext \
58766 conftest$ac_exeext conftest.$ac_ext
58767 LIBS="$am_save_LIBS"
58771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58772 $as_echo "$am_cv_func_iconv" >&6; }
58773 if test "$am_cv_func_iconv" = yes; then
58775 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58778 if test "$am_cv_lib_iconv" = yes; then
58779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58780 $as_echo_n "checking how to link with libiconv... " >&6; }
58781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58782 $as_echo "$LIBICONV" >&6; }
58783 else
58784 CPPFLAGS="$am_save_CPPFLAGS"
58785 LIBICONV=
58786 LTLIBICONV=
58791 if test "$am_cv_func_iconv" = yes; then
58792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58793 $as_echo_n "checking for iconv declaration... " >&6; }
58794 if test "${am_cv_proto_iconv+set}" = set; then :
58795 $as_echo_n "(cached) " >&6
58796 else
58798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58799 /* end confdefs.h. */
58801 #include <stdlib.h>
58802 #include <iconv.h>
58803 extern
58804 #ifdef __cplusplus
58806 #endif
58807 #if defined(__STDC__) || defined(__cplusplus)
58808 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58809 #else
58810 size_t iconv();
58811 #endif
58814 main ()
58818 return 0;
58820 _ACEOF
58821 if ac_fn_c_try_compile "$LINENO"; then :
58822 am_cv_proto_iconv_arg1=""
58823 else
58824 am_cv_proto_iconv_arg1="const"
58826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58827 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);"
58830 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58832 }$am_cv_proto_iconv" >&5
58833 $as_echo "${ac_t:-
58834 }$am_cv_proto_iconv" >&6; }
58836 cat >>confdefs.h <<_ACEOF
58837 #define ICONV_CONST $am_cv_proto_iconv_arg1
58838 _ACEOF
58843 *-mingw32*)
58845 # If we're not using GNU ld, then there's no point in even trying these
58846 # tests. Check for that first. We should have already tested for gld
58847 # by now (in libtool), but require it now just to be safe...
58848 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58849 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58853 # The name set by libtool depends on the version of libtool. Shame on us
58854 # for depending on an impl detail, but c'est la vie. Older versions used
58855 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58856 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58857 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58858 # set (hence we're using an older libtool), then set it.
58859 if test x${with_gnu_ld+set} != xset; then
58860 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58861 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58862 with_gnu_ld=no
58863 else
58864 with_gnu_ld=$ac_cv_prog_gnu_ld
58868 # Start by getting the version number. I think the libtool test already
58869 # does some of this, but throws away the result.
58870 glibcxx_ld_is_gold=no
58871 if test x"$with_gnu_ld" = x"yes"; then
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58873 $as_echo_n "checking for ld version... " >&6; }
58875 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58876 glibcxx_ld_is_gold=yes
58878 ldver=`$LD --version 2>/dev/null |
58879 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'`
58881 glibcxx_gnu_ld_version=`echo $ldver | \
58882 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58884 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58887 # Set --gc-sections.
58888 glibcxx_have_gc_sections=no
58889 if test "$glibcxx_ld_is_gold" = "yes"; then
58890 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58891 glibcxx_have_gc_sections=yes
58893 else
58894 glibcxx_gcsections_min_ld=21602
58895 if test x"$with_gnu_ld" = x"yes" &&
58896 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58897 glibcxx_have_gc_sections=yes
58900 if test "$glibcxx_have_gc_sections" = "yes"; then
58901 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58902 # NB: This flag only works reliably after 2.16.1. Configure tests
58903 # for this are difficult, so hard wire a value that should work.
58905 ac_test_CFLAGS="${CFLAGS+set}"
58906 ac_save_CFLAGS="$CFLAGS"
58907 CFLAGS='-Wl,--gc-sections'
58909 # Check for -Wl,--gc-sections
58910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58911 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58912 if test x$gcc_no_link = xyes; then
58913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58916 /* end confdefs.h. */
58917 int one(void) { return 1; }
58918 int two(void) { return 2; }
58921 main ()
58923 two();
58925 return 0;
58927 _ACEOF
58928 if ac_fn_c_try_link "$LINENO"; then :
58929 ac_gcsections=yes
58930 else
58931 ac_gcsections=no
58933 rm -f core conftest.err conftest.$ac_objext \
58934 conftest$ac_exeext conftest.$ac_ext
58935 if test "$ac_gcsections" = "yes"; then
58936 rm -f conftest.c
58937 touch conftest.c
58938 if $CC -c conftest.c; then
58939 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58940 grep "Warning: gc-sections option ignored" > /dev/null; then
58941 ac_gcsections=no
58944 rm -f conftest.c conftest.o conftest
58946 if test "$ac_gcsections" = "yes"; then
58947 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58950 $as_echo "$ac_gcsections" >&6; }
58952 if test "$ac_test_CFLAGS" = set; then
58953 CFLAGS="$ac_save_CFLAGS"
58954 else
58955 # this is the suspicious part
58956 CFLAGS=''
58960 # Set -z,relro.
58961 # Note this is only for shared objects.
58962 ac_ld_relro=no
58963 if test x"$with_gnu_ld" = x"yes"; then
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58965 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58966 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58967 if test -n "$cxx_z_relo"; then
58968 OPT_LDFLAGS="-Wl,-z,relro"
58969 ac_ld_relro=yes
58971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58972 $as_echo "$ac_ld_relro" >&6; }
58975 # Set linker optimization flags.
58976 if test x"$with_gnu_ld" = x"yes"; then
58977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58985 ac_save_CXXFLAGS="$CXXFLAGS"
58986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58989 $as_echo_n "checking for sin in -lm... " >&6; }
58990 if test "${ac_cv_lib_m_sin+set}" = set; then :
58991 $as_echo_n "(cached) " >&6
58992 else
58993 ac_check_lib_save_LIBS=$LIBS
58994 LIBS="-lm $LIBS"
58995 if test x$gcc_no_link = xyes; then
58996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h. */
59001 /* Override any GCC internal prototype to avoid an error.
59002 Use char because int might match the return type of a GCC
59003 builtin and then its argument prototype would still apply. */
59004 #ifdef __cplusplus
59005 extern "C"
59006 #endif
59007 char sin ();
59009 main ()
59011 return sin ();
59013 return 0;
59015 _ACEOF
59016 if ac_fn_c_try_link "$LINENO"; then :
59017 ac_cv_lib_m_sin=yes
59018 else
59019 ac_cv_lib_m_sin=no
59021 rm -f core conftest.err conftest.$ac_objext \
59022 conftest$ac_exeext conftest.$ac_ext
59023 LIBS=$ac_check_lib_save_LIBS
59025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59026 $as_echo "$ac_cv_lib_m_sin" >&6; }
59027 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59028 libm="-lm"
59031 ac_save_LIBS="$LIBS"
59032 LIBS="$LIBS $libm"
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59037 $as_echo_n "checking for isinf declaration... " >&6; }
59038 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59039 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59040 $as_echo_n "(cached) " >&6
59041 else
59044 ac_ext=cpp
59045 ac_cpp='$CXXCPP $CPPFLAGS'
59046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59051 /* end confdefs.h. */
59052 #include <math.h>
59053 #ifdef HAVE_IEEEFP_H
59054 #include <ieeefp.h>
59055 #endif
59058 main ()
59060 isinf(0);
59062 return 0;
59064 _ACEOF
59065 if ac_fn_cxx_try_compile "$LINENO"; then :
59066 glibcxx_cv_func_isinf_use=yes
59067 else
59068 glibcxx_cv_func_isinf_use=no
59070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59071 ac_ext=c
59072 ac_cpp='$CPP $CPPFLAGS'
59073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59082 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59084 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59085 for ac_func in isinf
59086 do :
59087 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59088 if test "x$ac_cv_func_isinf" = x""yes; then :
59089 cat >>confdefs.h <<_ACEOF
59090 #define HAVE_ISINF 1
59091 _ACEOF
59094 done
59096 else
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59099 $as_echo_n "checking for _isinf declaration... " >&6; }
59100 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59101 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59102 $as_echo_n "(cached) " >&6
59103 else
59106 ac_ext=cpp
59107 ac_cpp='$CXXCPP $CPPFLAGS'
59108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59113 /* end confdefs.h. */
59114 #include <math.h>
59115 #ifdef HAVE_IEEEFP_H
59116 #include <ieeefp.h>
59117 #endif
59120 main ()
59122 _isinf(0);
59124 return 0;
59126 _ACEOF
59127 if ac_fn_cxx_try_compile "$LINENO"; then :
59128 glibcxx_cv_func__isinf_use=yes
59129 else
59130 glibcxx_cv_func__isinf_use=no
59132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59133 ac_ext=c
59134 ac_cpp='$CPP $CPPFLAGS'
59135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59144 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59146 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59147 for ac_func in _isinf
59148 do :
59149 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59150 if test "x$ac_cv_func__isinf" = x""yes; then :
59151 cat >>confdefs.h <<_ACEOF
59152 #define HAVE__ISINF 1
59153 _ACEOF
59156 done
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59166 $as_echo_n "checking for isnan declaration... " >&6; }
59167 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59168 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59173 ac_ext=cpp
59174 ac_cpp='$CXXCPP $CPPFLAGS'
59175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59180 /* end confdefs.h. */
59181 #include <math.h>
59182 #ifdef HAVE_IEEEFP_H
59183 #include <ieeefp.h>
59184 #endif
59187 main ()
59189 isnan(0);
59191 return 0;
59193 _ACEOF
59194 if ac_fn_cxx_try_compile "$LINENO"; then :
59195 glibcxx_cv_func_isnan_use=yes
59196 else
59197 glibcxx_cv_func_isnan_use=no
59199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59200 ac_ext=c
59201 ac_cpp='$CPP $CPPFLAGS'
59202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59211 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59213 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59214 for ac_func in isnan
59215 do :
59216 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59217 if test "x$ac_cv_func_isnan" = x""yes; then :
59218 cat >>confdefs.h <<_ACEOF
59219 #define HAVE_ISNAN 1
59220 _ACEOF
59223 done
59225 else
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59228 $as_echo_n "checking for _isnan declaration... " >&6; }
59229 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59230 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59231 $as_echo_n "(cached) " >&6
59232 else
59235 ac_ext=cpp
59236 ac_cpp='$CXXCPP $CPPFLAGS'
59237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59242 /* end confdefs.h. */
59243 #include <math.h>
59244 #ifdef HAVE_IEEEFP_H
59245 #include <ieeefp.h>
59246 #endif
59249 main ()
59251 _isnan(0);
59253 return 0;
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func__isnan_use=yes
59258 else
59259 glibcxx_cv_func__isnan_use=no
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59273 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59275 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59276 for ac_func in _isnan
59277 do :
59278 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59279 if test "x$ac_cv_func__isnan" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE__ISNAN 1
59282 _ACEOF
59285 done
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59295 $as_echo_n "checking for finite declaration... " >&6; }
59296 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59297 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59298 $as_echo_n "(cached) " >&6
59299 else
59302 ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h. */
59310 #include <math.h>
59311 #ifdef HAVE_IEEEFP_H
59312 #include <ieeefp.h>
59313 #endif
59316 main ()
59318 finite(0);
59320 return 0;
59322 _ACEOF
59323 if ac_fn_cxx_try_compile "$LINENO"; then :
59324 glibcxx_cv_func_finite_use=yes
59325 else
59326 glibcxx_cv_func_finite_use=no
59328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59329 ac_ext=c
59330 ac_cpp='$CPP $CPPFLAGS'
59331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59340 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59342 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59343 for ac_func in finite
59344 do :
59345 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59346 if test "x$ac_cv_func_finite" = x""yes; then :
59347 cat >>confdefs.h <<_ACEOF
59348 #define HAVE_FINITE 1
59349 _ACEOF
59352 done
59354 else
59356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59357 $as_echo_n "checking for _finite declaration... " >&6; }
59358 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59359 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59360 $as_echo_n "(cached) " >&6
59361 else
59364 ac_ext=cpp
59365 ac_cpp='$CXXCPP $CPPFLAGS'
59366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59371 /* end confdefs.h. */
59372 #include <math.h>
59373 #ifdef HAVE_IEEEFP_H
59374 #include <ieeefp.h>
59375 #endif
59378 main ()
59380 _finite(0);
59382 return 0;
59384 _ACEOF
59385 if ac_fn_cxx_try_compile "$LINENO"; then :
59386 glibcxx_cv_func__finite_use=yes
59387 else
59388 glibcxx_cv_func__finite_use=no
59390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59391 ac_ext=c
59392 ac_cpp='$CPP $CPPFLAGS'
59393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59402 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59404 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59405 for ac_func in _finite
59406 do :
59407 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59408 if test "x$ac_cv_func__finite" = x""yes; then :
59409 cat >>confdefs.h <<_ACEOF
59410 #define HAVE__FINITE 1
59411 _ACEOF
59414 done
59423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59424 $as_echo_n "checking for sincos declaration... " >&6; }
59425 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59426 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59427 $as_echo_n "(cached) " >&6
59428 else
59431 ac_ext=cpp
59432 ac_cpp='$CXXCPP $CPPFLAGS'
59433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59438 /* end confdefs.h. */
59439 #include <math.h>
59441 main ()
59443 sincos(0, 0, 0);
59445 return 0;
59447 _ACEOF
59448 if ac_fn_cxx_try_compile "$LINENO"; then :
59449 glibcxx_cv_func_sincos_use=yes
59450 else
59451 glibcxx_cv_func_sincos_use=no
59453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59454 ac_ext=c
59455 ac_cpp='$CPP $CPPFLAGS'
59456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59465 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59467 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59468 for ac_func in sincos
59469 do :
59470 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59471 if test "x$ac_cv_func_sincos" = x""yes; then :
59472 cat >>confdefs.h <<_ACEOF
59473 #define HAVE_SINCOS 1
59474 _ACEOF
59477 done
59479 else
59481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59482 $as_echo_n "checking for _sincos declaration... " >&6; }
59483 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59484 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59485 $as_echo_n "(cached) " >&6
59486 else
59489 ac_ext=cpp
59490 ac_cpp='$CXXCPP $CPPFLAGS'
59491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59496 /* end confdefs.h. */
59497 #include <math.h>
59499 main ()
59501 _sincos(0, 0, 0);
59503 return 0;
59505 _ACEOF
59506 if ac_fn_cxx_try_compile "$LINENO"; then :
59507 glibcxx_cv_func__sincos_use=yes
59508 else
59509 glibcxx_cv_func__sincos_use=no
59511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59512 ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59523 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59525 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59526 for ac_func in _sincos
59527 do :
59528 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59529 if test "x$ac_cv_func__sincos" = x""yes; then :
59530 cat >>confdefs.h <<_ACEOF
59531 #define HAVE__SINCOS 1
59532 _ACEOF
59535 done
59544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59545 $as_echo_n "checking for fpclass declaration... " >&6; }
59546 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59547 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59548 $as_echo_n "(cached) " >&6
59549 else
59552 ac_ext=cpp
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h. */
59560 #include <math.h>
59561 #ifdef HAVE_IEEEFP_H
59562 #include <ieeefp.h>
59563 #endif
59566 main ()
59568 fpclass(0);
59570 return 0;
59572 _ACEOF
59573 if ac_fn_cxx_try_compile "$LINENO"; then :
59574 glibcxx_cv_func_fpclass_use=yes
59575 else
59576 glibcxx_cv_func_fpclass_use=no
59578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59579 ac_ext=c
59580 ac_cpp='$CPP $CPPFLAGS'
59581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59590 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59592 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59593 for ac_func in fpclass
59594 do :
59595 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59596 if test "x$ac_cv_func_fpclass" = x""yes; then :
59597 cat >>confdefs.h <<_ACEOF
59598 #define HAVE_FPCLASS 1
59599 _ACEOF
59602 done
59604 else
59606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59607 $as_echo_n "checking for _fpclass declaration... " >&6; }
59608 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59609 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59610 $as_echo_n "(cached) " >&6
59611 else
59614 ac_ext=cpp
59615 ac_cpp='$CXXCPP $CPPFLAGS'
59616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59621 /* end confdefs.h. */
59622 #include <math.h>
59623 #ifdef HAVE_IEEEFP_H
59624 #include <ieeefp.h>
59625 #endif
59628 main ()
59630 _fpclass(0);
59632 return 0;
59634 _ACEOF
59635 if ac_fn_cxx_try_compile "$LINENO"; then :
59636 glibcxx_cv_func__fpclass_use=yes
59637 else
59638 glibcxx_cv_func__fpclass_use=no
59640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59641 ac_ext=c
59642 ac_cpp='$CPP $CPPFLAGS'
59643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59652 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59654 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59655 for ac_func in _fpclass
59656 do :
59657 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59658 if test "x$ac_cv_func__fpclass" = x""yes; then :
59659 cat >>confdefs.h <<_ACEOF
59660 #define HAVE__FPCLASS 1
59661 _ACEOF
59664 done
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59674 $as_echo_n "checking for qfpclass declaration... " >&6; }
59675 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59676 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59677 $as_echo_n "(cached) " >&6
59678 else
59681 ac_ext=cpp
59682 ac_cpp='$CXXCPP $CPPFLAGS'
59683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59688 /* end confdefs.h. */
59689 #include <math.h>
59690 #ifdef HAVE_IEEEFP_H
59691 #include <ieeefp.h>
59692 #endif
59695 main ()
59697 qfpclass(0);
59699 return 0;
59701 _ACEOF
59702 if ac_fn_cxx_try_compile "$LINENO"; then :
59703 glibcxx_cv_func_qfpclass_use=yes
59704 else
59705 glibcxx_cv_func_qfpclass_use=no
59707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708 ac_ext=c
59709 ac_cpp='$CPP $CPPFLAGS'
59710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59719 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59721 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59722 for ac_func in qfpclass
59723 do :
59724 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59725 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE_QFPCLASS 1
59728 _ACEOF
59731 done
59733 else
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59736 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59737 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59738 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59739 $as_echo_n "(cached) " >&6
59740 else
59743 ac_ext=cpp
59744 ac_cpp='$CXXCPP $CPPFLAGS'
59745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59750 /* end confdefs.h. */
59751 #include <math.h>
59752 #ifdef HAVE_IEEEFP_H
59753 #include <ieeefp.h>
59754 #endif
59757 main ()
59759 _qfpclass(0);
59761 return 0;
59763 _ACEOF
59764 if ac_fn_cxx_try_compile "$LINENO"; then :
59765 glibcxx_cv_func__qfpclass_use=yes
59766 else
59767 glibcxx_cv_func__qfpclass_use=no
59769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59770 ac_ext=c
59771 ac_cpp='$CPP $CPPFLAGS'
59772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59781 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59783 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59784 for ac_func in _qfpclass
59785 do :
59786 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59787 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59788 cat >>confdefs.h <<_ACEOF
59789 #define HAVE__QFPCLASS 1
59790 _ACEOF
59793 done
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59803 $as_echo_n "checking for hypot declaration... " >&6; }
59804 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59805 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59806 $as_echo_n "(cached) " >&6
59807 else
59810 ac_ext=cpp
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 #include <math.h>
59820 main ()
59822 hypot(0, 0);
59824 return 0;
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func_hypot_use=yes
59829 else
59830 glibcxx_cv_func_hypot_use=no
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59844 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59846 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59847 for ac_func in hypot
59848 do :
59849 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59850 if test "x$ac_cv_func_hypot" = x""yes; then :
59851 cat >>confdefs.h <<_ACEOF
59852 #define HAVE_HYPOT 1
59853 _ACEOF
59856 done
59858 else
59860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59861 $as_echo_n "checking for _hypot declaration... " >&6; }
59862 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59863 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59864 $as_echo_n "(cached) " >&6
59865 else
59868 ac_ext=cpp
59869 ac_cpp='$CXXCPP $CPPFLAGS'
59870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875 /* end confdefs.h. */
59876 #include <math.h>
59878 main ()
59880 _hypot(0, 0);
59882 return 0;
59884 _ACEOF
59885 if ac_fn_cxx_try_compile "$LINENO"; then :
59886 glibcxx_cv_func__hypot_use=yes
59887 else
59888 glibcxx_cv_func__hypot_use=no
59890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59891 ac_ext=c
59892 ac_cpp='$CPP $CPPFLAGS'
59893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59902 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59904 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59905 for ac_func in _hypot
59906 do :
59907 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59908 if test "x$ac_cv_func__hypot" = x""yes; then :
59909 cat >>confdefs.h <<_ACEOF
59910 #define HAVE__HYPOT 1
59911 _ACEOF
59914 done
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59924 $as_echo_n "checking for float trig functions... " >&6; }
59925 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59926 $as_echo_n "(cached) " >&6
59927 else
59930 ac_ext=cpp
59931 ac_cpp='$CXXCPP $CPPFLAGS'
59932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59937 /* end confdefs.h. */
59938 #include <math.h>
59940 main ()
59942 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59944 return 0;
59946 _ACEOF
59947 if ac_fn_cxx_try_compile "$LINENO"; then :
59948 glibcxx_cv_func_float_trig_use=yes
59949 else
59950 glibcxx_cv_func_float_trig_use=no
59952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59953 ac_ext=c
59954 ac_cpp='$CPP $CPPFLAGS'
59955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59962 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59963 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59964 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59965 do :
59966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59968 eval as_val=\$$as_ac_var
59969 if test "x$as_val" = x""yes; then :
59970 cat >>confdefs.h <<_ACEOF
59971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59972 _ACEOF
59975 done
59977 else
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59979 $as_echo_n "checking for _float trig functions... " >&6; }
59980 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59981 $as_echo_n "(cached) " >&6
59982 else
59985 ac_ext=cpp
59986 ac_cpp='$CXXCPP $CPPFLAGS'
59987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59992 /* end confdefs.h. */
59993 #include <math.h>
59995 main ()
59997 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59999 return 0;
60001 _ACEOF
60002 if ac_fn_cxx_try_compile "$LINENO"; then :
60003 glibcxx_cv_func__float_trig_use=yes
60004 else
60005 glibcxx_cv_func__float_trig_use=no
60007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60008 ac_ext=c
60009 ac_cpp='$CPP $CPPFLAGS'
60010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60017 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60018 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60019 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60020 do :
60021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60023 eval as_val=\$$as_ac_var
60024 if test "x$as_val" = x""yes; then :
60025 cat >>confdefs.h <<_ACEOF
60026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60027 _ACEOF
60030 done
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60040 $as_echo_n "checking for float round functions... " >&6; }
60041 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60042 $as_echo_n "(cached) " >&6
60043 else
60046 ac_ext=cpp
60047 ac_cpp='$CXXCPP $CPPFLAGS'
60048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053 /* end confdefs.h. */
60054 #include <math.h>
60056 main ()
60058 ceilf (0); floorf (0);
60060 return 0;
60062 _ACEOF
60063 if ac_fn_cxx_try_compile "$LINENO"; then :
60064 glibcxx_cv_func_float_round_use=yes
60065 else
60066 glibcxx_cv_func_float_round_use=no
60068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60069 ac_ext=c
60070 ac_cpp='$CPP $CPPFLAGS'
60071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60078 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60079 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60080 for ac_func in ceilf floorf
60081 do :
60082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60084 eval as_val=\$$as_ac_var
60085 if test "x$as_val" = x""yes; then :
60086 cat >>confdefs.h <<_ACEOF
60087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60088 _ACEOF
60091 done
60093 else
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60095 $as_echo_n "checking for _float round functions... " >&6; }
60096 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60097 $as_echo_n "(cached) " >&6
60098 else
60101 ac_ext=cpp
60102 ac_cpp='$CXXCPP $CPPFLAGS'
60103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60108 /* end confdefs.h. */
60109 #include <math.h>
60111 main ()
60113 _ceilf (0); _floorf (0);
60115 return 0;
60117 _ACEOF
60118 if ac_fn_cxx_try_compile "$LINENO"; then :
60119 glibcxx_cv_func__float_round_use=yes
60120 else
60121 glibcxx_cv_func__float_round_use=no
60123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60124 ac_ext=c
60125 ac_cpp='$CPP $CPPFLAGS'
60126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60133 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60134 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60135 for ac_func in _ceilf _floorf
60136 do :
60137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60139 eval as_val=\$$as_ac_var
60140 if test "x$as_val" = x""yes; then :
60141 cat >>confdefs.h <<_ACEOF
60142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60143 _ACEOF
60146 done
60156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60157 $as_echo_n "checking for expf declaration... " >&6; }
60158 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60159 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60160 $as_echo_n "(cached) " >&6
60161 else
60164 ac_ext=cpp
60165 ac_cpp='$CXXCPP $CPPFLAGS'
60166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60171 /* end confdefs.h. */
60172 #include <math.h>
60173 #ifdef HAVE_IEEEFP_H
60174 #include <ieeefp.h>
60175 #endif
60178 main ()
60180 expf(0);
60182 return 0;
60184 _ACEOF
60185 if ac_fn_cxx_try_compile "$LINENO"; then :
60186 glibcxx_cv_func_expf_use=yes
60187 else
60188 glibcxx_cv_func_expf_use=no
60190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60191 ac_ext=c
60192 ac_cpp='$CPP $CPPFLAGS'
60193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60202 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60204 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60205 for ac_func in expf
60206 do :
60207 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60208 if test "x$ac_cv_func_expf" = x""yes; then :
60209 cat >>confdefs.h <<_ACEOF
60210 #define HAVE_EXPF 1
60211 _ACEOF
60214 done
60216 else
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60219 $as_echo_n "checking for _expf declaration... " >&6; }
60220 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60221 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60222 $as_echo_n "(cached) " >&6
60223 else
60226 ac_ext=cpp
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h. */
60234 #include <math.h>
60235 #ifdef HAVE_IEEEFP_H
60236 #include <ieeefp.h>
60237 #endif
60240 main ()
60242 _expf(0);
60244 return 0;
60246 _ACEOF
60247 if ac_fn_cxx_try_compile "$LINENO"; then :
60248 glibcxx_cv_func__expf_use=yes
60249 else
60250 glibcxx_cv_func__expf_use=no
60252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60253 ac_ext=c
60254 ac_cpp='$CPP $CPPFLAGS'
60255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60264 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60266 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60267 for ac_func in _expf
60268 do :
60269 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60270 if test "x$ac_cv_func__expf" = x""yes; then :
60271 cat >>confdefs.h <<_ACEOF
60272 #define HAVE__EXPF 1
60273 _ACEOF
60276 done
60285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60286 $as_echo_n "checking for isnanf declaration... " >&6; }
60287 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60288 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60289 $as_echo_n "(cached) " >&6
60290 else
60293 ac_ext=cpp
60294 ac_cpp='$CXXCPP $CPPFLAGS'
60295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60300 /* end confdefs.h. */
60301 #include <math.h>
60302 #ifdef HAVE_IEEEFP_H
60303 #include <ieeefp.h>
60304 #endif
60307 main ()
60309 isnanf(0);
60311 return 0;
60313 _ACEOF
60314 if ac_fn_cxx_try_compile "$LINENO"; then :
60315 glibcxx_cv_func_isnanf_use=yes
60316 else
60317 glibcxx_cv_func_isnanf_use=no
60319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60320 ac_ext=c
60321 ac_cpp='$CPP $CPPFLAGS'
60322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60331 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60333 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60334 for ac_func in isnanf
60335 do :
60336 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60337 if test "x$ac_cv_func_isnanf" = x""yes; then :
60338 cat >>confdefs.h <<_ACEOF
60339 #define HAVE_ISNANF 1
60340 _ACEOF
60343 done
60345 else
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60348 $as_echo_n "checking for _isnanf declaration... " >&6; }
60349 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60350 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60351 $as_echo_n "(cached) " >&6
60352 else
60355 ac_ext=cpp
60356 ac_cpp='$CXXCPP $CPPFLAGS'
60357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60362 /* end confdefs.h. */
60363 #include <math.h>
60364 #ifdef HAVE_IEEEFP_H
60365 #include <ieeefp.h>
60366 #endif
60369 main ()
60371 _isnanf(0);
60373 return 0;
60375 _ACEOF
60376 if ac_fn_cxx_try_compile "$LINENO"; then :
60377 glibcxx_cv_func__isnanf_use=yes
60378 else
60379 glibcxx_cv_func__isnanf_use=no
60381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60382 ac_ext=c
60383 ac_cpp='$CPP $CPPFLAGS'
60384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60393 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60395 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60396 for ac_func in _isnanf
60397 do :
60398 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60399 if test "x$ac_cv_func__isnanf" = x""yes; then :
60400 cat >>confdefs.h <<_ACEOF
60401 #define HAVE__ISNANF 1
60402 _ACEOF
60405 done
60414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60415 $as_echo_n "checking for isinff declaration... " >&6; }
60416 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60417 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60418 $as_echo_n "(cached) " >&6
60419 else
60422 ac_ext=cpp
60423 ac_cpp='$CXXCPP $CPPFLAGS'
60424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60429 /* end confdefs.h. */
60430 #include <math.h>
60431 #ifdef HAVE_IEEEFP_H
60432 #include <ieeefp.h>
60433 #endif
60436 main ()
60438 isinff(0);
60440 return 0;
60442 _ACEOF
60443 if ac_fn_cxx_try_compile "$LINENO"; then :
60444 glibcxx_cv_func_isinff_use=yes
60445 else
60446 glibcxx_cv_func_isinff_use=no
60448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60449 ac_ext=c
60450 ac_cpp='$CPP $CPPFLAGS'
60451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60460 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60462 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60463 for ac_func in isinff
60464 do :
60465 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60466 if test "x$ac_cv_func_isinff" = x""yes; then :
60467 cat >>confdefs.h <<_ACEOF
60468 #define HAVE_ISINFF 1
60469 _ACEOF
60472 done
60474 else
60476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60477 $as_echo_n "checking for _isinff declaration... " >&6; }
60478 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60479 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60480 $as_echo_n "(cached) " >&6
60481 else
60484 ac_ext=cpp
60485 ac_cpp='$CXXCPP $CPPFLAGS'
60486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60491 /* end confdefs.h. */
60492 #include <math.h>
60493 #ifdef HAVE_IEEEFP_H
60494 #include <ieeefp.h>
60495 #endif
60498 main ()
60500 _isinff(0);
60502 return 0;
60504 _ACEOF
60505 if ac_fn_cxx_try_compile "$LINENO"; then :
60506 glibcxx_cv_func__isinff_use=yes
60507 else
60508 glibcxx_cv_func__isinff_use=no
60510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60511 ac_ext=c
60512 ac_cpp='$CPP $CPPFLAGS'
60513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60522 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60524 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60525 for ac_func in _isinff
60526 do :
60527 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60528 if test "x$ac_cv_func__isinff" = x""yes; then :
60529 cat >>confdefs.h <<_ACEOF
60530 #define HAVE__ISINFF 1
60531 _ACEOF
60534 done
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60544 $as_echo_n "checking for atan2f declaration... " >&6; }
60545 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60546 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60547 $as_echo_n "(cached) " >&6
60548 else
60551 ac_ext=cpp
60552 ac_cpp='$CXXCPP $CPPFLAGS'
60553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60558 /* end confdefs.h. */
60559 #include <math.h>
60561 main ()
60563 atan2f(0, 0);
60565 return 0;
60567 _ACEOF
60568 if ac_fn_cxx_try_compile "$LINENO"; then :
60569 glibcxx_cv_func_atan2f_use=yes
60570 else
60571 glibcxx_cv_func_atan2f_use=no
60573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60574 ac_ext=c
60575 ac_cpp='$CPP $CPPFLAGS'
60576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60585 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60587 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60588 for ac_func in atan2f
60589 do :
60590 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60591 if test "x$ac_cv_func_atan2f" = x""yes; then :
60592 cat >>confdefs.h <<_ACEOF
60593 #define HAVE_ATAN2F 1
60594 _ACEOF
60597 done
60599 else
60601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60602 $as_echo_n "checking for _atan2f declaration... " >&6; }
60603 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60604 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60605 $as_echo_n "(cached) " >&6
60606 else
60609 ac_ext=cpp
60610 ac_cpp='$CXXCPP $CPPFLAGS'
60611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60616 /* end confdefs.h. */
60617 #include <math.h>
60619 main ()
60621 _atan2f(0, 0);
60623 return 0;
60625 _ACEOF
60626 if ac_fn_cxx_try_compile "$LINENO"; then :
60627 glibcxx_cv_func__atan2f_use=yes
60628 else
60629 glibcxx_cv_func__atan2f_use=no
60631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60632 ac_ext=c
60633 ac_cpp='$CPP $CPPFLAGS'
60634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60643 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60645 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60646 for ac_func in _atan2f
60647 do :
60648 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60649 if test "x$ac_cv_func__atan2f" = x""yes; then :
60650 cat >>confdefs.h <<_ACEOF
60651 #define HAVE__ATAN2F 1
60652 _ACEOF
60655 done
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60665 $as_echo_n "checking for fabsf declaration... " >&6; }
60666 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60667 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60668 $as_echo_n "(cached) " >&6
60669 else
60672 ac_ext=cpp
60673 ac_cpp='$CXXCPP $CPPFLAGS'
60674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60679 /* end confdefs.h. */
60680 #include <math.h>
60681 #ifdef HAVE_IEEEFP_H
60682 #include <ieeefp.h>
60683 #endif
60686 main ()
60688 fabsf(0);
60690 return 0;
60692 _ACEOF
60693 if ac_fn_cxx_try_compile "$LINENO"; then :
60694 glibcxx_cv_func_fabsf_use=yes
60695 else
60696 glibcxx_cv_func_fabsf_use=no
60698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60710 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60712 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60713 for ac_func in fabsf
60714 do :
60715 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60716 if test "x$ac_cv_func_fabsf" = x""yes; then :
60717 cat >>confdefs.h <<_ACEOF
60718 #define HAVE_FABSF 1
60719 _ACEOF
60722 done
60724 else
60726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60727 $as_echo_n "checking for _fabsf declaration... " >&6; }
60728 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60729 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60730 $as_echo_n "(cached) " >&6
60731 else
60734 ac_ext=cpp
60735 ac_cpp='$CXXCPP $CPPFLAGS'
60736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 #include <math.h>
60743 #ifdef HAVE_IEEEFP_H
60744 #include <ieeefp.h>
60745 #endif
60748 main ()
60750 _fabsf(0);
60752 return 0;
60754 _ACEOF
60755 if ac_fn_cxx_try_compile "$LINENO"; then :
60756 glibcxx_cv_func__fabsf_use=yes
60757 else
60758 glibcxx_cv_func__fabsf_use=no
60760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60761 ac_ext=c
60762 ac_cpp='$CPP $CPPFLAGS'
60763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60772 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60774 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60775 for ac_func in _fabsf
60776 do :
60777 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60778 if test "x$ac_cv_func__fabsf" = x""yes; then :
60779 cat >>confdefs.h <<_ACEOF
60780 #define HAVE__FABSF 1
60781 _ACEOF
60784 done
60793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60794 $as_echo_n "checking for fmodf declaration... " >&6; }
60795 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60796 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60797 $as_echo_n "(cached) " >&6
60798 else
60801 ac_ext=cpp
60802 ac_cpp='$CXXCPP $CPPFLAGS'
60803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60808 /* end confdefs.h. */
60809 #include <math.h>
60811 main ()
60813 fmodf(0, 0);
60815 return 0;
60817 _ACEOF
60818 if ac_fn_cxx_try_compile "$LINENO"; then :
60819 glibcxx_cv_func_fmodf_use=yes
60820 else
60821 glibcxx_cv_func_fmodf_use=no
60823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60824 ac_ext=c
60825 ac_cpp='$CPP $CPPFLAGS'
60826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60835 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60837 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60838 for ac_func in fmodf
60839 do :
60840 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60841 if test "x$ac_cv_func_fmodf" = x""yes; then :
60842 cat >>confdefs.h <<_ACEOF
60843 #define HAVE_FMODF 1
60844 _ACEOF
60847 done
60849 else
60851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60852 $as_echo_n "checking for _fmodf declaration... " >&6; }
60853 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60854 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60855 $as_echo_n "(cached) " >&6
60856 else
60859 ac_ext=cpp
60860 ac_cpp='$CXXCPP $CPPFLAGS'
60861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60866 /* end confdefs.h. */
60867 #include <math.h>
60869 main ()
60871 _fmodf(0, 0);
60873 return 0;
60875 _ACEOF
60876 if ac_fn_cxx_try_compile "$LINENO"; then :
60877 glibcxx_cv_func__fmodf_use=yes
60878 else
60879 glibcxx_cv_func__fmodf_use=no
60881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60893 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60895 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60896 for ac_func in _fmodf
60897 do :
60898 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60899 if test "x$ac_cv_func__fmodf" = x""yes; then :
60900 cat >>confdefs.h <<_ACEOF
60901 #define HAVE__FMODF 1
60902 _ACEOF
60905 done
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60915 $as_echo_n "checking for frexpf declaration... " >&6; }
60916 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60917 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60918 $as_echo_n "(cached) " >&6
60919 else
60922 ac_ext=cpp
60923 ac_cpp='$CXXCPP $CPPFLAGS'
60924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60929 /* end confdefs.h. */
60930 #include <math.h>
60932 main ()
60934 frexpf(0, 0);
60936 return 0;
60938 _ACEOF
60939 if ac_fn_cxx_try_compile "$LINENO"; then :
60940 glibcxx_cv_func_frexpf_use=yes
60941 else
60942 glibcxx_cv_func_frexpf_use=no
60944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60945 ac_ext=c
60946 ac_cpp='$CPP $CPPFLAGS'
60947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60956 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60958 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60959 for ac_func in frexpf
60960 do :
60961 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60962 if test "x$ac_cv_func_frexpf" = x""yes; then :
60963 cat >>confdefs.h <<_ACEOF
60964 #define HAVE_FREXPF 1
60965 _ACEOF
60968 done
60970 else
60972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60973 $as_echo_n "checking for _frexpf declaration... " >&6; }
60974 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60975 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60976 $as_echo_n "(cached) " >&6
60977 else
60980 ac_ext=cpp
60981 ac_cpp='$CXXCPP $CPPFLAGS'
60982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60987 /* end confdefs.h. */
60988 #include <math.h>
60990 main ()
60992 _frexpf(0, 0);
60994 return 0;
60996 _ACEOF
60997 if ac_fn_cxx_try_compile "$LINENO"; then :
60998 glibcxx_cv_func__frexpf_use=yes
60999 else
61000 glibcxx_cv_func__frexpf_use=no
61002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61003 ac_ext=c
61004 ac_cpp='$CPP $CPPFLAGS'
61005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61014 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61016 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61017 for ac_func in _frexpf
61018 do :
61019 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61020 if test "x$ac_cv_func__frexpf" = x""yes; then :
61021 cat >>confdefs.h <<_ACEOF
61022 #define HAVE__FREXPF 1
61023 _ACEOF
61026 done
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61036 $as_echo_n "checking for hypotf declaration... " >&6; }
61037 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61038 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61039 $as_echo_n "(cached) " >&6
61040 else
61043 ac_ext=cpp
61044 ac_cpp='$CXXCPP $CPPFLAGS'
61045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61050 /* end confdefs.h. */
61051 #include <math.h>
61053 main ()
61055 hypotf(0, 0);
61057 return 0;
61059 _ACEOF
61060 if ac_fn_cxx_try_compile "$LINENO"; then :
61061 glibcxx_cv_func_hypotf_use=yes
61062 else
61063 glibcxx_cv_func_hypotf_use=no
61065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61066 ac_ext=c
61067 ac_cpp='$CPP $CPPFLAGS'
61068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61077 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61079 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61080 for ac_func in hypotf
61081 do :
61082 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61083 if test "x$ac_cv_func_hypotf" = x""yes; then :
61084 cat >>confdefs.h <<_ACEOF
61085 #define HAVE_HYPOTF 1
61086 _ACEOF
61089 done
61091 else
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61094 $as_echo_n "checking for _hypotf declaration... " >&6; }
61095 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61096 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61097 $as_echo_n "(cached) " >&6
61098 else
61101 ac_ext=cpp
61102 ac_cpp='$CXXCPP $CPPFLAGS'
61103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61108 /* end confdefs.h. */
61109 #include <math.h>
61111 main ()
61113 _hypotf(0, 0);
61115 return 0;
61117 _ACEOF
61118 if ac_fn_cxx_try_compile "$LINENO"; then :
61119 glibcxx_cv_func__hypotf_use=yes
61120 else
61121 glibcxx_cv_func__hypotf_use=no
61123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61124 ac_ext=c
61125 ac_cpp='$CPP $CPPFLAGS'
61126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61135 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61137 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61138 for ac_func in _hypotf
61139 do :
61140 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61141 if test "x$ac_cv_func__hypotf" = x""yes; then :
61142 cat >>confdefs.h <<_ACEOF
61143 #define HAVE__HYPOTF 1
61144 _ACEOF
61147 done
61156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61157 $as_echo_n "checking for ldexpf declaration... " >&6; }
61158 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61159 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61160 $as_echo_n "(cached) " >&6
61161 else
61164 ac_ext=cpp
61165 ac_cpp='$CXXCPP $CPPFLAGS'
61166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61171 /* end confdefs.h. */
61172 #include <math.h>
61174 main ()
61176 ldexpf(0, 0);
61178 return 0;
61180 _ACEOF
61181 if ac_fn_cxx_try_compile "$LINENO"; then :
61182 glibcxx_cv_func_ldexpf_use=yes
61183 else
61184 glibcxx_cv_func_ldexpf_use=no
61186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61187 ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61198 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61200 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61201 for ac_func in ldexpf
61202 do :
61203 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61204 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61205 cat >>confdefs.h <<_ACEOF
61206 #define HAVE_LDEXPF 1
61207 _ACEOF
61210 done
61212 else
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61215 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61216 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61217 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61218 $as_echo_n "(cached) " >&6
61219 else
61222 ac_ext=cpp
61223 ac_cpp='$CXXCPP $CPPFLAGS'
61224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61229 /* end confdefs.h. */
61230 #include <math.h>
61232 main ()
61234 _ldexpf(0, 0);
61236 return 0;
61238 _ACEOF
61239 if ac_fn_cxx_try_compile "$LINENO"; then :
61240 glibcxx_cv_func__ldexpf_use=yes
61241 else
61242 glibcxx_cv_func__ldexpf_use=no
61244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61245 ac_ext=c
61246 ac_cpp='$CPP $CPPFLAGS'
61247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61256 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61258 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61259 for ac_func in _ldexpf
61260 do :
61261 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61262 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61263 cat >>confdefs.h <<_ACEOF
61264 #define HAVE__LDEXPF 1
61265 _ACEOF
61268 done
61277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61278 $as_echo_n "checking for logf declaration... " >&6; }
61279 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61280 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61281 $as_echo_n "(cached) " >&6
61282 else
61285 ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h. */
61293 #include <math.h>
61294 #ifdef HAVE_IEEEFP_H
61295 #include <ieeefp.h>
61296 #endif
61299 main ()
61301 logf(0);
61303 return 0;
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307 glibcxx_cv_func_logf_use=yes
61308 else
61309 glibcxx_cv_func_logf_use=no
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61323 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61325 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61326 for ac_func in logf
61327 do :
61328 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61329 if test "x$ac_cv_func_logf" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define HAVE_LOGF 1
61332 _ACEOF
61335 done
61337 else
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61340 $as_echo_n "checking for _logf declaration... " >&6; }
61341 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61342 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61343 $as_echo_n "(cached) " >&6
61344 else
61347 ac_ext=cpp
61348 ac_cpp='$CXXCPP $CPPFLAGS'
61349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61354 /* end confdefs.h. */
61355 #include <math.h>
61356 #ifdef HAVE_IEEEFP_H
61357 #include <ieeefp.h>
61358 #endif
61361 main ()
61363 _logf(0);
61365 return 0;
61367 _ACEOF
61368 if ac_fn_cxx_try_compile "$LINENO"; then :
61369 glibcxx_cv_func__logf_use=yes
61370 else
61371 glibcxx_cv_func__logf_use=no
61373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61374 ac_ext=c
61375 ac_cpp='$CPP $CPPFLAGS'
61376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61385 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61387 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61388 for ac_func in _logf
61389 do :
61390 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61391 if test "x$ac_cv_func__logf" = x""yes; then :
61392 cat >>confdefs.h <<_ACEOF
61393 #define HAVE__LOGF 1
61394 _ACEOF
61397 done
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61407 $as_echo_n "checking for log10f declaration... " >&6; }
61408 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61409 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61410 $as_echo_n "(cached) " >&6
61411 else
61414 ac_ext=cpp
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61421 /* end confdefs.h. */
61422 #include <math.h>
61423 #ifdef HAVE_IEEEFP_H
61424 #include <ieeefp.h>
61425 #endif
61428 main ()
61430 log10f(0);
61432 return 0;
61434 _ACEOF
61435 if ac_fn_cxx_try_compile "$LINENO"; then :
61436 glibcxx_cv_func_log10f_use=yes
61437 else
61438 glibcxx_cv_func_log10f_use=no
61440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61441 ac_ext=c
61442 ac_cpp='$CPP $CPPFLAGS'
61443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61452 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61454 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61455 for ac_func in log10f
61456 do :
61457 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61458 if test "x$ac_cv_func_log10f" = x""yes; then :
61459 cat >>confdefs.h <<_ACEOF
61460 #define HAVE_LOG10F 1
61461 _ACEOF
61464 done
61466 else
61468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61469 $as_echo_n "checking for _log10f declaration... " >&6; }
61470 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61471 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61485 #ifdef HAVE_IEEEFP_H
61486 #include <ieeefp.h>
61487 #endif
61490 main ()
61492 _log10f(0);
61494 return 0;
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498 glibcxx_cv_func__log10f_use=yes
61499 else
61500 glibcxx_cv_func__log10f_use=no
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503 ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61514 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61516 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61517 for ac_func in _log10f
61518 do :
61519 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61520 if test "x$ac_cv_func__log10f" = x""yes; then :
61521 cat >>confdefs.h <<_ACEOF
61522 #define HAVE__LOG10F 1
61523 _ACEOF
61526 done
61535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61536 $as_echo_n "checking for modff declaration... " >&6; }
61537 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61538 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61539 $as_echo_n "(cached) " >&6
61540 else
61543 ac_ext=cpp
61544 ac_cpp='$CXXCPP $CPPFLAGS'
61545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61550 /* end confdefs.h. */
61551 #include <math.h>
61553 main ()
61555 modff(0, 0);
61557 return 0;
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func_modff_use=yes
61562 else
61563 glibcxx_cv_func_modff_use=no
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61577 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61579 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61580 for ac_func in modff
61581 do :
61582 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61583 if test "x$ac_cv_func_modff" = x""yes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE_MODFF 1
61586 _ACEOF
61589 done
61591 else
61593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61594 $as_echo_n "checking for _modff declaration... " >&6; }
61595 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61596 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61597 $as_echo_n "(cached) " >&6
61598 else
61601 ac_ext=cpp
61602 ac_cpp='$CXXCPP $CPPFLAGS'
61603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61608 /* end confdefs.h. */
61609 #include <math.h>
61611 main ()
61613 _modff(0, 0);
61615 return 0;
61617 _ACEOF
61618 if ac_fn_cxx_try_compile "$LINENO"; then :
61619 glibcxx_cv_func__modff_use=yes
61620 else
61621 glibcxx_cv_func__modff_use=no
61623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61624 ac_ext=c
61625 ac_cpp='$CPP $CPPFLAGS'
61626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61635 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61637 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61638 for ac_func in _modff
61639 do :
61640 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61641 if test "x$ac_cv_func__modff" = x""yes; then :
61642 cat >>confdefs.h <<_ACEOF
61643 #define HAVE__MODFF 1
61644 _ACEOF
61647 done
61656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61657 $as_echo_n "checking for modf declaration... " >&6; }
61658 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61659 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61660 $as_echo_n "(cached) " >&6
61661 else
61664 ac_ext=cpp
61665 ac_cpp='$CXXCPP $CPPFLAGS'
61666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61671 /* end confdefs.h. */
61672 #include <math.h>
61674 main ()
61676 modf(0, 0);
61678 return 0;
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func_modf_use=yes
61683 else
61684 glibcxx_cv_func_modf_use=no
61686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61687 ac_ext=c
61688 ac_cpp='$CPP $CPPFLAGS'
61689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61698 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61700 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61701 for ac_func in modf
61702 do :
61703 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61704 if test "x$ac_cv_func_modf" = x""yes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE_MODF 1
61707 _ACEOF
61710 done
61712 else
61714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61715 $as_echo_n "checking for _modf declaration... " >&6; }
61716 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61717 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61718 $as_echo_n "(cached) " >&6
61719 else
61722 ac_ext=cpp
61723 ac_cpp='$CXXCPP $CPPFLAGS'
61724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61729 /* end confdefs.h. */
61730 #include <math.h>
61732 main ()
61734 _modf(0, 0);
61736 return 0;
61738 _ACEOF
61739 if ac_fn_cxx_try_compile "$LINENO"; then :
61740 glibcxx_cv_func__modf_use=yes
61741 else
61742 glibcxx_cv_func__modf_use=no
61744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61745 ac_ext=c
61746 ac_cpp='$CPP $CPPFLAGS'
61747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61756 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61758 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61759 for ac_func in _modf
61760 do :
61761 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61762 if test "x$ac_cv_func__modf" = x""yes; then :
61763 cat >>confdefs.h <<_ACEOF
61764 #define HAVE__MODF 1
61765 _ACEOF
61768 done
61777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61778 $as_echo_n "checking for powf declaration... " >&6; }
61779 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61780 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61781 $as_echo_n "(cached) " >&6
61782 else
61785 ac_ext=cpp
61786 ac_cpp='$CXXCPP $CPPFLAGS'
61787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61792 /* end confdefs.h. */
61793 #include <math.h>
61795 main ()
61797 powf(0, 0);
61799 return 0;
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func_powf_use=yes
61804 else
61805 glibcxx_cv_func_powf_use=no
61807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61819 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61821 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61822 for ac_func in powf
61823 do :
61824 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61825 if test "x$ac_cv_func_powf" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE_POWF 1
61828 _ACEOF
61831 done
61833 else
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61836 $as_echo_n "checking for _powf declaration... " >&6; }
61837 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61838 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61839 $as_echo_n "(cached) " >&6
61840 else
61843 ac_ext=cpp
61844 ac_cpp='$CXXCPP $CPPFLAGS'
61845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61850 /* end confdefs.h. */
61851 #include <math.h>
61853 main ()
61855 _powf(0, 0);
61857 return 0;
61859 _ACEOF
61860 if ac_fn_cxx_try_compile "$LINENO"; then :
61861 glibcxx_cv_func__powf_use=yes
61862 else
61863 glibcxx_cv_func__powf_use=no
61865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61866 ac_ext=c
61867 ac_cpp='$CPP $CPPFLAGS'
61868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61877 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61879 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61880 for ac_func in _powf
61881 do :
61882 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61883 if test "x$ac_cv_func__powf" = x""yes; then :
61884 cat >>confdefs.h <<_ACEOF
61885 #define HAVE__POWF 1
61886 _ACEOF
61889 done
61898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61899 $as_echo_n "checking for sqrtf declaration... " >&6; }
61900 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61901 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61902 $as_echo_n "(cached) " >&6
61903 else
61906 ac_ext=cpp
61907 ac_cpp='$CXXCPP $CPPFLAGS'
61908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61913 /* end confdefs.h. */
61914 #include <math.h>
61915 #ifdef HAVE_IEEEFP_H
61916 #include <ieeefp.h>
61917 #endif
61920 main ()
61922 sqrtf(0);
61924 return 0;
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func_sqrtf_use=yes
61929 else
61930 glibcxx_cv_func_sqrtf_use=no
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61944 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61946 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61947 for ac_func in sqrtf
61948 do :
61949 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61950 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE_SQRTF 1
61953 _ACEOF
61956 done
61958 else
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61961 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61962 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61963 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61964 $as_echo_n "(cached) " >&6
61965 else
61968 ac_ext=cpp
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61975 /* end confdefs.h. */
61976 #include <math.h>
61977 #ifdef HAVE_IEEEFP_H
61978 #include <ieeefp.h>
61979 #endif
61982 main ()
61984 _sqrtf(0);
61986 return 0;
61988 _ACEOF
61989 if ac_fn_cxx_try_compile "$LINENO"; then :
61990 glibcxx_cv_func__sqrtf_use=yes
61991 else
61992 glibcxx_cv_func__sqrtf_use=no
61994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61995 ac_ext=c
61996 ac_cpp='$CPP $CPPFLAGS'
61997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62006 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62008 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62009 for ac_func in _sqrtf
62010 do :
62011 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62012 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62013 cat >>confdefs.h <<_ACEOF
62014 #define HAVE__SQRTF 1
62015 _ACEOF
62018 done
62027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62028 $as_echo_n "checking for sincosf declaration... " >&6; }
62029 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62030 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62031 $as_echo_n "(cached) " >&6
62032 else
62035 ac_ext=cpp
62036 ac_cpp='$CXXCPP $CPPFLAGS'
62037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62042 /* end confdefs.h. */
62043 #include <math.h>
62045 main ()
62047 sincosf(0, 0, 0);
62049 return 0;
62051 _ACEOF
62052 if ac_fn_cxx_try_compile "$LINENO"; then :
62053 glibcxx_cv_func_sincosf_use=yes
62054 else
62055 glibcxx_cv_func_sincosf_use=no
62057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62058 ac_ext=c
62059 ac_cpp='$CPP $CPPFLAGS'
62060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62069 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62071 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62072 for ac_func in sincosf
62073 do :
62074 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62075 if test "x$ac_cv_func_sincosf" = x""yes; then :
62076 cat >>confdefs.h <<_ACEOF
62077 #define HAVE_SINCOSF 1
62078 _ACEOF
62081 done
62083 else
62085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62086 $as_echo_n "checking for _sincosf declaration... " >&6; }
62087 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62088 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62089 $as_echo_n "(cached) " >&6
62090 else
62093 ac_ext=cpp
62094 ac_cpp='$CXXCPP $CPPFLAGS'
62095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62100 /* end confdefs.h. */
62101 #include <math.h>
62103 main ()
62105 _sincosf(0, 0, 0);
62107 return 0;
62109 _ACEOF
62110 if ac_fn_cxx_try_compile "$LINENO"; then :
62111 glibcxx_cv_func__sincosf_use=yes
62112 else
62113 glibcxx_cv_func__sincosf_use=no
62115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62116 ac_ext=c
62117 ac_cpp='$CPP $CPPFLAGS'
62118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62127 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62129 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62130 for ac_func in _sincosf
62131 do :
62132 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62133 if test "x$ac_cv_func__sincosf" = x""yes; then :
62134 cat >>confdefs.h <<_ACEOF
62135 #define HAVE__SINCOSF 1
62136 _ACEOF
62139 done
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62149 $as_echo_n "checking for finitef declaration... " >&6; }
62150 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62151 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62152 $as_echo_n "(cached) " >&6
62153 else
62156 ac_ext=cpp
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62170 main ()
62172 finitef(0);
62174 return 0;
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178 glibcxx_cv_func_finitef_use=yes
62179 else
62180 glibcxx_cv_func_finitef_use=no
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183 ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62194 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62196 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62197 for ac_func in finitef
62198 do :
62199 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62200 if test "x$ac_cv_func_finitef" = x""yes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE_FINITEF 1
62203 _ACEOF
62206 done
62208 else
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62211 $as_echo_n "checking for _finitef declaration... " >&6; }
62212 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62213 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62214 $as_echo_n "(cached) " >&6
62215 else
62218 ac_ext=cpp
62219 ac_cpp='$CXXCPP $CPPFLAGS'
62220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62225 /* end confdefs.h. */
62226 #include <math.h>
62227 #ifdef HAVE_IEEEFP_H
62228 #include <ieeefp.h>
62229 #endif
62232 main ()
62234 _finitef(0);
62236 return 0;
62238 _ACEOF
62239 if ac_fn_cxx_try_compile "$LINENO"; then :
62240 glibcxx_cv_func__finitef_use=yes
62241 else
62242 glibcxx_cv_func__finitef_use=no
62244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62245 ac_ext=c
62246 ac_cpp='$CPP $CPPFLAGS'
62247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62256 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62258 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62259 for ac_func in _finitef
62260 do :
62261 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62262 if test "x$ac_cv_func__finitef" = x""yes; then :
62263 cat >>confdefs.h <<_ACEOF
62264 #define HAVE__FINITEF 1
62265 _ACEOF
62268 done
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62278 $as_echo_n "checking for long double trig functions... " >&6; }
62279 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62280 $as_echo_n "(cached) " >&6
62281 else
62284 ac_ext=cpp
62285 ac_cpp='$CXXCPP $CPPFLAGS'
62286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62291 /* end confdefs.h. */
62292 #include <math.h>
62294 main ()
62296 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62298 return 0;
62300 _ACEOF
62301 if ac_fn_cxx_try_compile "$LINENO"; then :
62302 glibcxx_cv_func_long_double_trig_use=yes
62303 else
62304 glibcxx_cv_func_long_double_trig_use=no
62306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62307 ac_ext=c
62308 ac_cpp='$CPP $CPPFLAGS'
62309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62316 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62317 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62318 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62319 do :
62320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62322 eval as_val=\$$as_ac_var
62323 if test "x$as_val" = x""yes; then :
62324 cat >>confdefs.h <<_ACEOF
62325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62326 _ACEOF
62329 done
62331 else
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62333 $as_echo_n "checking for _long double trig functions... " >&6; }
62334 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62335 $as_echo_n "(cached) " >&6
62336 else
62339 ac_ext=cpp
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62346 /* end confdefs.h. */
62347 #include <math.h>
62349 main ()
62351 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62353 return 0;
62355 _ACEOF
62356 if ac_fn_cxx_try_compile "$LINENO"; then :
62357 glibcxx_cv_func__long_double_trig_use=yes
62358 else
62359 glibcxx_cv_func__long_double_trig_use=no
62361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62371 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62372 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62373 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62374 do :
62375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62377 eval as_val=\$$as_ac_var
62378 if test "x$as_val" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62381 _ACEOF
62384 done
62393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62394 $as_echo_n "checking for long double round functions... " >&6; }
62395 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62396 $as_echo_n "(cached) " >&6
62397 else
62400 ac_ext=cpp
62401 ac_cpp='$CXXCPP $CPPFLAGS'
62402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62407 /* end confdefs.h. */
62408 #include <math.h>
62410 main ()
62412 ceill (0); floorl (0);
62414 return 0;
62416 _ACEOF
62417 if ac_fn_cxx_try_compile "$LINENO"; then :
62418 glibcxx_cv_func_long_double_round_use=yes
62419 else
62420 glibcxx_cv_func_long_double_round_use=no
62422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62423 ac_ext=c
62424 ac_cpp='$CPP $CPPFLAGS'
62425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62432 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62433 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62434 for ac_func in ceill floorl
62435 do :
62436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62438 eval as_val=\$$as_ac_var
62439 if test "x$as_val" = x""yes; then :
62440 cat >>confdefs.h <<_ACEOF
62441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62442 _ACEOF
62445 done
62447 else
62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62449 $as_echo_n "checking for _long double round functions... " >&6; }
62450 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62451 $as_echo_n "(cached) " >&6
62452 else
62455 ac_ext=cpp
62456 ac_cpp='$CXXCPP $CPPFLAGS'
62457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62462 /* end confdefs.h. */
62463 #include <math.h>
62465 main ()
62467 _ceill (0); _floorl (0);
62469 return 0;
62471 _ACEOF
62472 if ac_fn_cxx_try_compile "$LINENO"; then :
62473 glibcxx_cv_func__long_double_round_use=yes
62474 else
62475 glibcxx_cv_func__long_double_round_use=no
62477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62478 ac_ext=c
62479 ac_cpp='$CPP $CPPFLAGS'
62480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62487 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62488 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62489 for ac_func in _ceill _floorl
62490 do :
62491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62493 eval as_val=\$$as_ac_var
62494 if test "x$as_val" = x""yes; then :
62495 cat >>confdefs.h <<_ACEOF
62496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62497 _ACEOF
62500 done
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62511 $as_echo_n "checking for isnanl declaration... " >&6; }
62512 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62513 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62514 $as_echo_n "(cached) " >&6
62515 else
62518 ac_ext=cpp
62519 ac_cpp='$CXXCPP $CPPFLAGS'
62520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62525 /* end confdefs.h. */
62526 #include <math.h>
62527 #ifdef HAVE_IEEEFP_H
62528 #include <ieeefp.h>
62529 #endif
62532 main ()
62534 isnanl(0);
62536 return 0;
62538 _ACEOF
62539 if ac_fn_cxx_try_compile "$LINENO"; then :
62540 glibcxx_cv_func_isnanl_use=yes
62541 else
62542 glibcxx_cv_func_isnanl_use=no
62544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62545 ac_ext=c
62546 ac_cpp='$CPP $CPPFLAGS'
62547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62556 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62558 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62559 for ac_func in isnanl
62560 do :
62561 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62562 if test "x$ac_cv_func_isnanl" = x""yes; then :
62563 cat >>confdefs.h <<_ACEOF
62564 #define HAVE_ISNANL 1
62565 _ACEOF
62568 done
62570 else
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62573 $as_echo_n "checking for _isnanl declaration... " >&6; }
62574 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62575 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62576 $as_echo_n "(cached) " >&6
62577 else
62580 ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h. */
62588 #include <math.h>
62589 #ifdef HAVE_IEEEFP_H
62590 #include <ieeefp.h>
62591 #endif
62594 main ()
62596 _isnanl(0);
62598 return 0;
62600 _ACEOF
62601 if ac_fn_cxx_try_compile "$LINENO"; then :
62602 glibcxx_cv_func__isnanl_use=yes
62603 else
62604 glibcxx_cv_func__isnanl_use=no
62606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62607 ac_ext=c
62608 ac_cpp='$CPP $CPPFLAGS'
62609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62618 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62620 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62621 for ac_func in _isnanl
62622 do :
62623 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62624 if test "x$ac_cv_func__isnanl" = x""yes; then :
62625 cat >>confdefs.h <<_ACEOF
62626 #define HAVE__ISNANL 1
62627 _ACEOF
62630 done
62639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62640 $as_echo_n "checking for isinfl declaration... " >&6; }
62641 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62642 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62643 $as_echo_n "(cached) " >&6
62644 else
62647 ac_ext=cpp
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62654 /* end confdefs.h. */
62655 #include <math.h>
62656 #ifdef HAVE_IEEEFP_H
62657 #include <ieeefp.h>
62658 #endif
62661 main ()
62663 isinfl(0);
62665 return 0;
62667 _ACEOF
62668 if ac_fn_cxx_try_compile "$LINENO"; then :
62669 glibcxx_cv_func_isinfl_use=yes
62670 else
62671 glibcxx_cv_func_isinfl_use=no
62673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62674 ac_ext=c
62675 ac_cpp='$CPP $CPPFLAGS'
62676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62685 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62687 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62688 for ac_func in isinfl
62689 do :
62690 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62691 if test "x$ac_cv_func_isinfl" = x""yes; then :
62692 cat >>confdefs.h <<_ACEOF
62693 #define HAVE_ISINFL 1
62694 _ACEOF
62697 done
62699 else
62701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62702 $as_echo_n "checking for _isinfl declaration... " >&6; }
62703 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62704 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62705 $as_echo_n "(cached) " >&6
62706 else
62709 ac_ext=cpp
62710 ac_cpp='$CXXCPP $CPPFLAGS'
62711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62716 /* end confdefs.h. */
62717 #include <math.h>
62718 #ifdef HAVE_IEEEFP_H
62719 #include <ieeefp.h>
62720 #endif
62723 main ()
62725 _isinfl(0);
62727 return 0;
62729 _ACEOF
62730 if ac_fn_cxx_try_compile "$LINENO"; then :
62731 glibcxx_cv_func__isinfl_use=yes
62732 else
62733 glibcxx_cv_func__isinfl_use=no
62735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62736 ac_ext=c
62737 ac_cpp='$CPP $CPPFLAGS'
62738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62747 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62749 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62750 for ac_func in _isinfl
62751 do :
62752 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62753 if test "x$ac_cv_func__isinfl" = x""yes; then :
62754 cat >>confdefs.h <<_ACEOF
62755 #define HAVE__ISINFL 1
62756 _ACEOF
62759 done
62768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62769 $as_echo_n "checking for atan2l declaration... " >&6; }
62770 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62771 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62772 $as_echo_n "(cached) " >&6
62773 else
62776 ac_ext=cpp
62777 ac_cpp='$CXXCPP $CPPFLAGS'
62778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62783 /* end confdefs.h. */
62784 #include <math.h>
62786 main ()
62788 atan2l(0, 0);
62790 return 0;
62792 _ACEOF
62793 if ac_fn_cxx_try_compile "$LINENO"; then :
62794 glibcxx_cv_func_atan2l_use=yes
62795 else
62796 glibcxx_cv_func_atan2l_use=no
62798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62799 ac_ext=c
62800 ac_cpp='$CPP $CPPFLAGS'
62801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62810 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62812 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62813 for ac_func in atan2l
62814 do :
62815 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62816 if test "x$ac_cv_func_atan2l" = x""yes; then :
62817 cat >>confdefs.h <<_ACEOF
62818 #define HAVE_ATAN2L 1
62819 _ACEOF
62822 done
62824 else
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62827 $as_echo_n "checking for _atan2l declaration... " >&6; }
62828 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62829 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62830 $as_echo_n "(cached) " >&6
62831 else
62834 ac_ext=cpp
62835 ac_cpp='$CXXCPP $CPPFLAGS'
62836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62841 /* end confdefs.h. */
62842 #include <math.h>
62844 main ()
62846 _atan2l(0, 0);
62848 return 0;
62850 _ACEOF
62851 if ac_fn_cxx_try_compile "$LINENO"; then :
62852 glibcxx_cv_func__atan2l_use=yes
62853 else
62854 glibcxx_cv_func__atan2l_use=no
62856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62857 ac_ext=c
62858 ac_cpp='$CPP $CPPFLAGS'
62859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62868 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62870 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62871 for ac_func in _atan2l
62872 do :
62873 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62874 if test "x$ac_cv_func__atan2l" = x""yes; then :
62875 cat >>confdefs.h <<_ACEOF
62876 #define HAVE__ATAN2L 1
62877 _ACEOF
62880 done
62889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62890 $as_echo_n "checking for expl declaration... " >&6; }
62891 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62892 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62893 $as_echo_n "(cached) " >&6
62894 else
62897 ac_ext=cpp
62898 ac_cpp='$CXXCPP $CPPFLAGS'
62899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62904 /* end confdefs.h. */
62905 #include <math.h>
62906 #ifdef HAVE_IEEEFP_H
62907 #include <ieeefp.h>
62908 #endif
62911 main ()
62913 expl(0);
62915 return 0;
62917 _ACEOF
62918 if ac_fn_cxx_try_compile "$LINENO"; then :
62919 glibcxx_cv_func_expl_use=yes
62920 else
62921 glibcxx_cv_func_expl_use=no
62923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62924 ac_ext=c
62925 ac_cpp='$CPP $CPPFLAGS'
62926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62935 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62937 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62938 for ac_func in expl
62939 do :
62940 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62941 if test "x$ac_cv_func_expl" = x""yes; then :
62942 cat >>confdefs.h <<_ACEOF
62943 #define HAVE_EXPL 1
62944 _ACEOF
62947 done
62949 else
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62952 $as_echo_n "checking for _expl declaration... " >&6; }
62953 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62954 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62955 $as_echo_n "(cached) " >&6
62956 else
62959 ac_ext=cpp
62960 ac_cpp='$CXXCPP $CPPFLAGS'
62961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62966 /* end confdefs.h. */
62967 #include <math.h>
62968 #ifdef HAVE_IEEEFP_H
62969 #include <ieeefp.h>
62970 #endif
62973 main ()
62975 _expl(0);
62977 return 0;
62979 _ACEOF
62980 if ac_fn_cxx_try_compile "$LINENO"; then :
62981 glibcxx_cv_func__expl_use=yes
62982 else
62983 glibcxx_cv_func__expl_use=no
62985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62986 ac_ext=c
62987 ac_cpp='$CPP $CPPFLAGS'
62988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62997 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62999 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63000 for ac_func in _expl
63001 do :
63002 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63003 if test "x$ac_cv_func__expl" = x""yes; then :
63004 cat >>confdefs.h <<_ACEOF
63005 #define HAVE__EXPL 1
63006 _ACEOF
63009 done
63018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63019 $as_echo_n "checking for fabsl declaration... " >&6; }
63020 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63021 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63022 $as_echo_n "(cached) " >&6
63023 else
63026 ac_ext=cpp
63027 ac_cpp='$CXXCPP $CPPFLAGS'
63028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63033 /* end confdefs.h. */
63034 #include <math.h>
63035 #ifdef HAVE_IEEEFP_H
63036 #include <ieeefp.h>
63037 #endif
63040 main ()
63042 fabsl(0);
63044 return 0;
63046 _ACEOF
63047 if ac_fn_cxx_try_compile "$LINENO"; then :
63048 glibcxx_cv_func_fabsl_use=yes
63049 else
63050 glibcxx_cv_func_fabsl_use=no
63052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63053 ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63064 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63066 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63067 for ac_func in fabsl
63068 do :
63069 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63070 if test "x$ac_cv_func_fabsl" = x""yes; then :
63071 cat >>confdefs.h <<_ACEOF
63072 #define HAVE_FABSL 1
63073 _ACEOF
63076 done
63078 else
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63081 $as_echo_n "checking for _fabsl declaration... " >&6; }
63082 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63083 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63084 $as_echo_n "(cached) " >&6
63085 else
63088 ac_ext=cpp
63089 ac_cpp='$CXXCPP $CPPFLAGS'
63090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63095 /* end confdefs.h. */
63096 #include <math.h>
63097 #ifdef HAVE_IEEEFP_H
63098 #include <ieeefp.h>
63099 #endif
63102 main ()
63104 _fabsl(0);
63106 return 0;
63108 _ACEOF
63109 if ac_fn_cxx_try_compile "$LINENO"; then :
63110 glibcxx_cv_func__fabsl_use=yes
63111 else
63112 glibcxx_cv_func__fabsl_use=no
63114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63115 ac_ext=c
63116 ac_cpp='$CPP $CPPFLAGS'
63117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63126 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63128 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63129 for ac_func in _fabsl
63130 do :
63131 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63132 if test "x$ac_cv_func__fabsl" = x""yes; then :
63133 cat >>confdefs.h <<_ACEOF
63134 #define HAVE__FABSL 1
63135 _ACEOF
63138 done
63147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63148 $as_echo_n "checking for fmodl declaration... " >&6; }
63149 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63150 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63151 $as_echo_n "(cached) " >&6
63152 else
63155 ac_ext=cpp
63156 ac_cpp='$CXXCPP $CPPFLAGS'
63157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63162 /* end confdefs.h. */
63163 #include <math.h>
63165 main ()
63167 fmodl(0, 0);
63169 return 0;
63171 _ACEOF
63172 if ac_fn_cxx_try_compile "$LINENO"; then :
63173 glibcxx_cv_func_fmodl_use=yes
63174 else
63175 glibcxx_cv_func_fmodl_use=no
63177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63178 ac_ext=c
63179 ac_cpp='$CPP $CPPFLAGS'
63180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63189 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63191 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63192 for ac_func in fmodl
63193 do :
63194 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63195 if test "x$ac_cv_func_fmodl" = x""yes; then :
63196 cat >>confdefs.h <<_ACEOF
63197 #define HAVE_FMODL 1
63198 _ACEOF
63201 done
63203 else
63205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63206 $as_echo_n "checking for _fmodl declaration... " >&6; }
63207 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63208 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63209 $as_echo_n "(cached) " >&6
63210 else
63213 ac_ext=cpp
63214 ac_cpp='$CXXCPP $CPPFLAGS'
63215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63220 /* end confdefs.h. */
63221 #include <math.h>
63223 main ()
63225 _fmodl(0, 0);
63227 return 0;
63229 _ACEOF
63230 if ac_fn_cxx_try_compile "$LINENO"; then :
63231 glibcxx_cv_func__fmodl_use=yes
63232 else
63233 glibcxx_cv_func__fmodl_use=no
63235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63236 ac_ext=c
63237 ac_cpp='$CPP $CPPFLAGS'
63238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63247 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63249 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63250 for ac_func in _fmodl
63251 do :
63252 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63253 if test "x$ac_cv_func__fmodl" = x""yes; then :
63254 cat >>confdefs.h <<_ACEOF
63255 #define HAVE__FMODL 1
63256 _ACEOF
63259 done
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63269 $as_echo_n "checking for frexpl declaration... " >&6; }
63270 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63271 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63272 $as_echo_n "(cached) " >&6
63273 else
63276 ac_ext=cpp
63277 ac_cpp='$CXXCPP $CPPFLAGS'
63278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63283 /* end confdefs.h. */
63284 #include <math.h>
63286 main ()
63288 frexpl(0, 0);
63290 return 0;
63292 _ACEOF
63293 if ac_fn_cxx_try_compile "$LINENO"; then :
63294 glibcxx_cv_func_frexpl_use=yes
63295 else
63296 glibcxx_cv_func_frexpl_use=no
63298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63299 ac_ext=c
63300 ac_cpp='$CPP $CPPFLAGS'
63301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63310 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63312 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63313 for ac_func in frexpl
63314 do :
63315 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63316 if test "x$ac_cv_func_frexpl" = x""yes; then :
63317 cat >>confdefs.h <<_ACEOF
63318 #define HAVE_FREXPL 1
63319 _ACEOF
63322 done
63324 else
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63327 $as_echo_n "checking for _frexpl declaration... " >&6; }
63328 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63329 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63330 $as_echo_n "(cached) " >&6
63331 else
63334 ac_ext=cpp
63335 ac_cpp='$CXXCPP $CPPFLAGS'
63336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63341 /* end confdefs.h. */
63342 #include <math.h>
63344 main ()
63346 _frexpl(0, 0);
63348 return 0;
63350 _ACEOF
63351 if ac_fn_cxx_try_compile "$LINENO"; then :
63352 glibcxx_cv_func__frexpl_use=yes
63353 else
63354 glibcxx_cv_func__frexpl_use=no
63356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63357 ac_ext=c
63358 ac_cpp='$CPP $CPPFLAGS'
63359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63368 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63370 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63371 for ac_func in _frexpl
63372 do :
63373 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63374 if test "x$ac_cv_func__frexpl" = x""yes; then :
63375 cat >>confdefs.h <<_ACEOF
63376 #define HAVE__FREXPL 1
63377 _ACEOF
63380 done
63389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63390 $as_echo_n "checking for hypotl declaration... " >&6; }
63391 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63392 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63393 $as_echo_n "(cached) " >&6
63394 else
63397 ac_ext=cpp
63398 ac_cpp='$CXXCPP $CPPFLAGS'
63399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63404 /* end confdefs.h. */
63405 #include <math.h>
63407 main ()
63409 hypotl(0, 0);
63411 return 0;
63413 _ACEOF
63414 if ac_fn_cxx_try_compile "$LINENO"; then :
63415 glibcxx_cv_func_hypotl_use=yes
63416 else
63417 glibcxx_cv_func_hypotl_use=no
63419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63420 ac_ext=c
63421 ac_cpp='$CPP $CPPFLAGS'
63422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63431 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63433 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63434 for ac_func in hypotl
63435 do :
63436 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63437 if test "x$ac_cv_func_hypotl" = x""yes; then :
63438 cat >>confdefs.h <<_ACEOF
63439 #define HAVE_HYPOTL 1
63440 _ACEOF
63443 done
63445 else
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63448 $as_echo_n "checking for _hypotl declaration... " >&6; }
63449 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63450 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63451 $as_echo_n "(cached) " >&6
63452 else
63455 ac_ext=cpp
63456 ac_cpp='$CXXCPP $CPPFLAGS'
63457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63462 /* end confdefs.h. */
63463 #include <math.h>
63465 main ()
63467 _hypotl(0, 0);
63469 return 0;
63471 _ACEOF
63472 if ac_fn_cxx_try_compile "$LINENO"; then :
63473 glibcxx_cv_func__hypotl_use=yes
63474 else
63475 glibcxx_cv_func__hypotl_use=no
63477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63478 ac_ext=c
63479 ac_cpp='$CPP $CPPFLAGS'
63480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63489 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63491 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63492 for ac_func in _hypotl
63493 do :
63494 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63495 if test "x$ac_cv_func__hypotl" = x""yes; then :
63496 cat >>confdefs.h <<_ACEOF
63497 #define HAVE__HYPOTL 1
63498 _ACEOF
63501 done
63510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63511 $as_echo_n "checking for ldexpl declaration... " >&6; }
63512 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63513 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63514 $as_echo_n "(cached) " >&6
63515 else
63518 ac_ext=cpp
63519 ac_cpp='$CXXCPP $CPPFLAGS'
63520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63525 /* end confdefs.h. */
63526 #include <math.h>
63528 main ()
63530 ldexpl(0, 0);
63532 return 0;
63534 _ACEOF
63535 if ac_fn_cxx_try_compile "$LINENO"; then :
63536 glibcxx_cv_func_ldexpl_use=yes
63537 else
63538 glibcxx_cv_func_ldexpl_use=no
63540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63541 ac_ext=c
63542 ac_cpp='$CPP $CPPFLAGS'
63543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63552 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63554 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63555 for ac_func in ldexpl
63556 do :
63557 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63558 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63559 cat >>confdefs.h <<_ACEOF
63560 #define HAVE_LDEXPL 1
63561 _ACEOF
63564 done
63566 else
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63569 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63570 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63571 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63572 $as_echo_n "(cached) " >&6
63573 else
63576 ac_ext=cpp
63577 ac_cpp='$CXXCPP $CPPFLAGS'
63578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63583 /* end confdefs.h. */
63584 #include <math.h>
63586 main ()
63588 _ldexpl(0, 0);
63590 return 0;
63592 _ACEOF
63593 if ac_fn_cxx_try_compile "$LINENO"; then :
63594 glibcxx_cv_func__ldexpl_use=yes
63595 else
63596 glibcxx_cv_func__ldexpl_use=no
63598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63599 ac_ext=c
63600 ac_cpp='$CPP $CPPFLAGS'
63601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63610 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63612 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63613 for ac_func in _ldexpl
63614 do :
63615 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63616 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63617 cat >>confdefs.h <<_ACEOF
63618 #define HAVE__LDEXPL 1
63619 _ACEOF
63622 done
63631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63632 $as_echo_n "checking for logl declaration... " >&6; }
63633 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63634 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63635 $as_echo_n "(cached) " >&6
63636 else
63639 ac_ext=cpp
63640 ac_cpp='$CXXCPP $CPPFLAGS'
63641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63646 /* end confdefs.h. */
63647 #include <math.h>
63648 #ifdef HAVE_IEEEFP_H
63649 #include <ieeefp.h>
63650 #endif
63653 main ()
63655 logl(0);
63657 return 0;
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661 glibcxx_cv_func_logl_use=yes
63662 else
63663 glibcxx_cv_func_logl_use=no
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666 ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63677 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63679 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63680 for ac_func in logl
63681 do :
63682 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63683 if test "x$ac_cv_func_logl" = x""yes; then :
63684 cat >>confdefs.h <<_ACEOF
63685 #define HAVE_LOGL 1
63686 _ACEOF
63689 done
63691 else
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63694 $as_echo_n "checking for _logl declaration... " >&6; }
63695 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63696 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63697 $as_echo_n "(cached) " >&6
63698 else
63701 ac_ext=cpp
63702 ac_cpp='$CXXCPP $CPPFLAGS'
63703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63708 /* end confdefs.h. */
63709 #include <math.h>
63710 #ifdef HAVE_IEEEFP_H
63711 #include <ieeefp.h>
63712 #endif
63715 main ()
63717 _logl(0);
63719 return 0;
63721 _ACEOF
63722 if ac_fn_cxx_try_compile "$LINENO"; then :
63723 glibcxx_cv_func__logl_use=yes
63724 else
63725 glibcxx_cv_func__logl_use=no
63727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63728 ac_ext=c
63729 ac_cpp='$CPP $CPPFLAGS'
63730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63739 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63741 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63742 for ac_func in _logl
63743 do :
63744 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63745 if test "x$ac_cv_func__logl" = x""yes; then :
63746 cat >>confdefs.h <<_ACEOF
63747 #define HAVE__LOGL 1
63748 _ACEOF
63751 done
63760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63761 $as_echo_n "checking for log10l declaration... " >&6; }
63762 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63763 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63764 $as_echo_n "(cached) " >&6
63765 else
63768 ac_ext=cpp
63769 ac_cpp='$CXXCPP $CPPFLAGS'
63770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h. */
63776 #include <math.h>
63777 #ifdef HAVE_IEEEFP_H
63778 #include <ieeefp.h>
63779 #endif
63782 main ()
63784 log10l(0);
63786 return 0;
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790 glibcxx_cv_func_log10l_use=yes
63791 else
63792 glibcxx_cv_func_log10l_use=no
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795 ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63806 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63808 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63809 for ac_func in log10l
63810 do :
63811 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63812 if test "x$ac_cv_func_log10l" = x""yes; then :
63813 cat >>confdefs.h <<_ACEOF
63814 #define HAVE_LOG10L 1
63815 _ACEOF
63818 done
63820 else
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63823 $as_echo_n "checking for _log10l declaration... " >&6; }
63824 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63825 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63826 $as_echo_n "(cached) " >&6
63827 else
63830 ac_ext=cpp
63831 ac_cpp='$CXXCPP $CPPFLAGS'
63832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63837 /* end confdefs.h. */
63838 #include <math.h>
63839 #ifdef HAVE_IEEEFP_H
63840 #include <ieeefp.h>
63841 #endif
63844 main ()
63846 _log10l(0);
63848 return 0;
63850 _ACEOF
63851 if ac_fn_cxx_try_compile "$LINENO"; then :
63852 glibcxx_cv_func__log10l_use=yes
63853 else
63854 glibcxx_cv_func__log10l_use=no
63856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63857 ac_ext=c
63858 ac_cpp='$CPP $CPPFLAGS'
63859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63868 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63870 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63871 for ac_func in _log10l
63872 do :
63873 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63874 if test "x$ac_cv_func__log10l" = x""yes; then :
63875 cat >>confdefs.h <<_ACEOF
63876 #define HAVE__LOG10L 1
63877 _ACEOF
63880 done
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63890 $as_echo_n "checking for modfl declaration... " >&6; }
63891 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63892 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63893 $as_echo_n "(cached) " >&6
63894 else
63897 ac_ext=cpp
63898 ac_cpp='$CXXCPP $CPPFLAGS'
63899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63904 /* end confdefs.h. */
63905 #include <math.h>
63907 main ()
63909 modfl(0, 0);
63911 return 0;
63913 _ACEOF
63914 if ac_fn_cxx_try_compile "$LINENO"; then :
63915 glibcxx_cv_func_modfl_use=yes
63916 else
63917 glibcxx_cv_func_modfl_use=no
63919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63920 ac_ext=c
63921 ac_cpp='$CPP $CPPFLAGS'
63922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63931 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63933 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63934 for ac_func in modfl
63935 do :
63936 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63937 if test "x$ac_cv_func_modfl" = x""yes; then :
63938 cat >>confdefs.h <<_ACEOF
63939 #define HAVE_MODFL 1
63940 _ACEOF
63943 done
63945 else
63947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63948 $as_echo_n "checking for _modfl declaration... " >&6; }
63949 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63950 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63951 $as_echo_n "(cached) " >&6
63952 else
63955 ac_ext=cpp
63956 ac_cpp='$CXXCPP $CPPFLAGS'
63957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63962 /* end confdefs.h. */
63963 #include <math.h>
63965 main ()
63967 _modfl(0, 0);
63969 return 0;
63971 _ACEOF
63972 if ac_fn_cxx_try_compile "$LINENO"; then :
63973 glibcxx_cv_func__modfl_use=yes
63974 else
63975 glibcxx_cv_func__modfl_use=no
63977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63978 ac_ext=c
63979 ac_cpp='$CPP $CPPFLAGS'
63980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63989 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63991 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63992 for ac_func in _modfl
63993 do :
63994 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63995 if test "x$ac_cv_func__modfl" = x""yes; then :
63996 cat >>confdefs.h <<_ACEOF
63997 #define HAVE__MODFL 1
63998 _ACEOF
64001 done
64010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64011 $as_echo_n "checking for powl declaration... " >&6; }
64012 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64013 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64014 $as_echo_n "(cached) " >&6
64015 else
64018 ac_ext=cpp
64019 ac_cpp='$CXXCPP $CPPFLAGS'
64020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64025 /* end confdefs.h. */
64026 #include <math.h>
64028 main ()
64030 powl(0, 0);
64032 return 0;
64034 _ACEOF
64035 if ac_fn_cxx_try_compile "$LINENO"; then :
64036 glibcxx_cv_func_powl_use=yes
64037 else
64038 glibcxx_cv_func_powl_use=no
64040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64052 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64054 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64055 for ac_func in powl
64056 do :
64057 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64058 if test "x$ac_cv_func_powl" = x""yes; then :
64059 cat >>confdefs.h <<_ACEOF
64060 #define HAVE_POWL 1
64061 _ACEOF
64064 done
64066 else
64068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64069 $as_echo_n "checking for _powl declaration... " >&6; }
64070 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64071 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64072 $as_echo_n "(cached) " >&6
64073 else
64076 ac_ext=cpp
64077 ac_cpp='$CXXCPP $CPPFLAGS'
64078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64083 /* end confdefs.h. */
64084 #include <math.h>
64086 main ()
64088 _powl(0, 0);
64090 return 0;
64092 _ACEOF
64093 if ac_fn_cxx_try_compile "$LINENO"; then :
64094 glibcxx_cv_func__powl_use=yes
64095 else
64096 glibcxx_cv_func__powl_use=no
64098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64099 ac_ext=c
64100 ac_cpp='$CPP $CPPFLAGS'
64101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64110 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64112 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64113 for ac_func in _powl
64114 do :
64115 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64116 if test "x$ac_cv_func__powl" = x""yes; then :
64117 cat >>confdefs.h <<_ACEOF
64118 #define HAVE__POWL 1
64119 _ACEOF
64122 done
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64132 $as_echo_n "checking for sqrtl declaration... " >&6; }
64133 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64134 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64135 $as_echo_n "(cached) " >&6
64136 else
64139 ac_ext=cpp
64140 ac_cpp='$CXXCPP $CPPFLAGS'
64141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64146 /* end confdefs.h. */
64147 #include <math.h>
64148 #ifdef HAVE_IEEEFP_H
64149 #include <ieeefp.h>
64150 #endif
64153 main ()
64155 sqrtl(0);
64157 return 0;
64159 _ACEOF
64160 if ac_fn_cxx_try_compile "$LINENO"; then :
64161 glibcxx_cv_func_sqrtl_use=yes
64162 else
64163 glibcxx_cv_func_sqrtl_use=no
64165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64166 ac_ext=c
64167 ac_cpp='$CPP $CPPFLAGS'
64168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64177 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64179 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64180 for ac_func in sqrtl
64181 do :
64182 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64183 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64184 cat >>confdefs.h <<_ACEOF
64185 #define HAVE_SQRTL 1
64186 _ACEOF
64189 done
64191 else
64193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64194 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64195 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64196 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64197 $as_echo_n "(cached) " >&6
64198 else
64201 ac_ext=cpp
64202 ac_cpp='$CXXCPP $CPPFLAGS'
64203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64208 /* end confdefs.h. */
64209 #include <math.h>
64210 #ifdef HAVE_IEEEFP_H
64211 #include <ieeefp.h>
64212 #endif
64215 main ()
64217 _sqrtl(0);
64219 return 0;
64221 _ACEOF
64222 if ac_fn_cxx_try_compile "$LINENO"; then :
64223 glibcxx_cv_func__sqrtl_use=yes
64224 else
64225 glibcxx_cv_func__sqrtl_use=no
64227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64228 ac_ext=c
64229 ac_cpp='$CPP $CPPFLAGS'
64230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64239 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64241 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64242 for ac_func in _sqrtl
64243 do :
64244 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64245 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64246 cat >>confdefs.h <<_ACEOF
64247 #define HAVE__SQRTL 1
64248 _ACEOF
64251 done
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64261 $as_echo_n "checking for sincosl declaration... " >&6; }
64262 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64263 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64264 $as_echo_n "(cached) " >&6
64265 else
64268 ac_ext=cpp
64269 ac_cpp='$CXXCPP $CPPFLAGS'
64270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64275 /* end confdefs.h. */
64276 #include <math.h>
64278 main ()
64280 sincosl(0, 0, 0);
64282 return 0;
64284 _ACEOF
64285 if ac_fn_cxx_try_compile "$LINENO"; then :
64286 glibcxx_cv_func_sincosl_use=yes
64287 else
64288 glibcxx_cv_func_sincosl_use=no
64290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64291 ac_ext=c
64292 ac_cpp='$CPP $CPPFLAGS'
64293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64302 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64304 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64305 for ac_func in sincosl
64306 do :
64307 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64308 if test "x$ac_cv_func_sincosl" = x""yes; then :
64309 cat >>confdefs.h <<_ACEOF
64310 #define HAVE_SINCOSL 1
64311 _ACEOF
64314 done
64316 else
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64319 $as_echo_n "checking for _sincosl declaration... " >&6; }
64320 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64321 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64322 $as_echo_n "(cached) " >&6
64323 else
64326 ac_ext=cpp
64327 ac_cpp='$CXXCPP $CPPFLAGS'
64328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64333 /* end confdefs.h. */
64334 #include <math.h>
64336 main ()
64338 _sincosl(0, 0, 0);
64340 return 0;
64342 _ACEOF
64343 if ac_fn_cxx_try_compile "$LINENO"; then :
64344 glibcxx_cv_func__sincosl_use=yes
64345 else
64346 glibcxx_cv_func__sincosl_use=no
64348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64349 ac_ext=c
64350 ac_cpp='$CPP $CPPFLAGS'
64351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64360 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64362 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64363 for ac_func in _sincosl
64364 do :
64365 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64366 if test "x$ac_cv_func__sincosl" = x""yes; then :
64367 cat >>confdefs.h <<_ACEOF
64368 #define HAVE__SINCOSL 1
64369 _ACEOF
64372 done
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64382 $as_echo_n "checking for finitel declaration... " >&6; }
64383 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64384 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64398 #ifdef HAVE_IEEEFP_H
64399 #include <ieeefp.h>
64400 #endif
64403 main ()
64405 finitel(0);
64407 return 0;
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411 glibcxx_cv_func_finitel_use=yes
64412 else
64413 glibcxx_cv_func_finitel_use=no
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416 ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64427 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64429 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64430 for ac_func in finitel
64431 do :
64432 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64433 if test "x$ac_cv_func_finitel" = x""yes; then :
64434 cat >>confdefs.h <<_ACEOF
64435 #define HAVE_FINITEL 1
64436 _ACEOF
64439 done
64441 else
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64444 $as_echo_n "checking for _finitel declaration... " >&6; }
64445 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64446 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64447 $as_echo_n "(cached) " >&6
64448 else
64451 ac_ext=cpp
64452 ac_cpp='$CXXCPP $CPPFLAGS'
64453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64458 /* end confdefs.h. */
64459 #include <math.h>
64460 #ifdef HAVE_IEEEFP_H
64461 #include <ieeefp.h>
64462 #endif
64465 main ()
64467 _finitel(0);
64469 return 0;
64471 _ACEOF
64472 if ac_fn_cxx_try_compile "$LINENO"; then :
64473 glibcxx_cv_func__finitel_use=yes
64474 else
64475 glibcxx_cv_func__finitel_use=no
64477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64478 ac_ext=c
64479 ac_cpp='$CPP $CPPFLAGS'
64480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64489 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64491 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64492 for ac_func in _finitel
64493 do :
64494 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64495 if test "x$ac_cv_func__finitel" = x""yes; then :
64496 cat >>confdefs.h <<_ACEOF
64497 #define HAVE__FINITEL 1
64498 _ACEOF
64501 done
64509 LIBS="$ac_save_LIBS"
64510 CXXFLAGS="$ac_save_CXXFLAGS"
64513 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64514 ac_save_CXXFLAGS="$CXXFLAGS"
64515 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64519 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64520 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64521 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64522 $as_echo_n "(cached) " >&6
64523 else
64526 ac_ext=cpp
64527 ac_cpp='$CXXCPP $CPPFLAGS'
64528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64533 /* end confdefs.h. */
64534 #include <stdlib.h>
64536 main ()
64538 at_quick_exit(0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func_at_quick_exit_use=yes
64545 else
64546 glibcxx_cv_func_at_quick_exit_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64560 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64561 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64562 for ac_func in at_quick_exit
64563 do :
64564 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64565 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64566 cat >>confdefs.h <<_ACEOF
64567 #define HAVE_AT_QUICK_EXIT 1
64568 _ACEOF
64571 done
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64577 $as_echo_n "checking for quick_exit declaration... " >&6; }
64578 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64579 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64580 $as_echo_n "(cached) " >&6
64581 else
64584 ac_ext=cpp
64585 ac_cpp='$CXXCPP $CPPFLAGS'
64586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64591 /* end confdefs.h. */
64592 #include <stdlib.h>
64594 main ()
64596 quick_exit(0);
64598 return 0;
64600 _ACEOF
64601 if ac_fn_cxx_try_compile "$LINENO"; then :
64602 glibcxx_cv_func_quick_exit_use=yes
64603 else
64604 glibcxx_cv_func_quick_exit_use=no
64606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64607 ac_ext=c
64608 ac_cpp='$CPP $CPPFLAGS'
64609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64618 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64619 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64620 for ac_func in quick_exit
64621 do :
64622 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64623 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64624 cat >>confdefs.h <<_ACEOF
64625 #define HAVE_QUICK_EXIT 1
64626 _ACEOF
64629 done
64634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64635 $as_echo_n "checking for strtold declaration... " >&6; }
64636 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64637 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64638 $as_echo_n "(cached) " >&6
64639 else
64642 ac_ext=cpp
64643 ac_cpp='$CXXCPP $CPPFLAGS'
64644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64649 /* end confdefs.h. */
64650 #include <stdlib.h>
64652 main ()
64654 strtold(0, 0);
64656 return 0;
64658 _ACEOF
64659 if ac_fn_cxx_try_compile "$LINENO"; then :
64660 glibcxx_cv_func_strtold_use=yes
64661 else
64662 glibcxx_cv_func_strtold_use=no
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64665 ac_ext=c
64666 ac_cpp='$CPP $CPPFLAGS'
64667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64676 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64677 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64678 for ac_func in strtold
64679 do :
64680 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64681 if test "x$ac_cv_func_strtold" = x""yes; then :
64682 cat >>confdefs.h <<_ACEOF
64683 #define HAVE_STRTOLD 1
64684 _ACEOF
64687 done
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64695 $as_echo_n "checking for strtof declaration... " >&6; }
64696 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64697 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64698 $as_echo_n "(cached) " >&6
64699 else
64702 ac_ext=cpp
64703 ac_cpp='$CXXCPP $CPPFLAGS'
64704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64709 /* end confdefs.h. */
64710 #include <stdlib.h>
64712 main ()
64714 strtof(0, 0);
64716 return 0;
64718 _ACEOF
64719 if ac_fn_cxx_try_compile "$LINENO"; then :
64720 glibcxx_cv_func_strtof_use=yes
64721 else
64722 glibcxx_cv_func_strtof_use=no
64724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64725 ac_ext=c
64726 ac_cpp='$CPP $CPPFLAGS'
64727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64736 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64737 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64738 for ac_func in strtof
64739 do :
64740 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64741 if test "x$ac_cv_func_strtof" = x""yes; then :
64742 cat >>confdefs.h <<_ACEOF
64743 #define HAVE_STRTOF 1
64744 _ACEOF
64747 done
64754 CXXFLAGS="$ac_save_CXXFLAGS"
64757 *-netbsd*)
64758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64761 # If we're not using GNU ld, then there's no point in even trying these
64762 # tests. Check for that first. We should have already tested for gld
64763 # by now (in libtool), but require it now just to be safe...
64764 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64765 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64769 # The name set by libtool depends on the version of libtool. Shame on us
64770 # for depending on an impl detail, but c'est la vie. Older versions used
64771 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64772 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64773 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64774 # set (hence we're using an older libtool), then set it.
64775 if test x${with_gnu_ld+set} != xset; then
64776 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64777 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64778 with_gnu_ld=no
64779 else
64780 with_gnu_ld=$ac_cv_prog_gnu_ld
64784 # Start by getting the version number. I think the libtool test already
64785 # does some of this, but throws away the result.
64786 glibcxx_ld_is_gold=no
64787 if test x"$with_gnu_ld" = x"yes"; then
64788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64789 $as_echo_n "checking for ld version... " >&6; }
64791 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64792 glibcxx_ld_is_gold=yes
64794 ldver=`$LD --version 2>/dev/null |
64795 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'`
64797 glibcxx_gnu_ld_version=`echo $ldver | \
64798 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64800 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64803 # Set --gc-sections.
64804 glibcxx_have_gc_sections=no
64805 if test "$glibcxx_ld_is_gold" = "yes"; then
64806 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64807 glibcxx_have_gc_sections=yes
64809 else
64810 glibcxx_gcsections_min_ld=21602
64811 if test x"$with_gnu_ld" = x"yes" &&
64812 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64813 glibcxx_have_gc_sections=yes
64816 if test "$glibcxx_have_gc_sections" = "yes"; then
64817 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64818 # NB: This flag only works reliably after 2.16.1. Configure tests
64819 # for this are difficult, so hard wire a value that should work.
64821 ac_test_CFLAGS="${CFLAGS+set}"
64822 ac_save_CFLAGS="$CFLAGS"
64823 CFLAGS='-Wl,--gc-sections'
64825 # Check for -Wl,--gc-sections
64826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64827 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64828 if test x$gcc_no_link = xyes; then
64829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64832 /* end confdefs.h. */
64833 int one(void) { return 1; }
64834 int two(void) { return 2; }
64837 main ()
64839 two();
64841 return 0;
64843 _ACEOF
64844 if ac_fn_c_try_link "$LINENO"; then :
64845 ac_gcsections=yes
64846 else
64847 ac_gcsections=no
64849 rm -f core conftest.err conftest.$ac_objext \
64850 conftest$ac_exeext conftest.$ac_ext
64851 if test "$ac_gcsections" = "yes"; then
64852 rm -f conftest.c
64853 touch conftest.c
64854 if $CC -c conftest.c; then
64855 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64856 grep "Warning: gc-sections option ignored" > /dev/null; then
64857 ac_gcsections=no
64860 rm -f conftest.c conftest.o conftest
64862 if test "$ac_gcsections" = "yes"; then
64863 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64866 $as_echo "$ac_gcsections" >&6; }
64868 if test "$ac_test_CFLAGS" = set; then
64869 CFLAGS="$ac_save_CFLAGS"
64870 else
64871 # this is the suspicious part
64872 CFLAGS=''
64876 # Set -z,relro.
64877 # Note this is only for shared objects.
64878 ac_ld_relro=no
64879 if test x"$with_gnu_ld" = x"yes"; then
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64881 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64882 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64883 if test -n "$cxx_z_relo"; then
64884 OPT_LDFLAGS="-Wl,-z,relro"
64885 ac_ld_relro=yes
64887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64888 $as_echo "$ac_ld_relro" >&6; }
64891 # Set linker optimization flags.
64892 if test x"$with_gnu_ld" = x"yes"; then
64893 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64899 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64901 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64903 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64905 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64907 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64909 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64911 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64913 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64915 if test x"long_double_math_on_this_cpu" = x"yes"; then
64916 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64918 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64920 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64924 *-qnx6.1* | *-qnx6.2*)
64925 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64928 # If we're not using GNU ld, then there's no point in even trying these
64929 # tests. Check for that first. We should have already tested for gld
64930 # by now (in libtool), but require it now just to be safe...
64931 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64932 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64936 # The name set by libtool depends on the version of libtool. Shame on us
64937 # for depending on an impl detail, but c'est la vie. Older versions used
64938 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64939 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64940 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64941 # set (hence we're using an older libtool), then set it.
64942 if test x${with_gnu_ld+set} != xset; then
64943 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64944 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64945 with_gnu_ld=no
64946 else
64947 with_gnu_ld=$ac_cv_prog_gnu_ld
64951 # Start by getting the version number. I think the libtool test already
64952 # does some of this, but throws away the result.
64953 glibcxx_ld_is_gold=no
64954 if test x"$with_gnu_ld" = x"yes"; then
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64956 $as_echo_n "checking for ld version... " >&6; }
64958 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64959 glibcxx_ld_is_gold=yes
64961 ldver=`$LD --version 2>/dev/null |
64962 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'`
64964 glibcxx_gnu_ld_version=`echo $ldver | \
64965 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64967 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64970 # Set --gc-sections.
64971 glibcxx_have_gc_sections=no
64972 if test "$glibcxx_ld_is_gold" = "yes"; then
64973 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64974 glibcxx_have_gc_sections=yes
64976 else
64977 glibcxx_gcsections_min_ld=21602
64978 if test x"$with_gnu_ld" = x"yes" &&
64979 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64980 glibcxx_have_gc_sections=yes
64983 if test "$glibcxx_have_gc_sections" = "yes"; then
64984 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64985 # NB: This flag only works reliably after 2.16.1. Configure tests
64986 # for this are difficult, so hard wire a value that should work.
64988 ac_test_CFLAGS="${CFLAGS+set}"
64989 ac_save_CFLAGS="$CFLAGS"
64990 CFLAGS='-Wl,--gc-sections'
64992 # Check for -Wl,--gc-sections
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64994 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64995 if test x$gcc_no_link = xyes; then
64996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64999 /* end confdefs.h. */
65000 int one(void) { return 1; }
65001 int two(void) { return 2; }
65004 main ()
65006 two();
65008 return 0;
65010 _ACEOF
65011 if ac_fn_c_try_link "$LINENO"; then :
65012 ac_gcsections=yes
65013 else
65014 ac_gcsections=no
65016 rm -f core conftest.err conftest.$ac_objext \
65017 conftest$ac_exeext conftest.$ac_ext
65018 if test "$ac_gcsections" = "yes"; then
65019 rm -f conftest.c
65020 touch conftest.c
65021 if $CC -c conftest.c; then
65022 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65023 grep "Warning: gc-sections option ignored" > /dev/null; then
65024 ac_gcsections=no
65027 rm -f conftest.c conftest.o conftest
65029 if test "$ac_gcsections" = "yes"; then
65030 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65033 $as_echo "$ac_gcsections" >&6; }
65035 if test "$ac_test_CFLAGS" = set; then
65036 CFLAGS="$ac_save_CFLAGS"
65037 else
65038 # this is the suspicious part
65039 CFLAGS=''
65043 # Set -z,relro.
65044 # Note this is only for shared objects.
65045 ac_ld_relro=no
65046 if test x"$with_gnu_ld" = x"yes"; then
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65048 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65049 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65050 if test -n "$cxx_z_relo"; then
65051 OPT_LDFLAGS="-Wl,-z,relro"
65052 ac_ld_relro=yes
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65055 $as_echo "$ac_ld_relro" >&6; }
65058 # Set linker optimization flags.
65059 if test x"$with_gnu_ld" = x"yes"; then
65060 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65066 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65068 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65070 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65072 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65074 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65076 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65078 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65080 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65082 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65084 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65086 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65088 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65091 *-rtems*)
65093 # All these tests are for C++; save the language and the compiler flags.
65094 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65095 # found in GLIBCXX_CONFIGURE.
65097 ac_ext=cpp
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65104 ac_save_CXXFLAGS="$CXXFLAGS"
65106 # Check for maintainer-mode bits.
65107 if test x"$USE_MAINTAINER_MODE" = xno; then
65108 WERROR=''
65109 else
65110 WERROR='-Werror'
65113 # Check for -ffunction-sections -fdata-sections
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65115 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65116 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65118 /* end confdefs.h. */
65119 int foo; void bar() { };
65121 main ()
65125 return 0;
65127 _ACEOF
65128 if ac_fn_cxx_try_compile "$LINENO"; then :
65129 ac_fdsections=yes
65130 else
65131 ac_fdsections=no
65133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65134 if test "$ac_test_CXXFLAGS" = set; then
65135 CXXFLAGS="$ac_save_CXXFLAGS"
65136 else
65137 # this is the suspicious part
65138 CXXFLAGS=''
65140 if test x"$ac_fdsections" = x"yes"; then
65141 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65144 $as_echo "$ac_fdsections" >&6; }
65146 ac_ext=c
65147 ac_cpp='$CPP $CPPFLAGS'
65148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65156 # If we're not using GNU ld, then there's no point in even trying these
65157 # tests. Check for that first. We should have already tested for gld
65158 # by now (in libtool), but require it now just to be safe...
65159 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65160 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65164 # The name set by libtool depends on the version of libtool. Shame on us
65165 # for depending on an impl detail, but c'est la vie. Older versions used
65166 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65167 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65168 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65169 # set (hence we're using an older libtool), then set it.
65170 if test x${with_gnu_ld+set} != xset; then
65171 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65172 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65173 with_gnu_ld=no
65174 else
65175 with_gnu_ld=$ac_cv_prog_gnu_ld
65179 # Start by getting the version number. I think the libtool test already
65180 # does some of this, but throws away the result.
65181 glibcxx_ld_is_gold=no
65182 if test x"$with_gnu_ld" = x"yes"; then
65183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65184 $as_echo_n "checking for ld version... " >&6; }
65186 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65187 glibcxx_ld_is_gold=yes
65189 ldver=`$LD --version 2>/dev/null |
65190 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'`
65192 glibcxx_gnu_ld_version=`echo $ldver | \
65193 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65195 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65198 # Set --gc-sections.
65199 glibcxx_have_gc_sections=no
65200 if test "$glibcxx_ld_is_gold" = "yes"; then
65201 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65202 glibcxx_have_gc_sections=yes
65204 else
65205 glibcxx_gcsections_min_ld=21602
65206 if test x"$with_gnu_ld" = x"yes" &&
65207 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65208 glibcxx_have_gc_sections=yes
65211 if test "$glibcxx_have_gc_sections" = "yes"; then
65212 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65213 # NB: This flag only works reliably after 2.16.1. Configure tests
65214 # for this are difficult, so hard wire a value that should work.
65216 ac_test_CFLAGS="${CFLAGS+set}"
65217 ac_save_CFLAGS="$CFLAGS"
65218 CFLAGS='-Wl,--gc-sections'
65220 # Check for -Wl,--gc-sections
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65222 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65223 if test x$gcc_no_link = xyes; then
65224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65227 /* end confdefs.h. */
65228 int one(void) { return 1; }
65229 int two(void) { return 2; }
65232 main ()
65234 two();
65236 return 0;
65238 _ACEOF
65239 if ac_fn_c_try_link "$LINENO"; then :
65240 ac_gcsections=yes
65241 else
65242 ac_gcsections=no
65244 rm -f core conftest.err conftest.$ac_objext \
65245 conftest$ac_exeext conftest.$ac_ext
65246 if test "$ac_gcsections" = "yes"; then
65247 rm -f conftest.c
65248 touch conftest.c
65249 if $CC -c conftest.c; then
65250 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65251 grep "Warning: gc-sections option ignored" > /dev/null; then
65252 ac_gcsections=no
65255 rm -f conftest.c conftest.o conftest
65257 if test "$ac_gcsections" = "yes"; then
65258 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65261 $as_echo "$ac_gcsections" >&6; }
65263 if test "$ac_test_CFLAGS" = set; then
65264 CFLAGS="$ac_save_CFLAGS"
65265 else
65266 # this is the suspicious part
65267 CFLAGS=''
65271 # Set -z,relro.
65272 # Note this is only for shared objects.
65273 ac_ld_relro=no
65274 if test x"$with_gnu_ld" = x"yes"; then
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65276 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65277 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65278 if test -n "$cxx_z_relo"; then
65279 OPT_LDFLAGS="-Wl,-z,relro"
65280 ac_ld_relro=yes
65282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65283 $as_echo "$ac_ld_relro" >&6; }
65286 # Set linker optimization flags.
65287 if test x"$with_gnu_ld" = x"yes"; then
65288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65295 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65296 ac_save_CXXFLAGS="$CXXFLAGS"
65297 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65300 $as_echo_n "checking for sin in -lm... " >&6; }
65301 if test "${ac_cv_lib_m_sin+set}" = set; then :
65302 $as_echo_n "(cached) " >&6
65303 else
65304 ac_check_lib_save_LIBS=$LIBS
65305 LIBS="-lm $LIBS"
65306 if test x$gcc_no_link = xyes; then
65307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65310 /* end confdefs.h. */
65312 /* Override any GCC internal prototype to avoid an error.
65313 Use char because int might match the return type of a GCC
65314 builtin and then its argument prototype would still apply. */
65315 #ifdef __cplusplus
65316 extern "C"
65317 #endif
65318 char sin ();
65320 main ()
65322 return sin ();
65324 return 0;
65326 _ACEOF
65327 if ac_fn_c_try_link "$LINENO"; then :
65328 ac_cv_lib_m_sin=yes
65329 else
65330 ac_cv_lib_m_sin=no
65332 rm -f core conftest.err conftest.$ac_objext \
65333 conftest$ac_exeext conftest.$ac_ext
65334 LIBS=$ac_check_lib_save_LIBS
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65337 $as_echo "$ac_cv_lib_m_sin" >&6; }
65338 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65339 libm="-lm"
65342 ac_save_LIBS="$LIBS"
65343 LIBS="$LIBS $libm"
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65348 $as_echo_n "checking for isinf declaration... " >&6; }
65349 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65350 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65364 #ifdef HAVE_IEEEFP_H
65365 #include <ieeefp.h>
65366 #endif
65369 main ()
65371 isinf(0);
65373 return 0;
65375 _ACEOF
65376 if ac_fn_cxx_try_compile "$LINENO"; then :
65377 glibcxx_cv_func_isinf_use=yes
65378 else
65379 glibcxx_cv_func_isinf_use=no
65381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65382 ac_ext=c
65383 ac_cpp='$CPP $CPPFLAGS'
65384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65393 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65395 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65396 for ac_func in isinf
65397 do :
65398 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65399 if test "x$ac_cv_func_isinf" = x""yes; then :
65400 cat >>confdefs.h <<_ACEOF
65401 #define HAVE_ISINF 1
65402 _ACEOF
65405 done
65407 else
65409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65410 $as_echo_n "checking for _isinf declaration... " >&6; }
65411 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65412 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65413 $as_echo_n "(cached) " >&6
65414 else
65417 ac_ext=cpp
65418 ac_cpp='$CXXCPP $CPPFLAGS'
65419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65424 /* end confdefs.h. */
65425 #include <math.h>
65426 #ifdef HAVE_IEEEFP_H
65427 #include <ieeefp.h>
65428 #endif
65431 main ()
65433 _isinf(0);
65435 return 0;
65437 _ACEOF
65438 if ac_fn_cxx_try_compile "$LINENO"; then :
65439 glibcxx_cv_func__isinf_use=yes
65440 else
65441 glibcxx_cv_func__isinf_use=no
65443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444 ac_ext=c
65445 ac_cpp='$CPP $CPPFLAGS'
65446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65455 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65457 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65458 for ac_func in _isinf
65459 do :
65460 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65461 if test "x$ac_cv_func__isinf" = x""yes; then :
65462 cat >>confdefs.h <<_ACEOF
65463 #define HAVE__ISINF 1
65464 _ACEOF
65467 done
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65477 $as_echo_n "checking for isnan declaration... " >&6; }
65478 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65479 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65484 ac_ext=cpp
65485 ac_cpp='$CXXCPP $CPPFLAGS'
65486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65491 /* end confdefs.h. */
65492 #include <math.h>
65493 #ifdef HAVE_IEEEFP_H
65494 #include <ieeefp.h>
65495 #endif
65498 main ()
65500 isnan(0);
65502 return 0;
65504 _ACEOF
65505 if ac_fn_cxx_try_compile "$LINENO"; then :
65506 glibcxx_cv_func_isnan_use=yes
65507 else
65508 glibcxx_cv_func_isnan_use=no
65510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_ext=c
65512 ac_cpp='$CPP $CPPFLAGS'
65513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65522 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65524 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65525 for ac_func in isnan
65526 do :
65527 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65528 if test "x$ac_cv_func_isnan" = x""yes; then :
65529 cat >>confdefs.h <<_ACEOF
65530 #define HAVE_ISNAN 1
65531 _ACEOF
65534 done
65536 else
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65539 $as_echo_n "checking for _isnan declaration... " >&6; }
65540 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65541 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65542 $as_echo_n "(cached) " >&6
65543 else
65546 ac_ext=cpp
65547 ac_cpp='$CXXCPP $CPPFLAGS'
65548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553 /* end confdefs.h. */
65554 #include <math.h>
65555 #ifdef HAVE_IEEEFP_H
65556 #include <ieeefp.h>
65557 #endif
65560 main ()
65562 _isnan(0);
65564 return 0;
65566 _ACEOF
65567 if ac_fn_cxx_try_compile "$LINENO"; then :
65568 glibcxx_cv_func__isnan_use=yes
65569 else
65570 glibcxx_cv_func__isnan_use=no
65572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65573 ac_ext=c
65574 ac_cpp='$CPP $CPPFLAGS'
65575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65584 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65586 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65587 for ac_func in _isnan
65588 do :
65589 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65590 if test "x$ac_cv_func__isnan" = x""yes; then :
65591 cat >>confdefs.h <<_ACEOF
65592 #define HAVE__ISNAN 1
65593 _ACEOF
65596 done
65605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65606 $as_echo_n "checking for finite declaration... " >&6; }
65607 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65608 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65609 $as_echo_n "(cached) " >&6
65610 else
65613 ac_ext=cpp
65614 ac_cpp='$CXXCPP $CPPFLAGS'
65615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65620 /* end confdefs.h. */
65621 #include <math.h>
65622 #ifdef HAVE_IEEEFP_H
65623 #include <ieeefp.h>
65624 #endif
65627 main ()
65629 finite(0);
65631 return 0;
65633 _ACEOF
65634 if ac_fn_cxx_try_compile "$LINENO"; then :
65635 glibcxx_cv_func_finite_use=yes
65636 else
65637 glibcxx_cv_func_finite_use=no
65639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65640 ac_ext=c
65641 ac_cpp='$CPP $CPPFLAGS'
65642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65651 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65653 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65654 for ac_func in finite
65655 do :
65656 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65657 if test "x$ac_cv_func_finite" = x""yes; then :
65658 cat >>confdefs.h <<_ACEOF
65659 #define HAVE_FINITE 1
65660 _ACEOF
65663 done
65665 else
65667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65668 $as_echo_n "checking for _finite declaration... " >&6; }
65669 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65670 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65671 $as_echo_n "(cached) " >&6
65672 else
65675 ac_ext=cpp
65676 ac_cpp='$CXXCPP $CPPFLAGS'
65677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65682 /* end confdefs.h. */
65683 #include <math.h>
65684 #ifdef HAVE_IEEEFP_H
65685 #include <ieeefp.h>
65686 #endif
65689 main ()
65691 _finite(0);
65693 return 0;
65695 _ACEOF
65696 if ac_fn_cxx_try_compile "$LINENO"; then :
65697 glibcxx_cv_func__finite_use=yes
65698 else
65699 glibcxx_cv_func__finite_use=no
65701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65702 ac_ext=c
65703 ac_cpp='$CPP $CPPFLAGS'
65704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65713 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65715 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65716 for ac_func in _finite
65717 do :
65718 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65719 if test "x$ac_cv_func__finite" = x""yes; then :
65720 cat >>confdefs.h <<_ACEOF
65721 #define HAVE__FINITE 1
65722 _ACEOF
65725 done
65734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65735 $as_echo_n "checking for sincos declaration... " >&6; }
65736 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65737 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65738 $as_echo_n "(cached) " >&6
65739 else
65742 ac_ext=cpp
65743 ac_cpp='$CXXCPP $CPPFLAGS'
65744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65749 /* end confdefs.h. */
65750 #include <math.h>
65752 main ()
65754 sincos(0, 0, 0);
65756 return 0;
65758 _ACEOF
65759 if ac_fn_cxx_try_compile "$LINENO"; then :
65760 glibcxx_cv_func_sincos_use=yes
65761 else
65762 glibcxx_cv_func_sincos_use=no
65764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65765 ac_ext=c
65766 ac_cpp='$CPP $CPPFLAGS'
65767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65776 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65778 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65779 for ac_func in sincos
65780 do :
65781 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65782 if test "x$ac_cv_func_sincos" = x""yes; then :
65783 cat >>confdefs.h <<_ACEOF
65784 #define HAVE_SINCOS 1
65785 _ACEOF
65788 done
65790 else
65792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65793 $as_echo_n "checking for _sincos declaration... " >&6; }
65794 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65795 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65796 $as_echo_n "(cached) " >&6
65797 else
65800 ac_ext=cpp
65801 ac_cpp='$CXXCPP $CPPFLAGS'
65802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65807 /* end confdefs.h. */
65808 #include <math.h>
65810 main ()
65812 _sincos(0, 0, 0);
65814 return 0;
65816 _ACEOF
65817 if ac_fn_cxx_try_compile "$LINENO"; then :
65818 glibcxx_cv_func__sincos_use=yes
65819 else
65820 glibcxx_cv_func__sincos_use=no
65822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65823 ac_ext=c
65824 ac_cpp='$CPP $CPPFLAGS'
65825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65834 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65836 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65837 for ac_func in _sincos
65838 do :
65839 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65840 if test "x$ac_cv_func__sincos" = x""yes; then :
65841 cat >>confdefs.h <<_ACEOF
65842 #define HAVE__SINCOS 1
65843 _ACEOF
65846 done
65855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65856 $as_echo_n "checking for fpclass declaration... " >&6; }
65857 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65858 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65859 $as_echo_n "(cached) " >&6
65860 else
65863 ac_ext=cpp
65864 ac_cpp='$CXXCPP $CPPFLAGS'
65865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65870 /* end confdefs.h. */
65871 #include <math.h>
65872 #ifdef HAVE_IEEEFP_H
65873 #include <ieeefp.h>
65874 #endif
65877 main ()
65879 fpclass(0);
65881 return 0;
65883 _ACEOF
65884 if ac_fn_cxx_try_compile "$LINENO"; then :
65885 glibcxx_cv_func_fpclass_use=yes
65886 else
65887 glibcxx_cv_func_fpclass_use=no
65889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65890 ac_ext=c
65891 ac_cpp='$CPP $CPPFLAGS'
65892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65901 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65903 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65904 for ac_func in fpclass
65905 do :
65906 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65907 if test "x$ac_cv_func_fpclass" = x""yes; then :
65908 cat >>confdefs.h <<_ACEOF
65909 #define HAVE_FPCLASS 1
65910 _ACEOF
65913 done
65915 else
65917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65918 $as_echo_n "checking for _fpclass declaration... " >&6; }
65919 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65920 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65921 $as_echo_n "(cached) " >&6
65922 else
65925 ac_ext=cpp
65926 ac_cpp='$CXXCPP $CPPFLAGS'
65927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65932 /* end confdefs.h. */
65933 #include <math.h>
65934 #ifdef HAVE_IEEEFP_H
65935 #include <ieeefp.h>
65936 #endif
65939 main ()
65941 _fpclass(0);
65943 return 0;
65945 _ACEOF
65946 if ac_fn_cxx_try_compile "$LINENO"; then :
65947 glibcxx_cv_func__fpclass_use=yes
65948 else
65949 glibcxx_cv_func__fpclass_use=no
65951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65952 ac_ext=c
65953 ac_cpp='$CPP $CPPFLAGS'
65954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65963 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65965 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65966 for ac_func in _fpclass
65967 do :
65968 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65969 if test "x$ac_cv_func__fpclass" = x""yes; then :
65970 cat >>confdefs.h <<_ACEOF
65971 #define HAVE__FPCLASS 1
65972 _ACEOF
65975 done
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65985 $as_echo_n "checking for qfpclass declaration... " >&6; }
65986 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65987 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65988 $as_echo_n "(cached) " >&6
65989 else
65992 ac_ext=cpp
65993 ac_cpp='$CXXCPP $CPPFLAGS'
65994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65999 /* end confdefs.h. */
66000 #include <math.h>
66001 #ifdef HAVE_IEEEFP_H
66002 #include <ieeefp.h>
66003 #endif
66006 main ()
66008 qfpclass(0);
66010 return 0;
66012 _ACEOF
66013 if ac_fn_cxx_try_compile "$LINENO"; then :
66014 glibcxx_cv_func_qfpclass_use=yes
66015 else
66016 glibcxx_cv_func_qfpclass_use=no
66018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66019 ac_ext=c
66020 ac_cpp='$CPP $CPPFLAGS'
66021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66030 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66032 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66033 for ac_func in qfpclass
66034 do :
66035 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66036 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66037 cat >>confdefs.h <<_ACEOF
66038 #define HAVE_QFPCLASS 1
66039 _ACEOF
66042 done
66044 else
66046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66047 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66048 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66049 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66050 $as_echo_n "(cached) " >&6
66051 else
66054 ac_ext=cpp
66055 ac_cpp='$CXXCPP $CPPFLAGS'
66056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66061 /* end confdefs.h. */
66062 #include <math.h>
66063 #ifdef HAVE_IEEEFP_H
66064 #include <ieeefp.h>
66065 #endif
66068 main ()
66070 _qfpclass(0);
66072 return 0;
66074 _ACEOF
66075 if ac_fn_cxx_try_compile "$LINENO"; then :
66076 glibcxx_cv_func__qfpclass_use=yes
66077 else
66078 glibcxx_cv_func__qfpclass_use=no
66080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66081 ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66092 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66094 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66095 for ac_func in _qfpclass
66096 do :
66097 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66098 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66099 cat >>confdefs.h <<_ACEOF
66100 #define HAVE__QFPCLASS 1
66101 _ACEOF
66104 done
66113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66114 $as_echo_n "checking for hypot declaration... " >&6; }
66115 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66116 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66117 $as_echo_n "(cached) " >&6
66118 else
66121 ac_ext=cpp
66122 ac_cpp='$CXXCPP $CPPFLAGS'
66123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66128 /* end confdefs.h. */
66129 #include <math.h>
66131 main ()
66133 hypot(0, 0);
66135 return 0;
66137 _ACEOF
66138 if ac_fn_cxx_try_compile "$LINENO"; then :
66139 glibcxx_cv_func_hypot_use=yes
66140 else
66141 glibcxx_cv_func_hypot_use=no
66143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66144 ac_ext=c
66145 ac_cpp='$CPP $CPPFLAGS'
66146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66155 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66157 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66158 for ac_func in hypot
66159 do :
66160 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66161 if test "x$ac_cv_func_hypot" = x""yes; then :
66162 cat >>confdefs.h <<_ACEOF
66163 #define HAVE_HYPOT 1
66164 _ACEOF
66167 done
66169 else
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66172 $as_echo_n "checking for _hypot declaration... " >&6; }
66173 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66174 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66175 $as_echo_n "(cached) " >&6
66176 else
66179 ac_ext=cpp
66180 ac_cpp='$CXXCPP $CPPFLAGS'
66181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66186 /* end confdefs.h. */
66187 #include <math.h>
66189 main ()
66191 _hypot(0, 0);
66193 return 0;
66195 _ACEOF
66196 if ac_fn_cxx_try_compile "$LINENO"; then :
66197 glibcxx_cv_func__hypot_use=yes
66198 else
66199 glibcxx_cv_func__hypot_use=no
66201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66202 ac_ext=c
66203 ac_cpp='$CPP $CPPFLAGS'
66204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66213 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66215 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66216 for ac_func in _hypot
66217 do :
66218 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66219 if test "x$ac_cv_func__hypot" = x""yes; then :
66220 cat >>confdefs.h <<_ACEOF
66221 #define HAVE__HYPOT 1
66222 _ACEOF
66225 done
66234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66235 $as_echo_n "checking for float trig functions... " >&6; }
66236 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66237 $as_echo_n "(cached) " >&6
66238 else
66241 ac_ext=cpp
66242 ac_cpp='$CXXCPP $CPPFLAGS'
66243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66248 /* end confdefs.h. */
66249 #include <math.h>
66251 main ()
66253 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66255 return 0;
66257 _ACEOF
66258 if ac_fn_cxx_try_compile "$LINENO"; then :
66259 glibcxx_cv_func_float_trig_use=yes
66260 else
66261 glibcxx_cv_func_float_trig_use=no
66263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66264 ac_ext=c
66265 ac_cpp='$CPP $CPPFLAGS'
66266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66273 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66274 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66275 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66276 do :
66277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66279 eval as_val=\$$as_ac_var
66280 if test "x$as_val" = x""yes; then :
66281 cat >>confdefs.h <<_ACEOF
66282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66283 _ACEOF
66286 done
66288 else
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66290 $as_echo_n "checking for _float trig functions... " >&6; }
66291 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66292 $as_echo_n "(cached) " >&6
66293 else
66296 ac_ext=cpp
66297 ac_cpp='$CXXCPP $CPPFLAGS'
66298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66303 /* end confdefs.h. */
66304 #include <math.h>
66306 main ()
66308 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66310 return 0;
66312 _ACEOF
66313 if ac_fn_cxx_try_compile "$LINENO"; then :
66314 glibcxx_cv_func__float_trig_use=yes
66315 else
66316 glibcxx_cv_func__float_trig_use=no
66318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319 ac_ext=c
66320 ac_cpp='$CPP $CPPFLAGS'
66321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66328 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66329 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66330 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66331 do :
66332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66334 eval as_val=\$$as_ac_var
66335 if test "x$as_val" = x""yes; then :
66336 cat >>confdefs.h <<_ACEOF
66337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66338 _ACEOF
66341 done
66350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66351 $as_echo_n "checking for float round functions... " >&6; }
66352 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66353 $as_echo_n "(cached) " >&6
66354 else
66357 ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h. */
66365 #include <math.h>
66367 main ()
66369 ceilf (0); floorf (0);
66371 return 0;
66373 _ACEOF
66374 if ac_fn_cxx_try_compile "$LINENO"; then :
66375 glibcxx_cv_func_float_round_use=yes
66376 else
66377 glibcxx_cv_func_float_round_use=no
66379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66380 ac_ext=c
66381 ac_cpp='$CPP $CPPFLAGS'
66382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66389 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66390 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66391 for ac_func in ceilf floorf
66392 do :
66393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66395 eval as_val=\$$as_ac_var
66396 if test "x$as_val" = x""yes; then :
66397 cat >>confdefs.h <<_ACEOF
66398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66399 _ACEOF
66402 done
66404 else
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66406 $as_echo_n "checking for _float round functions... " >&6; }
66407 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66408 $as_echo_n "(cached) " >&6
66409 else
66412 ac_ext=cpp
66413 ac_cpp='$CXXCPP $CPPFLAGS'
66414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66419 /* end confdefs.h. */
66420 #include <math.h>
66422 main ()
66424 _ceilf (0); _floorf (0);
66426 return 0;
66428 _ACEOF
66429 if ac_fn_cxx_try_compile "$LINENO"; then :
66430 glibcxx_cv_func__float_round_use=yes
66431 else
66432 glibcxx_cv_func__float_round_use=no
66434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66435 ac_ext=c
66436 ac_cpp='$CPP $CPPFLAGS'
66437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66444 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66445 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66446 for ac_func in _ceilf _floorf
66447 do :
66448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66450 eval as_val=\$$as_ac_var
66451 if test "x$as_val" = x""yes; then :
66452 cat >>confdefs.h <<_ACEOF
66453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66454 _ACEOF
66457 done
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66468 $as_echo_n "checking for expf declaration... " >&6; }
66469 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66470 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66471 $as_echo_n "(cached) " >&6
66472 else
66475 ac_ext=cpp
66476 ac_cpp='$CXXCPP $CPPFLAGS'
66477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66482 /* end confdefs.h. */
66483 #include <math.h>
66484 #ifdef HAVE_IEEEFP_H
66485 #include <ieeefp.h>
66486 #endif
66489 main ()
66491 expf(0);
66493 return 0;
66495 _ACEOF
66496 if ac_fn_cxx_try_compile "$LINENO"; then :
66497 glibcxx_cv_func_expf_use=yes
66498 else
66499 glibcxx_cv_func_expf_use=no
66501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66502 ac_ext=c
66503 ac_cpp='$CPP $CPPFLAGS'
66504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66513 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66515 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66516 for ac_func in expf
66517 do :
66518 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66519 if test "x$ac_cv_func_expf" = x""yes; then :
66520 cat >>confdefs.h <<_ACEOF
66521 #define HAVE_EXPF 1
66522 _ACEOF
66525 done
66527 else
66529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66530 $as_echo_n "checking for _expf declaration... " >&6; }
66531 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66532 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66533 $as_echo_n "(cached) " >&6
66534 else
66537 ac_ext=cpp
66538 ac_cpp='$CXXCPP $CPPFLAGS'
66539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66544 /* end confdefs.h. */
66545 #include <math.h>
66546 #ifdef HAVE_IEEEFP_H
66547 #include <ieeefp.h>
66548 #endif
66551 main ()
66553 _expf(0);
66555 return 0;
66557 _ACEOF
66558 if ac_fn_cxx_try_compile "$LINENO"; then :
66559 glibcxx_cv_func__expf_use=yes
66560 else
66561 glibcxx_cv_func__expf_use=no
66563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66564 ac_ext=c
66565 ac_cpp='$CPP $CPPFLAGS'
66566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66575 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66577 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66578 for ac_func in _expf
66579 do :
66580 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66581 if test "x$ac_cv_func__expf" = x""yes; then :
66582 cat >>confdefs.h <<_ACEOF
66583 #define HAVE__EXPF 1
66584 _ACEOF
66587 done
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66597 $as_echo_n "checking for isnanf declaration... " >&6; }
66598 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66599 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66600 $as_echo_n "(cached) " >&6
66601 else
66604 ac_ext=cpp
66605 ac_cpp='$CXXCPP $CPPFLAGS'
66606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66611 /* end confdefs.h. */
66612 #include <math.h>
66613 #ifdef HAVE_IEEEFP_H
66614 #include <ieeefp.h>
66615 #endif
66618 main ()
66620 isnanf(0);
66622 return 0;
66624 _ACEOF
66625 if ac_fn_cxx_try_compile "$LINENO"; then :
66626 glibcxx_cv_func_isnanf_use=yes
66627 else
66628 glibcxx_cv_func_isnanf_use=no
66630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66631 ac_ext=c
66632 ac_cpp='$CPP $CPPFLAGS'
66633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66642 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66644 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66645 for ac_func in isnanf
66646 do :
66647 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66648 if test "x$ac_cv_func_isnanf" = x""yes; then :
66649 cat >>confdefs.h <<_ACEOF
66650 #define HAVE_ISNANF 1
66651 _ACEOF
66654 done
66656 else
66658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66659 $as_echo_n "checking for _isnanf declaration... " >&6; }
66660 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66661 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66662 $as_echo_n "(cached) " >&6
66663 else
66666 ac_ext=cpp
66667 ac_cpp='$CXXCPP $CPPFLAGS'
66668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66673 /* end confdefs.h. */
66674 #include <math.h>
66675 #ifdef HAVE_IEEEFP_H
66676 #include <ieeefp.h>
66677 #endif
66680 main ()
66682 _isnanf(0);
66684 return 0;
66686 _ACEOF
66687 if ac_fn_cxx_try_compile "$LINENO"; then :
66688 glibcxx_cv_func__isnanf_use=yes
66689 else
66690 glibcxx_cv_func__isnanf_use=no
66692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66693 ac_ext=c
66694 ac_cpp='$CPP $CPPFLAGS'
66695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66704 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66706 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66707 for ac_func in _isnanf
66708 do :
66709 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66710 if test "x$ac_cv_func__isnanf" = x""yes; then :
66711 cat >>confdefs.h <<_ACEOF
66712 #define HAVE__ISNANF 1
66713 _ACEOF
66716 done
66725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66726 $as_echo_n "checking for isinff declaration... " >&6; }
66727 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66728 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66729 $as_echo_n "(cached) " >&6
66730 else
66733 ac_ext=cpp
66734 ac_cpp='$CXXCPP $CPPFLAGS'
66735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66740 /* end confdefs.h. */
66741 #include <math.h>
66742 #ifdef HAVE_IEEEFP_H
66743 #include <ieeefp.h>
66744 #endif
66747 main ()
66749 isinff(0);
66751 return 0;
66753 _ACEOF
66754 if ac_fn_cxx_try_compile "$LINENO"; then :
66755 glibcxx_cv_func_isinff_use=yes
66756 else
66757 glibcxx_cv_func_isinff_use=no
66759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760 ac_ext=c
66761 ac_cpp='$CPP $CPPFLAGS'
66762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66771 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66773 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66774 for ac_func in isinff
66775 do :
66776 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66777 if test "x$ac_cv_func_isinff" = x""yes; then :
66778 cat >>confdefs.h <<_ACEOF
66779 #define HAVE_ISINFF 1
66780 _ACEOF
66783 done
66785 else
66787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66788 $as_echo_n "checking for _isinff declaration... " >&6; }
66789 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66790 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66791 $as_echo_n "(cached) " >&6
66792 else
66795 ac_ext=cpp
66796 ac_cpp='$CXXCPP $CPPFLAGS'
66797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66802 /* end confdefs.h. */
66803 #include <math.h>
66804 #ifdef HAVE_IEEEFP_H
66805 #include <ieeefp.h>
66806 #endif
66809 main ()
66811 _isinff(0);
66813 return 0;
66815 _ACEOF
66816 if ac_fn_cxx_try_compile "$LINENO"; then :
66817 glibcxx_cv_func__isinff_use=yes
66818 else
66819 glibcxx_cv_func__isinff_use=no
66821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66822 ac_ext=c
66823 ac_cpp='$CPP $CPPFLAGS'
66824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66833 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66835 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66836 for ac_func in _isinff
66837 do :
66838 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66839 if test "x$ac_cv_func__isinff" = x""yes; then :
66840 cat >>confdefs.h <<_ACEOF
66841 #define HAVE__ISINFF 1
66842 _ACEOF
66845 done
66854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66855 $as_echo_n "checking for atan2f declaration... " >&6; }
66856 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66857 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66858 $as_echo_n "(cached) " >&6
66859 else
66862 ac_ext=cpp
66863 ac_cpp='$CXXCPP $CPPFLAGS'
66864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66869 /* end confdefs.h. */
66870 #include <math.h>
66872 main ()
66874 atan2f(0, 0);
66876 return 0;
66878 _ACEOF
66879 if ac_fn_cxx_try_compile "$LINENO"; then :
66880 glibcxx_cv_func_atan2f_use=yes
66881 else
66882 glibcxx_cv_func_atan2f_use=no
66884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66885 ac_ext=c
66886 ac_cpp='$CPP $CPPFLAGS'
66887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66896 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66898 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66899 for ac_func in atan2f
66900 do :
66901 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66902 if test "x$ac_cv_func_atan2f" = x""yes; then :
66903 cat >>confdefs.h <<_ACEOF
66904 #define HAVE_ATAN2F 1
66905 _ACEOF
66908 done
66910 else
66912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66913 $as_echo_n "checking for _atan2f declaration... " >&6; }
66914 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66915 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66916 $as_echo_n "(cached) " >&6
66917 else
66920 ac_ext=cpp
66921 ac_cpp='$CXXCPP $CPPFLAGS'
66922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66927 /* end confdefs.h. */
66928 #include <math.h>
66930 main ()
66932 _atan2f(0, 0);
66934 return 0;
66936 _ACEOF
66937 if ac_fn_cxx_try_compile "$LINENO"; then :
66938 glibcxx_cv_func__atan2f_use=yes
66939 else
66940 glibcxx_cv_func__atan2f_use=no
66942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66943 ac_ext=c
66944 ac_cpp='$CPP $CPPFLAGS'
66945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66954 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66956 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66957 for ac_func in _atan2f
66958 do :
66959 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66960 if test "x$ac_cv_func__atan2f" = x""yes; then :
66961 cat >>confdefs.h <<_ACEOF
66962 #define HAVE__ATAN2F 1
66963 _ACEOF
66966 done
66975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66976 $as_echo_n "checking for fabsf declaration... " >&6; }
66977 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66978 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66979 $as_echo_n "(cached) " >&6
66980 else
66983 ac_ext=cpp
66984 ac_cpp='$CXXCPP $CPPFLAGS'
66985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66990 /* end confdefs.h. */
66991 #include <math.h>
66992 #ifdef HAVE_IEEEFP_H
66993 #include <ieeefp.h>
66994 #endif
66997 main ()
66999 fabsf(0);
67001 return 0;
67003 _ACEOF
67004 if ac_fn_cxx_try_compile "$LINENO"; then :
67005 glibcxx_cv_func_fabsf_use=yes
67006 else
67007 glibcxx_cv_func_fabsf_use=no
67009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67010 ac_ext=c
67011 ac_cpp='$CPP $CPPFLAGS'
67012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67021 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67023 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67024 for ac_func in fabsf
67025 do :
67026 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67027 if test "x$ac_cv_func_fabsf" = x""yes; then :
67028 cat >>confdefs.h <<_ACEOF
67029 #define HAVE_FABSF 1
67030 _ACEOF
67033 done
67035 else
67037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67038 $as_echo_n "checking for _fabsf declaration... " >&6; }
67039 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67040 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67041 $as_echo_n "(cached) " >&6
67042 else
67045 ac_ext=cpp
67046 ac_cpp='$CXXCPP $CPPFLAGS'
67047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67052 /* end confdefs.h. */
67053 #include <math.h>
67054 #ifdef HAVE_IEEEFP_H
67055 #include <ieeefp.h>
67056 #endif
67059 main ()
67061 _fabsf(0);
67063 return 0;
67065 _ACEOF
67066 if ac_fn_cxx_try_compile "$LINENO"; then :
67067 glibcxx_cv_func__fabsf_use=yes
67068 else
67069 glibcxx_cv_func__fabsf_use=no
67071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67072 ac_ext=c
67073 ac_cpp='$CPP $CPPFLAGS'
67074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67083 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67085 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67086 for ac_func in _fabsf
67087 do :
67088 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67089 if test "x$ac_cv_func__fabsf" = x""yes; then :
67090 cat >>confdefs.h <<_ACEOF
67091 #define HAVE__FABSF 1
67092 _ACEOF
67095 done
67104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67105 $as_echo_n "checking for fmodf declaration... " >&6; }
67106 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67107 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67108 $as_echo_n "(cached) " >&6
67109 else
67112 ac_ext=cpp
67113 ac_cpp='$CXXCPP $CPPFLAGS'
67114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67119 /* end confdefs.h. */
67120 #include <math.h>
67122 main ()
67124 fmodf(0, 0);
67126 return 0;
67128 _ACEOF
67129 if ac_fn_cxx_try_compile "$LINENO"; then :
67130 glibcxx_cv_func_fmodf_use=yes
67131 else
67132 glibcxx_cv_func_fmodf_use=no
67134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67135 ac_ext=c
67136 ac_cpp='$CPP $CPPFLAGS'
67137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67146 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67148 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67149 for ac_func in fmodf
67150 do :
67151 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67152 if test "x$ac_cv_func_fmodf" = x""yes; then :
67153 cat >>confdefs.h <<_ACEOF
67154 #define HAVE_FMODF 1
67155 _ACEOF
67158 done
67160 else
67162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67163 $as_echo_n "checking for _fmodf declaration... " >&6; }
67164 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67165 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67166 $as_echo_n "(cached) " >&6
67167 else
67170 ac_ext=cpp
67171 ac_cpp='$CXXCPP $CPPFLAGS'
67172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67177 /* end confdefs.h. */
67178 #include <math.h>
67180 main ()
67182 _fmodf(0, 0);
67184 return 0;
67186 _ACEOF
67187 if ac_fn_cxx_try_compile "$LINENO"; then :
67188 glibcxx_cv_func__fmodf_use=yes
67189 else
67190 glibcxx_cv_func__fmodf_use=no
67192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67193 ac_ext=c
67194 ac_cpp='$CPP $CPPFLAGS'
67195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67204 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67206 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67207 for ac_func in _fmodf
67208 do :
67209 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67210 if test "x$ac_cv_func__fmodf" = x""yes; then :
67211 cat >>confdefs.h <<_ACEOF
67212 #define HAVE__FMODF 1
67213 _ACEOF
67216 done
67225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67226 $as_echo_n "checking for frexpf declaration... " >&6; }
67227 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67228 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67229 $as_echo_n "(cached) " >&6
67230 else
67233 ac_ext=cpp
67234 ac_cpp='$CXXCPP $CPPFLAGS'
67235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67240 /* end confdefs.h. */
67241 #include <math.h>
67243 main ()
67245 frexpf(0, 0);
67247 return 0;
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func_frexpf_use=yes
67252 else
67253 glibcxx_cv_func_frexpf_use=no
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67267 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67269 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67270 for ac_func in frexpf
67271 do :
67272 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67273 if test "x$ac_cv_func_frexpf" = x""yes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE_FREXPF 1
67276 _ACEOF
67279 done
67281 else
67283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67284 $as_echo_n "checking for _frexpf declaration... " >&6; }
67285 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67286 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67287 $as_echo_n "(cached) " >&6
67288 else
67291 ac_ext=cpp
67292 ac_cpp='$CXXCPP $CPPFLAGS'
67293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67298 /* end confdefs.h. */
67299 #include <math.h>
67301 main ()
67303 _frexpf(0, 0);
67305 return 0;
67307 _ACEOF
67308 if ac_fn_cxx_try_compile "$LINENO"; then :
67309 glibcxx_cv_func__frexpf_use=yes
67310 else
67311 glibcxx_cv_func__frexpf_use=no
67313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67314 ac_ext=c
67315 ac_cpp='$CPP $CPPFLAGS'
67316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67325 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67327 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67328 for ac_func in _frexpf
67329 do :
67330 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67331 if test "x$ac_cv_func__frexpf" = x""yes; then :
67332 cat >>confdefs.h <<_ACEOF
67333 #define HAVE__FREXPF 1
67334 _ACEOF
67337 done
67346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67347 $as_echo_n "checking for hypotf declaration... " >&6; }
67348 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67349 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67350 $as_echo_n "(cached) " >&6
67351 else
67354 ac_ext=cpp
67355 ac_cpp='$CXXCPP $CPPFLAGS'
67356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67361 /* end confdefs.h. */
67362 #include <math.h>
67364 main ()
67366 hypotf(0, 0);
67368 return 0;
67370 _ACEOF
67371 if ac_fn_cxx_try_compile "$LINENO"; then :
67372 glibcxx_cv_func_hypotf_use=yes
67373 else
67374 glibcxx_cv_func_hypotf_use=no
67376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67377 ac_ext=c
67378 ac_cpp='$CPP $CPPFLAGS'
67379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67388 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67390 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67391 for ac_func in hypotf
67392 do :
67393 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67394 if test "x$ac_cv_func_hypotf" = x""yes; then :
67395 cat >>confdefs.h <<_ACEOF
67396 #define HAVE_HYPOTF 1
67397 _ACEOF
67400 done
67402 else
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67405 $as_echo_n "checking for _hypotf declaration... " >&6; }
67406 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67407 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67408 $as_echo_n "(cached) " >&6
67409 else
67412 ac_ext=cpp
67413 ac_cpp='$CXXCPP $CPPFLAGS'
67414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67419 /* end confdefs.h. */
67420 #include <math.h>
67422 main ()
67424 _hypotf(0, 0);
67426 return 0;
67428 _ACEOF
67429 if ac_fn_cxx_try_compile "$LINENO"; then :
67430 glibcxx_cv_func__hypotf_use=yes
67431 else
67432 glibcxx_cv_func__hypotf_use=no
67434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67435 ac_ext=c
67436 ac_cpp='$CPP $CPPFLAGS'
67437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67446 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67448 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67449 for ac_func in _hypotf
67450 do :
67451 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67452 if test "x$ac_cv_func__hypotf" = x""yes; then :
67453 cat >>confdefs.h <<_ACEOF
67454 #define HAVE__HYPOTF 1
67455 _ACEOF
67458 done
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67468 $as_echo_n "checking for ldexpf declaration... " >&6; }
67469 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67470 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67471 $as_echo_n "(cached) " >&6
67472 else
67475 ac_ext=cpp
67476 ac_cpp='$CXXCPP $CPPFLAGS'
67477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67482 /* end confdefs.h. */
67483 #include <math.h>
67485 main ()
67487 ldexpf(0, 0);
67489 return 0;
67491 _ACEOF
67492 if ac_fn_cxx_try_compile "$LINENO"; then :
67493 glibcxx_cv_func_ldexpf_use=yes
67494 else
67495 glibcxx_cv_func_ldexpf_use=no
67497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67498 ac_ext=c
67499 ac_cpp='$CPP $CPPFLAGS'
67500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67509 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67511 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67512 for ac_func in ldexpf
67513 do :
67514 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67515 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67516 cat >>confdefs.h <<_ACEOF
67517 #define HAVE_LDEXPF 1
67518 _ACEOF
67521 done
67523 else
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67526 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67527 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67528 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67529 $as_echo_n "(cached) " >&6
67530 else
67533 ac_ext=cpp
67534 ac_cpp='$CXXCPP $CPPFLAGS'
67535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67540 /* end confdefs.h. */
67541 #include <math.h>
67543 main ()
67545 _ldexpf(0, 0);
67547 return 0;
67549 _ACEOF
67550 if ac_fn_cxx_try_compile "$LINENO"; then :
67551 glibcxx_cv_func__ldexpf_use=yes
67552 else
67553 glibcxx_cv_func__ldexpf_use=no
67555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67556 ac_ext=c
67557 ac_cpp='$CPP $CPPFLAGS'
67558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67567 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67569 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67570 for ac_func in _ldexpf
67571 do :
67572 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67573 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67574 cat >>confdefs.h <<_ACEOF
67575 #define HAVE__LDEXPF 1
67576 _ACEOF
67579 done
67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67589 $as_echo_n "checking for logf declaration... " >&6; }
67590 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67591 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67592 $as_echo_n "(cached) " >&6
67593 else
67596 ac_ext=cpp
67597 ac_cpp='$CXXCPP $CPPFLAGS'
67598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67603 /* end confdefs.h. */
67604 #include <math.h>
67605 #ifdef HAVE_IEEEFP_H
67606 #include <ieeefp.h>
67607 #endif
67610 main ()
67612 logf(0);
67614 return 0;
67616 _ACEOF
67617 if ac_fn_cxx_try_compile "$LINENO"; then :
67618 glibcxx_cv_func_logf_use=yes
67619 else
67620 glibcxx_cv_func_logf_use=no
67622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67623 ac_ext=c
67624 ac_cpp='$CPP $CPPFLAGS'
67625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67634 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67636 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67637 for ac_func in logf
67638 do :
67639 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67640 if test "x$ac_cv_func_logf" = x""yes; then :
67641 cat >>confdefs.h <<_ACEOF
67642 #define HAVE_LOGF 1
67643 _ACEOF
67646 done
67648 else
67650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67651 $as_echo_n "checking for _logf declaration... " >&6; }
67652 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67653 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67654 $as_echo_n "(cached) " >&6
67655 else
67658 ac_ext=cpp
67659 ac_cpp='$CXXCPP $CPPFLAGS'
67660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67665 /* end confdefs.h. */
67666 #include <math.h>
67667 #ifdef HAVE_IEEEFP_H
67668 #include <ieeefp.h>
67669 #endif
67672 main ()
67674 _logf(0);
67676 return 0;
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func__logf_use=yes
67681 else
67682 glibcxx_cv_func__logf_use=no
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67696 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67698 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67699 for ac_func in _logf
67700 do :
67701 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67702 if test "x$ac_cv_func__logf" = x""yes; then :
67703 cat >>confdefs.h <<_ACEOF
67704 #define HAVE__LOGF 1
67705 _ACEOF
67708 done
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67718 $as_echo_n "checking for log10f declaration... " >&6; }
67719 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67720 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67721 $as_echo_n "(cached) " >&6
67722 else
67725 ac_ext=cpp
67726 ac_cpp='$CXXCPP $CPPFLAGS'
67727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67732 /* end confdefs.h. */
67733 #include <math.h>
67734 #ifdef HAVE_IEEEFP_H
67735 #include <ieeefp.h>
67736 #endif
67739 main ()
67741 log10f(0);
67743 return 0;
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747 glibcxx_cv_func_log10f_use=yes
67748 else
67749 glibcxx_cv_func_log10f_use=no
67751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67752 ac_ext=c
67753 ac_cpp='$CPP $CPPFLAGS'
67754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67763 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67765 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67766 for ac_func in log10f
67767 do :
67768 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67769 if test "x$ac_cv_func_log10f" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define HAVE_LOG10F 1
67772 _ACEOF
67775 done
67777 else
67779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67780 $as_echo_n "checking for _log10f declaration... " >&6; }
67781 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67782 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67783 $as_echo_n "(cached) " >&6
67784 else
67787 ac_ext=cpp
67788 ac_cpp='$CXXCPP $CPPFLAGS'
67789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67794 /* end confdefs.h. */
67795 #include <math.h>
67796 #ifdef HAVE_IEEEFP_H
67797 #include <ieeefp.h>
67798 #endif
67801 main ()
67803 _log10f(0);
67805 return 0;
67807 _ACEOF
67808 if ac_fn_cxx_try_compile "$LINENO"; then :
67809 glibcxx_cv_func__log10f_use=yes
67810 else
67811 glibcxx_cv_func__log10f_use=no
67813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67814 ac_ext=c
67815 ac_cpp='$CPP $CPPFLAGS'
67816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67825 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67827 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67828 for ac_func in _log10f
67829 do :
67830 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67831 if test "x$ac_cv_func__log10f" = x""yes; then :
67832 cat >>confdefs.h <<_ACEOF
67833 #define HAVE__LOG10F 1
67834 _ACEOF
67837 done
67846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67847 $as_echo_n "checking for modff declaration... " >&6; }
67848 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67849 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67850 $as_echo_n "(cached) " >&6
67851 else
67854 ac_ext=cpp
67855 ac_cpp='$CXXCPP $CPPFLAGS'
67856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67861 /* end confdefs.h. */
67862 #include <math.h>
67864 main ()
67866 modff(0, 0);
67868 return 0;
67870 _ACEOF
67871 if ac_fn_cxx_try_compile "$LINENO"; then :
67872 glibcxx_cv_func_modff_use=yes
67873 else
67874 glibcxx_cv_func_modff_use=no
67876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67877 ac_ext=c
67878 ac_cpp='$CPP $CPPFLAGS'
67879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67888 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67890 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67891 for ac_func in modff
67892 do :
67893 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67894 if test "x$ac_cv_func_modff" = x""yes; then :
67895 cat >>confdefs.h <<_ACEOF
67896 #define HAVE_MODFF 1
67897 _ACEOF
67900 done
67902 else
67904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67905 $as_echo_n "checking for _modff declaration... " >&6; }
67906 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67907 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67908 $as_echo_n "(cached) " >&6
67909 else
67912 ac_ext=cpp
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67919 /* end confdefs.h. */
67920 #include <math.h>
67922 main ()
67924 _modff(0, 0);
67926 return 0;
67928 _ACEOF
67929 if ac_fn_cxx_try_compile "$LINENO"; then :
67930 glibcxx_cv_func__modff_use=yes
67931 else
67932 glibcxx_cv_func__modff_use=no
67934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67935 ac_ext=c
67936 ac_cpp='$CPP $CPPFLAGS'
67937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67946 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67948 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67949 for ac_func in _modff
67950 do :
67951 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67952 if test "x$ac_cv_func__modff" = x""yes; then :
67953 cat >>confdefs.h <<_ACEOF
67954 #define HAVE__MODFF 1
67955 _ACEOF
67958 done
67967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67968 $as_echo_n "checking for modf declaration... " >&6; }
67969 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67970 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67971 $as_echo_n "(cached) " >&6
67972 else
67975 ac_ext=cpp
67976 ac_cpp='$CXXCPP $CPPFLAGS'
67977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67982 /* end confdefs.h. */
67983 #include <math.h>
67985 main ()
67987 modf(0, 0);
67989 return 0;
67991 _ACEOF
67992 if ac_fn_cxx_try_compile "$LINENO"; then :
67993 glibcxx_cv_func_modf_use=yes
67994 else
67995 glibcxx_cv_func_modf_use=no
67997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67998 ac_ext=c
67999 ac_cpp='$CPP $CPPFLAGS'
68000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68009 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68011 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68012 for ac_func in modf
68013 do :
68014 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68015 if test "x$ac_cv_func_modf" = x""yes; then :
68016 cat >>confdefs.h <<_ACEOF
68017 #define HAVE_MODF 1
68018 _ACEOF
68021 done
68023 else
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68026 $as_echo_n "checking for _modf declaration... " >&6; }
68027 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68028 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68029 $as_echo_n "(cached) " >&6
68030 else
68033 ac_ext=cpp
68034 ac_cpp='$CXXCPP $CPPFLAGS'
68035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68040 /* end confdefs.h. */
68041 #include <math.h>
68043 main ()
68045 _modf(0, 0);
68047 return 0;
68049 _ACEOF
68050 if ac_fn_cxx_try_compile "$LINENO"; then :
68051 glibcxx_cv_func__modf_use=yes
68052 else
68053 glibcxx_cv_func__modf_use=no
68055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68056 ac_ext=c
68057 ac_cpp='$CPP $CPPFLAGS'
68058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68067 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68069 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68070 for ac_func in _modf
68071 do :
68072 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68073 if test "x$ac_cv_func__modf" = x""yes; then :
68074 cat >>confdefs.h <<_ACEOF
68075 #define HAVE__MODF 1
68076 _ACEOF
68079 done
68088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68089 $as_echo_n "checking for powf declaration... " >&6; }
68090 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68091 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68092 $as_echo_n "(cached) " >&6
68093 else
68096 ac_ext=cpp
68097 ac_cpp='$CXXCPP $CPPFLAGS'
68098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68103 /* end confdefs.h. */
68104 #include <math.h>
68106 main ()
68108 powf(0, 0);
68110 return 0;
68112 _ACEOF
68113 if ac_fn_cxx_try_compile "$LINENO"; then :
68114 glibcxx_cv_func_powf_use=yes
68115 else
68116 glibcxx_cv_func_powf_use=no
68118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68119 ac_ext=c
68120 ac_cpp='$CPP $CPPFLAGS'
68121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68130 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68132 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68133 for ac_func in powf
68134 do :
68135 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68136 if test "x$ac_cv_func_powf" = x""yes; then :
68137 cat >>confdefs.h <<_ACEOF
68138 #define HAVE_POWF 1
68139 _ACEOF
68142 done
68144 else
68146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68147 $as_echo_n "checking for _powf declaration... " >&6; }
68148 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68149 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68150 $as_echo_n "(cached) " >&6
68151 else
68154 ac_ext=cpp
68155 ac_cpp='$CXXCPP $CPPFLAGS'
68156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68161 /* end confdefs.h. */
68162 #include <math.h>
68164 main ()
68166 _powf(0, 0);
68168 return 0;
68170 _ACEOF
68171 if ac_fn_cxx_try_compile "$LINENO"; then :
68172 glibcxx_cv_func__powf_use=yes
68173 else
68174 glibcxx_cv_func__powf_use=no
68176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68177 ac_ext=c
68178 ac_cpp='$CPP $CPPFLAGS'
68179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68188 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68190 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68191 for ac_func in _powf
68192 do :
68193 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68194 if test "x$ac_cv_func__powf" = x""yes; then :
68195 cat >>confdefs.h <<_ACEOF
68196 #define HAVE__POWF 1
68197 _ACEOF
68200 done
68209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68210 $as_echo_n "checking for sqrtf declaration... " >&6; }
68211 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68212 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68213 $as_echo_n "(cached) " >&6
68214 else
68217 ac_ext=cpp
68218 ac_cpp='$CXXCPP $CPPFLAGS'
68219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68224 /* end confdefs.h. */
68225 #include <math.h>
68226 #ifdef HAVE_IEEEFP_H
68227 #include <ieeefp.h>
68228 #endif
68231 main ()
68233 sqrtf(0);
68235 return 0;
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239 glibcxx_cv_func_sqrtf_use=yes
68240 else
68241 glibcxx_cv_func_sqrtf_use=no
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244 ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68255 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68257 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68258 for ac_func in sqrtf
68259 do :
68260 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68261 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define HAVE_SQRTF 1
68264 _ACEOF
68267 done
68269 else
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68272 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68273 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68274 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68275 $as_echo_n "(cached) " >&6
68276 else
68279 ac_ext=cpp
68280 ac_cpp='$CXXCPP $CPPFLAGS'
68281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68286 /* end confdefs.h. */
68287 #include <math.h>
68288 #ifdef HAVE_IEEEFP_H
68289 #include <ieeefp.h>
68290 #endif
68293 main ()
68295 _sqrtf(0);
68297 return 0;
68299 _ACEOF
68300 if ac_fn_cxx_try_compile "$LINENO"; then :
68301 glibcxx_cv_func__sqrtf_use=yes
68302 else
68303 glibcxx_cv_func__sqrtf_use=no
68305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68306 ac_ext=c
68307 ac_cpp='$CPP $CPPFLAGS'
68308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68317 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68319 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68320 for ac_func in _sqrtf
68321 do :
68322 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68323 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68324 cat >>confdefs.h <<_ACEOF
68325 #define HAVE__SQRTF 1
68326 _ACEOF
68329 done
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68339 $as_echo_n "checking for sincosf declaration... " >&6; }
68340 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68341 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68342 $as_echo_n "(cached) " >&6
68343 else
68346 ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h. */
68354 #include <math.h>
68356 main ()
68358 sincosf(0, 0, 0);
68360 return 0;
68362 _ACEOF
68363 if ac_fn_cxx_try_compile "$LINENO"; then :
68364 glibcxx_cv_func_sincosf_use=yes
68365 else
68366 glibcxx_cv_func_sincosf_use=no
68368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68369 ac_ext=c
68370 ac_cpp='$CPP $CPPFLAGS'
68371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68380 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68382 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68383 for ac_func in sincosf
68384 do :
68385 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68386 if test "x$ac_cv_func_sincosf" = x""yes; then :
68387 cat >>confdefs.h <<_ACEOF
68388 #define HAVE_SINCOSF 1
68389 _ACEOF
68392 done
68394 else
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68397 $as_echo_n "checking for _sincosf declaration... " >&6; }
68398 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68399 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68400 $as_echo_n "(cached) " >&6
68401 else
68404 ac_ext=cpp
68405 ac_cpp='$CXXCPP $CPPFLAGS'
68406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68411 /* end confdefs.h. */
68412 #include <math.h>
68414 main ()
68416 _sincosf(0, 0, 0);
68418 return 0;
68420 _ACEOF
68421 if ac_fn_cxx_try_compile "$LINENO"; then :
68422 glibcxx_cv_func__sincosf_use=yes
68423 else
68424 glibcxx_cv_func__sincosf_use=no
68426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68427 ac_ext=c
68428 ac_cpp='$CPP $CPPFLAGS'
68429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68438 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68440 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68441 for ac_func in _sincosf
68442 do :
68443 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68444 if test "x$ac_cv_func__sincosf" = x""yes; then :
68445 cat >>confdefs.h <<_ACEOF
68446 #define HAVE__SINCOSF 1
68447 _ACEOF
68450 done
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68460 $as_echo_n "checking for finitef declaration... " >&6; }
68461 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68462 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68463 $as_echo_n "(cached) " >&6
68464 else
68467 ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h. */
68475 #include <math.h>
68476 #ifdef HAVE_IEEEFP_H
68477 #include <ieeefp.h>
68478 #endif
68481 main ()
68483 finitef(0);
68485 return 0;
68487 _ACEOF
68488 if ac_fn_cxx_try_compile "$LINENO"; then :
68489 glibcxx_cv_func_finitef_use=yes
68490 else
68491 glibcxx_cv_func_finitef_use=no
68493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68494 ac_ext=c
68495 ac_cpp='$CPP $CPPFLAGS'
68496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68505 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68507 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68508 for ac_func in finitef
68509 do :
68510 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68511 if test "x$ac_cv_func_finitef" = x""yes; then :
68512 cat >>confdefs.h <<_ACEOF
68513 #define HAVE_FINITEF 1
68514 _ACEOF
68517 done
68519 else
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68522 $as_echo_n "checking for _finitef declaration... " >&6; }
68523 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68524 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68525 $as_echo_n "(cached) " >&6
68526 else
68529 ac_ext=cpp
68530 ac_cpp='$CXXCPP $CPPFLAGS'
68531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68536 /* end confdefs.h. */
68537 #include <math.h>
68538 #ifdef HAVE_IEEEFP_H
68539 #include <ieeefp.h>
68540 #endif
68543 main ()
68545 _finitef(0);
68547 return 0;
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func__finitef_use=yes
68552 else
68553 glibcxx_cv_func__finitef_use=no
68555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68556 ac_ext=c
68557 ac_cpp='$CPP $CPPFLAGS'
68558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68567 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68569 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68570 for ac_func in _finitef
68571 do :
68572 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68573 if test "x$ac_cv_func__finitef" = x""yes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE__FINITEF 1
68576 _ACEOF
68579 done
68588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68589 $as_echo_n "checking for long double trig functions... " >&6; }
68590 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68591 $as_echo_n "(cached) " >&6
68592 else
68595 ac_ext=cpp
68596 ac_cpp='$CXXCPP $CPPFLAGS'
68597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68602 /* end confdefs.h. */
68603 #include <math.h>
68605 main ()
68607 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68609 return 0;
68611 _ACEOF
68612 if ac_fn_cxx_try_compile "$LINENO"; then :
68613 glibcxx_cv_func_long_double_trig_use=yes
68614 else
68615 glibcxx_cv_func_long_double_trig_use=no
68617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68618 ac_ext=c
68619 ac_cpp='$CPP $CPPFLAGS'
68620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68627 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68628 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68629 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68630 do :
68631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68633 eval as_val=\$$as_ac_var
68634 if test "x$as_val" = x""yes; then :
68635 cat >>confdefs.h <<_ACEOF
68636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68637 _ACEOF
68640 done
68642 else
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68644 $as_echo_n "checking for _long double trig functions... " >&6; }
68645 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68646 $as_echo_n "(cached) " >&6
68647 else
68650 ac_ext=cpp
68651 ac_cpp='$CXXCPP $CPPFLAGS'
68652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68657 /* end confdefs.h. */
68658 #include <math.h>
68660 main ()
68662 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68664 return 0;
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668 glibcxx_cv_func__long_double_trig_use=yes
68669 else
68670 glibcxx_cv_func__long_double_trig_use=no
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68673 ac_ext=c
68674 ac_cpp='$CPP $CPPFLAGS'
68675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68682 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68683 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68684 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68685 do :
68686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68688 eval as_val=\$$as_ac_var
68689 if test "x$as_val" = x""yes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68692 _ACEOF
68695 done
68704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68705 $as_echo_n "checking for long double round functions... " >&6; }
68706 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68707 $as_echo_n "(cached) " >&6
68708 else
68711 ac_ext=cpp
68712 ac_cpp='$CXXCPP $CPPFLAGS'
68713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68718 /* end confdefs.h. */
68719 #include <math.h>
68721 main ()
68723 ceill (0); floorl (0);
68725 return 0;
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729 glibcxx_cv_func_long_double_round_use=yes
68730 else
68731 glibcxx_cv_func_long_double_round_use=no
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734 ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68743 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68744 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68745 for ac_func in ceill floorl
68746 do :
68747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68749 eval as_val=\$$as_ac_var
68750 if test "x$as_val" = x""yes; then :
68751 cat >>confdefs.h <<_ACEOF
68752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68753 _ACEOF
68756 done
68758 else
68759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68760 $as_echo_n "checking for _long double round functions... " >&6; }
68761 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68762 $as_echo_n "(cached) " >&6
68763 else
68766 ac_ext=cpp
68767 ac_cpp='$CXXCPP $CPPFLAGS'
68768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68773 /* end confdefs.h. */
68774 #include <math.h>
68776 main ()
68778 _ceill (0); _floorl (0);
68780 return 0;
68782 _ACEOF
68783 if ac_fn_cxx_try_compile "$LINENO"; then :
68784 glibcxx_cv_func__long_double_round_use=yes
68785 else
68786 glibcxx_cv_func__long_double_round_use=no
68788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68789 ac_ext=c
68790 ac_cpp='$CPP $CPPFLAGS'
68791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68798 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68799 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68800 for ac_func in _ceill _floorl
68801 do :
68802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68804 eval as_val=\$$as_ac_var
68805 if test "x$as_val" = x""yes; then :
68806 cat >>confdefs.h <<_ACEOF
68807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68808 _ACEOF
68811 done
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68822 $as_echo_n "checking for isnanl declaration... " >&6; }
68823 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68824 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68825 $as_echo_n "(cached) " >&6
68826 else
68829 ac_ext=cpp
68830 ac_cpp='$CXXCPP $CPPFLAGS'
68831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68836 /* end confdefs.h. */
68837 #include <math.h>
68838 #ifdef HAVE_IEEEFP_H
68839 #include <ieeefp.h>
68840 #endif
68843 main ()
68845 isnanl(0);
68847 return 0;
68849 _ACEOF
68850 if ac_fn_cxx_try_compile "$LINENO"; then :
68851 glibcxx_cv_func_isnanl_use=yes
68852 else
68853 glibcxx_cv_func_isnanl_use=no
68855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68856 ac_ext=c
68857 ac_cpp='$CPP $CPPFLAGS'
68858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68867 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68869 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68870 for ac_func in isnanl
68871 do :
68872 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68873 if test "x$ac_cv_func_isnanl" = x""yes; then :
68874 cat >>confdefs.h <<_ACEOF
68875 #define HAVE_ISNANL 1
68876 _ACEOF
68879 done
68881 else
68883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68884 $as_echo_n "checking for _isnanl declaration... " >&6; }
68885 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68886 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68887 $as_echo_n "(cached) " >&6
68888 else
68891 ac_ext=cpp
68892 ac_cpp='$CXXCPP $CPPFLAGS'
68893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68898 /* end confdefs.h. */
68899 #include <math.h>
68900 #ifdef HAVE_IEEEFP_H
68901 #include <ieeefp.h>
68902 #endif
68905 main ()
68907 _isnanl(0);
68909 return 0;
68911 _ACEOF
68912 if ac_fn_cxx_try_compile "$LINENO"; then :
68913 glibcxx_cv_func__isnanl_use=yes
68914 else
68915 glibcxx_cv_func__isnanl_use=no
68917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68918 ac_ext=c
68919 ac_cpp='$CPP $CPPFLAGS'
68920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68929 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68931 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68932 for ac_func in _isnanl
68933 do :
68934 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68935 if test "x$ac_cv_func__isnanl" = x""yes; then :
68936 cat >>confdefs.h <<_ACEOF
68937 #define HAVE__ISNANL 1
68938 _ACEOF
68941 done
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68951 $as_echo_n "checking for isinfl declaration... " >&6; }
68952 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68953 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68954 $as_echo_n "(cached) " >&6
68955 else
68958 ac_ext=cpp
68959 ac_cpp='$CXXCPP $CPPFLAGS'
68960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68965 /* end confdefs.h. */
68966 #include <math.h>
68967 #ifdef HAVE_IEEEFP_H
68968 #include <ieeefp.h>
68969 #endif
68972 main ()
68974 isinfl(0);
68976 return 0;
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func_isinfl_use=yes
68981 else
68982 glibcxx_cv_func_isinfl_use=no
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68996 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68998 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68999 for ac_func in isinfl
69000 do :
69001 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69002 if test "x$ac_cv_func_isinfl" = x""yes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE_ISINFL 1
69005 _ACEOF
69008 done
69010 else
69012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69013 $as_echo_n "checking for _isinfl declaration... " >&6; }
69014 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69015 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69016 $as_echo_n "(cached) " >&6
69017 else
69020 ac_ext=cpp
69021 ac_cpp='$CXXCPP $CPPFLAGS'
69022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69027 /* end confdefs.h. */
69028 #include <math.h>
69029 #ifdef HAVE_IEEEFP_H
69030 #include <ieeefp.h>
69031 #endif
69034 main ()
69036 _isinfl(0);
69038 return 0;
69040 _ACEOF
69041 if ac_fn_cxx_try_compile "$LINENO"; then :
69042 glibcxx_cv_func__isinfl_use=yes
69043 else
69044 glibcxx_cv_func__isinfl_use=no
69046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69047 ac_ext=c
69048 ac_cpp='$CPP $CPPFLAGS'
69049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69058 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69060 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69061 for ac_func in _isinfl
69062 do :
69063 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69064 if test "x$ac_cv_func__isinfl" = x""yes; then :
69065 cat >>confdefs.h <<_ACEOF
69066 #define HAVE__ISINFL 1
69067 _ACEOF
69070 done
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69080 $as_echo_n "checking for atan2l declaration... " >&6; }
69081 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69082 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69083 $as_echo_n "(cached) " >&6
69084 else
69087 ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h. */
69095 #include <math.h>
69097 main ()
69099 atan2l(0, 0);
69101 return 0;
69103 _ACEOF
69104 if ac_fn_cxx_try_compile "$LINENO"; then :
69105 glibcxx_cv_func_atan2l_use=yes
69106 else
69107 glibcxx_cv_func_atan2l_use=no
69109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69110 ac_ext=c
69111 ac_cpp='$CPP $CPPFLAGS'
69112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69121 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69123 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69124 for ac_func in atan2l
69125 do :
69126 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69127 if test "x$ac_cv_func_atan2l" = x""yes; then :
69128 cat >>confdefs.h <<_ACEOF
69129 #define HAVE_ATAN2L 1
69130 _ACEOF
69133 done
69135 else
69137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69138 $as_echo_n "checking for _atan2l declaration... " >&6; }
69139 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69140 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69141 $as_echo_n "(cached) " >&6
69142 else
69145 ac_ext=cpp
69146 ac_cpp='$CXXCPP $CPPFLAGS'
69147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69152 /* end confdefs.h. */
69153 #include <math.h>
69155 main ()
69157 _atan2l(0, 0);
69159 return 0;
69161 _ACEOF
69162 if ac_fn_cxx_try_compile "$LINENO"; then :
69163 glibcxx_cv_func__atan2l_use=yes
69164 else
69165 glibcxx_cv_func__atan2l_use=no
69167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69168 ac_ext=c
69169 ac_cpp='$CPP $CPPFLAGS'
69170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69179 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69181 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69182 for ac_func in _atan2l
69183 do :
69184 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69185 if test "x$ac_cv_func__atan2l" = x""yes; then :
69186 cat >>confdefs.h <<_ACEOF
69187 #define HAVE__ATAN2L 1
69188 _ACEOF
69191 done
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69201 $as_echo_n "checking for expl declaration... " >&6; }
69202 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69203 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69217 #ifdef HAVE_IEEEFP_H
69218 #include <ieeefp.h>
69219 #endif
69222 main ()
69224 expl(0);
69226 return 0;
69228 _ACEOF
69229 if ac_fn_cxx_try_compile "$LINENO"; then :
69230 glibcxx_cv_func_expl_use=yes
69231 else
69232 glibcxx_cv_func_expl_use=no
69234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 ac_ext=c
69236 ac_cpp='$CPP $CPPFLAGS'
69237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69246 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69248 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69249 for ac_func in expl
69250 do :
69251 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69252 if test "x$ac_cv_func_expl" = x""yes; then :
69253 cat >>confdefs.h <<_ACEOF
69254 #define HAVE_EXPL 1
69255 _ACEOF
69258 done
69260 else
69262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69263 $as_echo_n "checking for _expl declaration... " >&6; }
69264 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69265 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69266 $as_echo_n "(cached) " >&6
69267 else
69270 ac_ext=cpp
69271 ac_cpp='$CXXCPP $CPPFLAGS'
69272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69277 /* end confdefs.h. */
69278 #include <math.h>
69279 #ifdef HAVE_IEEEFP_H
69280 #include <ieeefp.h>
69281 #endif
69284 main ()
69286 _expl(0);
69288 return 0;
69290 _ACEOF
69291 if ac_fn_cxx_try_compile "$LINENO"; then :
69292 glibcxx_cv_func__expl_use=yes
69293 else
69294 glibcxx_cv_func__expl_use=no
69296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69297 ac_ext=c
69298 ac_cpp='$CPP $CPPFLAGS'
69299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69308 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69310 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69311 for ac_func in _expl
69312 do :
69313 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69314 if test "x$ac_cv_func__expl" = x""yes; then :
69315 cat >>confdefs.h <<_ACEOF
69316 #define HAVE__EXPL 1
69317 _ACEOF
69320 done
69329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69330 $as_echo_n "checking for fabsl declaration... " >&6; }
69331 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69332 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69333 $as_echo_n "(cached) " >&6
69334 else
69337 ac_ext=cpp
69338 ac_cpp='$CXXCPP $CPPFLAGS'
69339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69344 /* end confdefs.h. */
69345 #include <math.h>
69346 #ifdef HAVE_IEEEFP_H
69347 #include <ieeefp.h>
69348 #endif
69351 main ()
69353 fabsl(0);
69355 return 0;
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func_fabsl_use=yes
69360 else
69361 glibcxx_cv_func_fabsl_use=no
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69375 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69377 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69378 for ac_func in fabsl
69379 do :
69380 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69381 if test "x$ac_cv_func_fabsl" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE_FABSL 1
69384 _ACEOF
69387 done
69389 else
69391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69392 $as_echo_n "checking for _fabsl declaration... " >&6; }
69393 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69394 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69395 $as_echo_n "(cached) " >&6
69396 else
69399 ac_ext=cpp
69400 ac_cpp='$CXXCPP $CPPFLAGS'
69401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69406 /* end confdefs.h. */
69407 #include <math.h>
69408 #ifdef HAVE_IEEEFP_H
69409 #include <ieeefp.h>
69410 #endif
69413 main ()
69415 _fabsl(0);
69417 return 0;
69419 _ACEOF
69420 if ac_fn_cxx_try_compile "$LINENO"; then :
69421 glibcxx_cv_func__fabsl_use=yes
69422 else
69423 glibcxx_cv_func__fabsl_use=no
69425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69426 ac_ext=c
69427 ac_cpp='$CPP $CPPFLAGS'
69428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69437 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69439 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69440 for ac_func in _fabsl
69441 do :
69442 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69443 if test "x$ac_cv_func__fabsl" = x""yes; then :
69444 cat >>confdefs.h <<_ACEOF
69445 #define HAVE__FABSL 1
69446 _ACEOF
69449 done
69458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69459 $as_echo_n "checking for fmodl declaration... " >&6; }
69460 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69461 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69462 $as_echo_n "(cached) " >&6
69463 else
69466 ac_ext=cpp
69467 ac_cpp='$CXXCPP $CPPFLAGS'
69468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69473 /* end confdefs.h. */
69474 #include <math.h>
69476 main ()
69478 fmodl(0, 0);
69480 return 0;
69482 _ACEOF
69483 if ac_fn_cxx_try_compile "$LINENO"; then :
69484 glibcxx_cv_func_fmodl_use=yes
69485 else
69486 glibcxx_cv_func_fmodl_use=no
69488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69489 ac_ext=c
69490 ac_cpp='$CPP $CPPFLAGS'
69491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69500 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69502 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69503 for ac_func in fmodl
69504 do :
69505 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69506 if test "x$ac_cv_func_fmodl" = x""yes; then :
69507 cat >>confdefs.h <<_ACEOF
69508 #define HAVE_FMODL 1
69509 _ACEOF
69512 done
69514 else
69516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69517 $as_echo_n "checking for _fmodl declaration... " >&6; }
69518 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69519 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69520 $as_echo_n "(cached) " >&6
69521 else
69524 ac_ext=cpp
69525 ac_cpp='$CXXCPP $CPPFLAGS'
69526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69531 /* end confdefs.h. */
69532 #include <math.h>
69534 main ()
69536 _fmodl(0, 0);
69538 return 0;
69540 _ACEOF
69541 if ac_fn_cxx_try_compile "$LINENO"; then :
69542 glibcxx_cv_func__fmodl_use=yes
69543 else
69544 glibcxx_cv_func__fmodl_use=no
69546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69547 ac_ext=c
69548 ac_cpp='$CPP $CPPFLAGS'
69549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69558 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69560 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69561 for ac_func in _fmodl
69562 do :
69563 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69564 if test "x$ac_cv_func__fmodl" = x""yes; then :
69565 cat >>confdefs.h <<_ACEOF
69566 #define HAVE__FMODL 1
69567 _ACEOF
69570 done
69579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69580 $as_echo_n "checking for frexpl declaration... " >&6; }
69581 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69582 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69583 $as_echo_n "(cached) " >&6
69584 else
69587 ac_ext=cpp
69588 ac_cpp='$CXXCPP $CPPFLAGS'
69589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69594 /* end confdefs.h. */
69595 #include <math.h>
69597 main ()
69599 frexpl(0, 0);
69601 return 0;
69603 _ACEOF
69604 if ac_fn_cxx_try_compile "$LINENO"; then :
69605 glibcxx_cv_func_frexpl_use=yes
69606 else
69607 glibcxx_cv_func_frexpl_use=no
69609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69621 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69623 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69624 for ac_func in frexpl
69625 do :
69626 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69627 if test "x$ac_cv_func_frexpl" = x""yes; then :
69628 cat >>confdefs.h <<_ACEOF
69629 #define HAVE_FREXPL 1
69630 _ACEOF
69633 done
69635 else
69637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69638 $as_echo_n "checking for _frexpl declaration... " >&6; }
69639 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69640 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69641 $as_echo_n "(cached) " >&6
69642 else
69645 ac_ext=cpp
69646 ac_cpp='$CXXCPP $CPPFLAGS'
69647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69652 /* end confdefs.h. */
69653 #include <math.h>
69655 main ()
69657 _frexpl(0, 0);
69659 return 0;
69661 _ACEOF
69662 if ac_fn_cxx_try_compile "$LINENO"; then :
69663 glibcxx_cv_func__frexpl_use=yes
69664 else
69665 glibcxx_cv_func__frexpl_use=no
69667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69668 ac_ext=c
69669 ac_cpp='$CPP $CPPFLAGS'
69670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69679 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69681 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69682 for ac_func in _frexpl
69683 do :
69684 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69685 if test "x$ac_cv_func__frexpl" = x""yes; then :
69686 cat >>confdefs.h <<_ACEOF
69687 #define HAVE__FREXPL 1
69688 _ACEOF
69691 done
69700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69701 $as_echo_n "checking for hypotl declaration... " >&6; }
69702 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69703 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69704 $as_echo_n "(cached) " >&6
69705 else
69708 ac_ext=cpp
69709 ac_cpp='$CXXCPP $CPPFLAGS'
69710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69715 /* end confdefs.h. */
69716 #include <math.h>
69718 main ()
69720 hypotl(0, 0);
69722 return 0;
69724 _ACEOF
69725 if ac_fn_cxx_try_compile "$LINENO"; then :
69726 glibcxx_cv_func_hypotl_use=yes
69727 else
69728 glibcxx_cv_func_hypotl_use=no
69730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69731 ac_ext=c
69732 ac_cpp='$CPP $CPPFLAGS'
69733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69742 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69744 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69745 for ac_func in hypotl
69746 do :
69747 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69748 if test "x$ac_cv_func_hypotl" = x""yes; then :
69749 cat >>confdefs.h <<_ACEOF
69750 #define HAVE_HYPOTL 1
69751 _ACEOF
69754 done
69756 else
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69759 $as_echo_n "checking for _hypotl declaration... " >&6; }
69760 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69761 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69762 $as_echo_n "(cached) " >&6
69763 else
69766 ac_ext=cpp
69767 ac_cpp='$CXXCPP $CPPFLAGS'
69768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69773 /* end confdefs.h. */
69774 #include <math.h>
69776 main ()
69778 _hypotl(0, 0);
69780 return 0;
69782 _ACEOF
69783 if ac_fn_cxx_try_compile "$LINENO"; then :
69784 glibcxx_cv_func__hypotl_use=yes
69785 else
69786 glibcxx_cv_func__hypotl_use=no
69788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69789 ac_ext=c
69790 ac_cpp='$CPP $CPPFLAGS'
69791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69800 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69802 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69803 for ac_func in _hypotl
69804 do :
69805 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69806 if test "x$ac_cv_func__hypotl" = x""yes; then :
69807 cat >>confdefs.h <<_ACEOF
69808 #define HAVE__HYPOTL 1
69809 _ACEOF
69812 done
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69822 $as_echo_n "checking for ldexpl declaration... " >&6; }
69823 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69824 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69825 $as_echo_n "(cached) " >&6
69826 else
69829 ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h. */
69837 #include <math.h>
69839 main ()
69841 ldexpl(0, 0);
69843 return 0;
69845 _ACEOF
69846 if ac_fn_cxx_try_compile "$LINENO"; then :
69847 glibcxx_cv_func_ldexpl_use=yes
69848 else
69849 glibcxx_cv_func_ldexpl_use=no
69851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69852 ac_ext=c
69853 ac_cpp='$CPP $CPPFLAGS'
69854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69863 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69865 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69866 for ac_func in ldexpl
69867 do :
69868 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69869 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69870 cat >>confdefs.h <<_ACEOF
69871 #define HAVE_LDEXPL 1
69872 _ACEOF
69875 done
69877 else
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69880 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69881 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69882 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69883 $as_echo_n "(cached) " >&6
69884 else
69887 ac_ext=cpp
69888 ac_cpp='$CXXCPP $CPPFLAGS'
69889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69894 /* end confdefs.h. */
69895 #include <math.h>
69897 main ()
69899 _ldexpl(0, 0);
69901 return 0;
69903 _ACEOF
69904 if ac_fn_cxx_try_compile "$LINENO"; then :
69905 glibcxx_cv_func__ldexpl_use=yes
69906 else
69907 glibcxx_cv_func__ldexpl_use=no
69909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69910 ac_ext=c
69911 ac_cpp='$CPP $CPPFLAGS'
69912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69921 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69923 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69924 for ac_func in _ldexpl
69925 do :
69926 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69927 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69928 cat >>confdefs.h <<_ACEOF
69929 #define HAVE__LDEXPL 1
69930 _ACEOF
69933 done
69942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69943 $as_echo_n "checking for logl declaration... " >&6; }
69944 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69945 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69946 $as_echo_n "(cached) " >&6
69947 else
69950 ac_ext=cpp
69951 ac_cpp='$CXXCPP $CPPFLAGS'
69952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69957 /* end confdefs.h. */
69958 #include <math.h>
69959 #ifdef HAVE_IEEEFP_H
69960 #include <ieeefp.h>
69961 #endif
69964 main ()
69966 logl(0);
69968 return 0;
69970 _ACEOF
69971 if ac_fn_cxx_try_compile "$LINENO"; then :
69972 glibcxx_cv_func_logl_use=yes
69973 else
69974 glibcxx_cv_func_logl_use=no
69976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69977 ac_ext=c
69978 ac_cpp='$CPP $CPPFLAGS'
69979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69988 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69990 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69991 for ac_func in logl
69992 do :
69993 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69994 if test "x$ac_cv_func_logl" = x""yes; then :
69995 cat >>confdefs.h <<_ACEOF
69996 #define HAVE_LOGL 1
69997 _ACEOF
70000 done
70002 else
70004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70005 $as_echo_n "checking for _logl declaration... " >&6; }
70006 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70007 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70008 $as_echo_n "(cached) " >&6
70009 else
70012 ac_ext=cpp
70013 ac_cpp='$CXXCPP $CPPFLAGS'
70014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70019 /* end confdefs.h. */
70020 #include <math.h>
70021 #ifdef HAVE_IEEEFP_H
70022 #include <ieeefp.h>
70023 #endif
70026 main ()
70028 _logl(0);
70030 return 0;
70032 _ACEOF
70033 if ac_fn_cxx_try_compile "$LINENO"; then :
70034 glibcxx_cv_func__logl_use=yes
70035 else
70036 glibcxx_cv_func__logl_use=no
70038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70039 ac_ext=c
70040 ac_cpp='$CPP $CPPFLAGS'
70041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70050 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70052 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70053 for ac_func in _logl
70054 do :
70055 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70056 if test "x$ac_cv_func__logl" = x""yes; then :
70057 cat >>confdefs.h <<_ACEOF
70058 #define HAVE__LOGL 1
70059 _ACEOF
70062 done
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70072 $as_echo_n "checking for log10l declaration... " >&6; }
70073 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70074 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70075 $as_echo_n "(cached) " >&6
70076 else
70079 ac_ext=cpp
70080 ac_cpp='$CXXCPP $CPPFLAGS'
70081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70086 /* end confdefs.h. */
70087 #include <math.h>
70088 #ifdef HAVE_IEEEFP_H
70089 #include <ieeefp.h>
70090 #endif
70093 main ()
70095 log10l(0);
70097 return 0;
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func_log10l_use=yes
70102 else
70103 glibcxx_cv_func_log10l_use=no
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70117 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70119 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70120 for ac_func in log10l
70121 do :
70122 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70123 if test "x$ac_cv_func_log10l" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define HAVE_LOG10L 1
70126 _ACEOF
70129 done
70131 else
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70134 $as_echo_n "checking for _log10l declaration... " >&6; }
70135 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70136 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70137 $as_echo_n "(cached) " >&6
70138 else
70141 ac_ext=cpp
70142 ac_cpp='$CXXCPP $CPPFLAGS'
70143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70148 /* end confdefs.h. */
70149 #include <math.h>
70150 #ifdef HAVE_IEEEFP_H
70151 #include <ieeefp.h>
70152 #endif
70155 main ()
70157 _log10l(0);
70159 return 0;
70161 _ACEOF
70162 if ac_fn_cxx_try_compile "$LINENO"; then :
70163 glibcxx_cv_func__log10l_use=yes
70164 else
70165 glibcxx_cv_func__log10l_use=no
70167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70168 ac_ext=c
70169 ac_cpp='$CPP $CPPFLAGS'
70170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70179 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70181 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70182 for ac_func in _log10l
70183 do :
70184 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70185 if test "x$ac_cv_func__log10l" = x""yes; then :
70186 cat >>confdefs.h <<_ACEOF
70187 #define HAVE__LOG10L 1
70188 _ACEOF
70191 done
70200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70201 $as_echo_n "checking for modfl declaration... " >&6; }
70202 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70203 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70204 $as_echo_n "(cached) " >&6
70205 else
70208 ac_ext=cpp
70209 ac_cpp='$CXXCPP $CPPFLAGS'
70210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70215 /* end confdefs.h. */
70216 #include <math.h>
70218 main ()
70220 modfl(0, 0);
70222 return 0;
70224 _ACEOF
70225 if ac_fn_cxx_try_compile "$LINENO"; then :
70226 glibcxx_cv_func_modfl_use=yes
70227 else
70228 glibcxx_cv_func_modfl_use=no
70230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70231 ac_ext=c
70232 ac_cpp='$CPP $CPPFLAGS'
70233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70242 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70244 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70245 for ac_func in modfl
70246 do :
70247 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70248 if test "x$ac_cv_func_modfl" = x""yes; then :
70249 cat >>confdefs.h <<_ACEOF
70250 #define HAVE_MODFL 1
70251 _ACEOF
70254 done
70256 else
70258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70259 $as_echo_n "checking for _modfl declaration... " >&6; }
70260 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70261 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70262 $as_echo_n "(cached) " >&6
70263 else
70266 ac_ext=cpp
70267 ac_cpp='$CXXCPP $CPPFLAGS'
70268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70273 /* end confdefs.h. */
70274 #include <math.h>
70276 main ()
70278 _modfl(0, 0);
70280 return 0;
70282 _ACEOF
70283 if ac_fn_cxx_try_compile "$LINENO"; then :
70284 glibcxx_cv_func__modfl_use=yes
70285 else
70286 glibcxx_cv_func__modfl_use=no
70288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70289 ac_ext=c
70290 ac_cpp='$CPP $CPPFLAGS'
70291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70300 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70302 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70303 for ac_func in _modfl
70304 do :
70305 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70306 if test "x$ac_cv_func__modfl" = x""yes; then :
70307 cat >>confdefs.h <<_ACEOF
70308 #define HAVE__MODFL 1
70309 _ACEOF
70312 done
70321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70322 $as_echo_n "checking for powl declaration... " >&6; }
70323 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70324 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70325 $as_echo_n "(cached) " >&6
70326 else
70329 ac_ext=cpp
70330 ac_cpp='$CXXCPP $CPPFLAGS'
70331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h. */
70337 #include <math.h>
70339 main ()
70341 powl(0, 0);
70343 return 0;
70345 _ACEOF
70346 if ac_fn_cxx_try_compile "$LINENO"; then :
70347 glibcxx_cv_func_powl_use=yes
70348 else
70349 glibcxx_cv_func_powl_use=no
70351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70352 ac_ext=c
70353 ac_cpp='$CPP $CPPFLAGS'
70354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70363 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70365 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70366 for ac_func in powl
70367 do :
70368 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70369 if test "x$ac_cv_func_powl" = x""yes; then :
70370 cat >>confdefs.h <<_ACEOF
70371 #define HAVE_POWL 1
70372 _ACEOF
70375 done
70377 else
70379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70380 $as_echo_n "checking for _powl declaration... " >&6; }
70381 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70382 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70383 $as_echo_n "(cached) " >&6
70384 else
70387 ac_ext=cpp
70388 ac_cpp='$CXXCPP $CPPFLAGS'
70389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70394 /* end confdefs.h. */
70395 #include <math.h>
70397 main ()
70399 _powl(0, 0);
70401 return 0;
70403 _ACEOF
70404 if ac_fn_cxx_try_compile "$LINENO"; then :
70405 glibcxx_cv_func__powl_use=yes
70406 else
70407 glibcxx_cv_func__powl_use=no
70409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70410 ac_ext=c
70411 ac_cpp='$CPP $CPPFLAGS'
70412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70421 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70423 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70424 for ac_func in _powl
70425 do :
70426 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70427 if test "x$ac_cv_func__powl" = x""yes; then :
70428 cat >>confdefs.h <<_ACEOF
70429 #define HAVE__POWL 1
70430 _ACEOF
70433 done
70442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70443 $as_echo_n "checking for sqrtl declaration... " >&6; }
70444 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70445 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70446 $as_echo_n "(cached) " >&6
70447 else
70450 ac_ext=cpp
70451 ac_cpp='$CXXCPP $CPPFLAGS'
70452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70457 /* end confdefs.h. */
70458 #include <math.h>
70459 #ifdef HAVE_IEEEFP_H
70460 #include <ieeefp.h>
70461 #endif
70464 main ()
70466 sqrtl(0);
70468 return 0;
70470 _ACEOF
70471 if ac_fn_cxx_try_compile "$LINENO"; then :
70472 glibcxx_cv_func_sqrtl_use=yes
70473 else
70474 glibcxx_cv_func_sqrtl_use=no
70476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70477 ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70488 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70490 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70491 for ac_func in sqrtl
70492 do :
70493 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70494 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70495 cat >>confdefs.h <<_ACEOF
70496 #define HAVE_SQRTL 1
70497 _ACEOF
70500 done
70502 else
70504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70505 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70506 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70507 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70508 $as_echo_n "(cached) " >&6
70509 else
70512 ac_ext=cpp
70513 ac_cpp='$CXXCPP $CPPFLAGS'
70514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70520 #include <math.h>
70521 #ifdef HAVE_IEEEFP_H
70522 #include <ieeefp.h>
70523 #endif
70526 main ()
70528 _sqrtl(0);
70530 return 0;
70532 _ACEOF
70533 if ac_fn_cxx_try_compile "$LINENO"; then :
70534 glibcxx_cv_func__sqrtl_use=yes
70535 else
70536 glibcxx_cv_func__sqrtl_use=no
70538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70539 ac_ext=c
70540 ac_cpp='$CPP $CPPFLAGS'
70541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70550 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70552 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70553 for ac_func in _sqrtl
70554 do :
70555 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70556 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70557 cat >>confdefs.h <<_ACEOF
70558 #define HAVE__SQRTL 1
70559 _ACEOF
70562 done
70571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70572 $as_echo_n "checking for sincosl declaration... " >&6; }
70573 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70574 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70575 $as_echo_n "(cached) " >&6
70576 else
70579 ac_ext=cpp
70580 ac_cpp='$CXXCPP $CPPFLAGS'
70581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70586 /* end confdefs.h. */
70587 #include <math.h>
70589 main ()
70591 sincosl(0, 0, 0);
70593 return 0;
70595 _ACEOF
70596 if ac_fn_cxx_try_compile "$LINENO"; then :
70597 glibcxx_cv_func_sincosl_use=yes
70598 else
70599 glibcxx_cv_func_sincosl_use=no
70601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70602 ac_ext=c
70603 ac_cpp='$CPP $CPPFLAGS'
70604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70613 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70615 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70616 for ac_func in sincosl
70617 do :
70618 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70619 if test "x$ac_cv_func_sincosl" = x""yes; then :
70620 cat >>confdefs.h <<_ACEOF
70621 #define HAVE_SINCOSL 1
70622 _ACEOF
70625 done
70627 else
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70630 $as_echo_n "checking for _sincosl declaration... " >&6; }
70631 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70632 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70633 $as_echo_n "(cached) " >&6
70634 else
70637 ac_ext=cpp
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70644 /* end confdefs.h. */
70645 #include <math.h>
70647 main ()
70649 _sincosl(0, 0, 0);
70651 return 0;
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655 glibcxx_cv_func__sincosl_use=yes
70656 else
70657 glibcxx_cv_func__sincosl_use=no
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660 ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70671 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70673 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70674 for ac_func in _sincosl
70675 do :
70676 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70677 if test "x$ac_cv_func__sincosl" = x""yes; then :
70678 cat >>confdefs.h <<_ACEOF
70679 #define HAVE__SINCOSL 1
70680 _ACEOF
70683 done
70692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70693 $as_echo_n "checking for finitel declaration... " >&6; }
70694 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70695 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70696 $as_echo_n "(cached) " >&6
70697 else
70700 ac_ext=cpp
70701 ac_cpp='$CXXCPP $CPPFLAGS'
70702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70707 /* end confdefs.h. */
70708 #include <math.h>
70709 #ifdef HAVE_IEEEFP_H
70710 #include <ieeefp.h>
70711 #endif
70714 main ()
70716 finitel(0);
70718 return 0;
70720 _ACEOF
70721 if ac_fn_cxx_try_compile "$LINENO"; then :
70722 glibcxx_cv_func_finitel_use=yes
70723 else
70724 glibcxx_cv_func_finitel_use=no
70726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70727 ac_ext=c
70728 ac_cpp='$CPP $CPPFLAGS'
70729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70738 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70740 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70741 for ac_func in finitel
70742 do :
70743 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70744 if test "x$ac_cv_func_finitel" = x""yes; then :
70745 cat >>confdefs.h <<_ACEOF
70746 #define HAVE_FINITEL 1
70747 _ACEOF
70750 done
70752 else
70754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70755 $as_echo_n "checking for _finitel declaration... " >&6; }
70756 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70757 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70758 $as_echo_n "(cached) " >&6
70759 else
70762 ac_ext=cpp
70763 ac_cpp='$CXXCPP $CPPFLAGS'
70764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70769 /* end confdefs.h. */
70770 #include <math.h>
70771 #ifdef HAVE_IEEEFP_H
70772 #include <ieeefp.h>
70773 #endif
70776 main ()
70778 _finitel(0);
70780 return 0;
70782 _ACEOF
70783 if ac_fn_cxx_try_compile "$LINENO"; then :
70784 glibcxx_cv_func__finitel_use=yes
70785 else
70786 glibcxx_cv_func__finitel_use=no
70788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70789 ac_ext=c
70790 ac_cpp='$CPP $CPPFLAGS'
70791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70800 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70802 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70803 for ac_func in _finitel
70804 do :
70805 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70806 if test "x$ac_cv_func__finitel" = x""yes; then :
70807 cat >>confdefs.h <<_ACEOF
70808 #define HAVE__FINITEL 1
70809 _ACEOF
70812 done
70820 LIBS="$ac_save_LIBS"
70821 CXXFLAGS="$ac_save_CXXFLAGS"
70824 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70825 ac_save_CXXFLAGS="$CXXFLAGS"
70826 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70830 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70831 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70832 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70833 $as_echo_n "(cached) " >&6
70834 else
70837 ac_ext=cpp
70838 ac_cpp='$CXXCPP $CPPFLAGS'
70839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70844 /* end confdefs.h. */
70845 #include <stdlib.h>
70847 main ()
70849 at_quick_exit(0);
70851 return 0;
70853 _ACEOF
70854 if ac_fn_cxx_try_compile "$LINENO"; then :
70855 glibcxx_cv_func_at_quick_exit_use=yes
70856 else
70857 glibcxx_cv_func_at_quick_exit_use=no
70859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70860 ac_ext=c
70861 ac_cpp='$CPP $CPPFLAGS'
70862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70871 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70872 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70873 for ac_func in at_quick_exit
70874 do :
70875 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70876 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70877 cat >>confdefs.h <<_ACEOF
70878 #define HAVE_AT_QUICK_EXIT 1
70879 _ACEOF
70882 done
70887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70888 $as_echo_n "checking for quick_exit declaration... " >&6; }
70889 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70890 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70891 $as_echo_n "(cached) " >&6
70892 else
70895 ac_ext=cpp
70896 ac_cpp='$CXXCPP $CPPFLAGS'
70897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70902 /* end confdefs.h. */
70903 #include <stdlib.h>
70905 main ()
70907 quick_exit(0);
70909 return 0;
70911 _ACEOF
70912 if ac_fn_cxx_try_compile "$LINENO"; then :
70913 glibcxx_cv_func_quick_exit_use=yes
70914 else
70915 glibcxx_cv_func_quick_exit_use=no
70917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70918 ac_ext=c
70919 ac_cpp='$CPP $CPPFLAGS'
70920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70929 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70930 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70931 for ac_func in quick_exit
70932 do :
70933 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70934 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70935 cat >>confdefs.h <<_ACEOF
70936 #define HAVE_QUICK_EXIT 1
70937 _ACEOF
70940 done
70945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70946 $as_echo_n "checking for strtold declaration... " >&6; }
70947 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70948 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70949 $as_echo_n "(cached) " >&6
70950 else
70953 ac_ext=cpp
70954 ac_cpp='$CXXCPP $CPPFLAGS'
70955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <stdlib.h>
70963 main ()
70965 strtold(0, 0);
70967 return 0;
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func_strtold_use=yes
70972 else
70973 glibcxx_cv_func_strtold_use=no
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70987 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70988 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70989 for ac_func in strtold
70990 do :
70991 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70992 if test "x$ac_cv_func_strtold" = x""yes; then :
70993 cat >>confdefs.h <<_ACEOF
70994 #define HAVE_STRTOLD 1
70995 _ACEOF
70998 done
71005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71006 $as_echo_n "checking for strtof declaration... " >&6; }
71007 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71008 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71009 $as_echo_n "(cached) " >&6
71010 else
71013 ac_ext=cpp
71014 ac_cpp='$CXXCPP $CPPFLAGS'
71015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71020 /* end confdefs.h. */
71021 #include <stdlib.h>
71023 main ()
71025 strtof(0, 0);
71027 return 0;
71029 _ACEOF
71030 if ac_fn_cxx_try_compile "$LINENO"; then :
71031 glibcxx_cv_func_strtof_use=yes
71032 else
71033 glibcxx_cv_func_strtof_use=no
71035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71036 ac_ext=c
71037 ac_cpp='$CPP $CPPFLAGS'
71038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71047 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71048 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71049 for ac_func in strtof
71050 do :
71051 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71052 if test "x$ac_cv_func_strtof" = x""yes; then :
71053 cat >>confdefs.h <<_ACEOF
71054 #define HAVE_STRTOF 1
71055 _ACEOF
71058 done
71065 CXXFLAGS="$ac_save_CXXFLAGS"
71068 *-solaris*)
71070 # If we're not using GNU ld, then there's no point in even trying these
71071 # tests. Check for that first. We should have already tested for gld
71072 # by now (in libtool), but require it now just to be safe...
71073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71078 # The name set by libtool depends on the version of libtool. Shame on us
71079 # for depending on an impl detail, but c'est la vie. Older versions used
71080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71083 # set (hence we're using an older libtool), then set it.
71084 if test x${with_gnu_ld+set} != xset; then
71085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71087 with_gnu_ld=no
71088 else
71089 with_gnu_ld=$ac_cv_prog_gnu_ld
71093 # Start by getting the version number. I think the libtool test already
71094 # does some of this, but throws away the result.
71095 glibcxx_ld_is_gold=no
71096 if test x"$with_gnu_ld" = x"yes"; then
71097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71098 $as_echo_n "checking for ld version... " >&6; }
71100 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71101 glibcxx_ld_is_gold=yes
71103 ldver=`$LD --version 2>/dev/null |
71104 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'`
71106 glibcxx_gnu_ld_version=`echo $ldver | \
71107 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71109 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71112 # Set --gc-sections.
71113 glibcxx_have_gc_sections=no
71114 if test "$glibcxx_ld_is_gold" = "yes"; then
71115 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71116 glibcxx_have_gc_sections=yes
71118 else
71119 glibcxx_gcsections_min_ld=21602
71120 if test x"$with_gnu_ld" = x"yes" &&
71121 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71122 glibcxx_have_gc_sections=yes
71125 if test "$glibcxx_have_gc_sections" = "yes"; then
71126 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71127 # NB: This flag only works reliably after 2.16.1. Configure tests
71128 # for this are difficult, so hard wire a value that should work.
71130 ac_test_CFLAGS="${CFLAGS+set}"
71131 ac_save_CFLAGS="$CFLAGS"
71132 CFLAGS='-Wl,--gc-sections'
71134 # Check for -Wl,--gc-sections
71135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71136 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71137 if test x$gcc_no_link = xyes; then
71138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71141 /* end confdefs.h. */
71142 int one(void) { return 1; }
71143 int two(void) { return 2; }
71146 main ()
71148 two();
71150 return 0;
71152 _ACEOF
71153 if ac_fn_c_try_link "$LINENO"; then :
71154 ac_gcsections=yes
71155 else
71156 ac_gcsections=no
71158 rm -f core conftest.err conftest.$ac_objext \
71159 conftest$ac_exeext conftest.$ac_ext
71160 if test "$ac_gcsections" = "yes"; then
71161 rm -f conftest.c
71162 touch conftest.c
71163 if $CC -c conftest.c; then
71164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71165 grep "Warning: gc-sections option ignored" > /dev/null; then
71166 ac_gcsections=no
71169 rm -f conftest.c conftest.o conftest
71171 if test "$ac_gcsections" = "yes"; then
71172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71175 $as_echo "$ac_gcsections" >&6; }
71177 if test "$ac_test_CFLAGS" = set; then
71178 CFLAGS="$ac_save_CFLAGS"
71179 else
71180 # this is the suspicious part
71181 CFLAGS=''
71185 # Set -z,relro.
71186 # Note this is only for shared objects.
71187 ac_ld_relro=no
71188 if test x"$with_gnu_ld" = x"yes"; then
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71190 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71192 if test -n "$cxx_z_relo"; then
71193 OPT_LDFLAGS="-Wl,-z,relro"
71194 ac_ld_relro=yes
71196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71197 $as_echo "$ac_ld_relro" >&6; }
71200 # Set linker optimization flags.
71201 if test x"$with_gnu_ld" = x"yes"; then
71202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71208 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71210 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71212 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71214 # All of the dependencies for wide character support are here, so
71215 # turn it on.
71216 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71218 # These two C99 functions are present only in Solaris >= 10
71219 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71221 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71223 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71225 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71227 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71229 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71232 *-tpf)
71233 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71234 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71236 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71238 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71240 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71242 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71244 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71246 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71248 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71250 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71252 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71254 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71256 if test x"long_double_math_on_this_cpu" = x"yes"; then
71257 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71259 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71261 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71263 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71267 *-*vms*)
71268 # Check for available headers.
71269 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71272 ac_save_CXXFLAGS="$CXXFLAGS"
71273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71276 $as_echo_n "checking for sin in -lm... " >&6; }
71277 if test "${ac_cv_lib_m_sin+set}" = set; then :
71278 $as_echo_n "(cached) " >&6
71279 else
71280 ac_check_lib_save_LIBS=$LIBS
71281 LIBS="-lm $LIBS"
71282 if test x$gcc_no_link = xyes; then
71283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71286 /* end confdefs.h. */
71288 /* Override any GCC internal prototype to avoid an error.
71289 Use char because int might match the return type of a GCC
71290 builtin and then its argument prototype would still apply. */
71291 #ifdef __cplusplus
71292 extern "C"
71293 #endif
71294 char sin ();
71296 main ()
71298 return sin ();
71300 return 0;
71302 _ACEOF
71303 if ac_fn_c_try_link "$LINENO"; then :
71304 ac_cv_lib_m_sin=yes
71305 else
71306 ac_cv_lib_m_sin=no
71308 rm -f core conftest.err conftest.$ac_objext \
71309 conftest$ac_exeext conftest.$ac_ext
71310 LIBS=$ac_check_lib_save_LIBS
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71313 $as_echo "$ac_cv_lib_m_sin" >&6; }
71314 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71315 libm="-lm"
71318 ac_save_LIBS="$LIBS"
71319 LIBS="$LIBS $libm"
71323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71324 $as_echo_n "checking for isinf declaration... " >&6; }
71325 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71326 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71327 $as_echo_n "(cached) " >&6
71328 else
71331 ac_ext=cpp
71332 ac_cpp='$CXXCPP $CPPFLAGS'
71333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71338 /* end confdefs.h. */
71339 #include <math.h>
71340 #ifdef HAVE_IEEEFP_H
71341 #include <ieeefp.h>
71342 #endif
71345 main ()
71347 isinf(0);
71349 return 0;
71351 _ACEOF
71352 if ac_fn_cxx_try_compile "$LINENO"; then :
71353 glibcxx_cv_func_isinf_use=yes
71354 else
71355 glibcxx_cv_func_isinf_use=no
71357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71358 ac_ext=c
71359 ac_cpp='$CPP $CPPFLAGS'
71360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71369 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71371 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71372 for ac_func in isinf
71373 do :
71374 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71375 if test "x$ac_cv_func_isinf" = x""yes; then :
71376 cat >>confdefs.h <<_ACEOF
71377 #define HAVE_ISINF 1
71378 _ACEOF
71381 done
71383 else
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71386 $as_echo_n "checking for _isinf declaration... " >&6; }
71387 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71388 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71389 $as_echo_n "(cached) " >&6
71390 else
71393 ac_ext=cpp
71394 ac_cpp='$CXXCPP $CPPFLAGS'
71395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 #include <math.h>
71402 #ifdef HAVE_IEEEFP_H
71403 #include <ieeefp.h>
71404 #endif
71407 main ()
71409 _isinf(0);
71411 return 0;
71413 _ACEOF
71414 if ac_fn_cxx_try_compile "$LINENO"; then :
71415 glibcxx_cv_func__isinf_use=yes
71416 else
71417 glibcxx_cv_func__isinf_use=no
71419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71420 ac_ext=c
71421 ac_cpp='$CPP $CPPFLAGS'
71422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71431 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71433 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71434 for ac_func in _isinf
71435 do :
71436 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71437 if test "x$ac_cv_func__isinf" = x""yes; then :
71438 cat >>confdefs.h <<_ACEOF
71439 #define HAVE__ISINF 1
71440 _ACEOF
71443 done
71452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71453 $as_echo_n "checking for isnan declaration... " >&6; }
71454 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71455 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71456 $as_echo_n "(cached) " >&6
71457 else
71460 ac_ext=cpp
71461 ac_cpp='$CXXCPP $CPPFLAGS'
71462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71467 /* end confdefs.h. */
71468 #include <math.h>
71469 #ifdef HAVE_IEEEFP_H
71470 #include <ieeefp.h>
71471 #endif
71474 main ()
71476 isnan(0);
71478 return 0;
71480 _ACEOF
71481 if ac_fn_cxx_try_compile "$LINENO"; then :
71482 glibcxx_cv_func_isnan_use=yes
71483 else
71484 glibcxx_cv_func_isnan_use=no
71486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71487 ac_ext=c
71488 ac_cpp='$CPP $CPPFLAGS'
71489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71498 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71500 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71501 for ac_func in isnan
71502 do :
71503 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71504 if test "x$ac_cv_func_isnan" = x""yes; then :
71505 cat >>confdefs.h <<_ACEOF
71506 #define HAVE_ISNAN 1
71507 _ACEOF
71510 done
71512 else
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71515 $as_echo_n "checking for _isnan declaration... " >&6; }
71516 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71517 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71518 $as_echo_n "(cached) " >&6
71519 else
71522 ac_ext=cpp
71523 ac_cpp='$CXXCPP $CPPFLAGS'
71524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71529 /* end confdefs.h. */
71530 #include <math.h>
71531 #ifdef HAVE_IEEEFP_H
71532 #include <ieeefp.h>
71533 #endif
71536 main ()
71538 _isnan(0);
71540 return 0;
71542 _ACEOF
71543 if ac_fn_cxx_try_compile "$LINENO"; then :
71544 glibcxx_cv_func__isnan_use=yes
71545 else
71546 glibcxx_cv_func__isnan_use=no
71548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71549 ac_ext=c
71550 ac_cpp='$CPP $CPPFLAGS'
71551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71560 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71562 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71563 for ac_func in _isnan
71564 do :
71565 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71566 if test "x$ac_cv_func__isnan" = x""yes; then :
71567 cat >>confdefs.h <<_ACEOF
71568 #define HAVE__ISNAN 1
71569 _ACEOF
71572 done
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71582 $as_echo_n "checking for finite declaration... " >&6; }
71583 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71584 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71585 $as_echo_n "(cached) " >&6
71586 else
71589 ac_ext=cpp
71590 ac_cpp='$CXXCPP $CPPFLAGS'
71591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71596 /* end confdefs.h. */
71597 #include <math.h>
71598 #ifdef HAVE_IEEEFP_H
71599 #include <ieeefp.h>
71600 #endif
71603 main ()
71605 finite(0);
71607 return 0;
71609 _ACEOF
71610 if ac_fn_cxx_try_compile "$LINENO"; then :
71611 glibcxx_cv_func_finite_use=yes
71612 else
71613 glibcxx_cv_func_finite_use=no
71615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71616 ac_ext=c
71617 ac_cpp='$CPP $CPPFLAGS'
71618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71627 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71629 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71630 for ac_func in finite
71631 do :
71632 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71633 if test "x$ac_cv_func_finite" = x""yes; then :
71634 cat >>confdefs.h <<_ACEOF
71635 #define HAVE_FINITE 1
71636 _ACEOF
71639 done
71641 else
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71644 $as_echo_n "checking for _finite declaration... " >&6; }
71645 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71646 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71647 $as_echo_n "(cached) " >&6
71648 else
71651 ac_ext=cpp
71652 ac_cpp='$CXXCPP $CPPFLAGS'
71653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71658 /* end confdefs.h. */
71659 #include <math.h>
71660 #ifdef HAVE_IEEEFP_H
71661 #include <ieeefp.h>
71662 #endif
71665 main ()
71667 _finite(0);
71669 return 0;
71671 _ACEOF
71672 if ac_fn_cxx_try_compile "$LINENO"; then :
71673 glibcxx_cv_func__finite_use=yes
71674 else
71675 glibcxx_cv_func__finite_use=no
71677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71678 ac_ext=c
71679 ac_cpp='$CPP $CPPFLAGS'
71680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71689 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71691 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71692 for ac_func in _finite
71693 do :
71694 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71695 if test "x$ac_cv_func__finite" = x""yes; then :
71696 cat >>confdefs.h <<_ACEOF
71697 #define HAVE__FINITE 1
71698 _ACEOF
71701 done
71710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71711 $as_echo_n "checking for sincos declaration... " >&6; }
71712 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71713 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71714 $as_echo_n "(cached) " >&6
71715 else
71718 ac_ext=cpp
71719 ac_cpp='$CXXCPP $CPPFLAGS'
71720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71725 /* end confdefs.h. */
71726 #include <math.h>
71728 main ()
71730 sincos(0, 0, 0);
71732 return 0;
71734 _ACEOF
71735 if ac_fn_cxx_try_compile "$LINENO"; then :
71736 glibcxx_cv_func_sincos_use=yes
71737 else
71738 glibcxx_cv_func_sincos_use=no
71740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71741 ac_ext=c
71742 ac_cpp='$CPP $CPPFLAGS'
71743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71752 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71754 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71755 for ac_func in sincos
71756 do :
71757 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71758 if test "x$ac_cv_func_sincos" = x""yes; then :
71759 cat >>confdefs.h <<_ACEOF
71760 #define HAVE_SINCOS 1
71761 _ACEOF
71764 done
71766 else
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71769 $as_echo_n "checking for _sincos declaration... " >&6; }
71770 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71771 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71772 $as_echo_n "(cached) " >&6
71773 else
71776 ac_ext=cpp
71777 ac_cpp='$CXXCPP $CPPFLAGS'
71778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71783 /* end confdefs.h. */
71784 #include <math.h>
71786 main ()
71788 _sincos(0, 0, 0);
71790 return 0;
71792 _ACEOF
71793 if ac_fn_cxx_try_compile "$LINENO"; then :
71794 glibcxx_cv_func__sincos_use=yes
71795 else
71796 glibcxx_cv_func__sincos_use=no
71798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71799 ac_ext=c
71800 ac_cpp='$CPP $CPPFLAGS'
71801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71810 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71812 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71813 for ac_func in _sincos
71814 do :
71815 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71816 if test "x$ac_cv_func__sincos" = x""yes; then :
71817 cat >>confdefs.h <<_ACEOF
71818 #define HAVE__SINCOS 1
71819 _ACEOF
71822 done
71831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71832 $as_echo_n "checking for fpclass declaration... " >&6; }
71833 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71834 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71835 $as_echo_n "(cached) " >&6
71836 else
71839 ac_ext=cpp
71840 ac_cpp='$CXXCPP $CPPFLAGS'
71841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71846 /* end confdefs.h. */
71847 #include <math.h>
71848 #ifdef HAVE_IEEEFP_H
71849 #include <ieeefp.h>
71850 #endif
71853 main ()
71855 fpclass(0);
71857 return 0;
71859 _ACEOF
71860 if ac_fn_cxx_try_compile "$LINENO"; then :
71861 glibcxx_cv_func_fpclass_use=yes
71862 else
71863 glibcxx_cv_func_fpclass_use=no
71865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71866 ac_ext=c
71867 ac_cpp='$CPP $CPPFLAGS'
71868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71877 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71879 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71880 for ac_func in fpclass
71881 do :
71882 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71883 if test "x$ac_cv_func_fpclass" = x""yes; then :
71884 cat >>confdefs.h <<_ACEOF
71885 #define HAVE_FPCLASS 1
71886 _ACEOF
71889 done
71891 else
71893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71894 $as_echo_n "checking for _fpclass declaration... " >&6; }
71895 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71896 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71897 $as_echo_n "(cached) " >&6
71898 else
71901 ac_ext=cpp
71902 ac_cpp='$CXXCPP $CPPFLAGS'
71903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71908 /* end confdefs.h. */
71909 #include <math.h>
71910 #ifdef HAVE_IEEEFP_H
71911 #include <ieeefp.h>
71912 #endif
71915 main ()
71917 _fpclass(0);
71919 return 0;
71921 _ACEOF
71922 if ac_fn_cxx_try_compile "$LINENO"; then :
71923 glibcxx_cv_func__fpclass_use=yes
71924 else
71925 glibcxx_cv_func__fpclass_use=no
71927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71928 ac_ext=c
71929 ac_cpp='$CPP $CPPFLAGS'
71930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71939 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71941 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71942 for ac_func in _fpclass
71943 do :
71944 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71945 if test "x$ac_cv_func__fpclass" = x""yes; then :
71946 cat >>confdefs.h <<_ACEOF
71947 #define HAVE__FPCLASS 1
71948 _ACEOF
71951 done
71960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71961 $as_echo_n "checking for qfpclass declaration... " >&6; }
71962 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71963 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71964 $as_echo_n "(cached) " >&6
71965 else
71968 ac_ext=cpp
71969 ac_cpp='$CXXCPP $CPPFLAGS'
71970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71975 /* end confdefs.h. */
71976 #include <math.h>
71977 #ifdef HAVE_IEEEFP_H
71978 #include <ieeefp.h>
71979 #endif
71982 main ()
71984 qfpclass(0);
71986 return 0;
71988 _ACEOF
71989 if ac_fn_cxx_try_compile "$LINENO"; then :
71990 glibcxx_cv_func_qfpclass_use=yes
71991 else
71992 glibcxx_cv_func_qfpclass_use=no
71994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71995 ac_ext=c
71996 ac_cpp='$CPP $CPPFLAGS'
71997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72006 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72008 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72009 for ac_func in qfpclass
72010 do :
72011 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72012 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72013 cat >>confdefs.h <<_ACEOF
72014 #define HAVE_QFPCLASS 1
72015 _ACEOF
72018 done
72020 else
72022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72023 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72024 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72025 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72026 $as_echo_n "(cached) " >&6
72027 else
72030 ac_ext=cpp
72031 ac_cpp='$CXXCPP $CPPFLAGS'
72032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72037 /* end confdefs.h. */
72038 #include <math.h>
72039 #ifdef HAVE_IEEEFP_H
72040 #include <ieeefp.h>
72041 #endif
72044 main ()
72046 _qfpclass(0);
72048 return 0;
72050 _ACEOF
72051 if ac_fn_cxx_try_compile "$LINENO"; then :
72052 glibcxx_cv_func__qfpclass_use=yes
72053 else
72054 glibcxx_cv_func__qfpclass_use=no
72056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72057 ac_ext=c
72058 ac_cpp='$CPP $CPPFLAGS'
72059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72068 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72070 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72071 for ac_func in _qfpclass
72072 do :
72073 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72074 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72075 cat >>confdefs.h <<_ACEOF
72076 #define HAVE__QFPCLASS 1
72077 _ACEOF
72080 done
72089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72090 $as_echo_n "checking for hypot declaration... " >&6; }
72091 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72092 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72093 $as_echo_n "(cached) " >&6
72094 else
72097 ac_ext=cpp
72098 ac_cpp='$CXXCPP $CPPFLAGS'
72099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72104 /* end confdefs.h. */
72105 #include <math.h>
72107 main ()
72109 hypot(0, 0);
72111 return 0;
72113 _ACEOF
72114 if ac_fn_cxx_try_compile "$LINENO"; then :
72115 glibcxx_cv_func_hypot_use=yes
72116 else
72117 glibcxx_cv_func_hypot_use=no
72119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72120 ac_ext=c
72121 ac_cpp='$CPP $CPPFLAGS'
72122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72131 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72133 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72134 for ac_func in hypot
72135 do :
72136 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72137 if test "x$ac_cv_func_hypot" = x""yes; then :
72138 cat >>confdefs.h <<_ACEOF
72139 #define HAVE_HYPOT 1
72140 _ACEOF
72143 done
72145 else
72147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72148 $as_echo_n "checking for _hypot declaration... " >&6; }
72149 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72150 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72151 $as_echo_n "(cached) " >&6
72152 else
72155 ac_ext=cpp
72156 ac_cpp='$CXXCPP $CPPFLAGS'
72157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72162 /* end confdefs.h. */
72163 #include <math.h>
72165 main ()
72167 _hypot(0, 0);
72169 return 0;
72171 _ACEOF
72172 if ac_fn_cxx_try_compile "$LINENO"; then :
72173 glibcxx_cv_func__hypot_use=yes
72174 else
72175 glibcxx_cv_func__hypot_use=no
72177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72178 ac_ext=c
72179 ac_cpp='$CPP $CPPFLAGS'
72180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72189 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72191 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72192 for ac_func in _hypot
72193 do :
72194 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72195 if test "x$ac_cv_func__hypot" = x""yes; then :
72196 cat >>confdefs.h <<_ACEOF
72197 #define HAVE__HYPOT 1
72198 _ACEOF
72201 done
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72211 $as_echo_n "checking for float trig functions... " >&6; }
72212 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72213 $as_echo_n "(cached) " >&6
72214 else
72217 ac_ext=cpp
72218 ac_cpp='$CXXCPP $CPPFLAGS'
72219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72224 /* end confdefs.h. */
72225 #include <math.h>
72227 main ()
72229 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72231 return 0;
72233 _ACEOF
72234 if ac_fn_cxx_try_compile "$LINENO"; then :
72235 glibcxx_cv_func_float_trig_use=yes
72236 else
72237 glibcxx_cv_func_float_trig_use=no
72239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72240 ac_ext=c
72241 ac_cpp='$CPP $CPPFLAGS'
72242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72249 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72250 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72251 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72252 do :
72253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72255 eval as_val=\$$as_ac_var
72256 if test "x$as_val" = x""yes; then :
72257 cat >>confdefs.h <<_ACEOF
72258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72259 _ACEOF
72262 done
72264 else
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72266 $as_echo_n "checking for _float trig functions... " >&6; }
72267 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72268 $as_echo_n "(cached) " >&6
72269 else
72272 ac_ext=cpp
72273 ac_cpp='$CXXCPP $CPPFLAGS'
72274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72279 /* end confdefs.h. */
72280 #include <math.h>
72282 main ()
72284 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72286 return 0;
72288 _ACEOF
72289 if ac_fn_cxx_try_compile "$LINENO"; then :
72290 glibcxx_cv_func__float_trig_use=yes
72291 else
72292 glibcxx_cv_func__float_trig_use=no
72294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72295 ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72304 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72305 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72306 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72307 do :
72308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72310 eval as_val=\$$as_ac_var
72311 if test "x$as_val" = x""yes; then :
72312 cat >>confdefs.h <<_ACEOF
72313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72314 _ACEOF
72317 done
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72327 $as_echo_n "checking for float round functions... " >&6; }
72328 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72329 $as_echo_n "(cached) " >&6
72330 else
72333 ac_ext=cpp
72334 ac_cpp='$CXXCPP $CPPFLAGS'
72335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72340 /* end confdefs.h. */
72341 #include <math.h>
72343 main ()
72345 ceilf (0); floorf (0);
72347 return 0;
72349 _ACEOF
72350 if ac_fn_cxx_try_compile "$LINENO"; then :
72351 glibcxx_cv_func_float_round_use=yes
72352 else
72353 glibcxx_cv_func_float_round_use=no
72355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72365 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72366 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72367 for ac_func in ceilf floorf
72368 do :
72369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72371 eval as_val=\$$as_ac_var
72372 if test "x$as_val" = x""yes; then :
72373 cat >>confdefs.h <<_ACEOF
72374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72375 _ACEOF
72378 done
72380 else
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72382 $as_echo_n "checking for _float round functions... " >&6; }
72383 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72384 $as_echo_n "(cached) " >&6
72385 else
72388 ac_ext=cpp
72389 ac_cpp='$CXXCPP $CPPFLAGS'
72390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72395 /* end confdefs.h. */
72396 #include <math.h>
72398 main ()
72400 _ceilf (0); _floorf (0);
72402 return 0;
72404 _ACEOF
72405 if ac_fn_cxx_try_compile "$LINENO"; then :
72406 glibcxx_cv_func__float_round_use=yes
72407 else
72408 glibcxx_cv_func__float_round_use=no
72410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72411 ac_ext=c
72412 ac_cpp='$CPP $CPPFLAGS'
72413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72420 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72421 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72422 for ac_func in _ceilf _floorf
72423 do :
72424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72426 eval as_val=\$$as_ac_var
72427 if test "x$as_val" = x""yes; then :
72428 cat >>confdefs.h <<_ACEOF
72429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72430 _ACEOF
72433 done
72443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72444 $as_echo_n "checking for expf declaration... " >&6; }
72445 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72446 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72447 $as_echo_n "(cached) " >&6
72448 else
72451 ac_ext=cpp
72452 ac_cpp='$CXXCPP $CPPFLAGS'
72453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72458 /* end confdefs.h. */
72459 #include <math.h>
72460 #ifdef HAVE_IEEEFP_H
72461 #include <ieeefp.h>
72462 #endif
72465 main ()
72467 expf(0);
72469 return 0;
72471 _ACEOF
72472 if ac_fn_cxx_try_compile "$LINENO"; then :
72473 glibcxx_cv_func_expf_use=yes
72474 else
72475 glibcxx_cv_func_expf_use=no
72477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72478 ac_ext=c
72479 ac_cpp='$CPP $CPPFLAGS'
72480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72489 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72491 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72492 for ac_func in expf
72493 do :
72494 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72495 if test "x$ac_cv_func_expf" = x""yes; then :
72496 cat >>confdefs.h <<_ACEOF
72497 #define HAVE_EXPF 1
72498 _ACEOF
72501 done
72503 else
72505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72506 $as_echo_n "checking for _expf declaration... " >&6; }
72507 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72508 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72509 $as_echo_n "(cached) " >&6
72510 else
72513 ac_ext=cpp
72514 ac_cpp='$CXXCPP $CPPFLAGS'
72515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72520 /* end confdefs.h. */
72521 #include <math.h>
72522 #ifdef HAVE_IEEEFP_H
72523 #include <ieeefp.h>
72524 #endif
72527 main ()
72529 _expf(0);
72531 return 0;
72533 _ACEOF
72534 if ac_fn_cxx_try_compile "$LINENO"; then :
72535 glibcxx_cv_func__expf_use=yes
72536 else
72537 glibcxx_cv_func__expf_use=no
72539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72540 ac_ext=c
72541 ac_cpp='$CPP $CPPFLAGS'
72542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72551 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72553 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72554 for ac_func in _expf
72555 do :
72556 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72557 if test "x$ac_cv_func__expf" = x""yes; then :
72558 cat >>confdefs.h <<_ACEOF
72559 #define HAVE__EXPF 1
72560 _ACEOF
72563 done
72572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72573 $as_echo_n "checking for isnanf declaration... " >&6; }
72574 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72575 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72576 $as_echo_n "(cached) " >&6
72577 else
72580 ac_ext=cpp
72581 ac_cpp='$CXXCPP $CPPFLAGS'
72582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72587 /* end confdefs.h. */
72588 #include <math.h>
72589 #ifdef HAVE_IEEEFP_H
72590 #include <ieeefp.h>
72591 #endif
72594 main ()
72596 isnanf(0);
72598 return 0;
72600 _ACEOF
72601 if ac_fn_cxx_try_compile "$LINENO"; then :
72602 glibcxx_cv_func_isnanf_use=yes
72603 else
72604 glibcxx_cv_func_isnanf_use=no
72606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72607 ac_ext=c
72608 ac_cpp='$CPP $CPPFLAGS'
72609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72618 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72620 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72621 for ac_func in isnanf
72622 do :
72623 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72624 if test "x$ac_cv_func_isnanf" = x""yes; then :
72625 cat >>confdefs.h <<_ACEOF
72626 #define HAVE_ISNANF 1
72627 _ACEOF
72630 done
72632 else
72634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72635 $as_echo_n "checking for _isnanf declaration... " >&6; }
72636 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72637 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72638 $as_echo_n "(cached) " >&6
72639 else
72642 ac_ext=cpp
72643 ac_cpp='$CXXCPP $CPPFLAGS'
72644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72649 /* end confdefs.h. */
72650 #include <math.h>
72651 #ifdef HAVE_IEEEFP_H
72652 #include <ieeefp.h>
72653 #endif
72656 main ()
72658 _isnanf(0);
72660 return 0;
72662 _ACEOF
72663 if ac_fn_cxx_try_compile "$LINENO"; then :
72664 glibcxx_cv_func__isnanf_use=yes
72665 else
72666 glibcxx_cv_func__isnanf_use=no
72668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72669 ac_ext=c
72670 ac_cpp='$CPP $CPPFLAGS'
72671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72680 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72682 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72683 for ac_func in _isnanf
72684 do :
72685 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72686 if test "x$ac_cv_func__isnanf" = x""yes; then :
72687 cat >>confdefs.h <<_ACEOF
72688 #define HAVE__ISNANF 1
72689 _ACEOF
72692 done
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72702 $as_echo_n "checking for isinff declaration... " >&6; }
72703 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72704 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72705 $as_echo_n "(cached) " >&6
72706 else
72709 ac_ext=cpp
72710 ac_cpp='$CXXCPP $CPPFLAGS'
72711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72716 /* end confdefs.h. */
72717 #include <math.h>
72718 #ifdef HAVE_IEEEFP_H
72719 #include <ieeefp.h>
72720 #endif
72723 main ()
72725 isinff(0);
72727 return 0;
72729 _ACEOF
72730 if ac_fn_cxx_try_compile "$LINENO"; then :
72731 glibcxx_cv_func_isinff_use=yes
72732 else
72733 glibcxx_cv_func_isinff_use=no
72735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72736 ac_ext=c
72737 ac_cpp='$CPP $CPPFLAGS'
72738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72747 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72749 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72750 for ac_func in isinff
72751 do :
72752 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72753 if test "x$ac_cv_func_isinff" = x""yes; then :
72754 cat >>confdefs.h <<_ACEOF
72755 #define HAVE_ISINFF 1
72756 _ACEOF
72759 done
72761 else
72763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72764 $as_echo_n "checking for _isinff declaration... " >&6; }
72765 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72766 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72767 $as_echo_n "(cached) " >&6
72768 else
72771 ac_ext=cpp
72772 ac_cpp='$CXXCPP $CPPFLAGS'
72773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72778 /* end confdefs.h. */
72779 #include <math.h>
72780 #ifdef HAVE_IEEEFP_H
72781 #include <ieeefp.h>
72782 #endif
72785 main ()
72787 _isinff(0);
72789 return 0;
72791 _ACEOF
72792 if ac_fn_cxx_try_compile "$LINENO"; then :
72793 glibcxx_cv_func__isinff_use=yes
72794 else
72795 glibcxx_cv_func__isinff_use=no
72797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72798 ac_ext=c
72799 ac_cpp='$CPP $CPPFLAGS'
72800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72809 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72811 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72812 for ac_func in _isinff
72813 do :
72814 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72815 if test "x$ac_cv_func__isinff" = x""yes; then :
72816 cat >>confdefs.h <<_ACEOF
72817 #define HAVE__ISINFF 1
72818 _ACEOF
72821 done
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72831 $as_echo_n "checking for atan2f declaration... " >&6; }
72832 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72833 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72834 $as_echo_n "(cached) " >&6
72835 else
72838 ac_ext=cpp
72839 ac_cpp='$CXXCPP $CPPFLAGS'
72840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72845 /* end confdefs.h. */
72846 #include <math.h>
72848 main ()
72850 atan2f(0, 0);
72852 return 0;
72854 _ACEOF
72855 if ac_fn_cxx_try_compile "$LINENO"; then :
72856 glibcxx_cv_func_atan2f_use=yes
72857 else
72858 glibcxx_cv_func_atan2f_use=no
72860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72861 ac_ext=c
72862 ac_cpp='$CPP $CPPFLAGS'
72863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72872 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72874 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72875 for ac_func in atan2f
72876 do :
72877 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72878 if test "x$ac_cv_func_atan2f" = x""yes; then :
72879 cat >>confdefs.h <<_ACEOF
72880 #define HAVE_ATAN2F 1
72881 _ACEOF
72884 done
72886 else
72888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72889 $as_echo_n "checking for _atan2f declaration... " >&6; }
72890 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72891 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72892 $as_echo_n "(cached) " >&6
72893 else
72896 ac_ext=cpp
72897 ac_cpp='$CXXCPP $CPPFLAGS'
72898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72903 /* end confdefs.h. */
72904 #include <math.h>
72906 main ()
72908 _atan2f(0, 0);
72910 return 0;
72912 _ACEOF
72913 if ac_fn_cxx_try_compile "$LINENO"; then :
72914 glibcxx_cv_func__atan2f_use=yes
72915 else
72916 glibcxx_cv_func__atan2f_use=no
72918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72919 ac_ext=c
72920 ac_cpp='$CPP $CPPFLAGS'
72921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72930 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72932 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72933 for ac_func in _atan2f
72934 do :
72935 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72936 if test "x$ac_cv_func__atan2f" = x""yes; then :
72937 cat >>confdefs.h <<_ACEOF
72938 #define HAVE__ATAN2F 1
72939 _ACEOF
72942 done
72951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72952 $as_echo_n "checking for fabsf declaration... " >&6; }
72953 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72954 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72955 $as_echo_n "(cached) " >&6
72956 else
72959 ac_ext=cpp
72960 ac_cpp='$CXXCPP $CPPFLAGS'
72961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72966 /* end confdefs.h. */
72967 #include <math.h>
72968 #ifdef HAVE_IEEEFP_H
72969 #include <ieeefp.h>
72970 #endif
72973 main ()
72975 fabsf(0);
72977 return 0;
72979 _ACEOF
72980 if ac_fn_cxx_try_compile "$LINENO"; then :
72981 glibcxx_cv_func_fabsf_use=yes
72982 else
72983 glibcxx_cv_func_fabsf_use=no
72985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72986 ac_ext=c
72987 ac_cpp='$CPP $CPPFLAGS'
72988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72997 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72999 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73000 for ac_func in fabsf
73001 do :
73002 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73003 if test "x$ac_cv_func_fabsf" = x""yes; then :
73004 cat >>confdefs.h <<_ACEOF
73005 #define HAVE_FABSF 1
73006 _ACEOF
73009 done
73011 else
73013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73014 $as_echo_n "checking for _fabsf declaration... " >&6; }
73015 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73016 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73017 $as_echo_n "(cached) " >&6
73018 else
73021 ac_ext=cpp
73022 ac_cpp='$CXXCPP $CPPFLAGS'
73023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73028 /* end confdefs.h. */
73029 #include <math.h>
73030 #ifdef HAVE_IEEEFP_H
73031 #include <ieeefp.h>
73032 #endif
73035 main ()
73037 _fabsf(0);
73039 return 0;
73041 _ACEOF
73042 if ac_fn_cxx_try_compile "$LINENO"; then :
73043 glibcxx_cv_func__fabsf_use=yes
73044 else
73045 glibcxx_cv_func__fabsf_use=no
73047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73048 ac_ext=c
73049 ac_cpp='$CPP $CPPFLAGS'
73050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73059 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73061 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73062 for ac_func in _fabsf
73063 do :
73064 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73065 if test "x$ac_cv_func__fabsf" = x""yes; then :
73066 cat >>confdefs.h <<_ACEOF
73067 #define HAVE__FABSF 1
73068 _ACEOF
73071 done
73080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73081 $as_echo_n "checking for fmodf declaration... " >&6; }
73082 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73083 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73084 $as_echo_n "(cached) " >&6
73085 else
73088 ac_ext=cpp
73089 ac_cpp='$CXXCPP $CPPFLAGS'
73090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73095 /* end confdefs.h. */
73096 #include <math.h>
73098 main ()
73100 fmodf(0, 0);
73102 return 0;
73104 _ACEOF
73105 if ac_fn_cxx_try_compile "$LINENO"; then :
73106 glibcxx_cv_func_fmodf_use=yes
73107 else
73108 glibcxx_cv_func_fmodf_use=no
73110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73111 ac_ext=c
73112 ac_cpp='$CPP $CPPFLAGS'
73113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73122 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73124 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73125 for ac_func in fmodf
73126 do :
73127 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73128 if test "x$ac_cv_func_fmodf" = x""yes; then :
73129 cat >>confdefs.h <<_ACEOF
73130 #define HAVE_FMODF 1
73131 _ACEOF
73134 done
73136 else
73138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73139 $as_echo_n "checking for _fmodf declaration... " >&6; }
73140 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73141 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73142 $as_echo_n "(cached) " >&6
73143 else
73146 ac_ext=cpp
73147 ac_cpp='$CXXCPP $CPPFLAGS'
73148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73153 /* end confdefs.h. */
73154 #include <math.h>
73156 main ()
73158 _fmodf(0, 0);
73160 return 0;
73162 _ACEOF
73163 if ac_fn_cxx_try_compile "$LINENO"; then :
73164 glibcxx_cv_func__fmodf_use=yes
73165 else
73166 glibcxx_cv_func__fmodf_use=no
73168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73169 ac_ext=c
73170 ac_cpp='$CPP $CPPFLAGS'
73171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73180 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73182 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73183 for ac_func in _fmodf
73184 do :
73185 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73186 if test "x$ac_cv_func__fmodf" = x""yes; then :
73187 cat >>confdefs.h <<_ACEOF
73188 #define HAVE__FMODF 1
73189 _ACEOF
73192 done
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73202 $as_echo_n "checking for frexpf declaration... " >&6; }
73203 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73204 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73205 $as_echo_n "(cached) " >&6
73206 else
73209 ac_ext=cpp
73210 ac_cpp='$CXXCPP $CPPFLAGS'
73211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73216 /* end confdefs.h. */
73217 #include <math.h>
73219 main ()
73221 frexpf(0, 0);
73223 return 0;
73225 _ACEOF
73226 if ac_fn_cxx_try_compile "$LINENO"; then :
73227 glibcxx_cv_func_frexpf_use=yes
73228 else
73229 glibcxx_cv_func_frexpf_use=no
73231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73232 ac_ext=c
73233 ac_cpp='$CPP $CPPFLAGS'
73234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73243 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73245 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73246 for ac_func in frexpf
73247 do :
73248 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73249 if test "x$ac_cv_func_frexpf" = x""yes; then :
73250 cat >>confdefs.h <<_ACEOF
73251 #define HAVE_FREXPF 1
73252 _ACEOF
73255 done
73257 else
73259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73260 $as_echo_n "checking for _frexpf declaration... " >&6; }
73261 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73262 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73263 $as_echo_n "(cached) " >&6
73264 else
73267 ac_ext=cpp
73268 ac_cpp='$CXXCPP $CPPFLAGS'
73269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73274 /* end confdefs.h. */
73275 #include <math.h>
73277 main ()
73279 _frexpf(0, 0);
73281 return 0;
73283 _ACEOF
73284 if ac_fn_cxx_try_compile "$LINENO"; then :
73285 glibcxx_cv_func__frexpf_use=yes
73286 else
73287 glibcxx_cv_func__frexpf_use=no
73289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73290 ac_ext=c
73291 ac_cpp='$CPP $CPPFLAGS'
73292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73301 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73303 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73304 for ac_func in _frexpf
73305 do :
73306 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73307 if test "x$ac_cv_func__frexpf" = x""yes; then :
73308 cat >>confdefs.h <<_ACEOF
73309 #define HAVE__FREXPF 1
73310 _ACEOF
73313 done
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73323 $as_echo_n "checking for hypotf declaration... " >&6; }
73324 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73325 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73326 $as_echo_n "(cached) " >&6
73327 else
73330 ac_ext=cpp
73331 ac_cpp='$CXXCPP $CPPFLAGS'
73332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73337 /* end confdefs.h. */
73338 #include <math.h>
73340 main ()
73342 hypotf(0, 0);
73344 return 0;
73346 _ACEOF
73347 if ac_fn_cxx_try_compile "$LINENO"; then :
73348 glibcxx_cv_func_hypotf_use=yes
73349 else
73350 glibcxx_cv_func_hypotf_use=no
73352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73353 ac_ext=c
73354 ac_cpp='$CPP $CPPFLAGS'
73355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73364 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73366 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73367 for ac_func in hypotf
73368 do :
73369 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73370 if test "x$ac_cv_func_hypotf" = x""yes; then :
73371 cat >>confdefs.h <<_ACEOF
73372 #define HAVE_HYPOTF 1
73373 _ACEOF
73376 done
73378 else
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73381 $as_echo_n "checking for _hypotf declaration... " >&6; }
73382 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73383 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73384 $as_echo_n "(cached) " >&6
73385 else
73388 ac_ext=cpp
73389 ac_cpp='$CXXCPP $CPPFLAGS'
73390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73395 /* end confdefs.h. */
73396 #include <math.h>
73398 main ()
73400 _hypotf(0, 0);
73402 return 0;
73404 _ACEOF
73405 if ac_fn_cxx_try_compile "$LINENO"; then :
73406 glibcxx_cv_func__hypotf_use=yes
73407 else
73408 glibcxx_cv_func__hypotf_use=no
73410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73411 ac_ext=c
73412 ac_cpp='$CPP $CPPFLAGS'
73413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73422 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73424 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73425 for ac_func in _hypotf
73426 do :
73427 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73428 if test "x$ac_cv_func__hypotf" = x""yes; then :
73429 cat >>confdefs.h <<_ACEOF
73430 #define HAVE__HYPOTF 1
73431 _ACEOF
73434 done
73443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73444 $as_echo_n "checking for ldexpf declaration... " >&6; }
73445 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73446 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73447 $as_echo_n "(cached) " >&6
73448 else
73451 ac_ext=cpp
73452 ac_cpp='$CXXCPP $CPPFLAGS'
73453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73458 /* end confdefs.h. */
73459 #include <math.h>
73461 main ()
73463 ldexpf(0, 0);
73465 return 0;
73467 _ACEOF
73468 if ac_fn_cxx_try_compile "$LINENO"; then :
73469 glibcxx_cv_func_ldexpf_use=yes
73470 else
73471 glibcxx_cv_func_ldexpf_use=no
73473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73474 ac_ext=c
73475 ac_cpp='$CPP $CPPFLAGS'
73476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73485 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73487 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73488 for ac_func in ldexpf
73489 do :
73490 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73491 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73492 cat >>confdefs.h <<_ACEOF
73493 #define HAVE_LDEXPF 1
73494 _ACEOF
73497 done
73499 else
73501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73502 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73503 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73504 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73505 $as_echo_n "(cached) " >&6
73506 else
73509 ac_ext=cpp
73510 ac_cpp='$CXXCPP $CPPFLAGS'
73511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73516 /* end confdefs.h. */
73517 #include <math.h>
73519 main ()
73521 _ldexpf(0, 0);
73523 return 0;
73525 _ACEOF
73526 if ac_fn_cxx_try_compile "$LINENO"; then :
73527 glibcxx_cv_func__ldexpf_use=yes
73528 else
73529 glibcxx_cv_func__ldexpf_use=no
73531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73532 ac_ext=c
73533 ac_cpp='$CPP $CPPFLAGS'
73534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73543 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73545 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73546 for ac_func in _ldexpf
73547 do :
73548 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73549 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73550 cat >>confdefs.h <<_ACEOF
73551 #define HAVE__LDEXPF 1
73552 _ACEOF
73555 done
73564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73565 $as_echo_n "checking for logf declaration... " >&6; }
73566 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73567 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73568 $as_echo_n "(cached) " >&6
73569 else
73572 ac_ext=cpp
73573 ac_cpp='$CXXCPP $CPPFLAGS'
73574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73579 /* end confdefs.h. */
73580 #include <math.h>
73581 #ifdef HAVE_IEEEFP_H
73582 #include <ieeefp.h>
73583 #endif
73586 main ()
73588 logf(0);
73590 return 0;
73592 _ACEOF
73593 if ac_fn_cxx_try_compile "$LINENO"; then :
73594 glibcxx_cv_func_logf_use=yes
73595 else
73596 glibcxx_cv_func_logf_use=no
73598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73599 ac_ext=c
73600 ac_cpp='$CPP $CPPFLAGS'
73601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73610 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73612 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73613 for ac_func in logf
73614 do :
73615 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73616 if test "x$ac_cv_func_logf" = x""yes; then :
73617 cat >>confdefs.h <<_ACEOF
73618 #define HAVE_LOGF 1
73619 _ACEOF
73622 done
73624 else
73626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73627 $as_echo_n "checking for _logf declaration... " >&6; }
73628 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73629 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73630 $as_echo_n "(cached) " >&6
73631 else
73634 ac_ext=cpp
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73641 /* end confdefs.h. */
73642 #include <math.h>
73643 #ifdef HAVE_IEEEFP_H
73644 #include <ieeefp.h>
73645 #endif
73648 main ()
73650 _logf(0);
73652 return 0;
73654 _ACEOF
73655 if ac_fn_cxx_try_compile "$LINENO"; then :
73656 glibcxx_cv_func__logf_use=yes
73657 else
73658 glibcxx_cv_func__logf_use=no
73660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73661 ac_ext=c
73662 ac_cpp='$CPP $CPPFLAGS'
73663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73672 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73674 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73675 for ac_func in _logf
73676 do :
73677 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73678 if test "x$ac_cv_func__logf" = x""yes; then :
73679 cat >>confdefs.h <<_ACEOF
73680 #define HAVE__LOGF 1
73681 _ACEOF
73684 done
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73694 $as_echo_n "checking for log10f declaration... " >&6; }
73695 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73696 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73697 $as_echo_n "(cached) " >&6
73698 else
73701 ac_ext=cpp
73702 ac_cpp='$CXXCPP $CPPFLAGS'
73703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73708 /* end confdefs.h. */
73709 #include <math.h>
73710 #ifdef HAVE_IEEEFP_H
73711 #include <ieeefp.h>
73712 #endif
73715 main ()
73717 log10f(0);
73719 return 0;
73721 _ACEOF
73722 if ac_fn_cxx_try_compile "$LINENO"; then :
73723 glibcxx_cv_func_log10f_use=yes
73724 else
73725 glibcxx_cv_func_log10f_use=no
73727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73728 ac_ext=c
73729 ac_cpp='$CPP $CPPFLAGS'
73730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73739 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73741 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73742 for ac_func in log10f
73743 do :
73744 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73745 if test "x$ac_cv_func_log10f" = x""yes; then :
73746 cat >>confdefs.h <<_ACEOF
73747 #define HAVE_LOG10F 1
73748 _ACEOF
73751 done
73753 else
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73756 $as_echo_n "checking for _log10f declaration... " >&6; }
73757 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73758 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73759 $as_echo_n "(cached) " >&6
73760 else
73763 ac_ext=cpp
73764 ac_cpp='$CXXCPP $CPPFLAGS'
73765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73770 /* end confdefs.h. */
73771 #include <math.h>
73772 #ifdef HAVE_IEEEFP_H
73773 #include <ieeefp.h>
73774 #endif
73777 main ()
73779 _log10f(0);
73781 return 0;
73783 _ACEOF
73784 if ac_fn_cxx_try_compile "$LINENO"; then :
73785 glibcxx_cv_func__log10f_use=yes
73786 else
73787 glibcxx_cv_func__log10f_use=no
73789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73790 ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73801 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73803 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73804 for ac_func in _log10f
73805 do :
73806 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73807 if test "x$ac_cv_func__log10f" = x""yes; then :
73808 cat >>confdefs.h <<_ACEOF
73809 #define HAVE__LOG10F 1
73810 _ACEOF
73813 done
73822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73823 $as_echo_n "checking for modff declaration... " >&6; }
73824 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73825 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73826 $as_echo_n "(cached) " >&6
73827 else
73830 ac_ext=cpp
73831 ac_cpp='$CXXCPP $CPPFLAGS'
73832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73837 /* end confdefs.h. */
73838 #include <math.h>
73840 main ()
73842 modff(0, 0);
73844 return 0;
73846 _ACEOF
73847 if ac_fn_cxx_try_compile "$LINENO"; then :
73848 glibcxx_cv_func_modff_use=yes
73849 else
73850 glibcxx_cv_func_modff_use=no
73852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73853 ac_ext=c
73854 ac_cpp='$CPP $CPPFLAGS'
73855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73864 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73866 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73867 for ac_func in modff
73868 do :
73869 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73870 if test "x$ac_cv_func_modff" = x""yes; then :
73871 cat >>confdefs.h <<_ACEOF
73872 #define HAVE_MODFF 1
73873 _ACEOF
73876 done
73878 else
73880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73881 $as_echo_n "checking for _modff declaration... " >&6; }
73882 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73883 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73884 $as_echo_n "(cached) " >&6
73885 else
73888 ac_ext=cpp
73889 ac_cpp='$CXXCPP $CPPFLAGS'
73890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73895 /* end confdefs.h. */
73896 #include <math.h>
73898 main ()
73900 _modff(0, 0);
73902 return 0;
73904 _ACEOF
73905 if ac_fn_cxx_try_compile "$LINENO"; then :
73906 glibcxx_cv_func__modff_use=yes
73907 else
73908 glibcxx_cv_func__modff_use=no
73910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73911 ac_ext=c
73912 ac_cpp='$CPP $CPPFLAGS'
73913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73922 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73924 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73925 for ac_func in _modff
73926 do :
73927 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73928 if test "x$ac_cv_func__modff" = x""yes; then :
73929 cat >>confdefs.h <<_ACEOF
73930 #define HAVE__MODFF 1
73931 _ACEOF
73934 done
73943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73944 $as_echo_n "checking for modf declaration... " >&6; }
73945 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73946 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73947 $as_echo_n "(cached) " >&6
73948 else
73951 ac_ext=cpp
73952 ac_cpp='$CXXCPP $CPPFLAGS'
73953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73958 /* end confdefs.h. */
73959 #include <math.h>
73961 main ()
73963 modf(0, 0);
73965 return 0;
73967 _ACEOF
73968 if ac_fn_cxx_try_compile "$LINENO"; then :
73969 glibcxx_cv_func_modf_use=yes
73970 else
73971 glibcxx_cv_func_modf_use=no
73973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73974 ac_ext=c
73975 ac_cpp='$CPP $CPPFLAGS'
73976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73985 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73987 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73988 for ac_func in modf
73989 do :
73990 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73991 if test "x$ac_cv_func_modf" = x""yes; then :
73992 cat >>confdefs.h <<_ACEOF
73993 #define HAVE_MODF 1
73994 _ACEOF
73997 done
73999 else
74001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74002 $as_echo_n "checking for _modf declaration... " >&6; }
74003 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74004 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74005 $as_echo_n "(cached) " >&6
74006 else
74009 ac_ext=cpp
74010 ac_cpp='$CXXCPP $CPPFLAGS'
74011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74016 /* end confdefs.h. */
74017 #include <math.h>
74019 main ()
74021 _modf(0, 0);
74023 return 0;
74025 _ACEOF
74026 if ac_fn_cxx_try_compile "$LINENO"; then :
74027 glibcxx_cv_func__modf_use=yes
74028 else
74029 glibcxx_cv_func__modf_use=no
74031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74032 ac_ext=c
74033 ac_cpp='$CPP $CPPFLAGS'
74034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74043 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74045 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74046 for ac_func in _modf
74047 do :
74048 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74049 if test "x$ac_cv_func__modf" = x""yes; then :
74050 cat >>confdefs.h <<_ACEOF
74051 #define HAVE__MODF 1
74052 _ACEOF
74055 done
74064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74065 $as_echo_n "checking for powf declaration... " >&6; }
74066 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74067 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74068 $as_echo_n "(cached) " >&6
74069 else
74072 ac_ext=cpp
74073 ac_cpp='$CXXCPP $CPPFLAGS'
74074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74079 /* end confdefs.h. */
74080 #include <math.h>
74082 main ()
74084 powf(0, 0);
74086 return 0;
74088 _ACEOF
74089 if ac_fn_cxx_try_compile "$LINENO"; then :
74090 glibcxx_cv_func_powf_use=yes
74091 else
74092 glibcxx_cv_func_powf_use=no
74094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74095 ac_ext=c
74096 ac_cpp='$CPP $CPPFLAGS'
74097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74106 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74108 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74109 for ac_func in powf
74110 do :
74111 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74112 if test "x$ac_cv_func_powf" = x""yes; then :
74113 cat >>confdefs.h <<_ACEOF
74114 #define HAVE_POWF 1
74115 _ACEOF
74118 done
74120 else
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74123 $as_echo_n "checking for _powf declaration... " >&6; }
74124 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74125 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74126 $as_echo_n "(cached) " >&6
74127 else
74130 ac_ext=cpp
74131 ac_cpp='$CXXCPP $CPPFLAGS'
74132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74137 /* end confdefs.h. */
74138 #include <math.h>
74140 main ()
74142 _powf(0, 0);
74144 return 0;
74146 _ACEOF
74147 if ac_fn_cxx_try_compile "$LINENO"; then :
74148 glibcxx_cv_func__powf_use=yes
74149 else
74150 glibcxx_cv_func__powf_use=no
74152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74153 ac_ext=c
74154 ac_cpp='$CPP $CPPFLAGS'
74155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74164 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74166 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74167 for ac_func in _powf
74168 do :
74169 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74170 if test "x$ac_cv_func__powf" = x""yes; then :
74171 cat >>confdefs.h <<_ACEOF
74172 #define HAVE__POWF 1
74173 _ACEOF
74176 done
74185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74186 $as_echo_n "checking for sqrtf declaration... " >&6; }
74187 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74188 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74189 $as_echo_n "(cached) " >&6
74190 else
74193 ac_ext=cpp
74194 ac_cpp='$CXXCPP $CPPFLAGS'
74195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74200 /* end confdefs.h. */
74201 #include <math.h>
74202 #ifdef HAVE_IEEEFP_H
74203 #include <ieeefp.h>
74204 #endif
74207 main ()
74209 sqrtf(0);
74211 return 0;
74213 _ACEOF
74214 if ac_fn_cxx_try_compile "$LINENO"; then :
74215 glibcxx_cv_func_sqrtf_use=yes
74216 else
74217 glibcxx_cv_func_sqrtf_use=no
74219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74220 ac_ext=c
74221 ac_cpp='$CPP $CPPFLAGS'
74222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74231 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74233 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74234 for ac_func in sqrtf
74235 do :
74236 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74237 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74238 cat >>confdefs.h <<_ACEOF
74239 #define HAVE_SQRTF 1
74240 _ACEOF
74243 done
74245 else
74247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74248 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74249 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74250 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74251 $as_echo_n "(cached) " >&6
74252 else
74255 ac_ext=cpp
74256 ac_cpp='$CXXCPP $CPPFLAGS'
74257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74262 /* end confdefs.h. */
74263 #include <math.h>
74264 #ifdef HAVE_IEEEFP_H
74265 #include <ieeefp.h>
74266 #endif
74269 main ()
74271 _sqrtf(0);
74273 return 0;
74275 _ACEOF
74276 if ac_fn_cxx_try_compile "$LINENO"; then :
74277 glibcxx_cv_func__sqrtf_use=yes
74278 else
74279 glibcxx_cv_func__sqrtf_use=no
74281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74282 ac_ext=c
74283 ac_cpp='$CPP $CPPFLAGS'
74284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74293 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74295 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74296 for ac_func in _sqrtf
74297 do :
74298 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74299 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74300 cat >>confdefs.h <<_ACEOF
74301 #define HAVE__SQRTF 1
74302 _ACEOF
74305 done
74314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74315 $as_echo_n "checking for sincosf declaration... " >&6; }
74316 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74317 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74318 $as_echo_n "(cached) " >&6
74319 else
74322 ac_ext=cpp
74323 ac_cpp='$CXXCPP $CPPFLAGS'
74324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74329 /* end confdefs.h. */
74330 #include <math.h>
74332 main ()
74334 sincosf(0, 0, 0);
74336 return 0;
74338 _ACEOF
74339 if ac_fn_cxx_try_compile "$LINENO"; then :
74340 glibcxx_cv_func_sincosf_use=yes
74341 else
74342 glibcxx_cv_func_sincosf_use=no
74344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74345 ac_ext=c
74346 ac_cpp='$CPP $CPPFLAGS'
74347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74356 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74358 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74359 for ac_func in sincosf
74360 do :
74361 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74362 if test "x$ac_cv_func_sincosf" = x""yes; then :
74363 cat >>confdefs.h <<_ACEOF
74364 #define HAVE_SINCOSF 1
74365 _ACEOF
74368 done
74370 else
74372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74373 $as_echo_n "checking for _sincosf declaration... " >&6; }
74374 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74375 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74376 $as_echo_n "(cached) " >&6
74377 else
74380 ac_ext=cpp
74381 ac_cpp='$CXXCPP $CPPFLAGS'
74382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74387 /* end confdefs.h. */
74388 #include <math.h>
74390 main ()
74392 _sincosf(0, 0, 0);
74394 return 0;
74396 _ACEOF
74397 if ac_fn_cxx_try_compile "$LINENO"; then :
74398 glibcxx_cv_func__sincosf_use=yes
74399 else
74400 glibcxx_cv_func__sincosf_use=no
74402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74403 ac_ext=c
74404 ac_cpp='$CPP $CPPFLAGS'
74405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74414 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74416 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74417 for ac_func in _sincosf
74418 do :
74419 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74420 if test "x$ac_cv_func__sincosf" = x""yes; then :
74421 cat >>confdefs.h <<_ACEOF
74422 #define HAVE__SINCOSF 1
74423 _ACEOF
74426 done
74435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74436 $as_echo_n "checking for finitef declaration... " >&6; }
74437 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74438 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74439 $as_echo_n "(cached) " >&6
74440 else
74443 ac_ext=cpp
74444 ac_cpp='$CXXCPP $CPPFLAGS'
74445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74450 /* end confdefs.h. */
74451 #include <math.h>
74452 #ifdef HAVE_IEEEFP_H
74453 #include <ieeefp.h>
74454 #endif
74457 main ()
74459 finitef(0);
74461 return 0;
74463 _ACEOF
74464 if ac_fn_cxx_try_compile "$LINENO"; then :
74465 glibcxx_cv_func_finitef_use=yes
74466 else
74467 glibcxx_cv_func_finitef_use=no
74469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74470 ac_ext=c
74471 ac_cpp='$CPP $CPPFLAGS'
74472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74481 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74483 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74484 for ac_func in finitef
74485 do :
74486 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74487 if test "x$ac_cv_func_finitef" = x""yes; then :
74488 cat >>confdefs.h <<_ACEOF
74489 #define HAVE_FINITEF 1
74490 _ACEOF
74493 done
74495 else
74497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74498 $as_echo_n "checking for _finitef declaration... " >&6; }
74499 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74500 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74501 $as_echo_n "(cached) " >&6
74502 else
74505 ac_ext=cpp
74506 ac_cpp='$CXXCPP $CPPFLAGS'
74507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74512 /* end confdefs.h. */
74513 #include <math.h>
74514 #ifdef HAVE_IEEEFP_H
74515 #include <ieeefp.h>
74516 #endif
74519 main ()
74521 _finitef(0);
74523 return 0;
74525 _ACEOF
74526 if ac_fn_cxx_try_compile "$LINENO"; then :
74527 glibcxx_cv_func__finitef_use=yes
74528 else
74529 glibcxx_cv_func__finitef_use=no
74531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74532 ac_ext=c
74533 ac_cpp='$CPP $CPPFLAGS'
74534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74543 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74545 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74546 for ac_func in _finitef
74547 do :
74548 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74549 if test "x$ac_cv_func__finitef" = x""yes; then :
74550 cat >>confdefs.h <<_ACEOF
74551 #define HAVE__FINITEF 1
74552 _ACEOF
74555 done
74564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74565 $as_echo_n "checking for long double trig functions... " >&6; }
74566 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74567 $as_echo_n "(cached) " >&6
74568 else
74571 ac_ext=cpp
74572 ac_cpp='$CXXCPP $CPPFLAGS'
74573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74578 /* end confdefs.h. */
74579 #include <math.h>
74581 main ()
74583 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74585 return 0;
74587 _ACEOF
74588 if ac_fn_cxx_try_compile "$LINENO"; then :
74589 glibcxx_cv_func_long_double_trig_use=yes
74590 else
74591 glibcxx_cv_func_long_double_trig_use=no
74593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74594 ac_ext=c
74595 ac_cpp='$CPP $CPPFLAGS'
74596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74603 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74604 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74605 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74606 do :
74607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74609 eval as_val=\$$as_ac_var
74610 if test "x$as_val" = x""yes; then :
74611 cat >>confdefs.h <<_ACEOF
74612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74613 _ACEOF
74616 done
74618 else
74619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74620 $as_echo_n "checking for _long double trig functions... " >&6; }
74621 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74622 $as_echo_n "(cached) " >&6
74623 else
74626 ac_ext=cpp
74627 ac_cpp='$CXXCPP $CPPFLAGS'
74628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74633 /* end confdefs.h. */
74634 #include <math.h>
74636 main ()
74638 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74640 return 0;
74642 _ACEOF
74643 if ac_fn_cxx_try_compile "$LINENO"; then :
74644 glibcxx_cv_func__long_double_trig_use=yes
74645 else
74646 glibcxx_cv_func__long_double_trig_use=no
74648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74649 ac_ext=c
74650 ac_cpp='$CPP $CPPFLAGS'
74651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74658 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74659 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74660 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74661 do :
74662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74664 eval as_val=\$$as_ac_var
74665 if test "x$as_val" = x""yes; then :
74666 cat >>confdefs.h <<_ACEOF
74667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74668 _ACEOF
74671 done
74680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74681 $as_echo_n "checking for long double round functions... " >&6; }
74682 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74683 $as_echo_n "(cached) " >&6
74684 else
74687 ac_ext=cpp
74688 ac_cpp='$CXXCPP $CPPFLAGS'
74689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74694 /* end confdefs.h. */
74695 #include <math.h>
74697 main ()
74699 ceill (0); floorl (0);
74701 return 0;
74703 _ACEOF
74704 if ac_fn_cxx_try_compile "$LINENO"; then :
74705 glibcxx_cv_func_long_double_round_use=yes
74706 else
74707 glibcxx_cv_func_long_double_round_use=no
74709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74710 ac_ext=c
74711 ac_cpp='$CPP $CPPFLAGS'
74712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74719 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74720 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74721 for ac_func in ceill floorl
74722 do :
74723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74725 eval as_val=\$$as_ac_var
74726 if test "x$as_val" = x""yes; then :
74727 cat >>confdefs.h <<_ACEOF
74728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74729 _ACEOF
74732 done
74734 else
74735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74736 $as_echo_n "checking for _long double round functions... " >&6; }
74737 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74738 $as_echo_n "(cached) " >&6
74739 else
74742 ac_ext=cpp
74743 ac_cpp='$CXXCPP $CPPFLAGS'
74744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74749 /* end confdefs.h. */
74750 #include <math.h>
74752 main ()
74754 _ceill (0); _floorl (0);
74756 return 0;
74758 _ACEOF
74759 if ac_fn_cxx_try_compile "$LINENO"; then :
74760 glibcxx_cv_func__long_double_round_use=yes
74761 else
74762 glibcxx_cv_func__long_double_round_use=no
74764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74765 ac_ext=c
74766 ac_cpp='$CPP $CPPFLAGS'
74767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74774 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74775 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74776 for ac_func in _ceill _floorl
74777 do :
74778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74780 eval as_val=\$$as_ac_var
74781 if test "x$as_val" = x""yes; then :
74782 cat >>confdefs.h <<_ACEOF
74783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74784 _ACEOF
74787 done
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74798 $as_echo_n "checking for isnanl declaration... " >&6; }
74799 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74800 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74801 $as_echo_n "(cached) " >&6
74802 else
74805 ac_ext=cpp
74806 ac_cpp='$CXXCPP $CPPFLAGS'
74807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74812 /* end confdefs.h. */
74813 #include <math.h>
74814 #ifdef HAVE_IEEEFP_H
74815 #include <ieeefp.h>
74816 #endif
74819 main ()
74821 isnanl(0);
74823 return 0;
74825 _ACEOF
74826 if ac_fn_cxx_try_compile "$LINENO"; then :
74827 glibcxx_cv_func_isnanl_use=yes
74828 else
74829 glibcxx_cv_func_isnanl_use=no
74831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74832 ac_ext=c
74833 ac_cpp='$CPP $CPPFLAGS'
74834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74843 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74845 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74846 for ac_func in isnanl
74847 do :
74848 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74849 if test "x$ac_cv_func_isnanl" = x""yes; then :
74850 cat >>confdefs.h <<_ACEOF
74851 #define HAVE_ISNANL 1
74852 _ACEOF
74855 done
74857 else
74859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74860 $as_echo_n "checking for _isnanl declaration... " >&6; }
74861 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74862 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74863 $as_echo_n "(cached) " >&6
74864 else
74867 ac_ext=cpp
74868 ac_cpp='$CXXCPP $CPPFLAGS'
74869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74874 /* end confdefs.h. */
74875 #include <math.h>
74876 #ifdef HAVE_IEEEFP_H
74877 #include <ieeefp.h>
74878 #endif
74881 main ()
74883 _isnanl(0);
74885 return 0;
74887 _ACEOF
74888 if ac_fn_cxx_try_compile "$LINENO"; then :
74889 glibcxx_cv_func__isnanl_use=yes
74890 else
74891 glibcxx_cv_func__isnanl_use=no
74893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74894 ac_ext=c
74895 ac_cpp='$CPP $CPPFLAGS'
74896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74905 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74907 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74908 for ac_func in _isnanl
74909 do :
74910 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74911 if test "x$ac_cv_func__isnanl" = x""yes; then :
74912 cat >>confdefs.h <<_ACEOF
74913 #define HAVE__ISNANL 1
74914 _ACEOF
74917 done
74926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74927 $as_echo_n "checking for isinfl declaration... " >&6; }
74928 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74929 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74930 $as_echo_n "(cached) " >&6
74931 else
74934 ac_ext=cpp
74935 ac_cpp='$CXXCPP $CPPFLAGS'
74936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74941 /* end confdefs.h. */
74942 #include <math.h>
74943 #ifdef HAVE_IEEEFP_H
74944 #include <ieeefp.h>
74945 #endif
74948 main ()
74950 isinfl(0);
74952 return 0;
74954 _ACEOF
74955 if ac_fn_cxx_try_compile "$LINENO"; then :
74956 glibcxx_cv_func_isinfl_use=yes
74957 else
74958 glibcxx_cv_func_isinfl_use=no
74960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74961 ac_ext=c
74962 ac_cpp='$CPP $CPPFLAGS'
74963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74972 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74974 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74975 for ac_func in isinfl
74976 do :
74977 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74978 if test "x$ac_cv_func_isinfl" = x""yes; then :
74979 cat >>confdefs.h <<_ACEOF
74980 #define HAVE_ISINFL 1
74981 _ACEOF
74984 done
74986 else
74988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74989 $as_echo_n "checking for _isinfl declaration... " >&6; }
74990 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74991 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74992 $as_echo_n "(cached) " >&6
74993 else
74996 ac_ext=cpp
74997 ac_cpp='$CXXCPP $CPPFLAGS'
74998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75003 /* end confdefs.h. */
75004 #include <math.h>
75005 #ifdef HAVE_IEEEFP_H
75006 #include <ieeefp.h>
75007 #endif
75010 main ()
75012 _isinfl(0);
75014 return 0;
75016 _ACEOF
75017 if ac_fn_cxx_try_compile "$LINENO"; then :
75018 glibcxx_cv_func__isinfl_use=yes
75019 else
75020 glibcxx_cv_func__isinfl_use=no
75022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75023 ac_ext=c
75024 ac_cpp='$CPP $CPPFLAGS'
75025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75034 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75036 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75037 for ac_func in _isinfl
75038 do :
75039 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75040 if test "x$ac_cv_func__isinfl" = x""yes; then :
75041 cat >>confdefs.h <<_ACEOF
75042 #define HAVE__ISINFL 1
75043 _ACEOF
75046 done
75055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75056 $as_echo_n "checking for atan2l declaration... " >&6; }
75057 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75058 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75059 $as_echo_n "(cached) " >&6
75060 else
75063 ac_ext=cpp
75064 ac_cpp='$CXXCPP $CPPFLAGS'
75065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75070 /* end confdefs.h. */
75071 #include <math.h>
75073 main ()
75075 atan2l(0, 0);
75077 return 0;
75079 _ACEOF
75080 if ac_fn_cxx_try_compile "$LINENO"; then :
75081 glibcxx_cv_func_atan2l_use=yes
75082 else
75083 glibcxx_cv_func_atan2l_use=no
75085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75086 ac_ext=c
75087 ac_cpp='$CPP $CPPFLAGS'
75088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75097 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75099 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75100 for ac_func in atan2l
75101 do :
75102 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75103 if test "x$ac_cv_func_atan2l" = x""yes; then :
75104 cat >>confdefs.h <<_ACEOF
75105 #define HAVE_ATAN2L 1
75106 _ACEOF
75109 done
75111 else
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75114 $as_echo_n "checking for _atan2l declaration... " >&6; }
75115 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75116 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75117 $as_echo_n "(cached) " >&6
75118 else
75121 ac_ext=cpp
75122 ac_cpp='$CXXCPP $CPPFLAGS'
75123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75128 /* end confdefs.h. */
75129 #include <math.h>
75131 main ()
75133 _atan2l(0, 0);
75135 return 0;
75137 _ACEOF
75138 if ac_fn_cxx_try_compile "$LINENO"; then :
75139 glibcxx_cv_func__atan2l_use=yes
75140 else
75141 glibcxx_cv_func__atan2l_use=no
75143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75144 ac_ext=c
75145 ac_cpp='$CPP $CPPFLAGS'
75146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75155 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75157 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75158 for ac_func in _atan2l
75159 do :
75160 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75161 if test "x$ac_cv_func__atan2l" = x""yes; then :
75162 cat >>confdefs.h <<_ACEOF
75163 #define HAVE__ATAN2L 1
75164 _ACEOF
75167 done
75176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75177 $as_echo_n "checking for expl declaration... " >&6; }
75178 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75179 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75180 $as_echo_n "(cached) " >&6
75181 else
75184 ac_ext=cpp
75185 ac_cpp='$CXXCPP $CPPFLAGS'
75186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75191 /* end confdefs.h. */
75192 #include <math.h>
75193 #ifdef HAVE_IEEEFP_H
75194 #include <ieeefp.h>
75195 #endif
75198 main ()
75200 expl(0);
75202 return 0;
75204 _ACEOF
75205 if ac_fn_cxx_try_compile "$LINENO"; then :
75206 glibcxx_cv_func_expl_use=yes
75207 else
75208 glibcxx_cv_func_expl_use=no
75210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75211 ac_ext=c
75212 ac_cpp='$CPP $CPPFLAGS'
75213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75222 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75224 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75225 for ac_func in expl
75226 do :
75227 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75228 if test "x$ac_cv_func_expl" = x""yes; then :
75229 cat >>confdefs.h <<_ACEOF
75230 #define HAVE_EXPL 1
75231 _ACEOF
75234 done
75236 else
75238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75239 $as_echo_n "checking for _expl declaration... " >&6; }
75240 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75241 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75242 $as_echo_n "(cached) " >&6
75243 else
75246 ac_ext=cpp
75247 ac_cpp='$CXXCPP $CPPFLAGS'
75248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75253 /* end confdefs.h. */
75254 #include <math.h>
75255 #ifdef HAVE_IEEEFP_H
75256 #include <ieeefp.h>
75257 #endif
75260 main ()
75262 _expl(0);
75264 return 0;
75266 _ACEOF
75267 if ac_fn_cxx_try_compile "$LINENO"; then :
75268 glibcxx_cv_func__expl_use=yes
75269 else
75270 glibcxx_cv_func__expl_use=no
75272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75273 ac_ext=c
75274 ac_cpp='$CPP $CPPFLAGS'
75275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75284 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75286 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75287 for ac_func in _expl
75288 do :
75289 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75290 if test "x$ac_cv_func__expl" = x""yes; then :
75291 cat >>confdefs.h <<_ACEOF
75292 #define HAVE__EXPL 1
75293 _ACEOF
75296 done
75305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75306 $as_echo_n "checking for fabsl declaration... " >&6; }
75307 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75308 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75309 $as_echo_n "(cached) " >&6
75310 else
75313 ac_ext=cpp
75314 ac_cpp='$CXXCPP $CPPFLAGS'
75315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75320 /* end confdefs.h. */
75321 #include <math.h>
75322 #ifdef HAVE_IEEEFP_H
75323 #include <ieeefp.h>
75324 #endif
75327 main ()
75329 fabsl(0);
75331 return 0;
75333 _ACEOF
75334 if ac_fn_cxx_try_compile "$LINENO"; then :
75335 glibcxx_cv_func_fabsl_use=yes
75336 else
75337 glibcxx_cv_func_fabsl_use=no
75339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75340 ac_ext=c
75341 ac_cpp='$CPP $CPPFLAGS'
75342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75351 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75353 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75354 for ac_func in fabsl
75355 do :
75356 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75357 if test "x$ac_cv_func_fabsl" = x""yes; then :
75358 cat >>confdefs.h <<_ACEOF
75359 #define HAVE_FABSL 1
75360 _ACEOF
75363 done
75365 else
75367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75368 $as_echo_n "checking for _fabsl declaration... " >&6; }
75369 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75370 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75371 $as_echo_n "(cached) " >&6
75372 else
75375 ac_ext=cpp
75376 ac_cpp='$CXXCPP $CPPFLAGS'
75377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75382 /* end confdefs.h. */
75383 #include <math.h>
75384 #ifdef HAVE_IEEEFP_H
75385 #include <ieeefp.h>
75386 #endif
75389 main ()
75391 _fabsl(0);
75393 return 0;
75395 _ACEOF
75396 if ac_fn_cxx_try_compile "$LINENO"; then :
75397 glibcxx_cv_func__fabsl_use=yes
75398 else
75399 glibcxx_cv_func__fabsl_use=no
75401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75402 ac_ext=c
75403 ac_cpp='$CPP $CPPFLAGS'
75404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75413 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75415 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75416 for ac_func in _fabsl
75417 do :
75418 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75419 if test "x$ac_cv_func__fabsl" = x""yes; then :
75420 cat >>confdefs.h <<_ACEOF
75421 #define HAVE__FABSL 1
75422 _ACEOF
75425 done
75434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75435 $as_echo_n "checking for fmodl declaration... " >&6; }
75436 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75437 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75438 $as_echo_n "(cached) " >&6
75439 else
75442 ac_ext=cpp
75443 ac_cpp='$CXXCPP $CPPFLAGS'
75444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75449 /* end confdefs.h. */
75450 #include <math.h>
75452 main ()
75454 fmodl(0, 0);
75456 return 0;
75458 _ACEOF
75459 if ac_fn_cxx_try_compile "$LINENO"; then :
75460 glibcxx_cv_func_fmodl_use=yes
75461 else
75462 glibcxx_cv_func_fmodl_use=no
75464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75465 ac_ext=c
75466 ac_cpp='$CPP $CPPFLAGS'
75467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75476 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75478 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75479 for ac_func in fmodl
75480 do :
75481 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75482 if test "x$ac_cv_func_fmodl" = x""yes; then :
75483 cat >>confdefs.h <<_ACEOF
75484 #define HAVE_FMODL 1
75485 _ACEOF
75488 done
75490 else
75492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75493 $as_echo_n "checking for _fmodl declaration... " >&6; }
75494 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75495 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75496 $as_echo_n "(cached) " >&6
75497 else
75500 ac_ext=cpp
75501 ac_cpp='$CXXCPP $CPPFLAGS'
75502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75507 /* end confdefs.h. */
75508 #include <math.h>
75510 main ()
75512 _fmodl(0, 0);
75514 return 0;
75516 _ACEOF
75517 if ac_fn_cxx_try_compile "$LINENO"; then :
75518 glibcxx_cv_func__fmodl_use=yes
75519 else
75520 glibcxx_cv_func__fmodl_use=no
75522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75523 ac_ext=c
75524 ac_cpp='$CPP $CPPFLAGS'
75525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75534 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75536 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75537 for ac_func in _fmodl
75538 do :
75539 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75540 if test "x$ac_cv_func__fmodl" = x""yes; then :
75541 cat >>confdefs.h <<_ACEOF
75542 #define HAVE__FMODL 1
75543 _ACEOF
75546 done
75555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75556 $as_echo_n "checking for frexpl declaration... " >&6; }
75557 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75558 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75559 $as_echo_n "(cached) " >&6
75560 else
75563 ac_ext=cpp
75564 ac_cpp='$CXXCPP $CPPFLAGS'
75565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75570 /* end confdefs.h. */
75571 #include <math.h>
75573 main ()
75575 frexpl(0, 0);
75577 return 0;
75579 _ACEOF
75580 if ac_fn_cxx_try_compile "$LINENO"; then :
75581 glibcxx_cv_func_frexpl_use=yes
75582 else
75583 glibcxx_cv_func_frexpl_use=no
75585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586 ac_ext=c
75587 ac_cpp='$CPP $CPPFLAGS'
75588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75597 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75599 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75600 for ac_func in frexpl
75601 do :
75602 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75603 if test "x$ac_cv_func_frexpl" = x""yes; then :
75604 cat >>confdefs.h <<_ACEOF
75605 #define HAVE_FREXPL 1
75606 _ACEOF
75609 done
75611 else
75613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75614 $as_echo_n "checking for _frexpl declaration... " >&6; }
75615 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75616 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75617 $as_echo_n "(cached) " >&6
75618 else
75621 ac_ext=cpp
75622 ac_cpp='$CXXCPP $CPPFLAGS'
75623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75628 /* end confdefs.h. */
75629 #include <math.h>
75631 main ()
75633 _frexpl(0, 0);
75635 return 0;
75637 _ACEOF
75638 if ac_fn_cxx_try_compile "$LINENO"; then :
75639 glibcxx_cv_func__frexpl_use=yes
75640 else
75641 glibcxx_cv_func__frexpl_use=no
75643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75644 ac_ext=c
75645 ac_cpp='$CPP $CPPFLAGS'
75646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75655 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75657 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75658 for ac_func in _frexpl
75659 do :
75660 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75661 if test "x$ac_cv_func__frexpl" = x""yes; then :
75662 cat >>confdefs.h <<_ACEOF
75663 #define HAVE__FREXPL 1
75664 _ACEOF
75667 done
75676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75677 $as_echo_n "checking for hypotl declaration... " >&6; }
75678 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75679 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75680 $as_echo_n "(cached) " >&6
75681 else
75684 ac_ext=cpp
75685 ac_cpp='$CXXCPP $CPPFLAGS'
75686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75691 /* end confdefs.h. */
75692 #include <math.h>
75694 main ()
75696 hypotl(0, 0);
75698 return 0;
75700 _ACEOF
75701 if ac_fn_cxx_try_compile "$LINENO"; then :
75702 glibcxx_cv_func_hypotl_use=yes
75703 else
75704 glibcxx_cv_func_hypotl_use=no
75706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75707 ac_ext=c
75708 ac_cpp='$CPP $CPPFLAGS'
75709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75718 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75720 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75721 for ac_func in hypotl
75722 do :
75723 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75724 if test "x$ac_cv_func_hypotl" = x""yes; then :
75725 cat >>confdefs.h <<_ACEOF
75726 #define HAVE_HYPOTL 1
75727 _ACEOF
75730 done
75732 else
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75735 $as_echo_n "checking for _hypotl declaration... " >&6; }
75736 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75737 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75738 $as_echo_n "(cached) " >&6
75739 else
75742 ac_ext=cpp
75743 ac_cpp='$CXXCPP $CPPFLAGS'
75744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75749 /* end confdefs.h. */
75750 #include <math.h>
75752 main ()
75754 _hypotl(0, 0);
75756 return 0;
75758 _ACEOF
75759 if ac_fn_cxx_try_compile "$LINENO"; then :
75760 glibcxx_cv_func__hypotl_use=yes
75761 else
75762 glibcxx_cv_func__hypotl_use=no
75764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75765 ac_ext=c
75766 ac_cpp='$CPP $CPPFLAGS'
75767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75776 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75778 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75779 for ac_func in _hypotl
75780 do :
75781 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75782 if test "x$ac_cv_func__hypotl" = x""yes; then :
75783 cat >>confdefs.h <<_ACEOF
75784 #define HAVE__HYPOTL 1
75785 _ACEOF
75788 done
75797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75798 $as_echo_n "checking for ldexpl declaration... " >&6; }
75799 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75800 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75801 $as_echo_n "(cached) " >&6
75802 else
75805 ac_ext=cpp
75806 ac_cpp='$CXXCPP $CPPFLAGS'
75807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75812 /* end confdefs.h. */
75813 #include <math.h>
75815 main ()
75817 ldexpl(0, 0);
75819 return 0;
75821 _ACEOF
75822 if ac_fn_cxx_try_compile "$LINENO"; then :
75823 glibcxx_cv_func_ldexpl_use=yes
75824 else
75825 glibcxx_cv_func_ldexpl_use=no
75827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75828 ac_ext=c
75829 ac_cpp='$CPP $CPPFLAGS'
75830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75839 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75841 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75842 for ac_func in ldexpl
75843 do :
75844 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75845 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75846 cat >>confdefs.h <<_ACEOF
75847 #define HAVE_LDEXPL 1
75848 _ACEOF
75851 done
75853 else
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75856 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75857 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75858 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75859 $as_echo_n "(cached) " >&6
75860 else
75863 ac_ext=cpp
75864 ac_cpp='$CXXCPP $CPPFLAGS'
75865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75870 /* end confdefs.h. */
75871 #include <math.h>
75873 main ()
75875 _ldexpl(0, 0);
75877 return 0;
75879 _ACEOF
75880 if ac_fn_cxx_try_compile "$LINENO"; then :
75881 glibcxx_cv_func__ldexpl_use=yes
75882 else
75883 glibcxx_cv_func__ldexpl_use=no
75885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75886 ac_ext=c
75887 ac_cpp='$CPP $CPPFLAGS'
75888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75897 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75899 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75900 for ac_func in _ldexpl
75901 do :
75902 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75903 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75904 cat >>confdefs.h <<_ACEOF
75905 #define HAVE__LDEXPL 1
75906 _ACEOF
75909 done
75918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75919 $as_echo_n "checking for logl declaration... " >&6; }
75920 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75921 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75922 $as_echo_n "(cached) " >&6
75923 else
75926 ac_ext=cpp
75927 ac_cpp='$CXXCPP $CPPFLAGS'
75928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75933 /* end confdefs.h. */
75934 #include <math.h>
75935 #ifdef HAVE_IEEEFP_H
75936 #include <ieeefp.h>
75937 #endif
75940 main ()
75942 logl(0);
75944 return 0;
75946 _ACEOF
75947 if ac_fn_cxx_try_compile "$LINENO"; then :
75948 glibcxx_cv_func_logl_use=yes
75949 else
75950 glibcxx_cv_func_logl_use=no
75952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75953 ac_ext=c
75954 ac_cpp='$CPP $CPPFLAGS'
75955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75964 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75966 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75967 for ac_func in logl
75968 do :
75969 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75970 if test "x$ac_cv_func_logl" = x""yes; then :
75971 cat >>confdefs.h <<_ACEOF
75972 #define HAVE_LOGL 1
75973 _ACEOF
75976 done
75978 else
75980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75981 $as_echo_n "checking for _logl declaration... " >&6; }
75982 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75983 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75984 $as_echo_n "(cached) " >&6
75985 else
75988 ac_ext=cpp
75989 ac_cpp='$CXXCPP $CPPFLAGS'
75990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75995 /* end confdefs.h. */
75996 #include <math.h>
75997 #ifdef HAVE_IEEEFP_H
75998 #include <ieeefp.h>
75999 #endif
76002 main ()
76004 _logl(0);
76006 return 0;
76008 _ACEOF
76009 if ac_fn_cxx_try_compile "$LINENO"; then :
76010 glibcxx_cv_func__logl_use=yes
76011 else
76012 glibcxx_cv_func__logl_use=no
76014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76015 ac_ext=c
76016 ac_cpp='$CPP $CPPFLAGS'
76017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76026 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76028 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76029 for ac_func in _logl
76030 do :
76031 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76032 if test "x$ac_cv_func__logl" = x""yes; then :
76033 cat >>confdefs.h <<_ACEOF
76034 #define HAVE__LOGL 1
76035 _ACEOF
76038 done
76047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76048 $as_echo_n "checking for log10l declaration... " >&6; }
76049 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76050 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76051 $as_echo_n "(cached) " >&6
76052 else
76055 ac_ext=cpp
76056 ac_cpp='$CXXCPP $CPPFLAGS'
76057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76062 /* end confdefs.h. */
76063 #include <math.h>
76064 #ifdef HAVE_IEEEFP_H
76065 #include <ieeefp.h>
76066 #endif
76069 main ()
76071 log10l(0);
76073 return 0;
76075 _ACEOF
76076 if ac_fn_cxx_try_compile "$LINENO"; then :
76077 glibcxx_cv_func_log10l_use=yes
76078 else
76079 glibcxx_cv_func_log10l_use=no
76081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76082 ac_ext=c
76083 ac_cpp='$CPP $CPPFLAGS'
76084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76093 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76095 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76096 for ac_func in log10l
76097 do :
76098 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76099 if test "x$ac_cv_func_log10l" = x""yes; then :
76100 cat >>confdefs.h <<_ACEOF
76101 #define HAVE_LOG10L 1
76102 _ACEOF
76105 done
76107 else
76109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76110 $as_echo_n "checking for _log10l declaration... " >&6; }
76111 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76112 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76113 $as_echo_n "(cached) " >&6
76114 else
76117 ac_ext=cpp
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124 /* end confdefs.h. */
76125 #include <math.h>
76126 #ifdef HAVE_IEEEFP_H
76127 #include <ieeefp.h>
76128 #endif
76131 main ()
76133 _log10l(0);
76135 return 0;
76137 _ACEOF
76138 if ac_fn_cxx_try_compile "$LINENO"; then :
76139 glibcxx_cv_func__log10l_use=yes
76140 else
76141 glibcxx_cv_func__log10l_use=no
76143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76144 ac_ext=c
76145 ac_cpp='$CPP $CPPFLAGS'
76146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76155 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76157 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76158 for ac_func in _log10l
76159 do :
76160 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76161 if test "x$ac_cv_func__log10l" = x""yes; then :
76162 cat >>confdefs.h <<_ACEOF
76163 #define HAVE__LOG10L 1
76164 _ACEOF
76167 done
76176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76177 $as_echo_n "checking for modfl declaration... " >&6; }
76178 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76179 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76180 $as_echo_n "(cached) " >&6
76181 else
76184 ac_ext=cpp
76185 ac_cpp='$CXXCPP $CPPFLAGS'
76186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76191 /* end confdefs.h. */
76192 #include <math.h>
76194 main ()
76196 modfl(0, 0);
76198 return 0;
76200 _ACEOF
76201 if ac_fn_cxx_try_compile "$LINENO"; then :
76202 glibcxx_cv_func_modfl_use=yes
76203 else
76204 glibcxx_cv_func_modfl_use=no
76206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76207 ac_ext=c
76208 ac_cpp='$CPP $CPPFLAGS'
76209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76218 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76220 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76221 for ac_func in modfl
76222 do :
76223 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76224 if test "x$ac_cv_func_modfl" = x""yes; then :
76225 cat >>confdefs.h <<_ACEOF
76226 #define HAVE_MODFL 1
76227 _ACEOF
76230 done
76232 else
76234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76235 $as_echo_n "checking for _modfl declaration... " >&6; }
76236 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76237 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76238 $as_echo_n "(cached) " >&6
76239 else
76242 ac_ext=cpp
76243 ac_cpp='$CXXCPP $CPPFLAGS'
76244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76249 /* end confdefs.h. */
76250 #include <math.h>
76252 main ()
76254 _modfl(0, 0);
76256 return 0;
76258 _ACEOF
76259 if ac_fn_cxx_try_compile "$LINENO"; then :
76260 glibcxx_cv_func__modfl_use=yes
76261 else
76262 glibcxx_cv_func__modfl_use=no
76264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76265 ac_ext=c
76266 ac_cpp='$CPP $CPPFLAGS'
76267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76276 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76278 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76279 for ac_func in _modfl
76280 do :
76281 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76282 if test "x$ac_cv_func__modfl" = x""yes; then :
76283 cat >>confdefs.h <<_ACEOF
76284 #define HAVE__MODFL 1
76285 _ACEOF
76288 done
76297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76298 $as_echo_n "checking for powl declaration... " >&6; }
76299 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76300 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76301 $as_echo_n "(cached) " >&6
76302 else
76305 ac_ext=cpp
76306 ac_cpp='$CXXCPP $CPPFLAGS'
76307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76312 /* end confdefs.h. */
76313 #include <math.h>
76315 main ()
76317 powl(0, 0);
76319 return 0;
76321 _ACEOF
76322 if ac_fn_cxx_try_compile "$LINENO"; then :
76323 glibcxx_cv_func_powl_use=yes
76324 else
76325 glibcxx_cv_func_powl_use=no
76327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76328 ac_ext=c
76329 ac_cpp='$CPP $CPPFLAGS'
76330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76339 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76341 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76342 for ac_func in powl
76343 do :
76344 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76345 if test "x$ac_cv_func_powl" = x""yes; then :
76346 cat >>confdefs.h <<_ACEOF
76347 #define HAVE_POWL 1
76348 _ACEOF
76351 done
76353 else
76355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76356 $as_echo_n "checking for _powl declaration... " >&6; }
76357 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76358 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76359 $as_echo_n "(cached) " >&6
76360 else
76363 ac_ext=cpp
76364 ac_cpp='$CXXCPP $CPPFLAGS'
76365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76370 /* end confdefs.h. */
76371 #include <math.h>
76373 main ()
76375 _powl(0, 0);
76377 return 0;
76379 _ACEOF
76380 if ac_fn_cxx_try_compile "$LINENO"; then :
76381 glibcxx_cv_func__powl_use=yes
76382 else
76383 glibcxx_cv_func__powl_use=no
76385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76386 ac_ext=c
76387 ac_cpp='$CPP $CPPFLAGS'
76388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76397 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76399 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76400 for ac_func in _powl
76401 do :
76402 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76403 if test "x$ac_cv_func__powl" = x""yes; then :
76404 cat >>confdefs.h <<_ACEOF
76405 #define HAVE__POWL 1
76406 _ACEOF
76409 done
76418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76419 $as_echo_n "checking for sqrtl declaration... " >&6; }
76420 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76421 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76422 $as_echo_n "(cached) " >&6
76423 else
76426 ac_ext=cpp
76427 ac_cpp='$CXXCPP $CPPFLAGS'
76428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76433 /* end confdefs.h. */
76434 #include <math.h>
76435 #ifdef HAVE_IEEEFP_H
76436 #include <ieeefp.h>
76437 #endif
76440 main ()
76442 sqrtl(0);
76444 return 0;
76446 _ACEOF
76447 if ac_fn_cxx_try_compile "$LINENO"; then :
76448 glibcxx_cv_func_sqrtl_use=yes
76449 else
76450 glibcxx_cv_func_sqrtl_use=no
76452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76453 ac_ext=c
76454 ac_cpp='$CPP $CPPFLAGS'
76455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76464 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76466 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76467 for ac_func in sqrtl
76468 do :
76469 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76470 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76471 cat >>confdefs.h <<_ACEOF
76472 #define HAVE_SQRTL 1
76473 _ACEOF
76476 done
76478 else
76480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76481 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76482 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76483 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76484 $as_echo_n "(cached) " >&6
76485 else
76488 ac_ext=cpp
76489 ac_cpp='$CXXCPP $CPPFLAGS'
76490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76495 /* end confdefs.h. */
76496 #include <math.h>
76497 #ifdef HAVE_IEEEFP_H
76498 #include <ieeefp.h>
76499 #endif
76502 main ()
76504 _sqrtl(0);
76506 return 0;
76508 _ACEOF
76509 if ac_fn_cxx_try_compile "$LINENO"; then :
76510 glibcxx_cv_func__sqrtl_use=yes
76511 else
76512 glibcxx_cv_func__sqrtl_use=no
76514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76515 ac_ext=c
76516 ac_cpp='$CPP $CPPFLAGS'
76517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76526 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76528 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76529 for ac_func in _sqrtl
76530 do :
76531 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76532 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76533 cat >>confdefs.h <<_ACEOF
76534 #define HAVE__SQRTL 1
76535 _ACEOF
76538 done
76547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76548 $as_echo_n "checking for sincosl declaration... " >&6; }
76549 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76550 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76551 $as_echo_n "(cached) " >&6
76552 else
76555 ac_ext=cpp
76556 ac_cpp='$CXXCPP $CPPFLAGS'
76557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76562 /* end confdefs.h. */
76563 #include <math.h>
76565 main ()
76567 sincosl(0, 0, 0);
76569 return 0;
76571 _ACEOF
76572 if ac_fn_cxx_try_compile "$LINENO"; then :
76573 glibcxx_cv_func_sincosl_use=yes
76574 else
76575 glibcxx_cv_func_sincosl_use=no
76577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76578 ac_ext=c
76579 ac_cpp='$CPP $CPPFLAGS'
76580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76589 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76591 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76592 for ac_func in sincosl
76593 do :
76594 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76595 if test "x$ac_cv_func_sincosl" = x""yes; then :
76596 cat >>confdefs.h <<_ACEOF
76597 #define HAVE_SINCOSL 1
76598 _ACEOF
76601 done
76603 else
76605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76606 $as_echo_n "checking for _sincosl declaration... " >&6; }
76607 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76608 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76609 $as_echo_n "(cached) " >&6
76610 else
76613 ac_ext=cpp
76614 ac_cpp='$CXXCPP $CPPFLAGS'
76615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76620 /* end confdefs.h. */
76621 #include <math.h>
76623 main ()
76625 _sincosl(0, 0, 0);
76627 return 0;
76629 _ACEOF
76630 if ac_fn_cxx_try_compile "$LINENO"; then :
76631 glibcxx_cv_func__sincosl_use=yes
76632 else
76633 glibcxx_cv_func__sincosl_use=no
76635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76636 ac_ext=c
76637 ac_cpp='$CPP $CPPFLAGS'
76638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76647 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76649 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76650 for ac_func in _sincosl
76651 do :
76652 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76653 if test "x$ac_cv_func__sincosl" = x""yes; then :
76654 cat >>confdefs.h <<_ACEOF
76655 #define HAVE__SINCOSL 1
76656 _ACEOF
76659 done
76668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76669 $as_echo_n "checking for finitel declaration... " >&6; }
76670 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76671 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76672 $as_echo_n "(cached) " >&6
76673 else
76676 ac_ext=cpp
76677 ac_cpp='$CXXCPP $CPPFLAGS'
76678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76683 /* end confdefs.h. */
76684 #include <math.h>
76685 #ifdef HAVE_IEEEFP_H
76686 #include <ieeefp.h>
76687 #endif
76690 main ()
76692 finitel(0);
76694 return 0;
76696 _ACEOF
76697 if ac_fn_cxx_try_compile "$LINENO"; then :
76698 glibcxx_cv_func_finitel_use=yes
76699 else
76700 glibcxx_cv_func_finitel_use=no
76702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76703 ac_ext=c
76704 ac_cpp='$CPP $CPPFLAGS'
76705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76714 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76716 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76717 for ac_func in finitel
76718 do :
76719 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76720 if test "x$ac_cv_func_finitel" = x""yes; then :
76721 cat >>confdefs.h <<_ACEOF
76722 #define HAVE_FINITEL 1
76723 _ACEOF
76726 done
76728 else
76730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76731 $as_echo_n "checking for _finitel declaration... " >&6; }
76732 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76733 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76734 $as_echo_n "(cached) " >&6
76735 else
76738 ac_ext=cpp
76739 ac_cpp='$CXXCPP $CPPFLAGS'
76740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76745 /* end confdefs.h. */
76746 #include <math.h>
76747 #ifdef HAVE_IEEEFP_H
76748 #include <ieeefp.h>
76749 #endif
76752 main ()
76754 _finitel(0);
76756 return 0;
76758 _ACEOF
76759 if ac_fn_cxx_try_compile "$LINENO"; then :
76760 glibcxx_cv_func__finitel_use=yes
76761 else
76762 glibcxx_cv_func__finitel_use=no
76764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76765 ac_ext=c
76766 ac_cpp='$CPP $CPPFLAGS'
76767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76776 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76778 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76779 for ac_func in _finitel
76780 do :
76781 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76782 if test "x$ac_cv_func__finitel" = x""yes; then :
76783 cat >>confdefs.h <<_ACEOF
76784 #define HAVE__FINITEL 1
76785 _ACEOF
76788 done
76796 LIBS="$ac_save_LIBS"
76797 CXXFLAGS="$ac_save_CXXFLAGS"
76800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76801 ac_save_CXXFLAGS="$CXXFLAGS"
76802 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76806 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76807 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76808 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76809 $as_echo_n "(cached) " >&6
76810 else
76813 ac_ext=cpp
76814 ac_cpp='$CXXCPP $CPPFLAGS'
76815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76820 /* end confdefs.h. */
76821 #include <stdlib.h>
76823 main ()
76825 at_quick_exit(0);
76827 return 0;
76829 _ACEOF
76830 if ac_fn_cxx_try_compile "$LINENO"; then :
76831 glibcxx_cv_func_at_quick_exit_use=yes
76832 else
76833 glibcxx_cv_func_at_quick_exit_use=no
76835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76836 ac_ext=c
76837 ac_cpp='$CPP $CPPFLAGS'
76838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76847 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76848 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76849 for ac_func in at_quick_exit
76850 do :
76851 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76852 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76853 cat >>confdefs.h <<_ACEOF
76854 #define HAVE_AT_QUICK_EXIT 1
76855 _ACEOF
76858 done
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76864 $as_echo_n "checking for quick_exit declaration... " >&6; }
76865 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76866 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76867 $as_echo_n "(cached) " >&6
76868 else
76871 ac_ext=cpp
76872 ac_cpp='$CXXCPP $CPPFLAGS'
76873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76878 /* end confdefs.h. */
76879 #include <stdlib.h>
76881 main ()
76883 quick_exit(0);
76885 return 0;
76887 _ACEOF
76888 if ac_fn_cxx_try_compile "$LINENO"; then :
76889 glibcxx_cv_func_quick_exit_use=yes
76890 else
76891 glibcxx_cv_func_quick_exit_use=no
76893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76894 ac_ext=c
76895 ac_cpp='$CPP $CPPFLAGS'
76896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76905 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76906 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76907 for ac_func in quick_exit
76908 do :
76909 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76910 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76911 cat >>confdefs.h <<_ACEOF
76912 #define HAVE_QUICK_EXIT 1
76913 _ACEOF
76916 done
76921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76922 $as_echo_n "checking for strtold declaration... " >&6; }
76923 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76924 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76925 $as_echo_n "(cached) " >&6
76926 else
76929 ac_ext=cpp
76930 ac_cpp='$CXXCPP $CPPFLAGS'
76931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76936 /* end confdefs.h. */
76937 #include <stdlib.h>
76939 main ()
76941 strtold(0, 0);
76943 return 0;
76945 _ACEOF
76946 if ac_fn_cxx_try_compile "$LINENO"; then :
76947 glibcxx_cv_func_strtold_use=yes
76948 else
76949 glibcxx_cv_func_strtold_use=no
76951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76952 ac_ext=c
76953 ac_cpp='$CPP $CPPFLAGS'
76954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76963 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76964 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76965 for ac_func in strtold
76966 do :
76967 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76968 if test "x$ac_cv_func_strtold" = x""yes; then :
76969 cat >>confdefs.h <<_ACEOF
76970 #define HAVE_STRTOLD 1
76971 _ACEOF
76974 done
76981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76982 $as_echo_n "checking for strtof declaration... " >&6; }
76983 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76984 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76985 $as_echo_n "(cached) " >&6
76986 else
76989 ac_ext=cpp
76990 ac_cpp='$CXXCPP $CPPFLAGS'
76991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76996 /* end confdefs.h. */
76997 #include <stdlib.h>
76999 main ()
77001 strtof(0, 0);
77003 return 0;
77005 _ACEOF
77006 if ac_fn_cxx_try_compile "$LINENO"; then :
77007 glibcxx_cv_func_strtof_use=yes
77008 else
77009 glibcxx_cv_func_strtof_use=no
77011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77012 ac_ext=c
77013 ac_cpp='$CPP $CPPFLAGS'
77014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77023 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77024 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77025 for ac_func in strtof
77026 do :
77027 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77028 if test "x$ac_cv_func_strtof" = x""yes; then :
77029 cat >>confdefs.h <<_ACEOF
77030 #define HAVE_STRTOF 1
77031 _ACEOF
77034 done
77041 CXXFLAGS="$ac_save_CXXFLAGS"
77044 *-vxworks)
77045 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77047 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77049 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77051 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77053 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77055 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77057 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77059 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77061 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77063 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77065 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77067 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77069 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77071 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77073 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77075 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77077 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77079 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77081 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77083 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77087 as_fn_error "No support for this host/target combination." "$LINENO" 5
77089 esac
77093 # At some point, we should differentiate between architectures
77094 # like x86, which have long double versions, and alpha/powerpc/etc.,
77095 # which don't. For the time being, punt.
77096 if test x"long_double_math_on_this_cpu" = x"yes"; then
77097 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77099 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77101 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77103 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77105 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77107 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77109 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77111 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77113 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77115 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77117 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77119 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77121 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77123 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77125 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77127 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77129 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77131 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77133 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77135 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77137 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77139 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77141 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77146 # Check for _Unwind_GetIPInfo.
77149 # Check whether --with-system-libunwind was given.
77150 if test "${with_system_libunwind+set}" = set; then :
77151 withval=$with_system_libunwind;
77154 # If system-libunwind was not specifically set, pick a default setting.
77155 if test x$with_system_libunwind = x; then
77156 case ${target} in
77157 ia64-*-hpux*) with_system_libunwind=yes ;;
77158 *) with_system_libunwind=no ;;
77159 esac
77161 # Based on system-libunwind and target, do we have ipinfo?
77162 if test x$with_system_libunwind = xyes; then
77163 case ${target} in
77164 ia64-*-*) have_unwind_getipinfo=no ;;
77165 *) have_unwind_getipinfo=yes ;;
77166 esac
77167 else
77168 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77170 case ${target} in
77171 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77172 *) have_unwind_getipinfo=yes ;;
77173 esac
77177 if test x$have_unwind_getipinfo = xyes; then
77179 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77184 # Check whether --enable-linux-futex was given.
77185 if test "${enable_linux_futex+set}" = set; then :
77186 enableval=$enable_linux_futex;
77187 case "$enableval" in
77188 yes|no|default) ;;
77189 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77190 esac
77192 else
77193 enable_linux_futex=default
77197 case "$target" in
77198 *-linux*)
77199 case "$enable_linux_futex" in
77200 default)
77201 # If headers don't have gettid/futex syscalls definition, then
77202 # default to no, otherwise there will be compile time failures.
77203 # Otherwise, default to yes. If we don't detect we are
77204 # compiled/linked against NPTL and not cross-compiling, check
77205 # if programs are run by default against NPTL and if not, issue
77206 # a warning.
77207 enable_linux_futex=no
77208 if test x$gcc_no_link = xyes; then
77209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77212 /* end confdefs.h. */
77213 #include <sys/syscall.h>
77214 int lk;
77216 main ()
77218 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77220 return 0;
77222 _ACEOF
77223 if ac_fn_c_try_link "$LINENO"; then :
77224 save_LIBS="$LIBS"
77225 LIBS="-lpthread $LIBS"
77226 if test x$gcc_no_link = xyes; then
77227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77230 /* end confdefs.h. */
77231 #ifndef _GNU_SOURCE
77232 #define _GNU_SOURCE 1
77233 #endif
77234 #include <pthread.h>
77235 pthread_t th; void *status;
77237 main ()
77239 pthread_tryjoin_np (th, &status);
77241 return 0;
77243 _ACEOF
77244 if ac_fn_c_try_link "$LINENO"; then :
77245 enable_linux_futex=yes
77246 else
77247 if test x$cross_compiling = xno; then
77248 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77249 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77251 If so, please configure with --disable-linux-futex" >&5
77252 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77253 If so, please configure with --disable-linux-futex" >&2;}
77256 enable_linux_futex=yes
77258 rm -f core conftest.err conftest.$ac_objext \
77259 conftest$ac_exeext conftest.$ac_ext
77260 LIBS="$save_LIBS"
77262 rm -f core conftest.err conftest.$ac_objext \
77263 conftest$ac_exeext conftest.$ac_ext
77265 yes)
77266 if test x$gcc_no_link = xyes; then
77267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77270 /* end confdefs.h. */
77271 #include <sys/syscall.h>
77272 int lk;
77274 main ()
77276 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77278 return 0;
77280 _ACEOF
77281 if ac_fn_c_try_link "$LINENO"; then :
77283 else
77284 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77286 rm -f core conftest.err conftest.$ac_objext \
77287 conftest$ac_exeext conftest.$ac_ext
77289 esac
77292 enable_linux_futex=no
77294 esac
77295 if test x$enable_linux_futex = xyes; then
77297 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77304 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77306 acx_cv_header_stdint=stddef.h
77307 acx_cv_header_stdint_kind="(already complete)"
77308 for i in stdint.h $inttype_headers; do
77309 unset ac_cv_type_uintptr_t
77310 unset ac_cv_type_uintmax_t
77311 unset ac_cv_type_int_least32_t
77312 unset ac_cv_type_int_fast32_t
77313 unset ac_cv_type_uint64_t
77314 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77315 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77316 #include <$i>
77318 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77319 acx_cv_header_stdint=$i
77320 else
77321 continue
77324 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77325 #include <$i>
77327 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77329 else
77330 acx_cv_header_stdint_kind="(mostly complete)"
77333 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77334 #include <$i>
77336 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77338 else
77339 acx_cv_header_stdint_kind="(mostly complete)"
77342 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77343 #include <$i>
77345 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77347 else
77348 acx_cv_header_stdint_kind="(mostly complete)"
77351 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77352 #include <$i>
77354 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77356 else
77357 acx_cv_header_stdint_kind="(lacks uint64_t)"
77360 break
77361 done
77362 if test "$acx_cv_header_stdint" = stddef.h; then
77363 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77364 for i in stdint.h $inttype_headers; do
77365 unset ac_cv_type_uintptr_t
77366 unset ac_cv_type_uint32_t
77367 unset ac_cv_type_uint64_t
77368 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77369 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77370 #include <$i>
77372 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77373 acx_cv_header_stdint=$i
77374 else
77375 continue
77378 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77379 #include <$i>
77381 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77385 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77386 #include <$i>
77388 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77392 break
77393 done
77395 if test "$acx_cv_header_stdint" = stddef.h; then
77396 acx_cv_header_stdint_kind="(u_intXX_t style)"
77397 for i in sys/types.h $inttype_headers; do
77398 unset ac_cv_type_u_int32_t
77399 unset ac_cv_type_u_int64_t
77400 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77401 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77402 #include <$i>
77404 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77405 acx_cv_header_stdint=$i
77406 else
77407 continue
77410 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77411 #include <$i>
77413 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77417 break
77418 done
77420 if test "$acx_cv_header_stdint" = stddef.h; then
77421 acx_cv_header_stdint_kind="(using manual detection)"
77424 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77425 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77426 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77427 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77428 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77430 # ----------------- Summarize what we found so far
77432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77433 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77435 case `$as_basename -- include/gstdint.h ||
77436 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77437 Xinclude/gstdint.h : 'X\(//\)$' \| \
77438 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77439 $as_echo X/include/gstdint.h |
77440 sed '/^.*\/\([^/][^/]*\)\/*$/{
77441 s//\1/
77444 /^X\/\(\/\/\)$/{
77445 s//\1/
77448 /^X\/\(\/\).*/{
77449 s//\1/
77452 s/.*/./; q'` in
77453 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77454 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77455 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77456 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77457 *) ;;
77458 esac
77460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77461 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77463 # ----------------- done included file, check C basic types --------
77465 # Lacking an uintptr_t? Test size of void *
77466 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77467 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77470 # This bug is HP SR number 8606223364.
77471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77472 $as_echo_n "checking size of void *... " >&6; }
77473 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77474 $as_echo_n "(cached) " >&6
77475 else
77476 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77478 else
77479 if test "$ac_cv_type_void_p" = yes; then
77480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77482 { as_fn_set_status 77
77483 as_fn_error "cannot compute sizeof (void *)
77484 See \`config.log' for more details." "$LINENO" 5; }; }
77485 else
77486 ac_cv_sizeof_void_p=0
77491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77492 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77496 cat >>confdefs.h <<_ACEOF
77497 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77498 _ACEOF
77501 esac
77503 # Lacking an uint64_t? Test size of long
77504 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77505 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77508 # This bug is HP SR number 8606223364.
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77510 $as_echo_n "checking size of long... " >&6; }
77511 if test "${ac_cv_sizeof_long+set}" = set; then :
77512 $as_echo_n "(cached) " >&6
77513 else
77514 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77516 else
77517 if test "$ac_cv_type_long" = yes; then
77518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77520 { as_fn_set_status 77
77521 as_fn_error "cannot compute sizeof (long)
77522 See \`config.log' for more details." "$LINENO" 5; }; }
77523 else
77524 ac_cv_sizeof_long=0
77529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77530 $as_echo "$ac_cv_sizeof_long" >&6; }
77534 cat >>confdefs.h <<_ACEOF
77535 #define SIZEOF_LONG $ac_cv_sizeof_long
77536 _ACEOF
77539 esac
77541 if test $acx_cv_header_stdint = stddef.h; then
77542 # Lacking a good header? Test size of everything and deduce all types.
77543 # The cast to long int works around a bug in the HP C Compiler
77544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77545 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77546 # This bug is HP SR number 8606223364.
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77548 $as_echo_n "checking size of int... " >&6; }
77549 if test "${ac_cv_sizeof_int+set}" = set; then :
77550 $as_echo_n "(cached) " >&6
77551 else
77552 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77554 else
77555 if test "$ac_cv_type_int" = yes; then
77556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77558 { as_fn_set_status 77
77559 as_fn_error "cannot compute sizeof (int)
77560 See \`config.log' for more details." "$LINENO" 5; }; }
77561 else
77562 ac_cv_sizeof_int=0
77567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77568 $as_echo "$ac_cv_sizeof_int" >&6; }
77572 cat >>confdefs.h <<_ACEOF
77573 #define SIZEOF_INT $ac_cv_sizeof_int
77574 _ACEOF
77577 # The cast to long int works around a bug in the HP C Compiler
77578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77580 # This bug is HP SR number 8606223364.
77581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77582 $as_echo_n "checking size of short... " >&6; }
77583 if test "${ac_cv_sizeof_short+set}" = set; then :
77584 $as_echo_n "(cached) " >&6
77585 else
77586 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77588 else
77589 if test "$ac_cv_type_short" = yes; then
77590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77592 { as_fn_set_status 77
77593 as_fn_error "cannot compute sizeof (short)
77594 See \`config.log' for more details." "$LINENO" 5; }; }
77595 else
77596 ac_cv_sizeof_short=0
77601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77602 $as_echo "$ac_cv_sizeof_short" >&6; }
77606 cat >>confdefs.h <<_ACEOF
77607 #define SIZEOF_SHORT $ac_cv_sizeof_short
77608 _ACEOF
77611 # The cast to long int works around a bug in the HP C Compiler
77612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77614 # This bug is HP SR number 8606223364.
77615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77616 $as_echo_n "checking size of char... " >&6; }
77617 if test "${ac_cv_sizeof_char+set}" = set; then :
77618 $as_echo_n "(cached) " >&6
77619 else
77620 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77622 else
77623 if test "$ac_cv_type_char" = yes; then
77624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77626 { as_fn_set_status 77
77627 as_fn_error "cannot compute sizeof (char)
77628 See \`config.log' for more details." "$LINENO" 5; }; }
77629 else
77630 ac_cv_sizeof_char=0
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77636 $as_echo "$ac_cv_sizeof_char" >&6; }
77640 cat >>confdefs.h <<_ACEOF
77641 #define SIZEOF_CHAR $ac_cv_sizeof_char
77642 _ACEOF
77646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77647 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77648 case "$ac_cv_sizeof_char" in
77649 1) acx_cv_type_int8_t=char ;;
77650 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77651 esac
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77653 $as_echo "$acx_cv_type_int8_t" >&6; }
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77656 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77657 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77658 2:*) acx_cv_type_int16_t=int ;;
77659 *:2) acx_cv_type_int16_t=short ;;
77660 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77661 esac
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77663 $as_echo "$acx_cv_type_int16_t" >&6; }
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77666 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77667 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77668 4:*) acx_cv_type_int32_t=int ;;
77669 *:4) acx_cv_type_int32_t=long ;;
77670 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77671 esac
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77673 $as_echo "$acx_cv_type_int32_t" >&6; }
77676 # These tests are here to make the output prettier
77678 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77679 case "$ac_cv_sizeof_long" in
77680 8) acx_cv_type_int64_t=long ;;
77681 esac
77682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77683 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77685 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77688 # Now we can use the above types
77690 if test "$ac_cv_type_uintptr_t" != yes; then
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77692 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77693 case $ac_cv_sizeof_void_p in
77694 2) acx_cv_type_intptr_t=int16_t ;;
77695 4) acx_cv_type_intptr_t=int32_t ;;
77696 8) acx_cv_type_intptr_t=int64_t ;;
77697 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77698 esac
77699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77700 $as_echo "$acx_cv_type_intptr_t" >&6; }
77703 # ----------------- done all checks, emit header -------------
77704 ac_config_commands="$ac_config_commands include/gstdint.h"
77710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77711 $as_echo_n "checking for GNU c++filt... " >&6; }
77712 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77713 $as_echo_n "(cached) " >&6
77714 else
77715 if test -z "$CXXFILT"; then
77716 ac_path_CXXFILT_found=false
77717 # Loop through the user's path and test for each of PROGNAME-LIST
77718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77719 for as_dir in $PATH
77721 IFS=$as_save_IFS
77722 test -z "$as_dir" && as_dir=.
77723 for ac_prog in c++filt gc++filt; do
77724 for ac_exec_ext in '' $ac_executable_extensions; do
77725 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77726 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77727 # Check for GNU $ac_path_CXXFILT
77728 case `"$ac_path_CXXFILT" --version 2>&1` in
77729 *GNU*)
77730 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77731 esac
77733 $ac_path_CXXFILT_found && break 3
77734 done
77735 done
77736 done
77737 IFS=$as_save_IFS
77738 if test -z "$ac_cv_path_CXXFILT"; then
77741 else
77742 ac_cv_path_CXXFILT=$CXXFILT
77746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77747 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77748 CXXFILT=$ac_cv_path_CXXFILT
77752 # Check whether --enable-symvers was given.
77753 if test "${enable_symvers+set}" = set; then :
77754 enableval=$enable_symvers;
77755 case "$enableval" in
77756 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77757 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77758 esac
77760 else
77761 enable_symvers=yes
77766 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77767 # don't know enough about $LD to do tricks...
77769 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77770 # with extern "C++" in version scripts.
77773 # Turn a 'yes' into a suitable default.
77774 if test x$enable_symvers = xyes ; then
77775 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77776 enable_symvers=no
77777 else
77778 if test $with_gnu_ld = yes ; then
77779 case ${target_os} in
77780 hpux*)
77781 enable_symvers=no ;;
77783 enable_symvers=gnu ;;
77784 esac
77785 else
77786 case ${target_os} in
77787 darwin*)
77788 enable_symvers=darwin ;;
77789 # Sun symbol versioning exists since Solaris 2.5.
77790 solaris2.[5-9]* | solaris2.1[0-9]*)
77791 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77792 # version scripts, so disable symbol versioning if none can be
77793 # found.
77794 if test -z "$ac_cv_path_CXXFILT"; then
77795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77796 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77798 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77800 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77801 enable_symvers=no
77802 else
77803 enable_symvers=sun
77807 enable_symvers=no ;;
77808 esac
77813 # Check to see if 'darwin' or 'darwin-export' can win.
77814 if test x$enable_symvers = xdarwin-export ; then
77815 enable_symvers=darwin
77818 # Check if 'sun' was requested on non-Solaris 2 platforms.
77819 if test x$enable_symvers = xsun ; then
77820 case ${target_os} in
77821 solaris2*)
77822 # All fine.
77825 # Unlikely to work.
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77827 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77829 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77831 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77832 enable_symvers=no
77834 esac
77837 # Check to see if 'gnu' can win.
77838 if test $enable_symvers = gnu ||
77839 test $enable_symvers = gnu-versioned-namespace ||
77840 test $enable_symvers = sun; then
77841 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77843 $as_echo_n "checking for shared libgcc... " >&6; }
77844 ac_save_CFLAGS="$CFLAGS"
77845 CFLAGS=' -lgcc_s'
77846 if test x$gcc_no_link = xyes; then
77847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77850 /* end confdefs.h. */
77853 main ()
77855 return 0;
77857 return 0;
77859 _ACEOF
77860 if ac_fn_c_try_link "$LINENO"; then :
77861 glibcxx_shared_libgcc=yes
77862 else
77863 glibcxx_shared_libgcc=no
77865 rm -f core conftest.err conftest.$ac_objext \
77866 conftest$ac_exeext conftest.$ac_ext
77867 CFLAGS="$ac_save_CFLAGS"
77868 if test $glibcxx_shared_libgcc = no; then
77869 cat > conftest.c <<EOF
77870 int main (void) { return 0; }
77872 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77873 -shared -shared-libgcc -o conftest.so \
77874 conftest.c -v 2>&1 >/dev/null \
77875 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77876 rm -f conftest.c conftest.so
77877 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77878 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77879 if test x$gcc_no_link = xyes; then
77880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77883 /* end confdefs.h. */
77886 main ()
77888 return 0;
77890 return 0;
77892 _ACEOF
77893 if ac_fn_c_try_link "$LINENO"; then :
77894 glibcxx_shared_libgcc=yes
77896 rm -f core conftest.err conftest.$ac_objext \
77897 conftest$ac_exeext conftest.$ac_ext
77898 CFLAGS="$ac_save_CFLAGS"
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77902 $as_echo "$glibcxx_shared_libgcc" >&6; }
77904 # For GNU ld, we need at least this version. The format is described in
77905 # GLIBCXX_CHECK_LINKER_FEATURES above.
77906 glibcxx_min_gnu_ld_version=21400
77908 # If no shared libgcc, can't win.
77909 if test $glibcxx_shared_libgcc != yes; then
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77911 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77913 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77915 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77916 enable_symvers=no
77917 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77918 : All interesting versions of Sun ld support sun style symbol versioning.
77919 elif test $with_gnu_ld != yes ; then
77920 # just fail for now
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77922 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77924 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77926 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77927 enable_symvers=no
77928 elif test $glibcxx_ld_is_gold = yes ; then
77929 : All versions of gold support symbol versioning.
77930 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77931 # The right tools, the right setup, but too old. Fallbacks?
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77933 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77935 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77937 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77939 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77941 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77942 enable_symvers=no
77946 # For libtool versioning info, format is CURRENT:REVISION:AGE
77947 libtool_VERSION=6:21:0
77949 # Everything parsed; figure out what files and settings to use.
77950 case $enable_symvers in
77952 SYMVER_FILE=config/abi/pre/none.ver
77954 gnu)
77955 SYMVER_FILE=config/abi/pre/gnu.ver
77957 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77960 gnu-versioned-namespace)
77961 libtool_VERSION=7:0:0
77962 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77964 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77967 darwin)
77968 SYMVER_FILE=config/abi/pre/gnu.ver
77970 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77973 sun)
77974 SYMVER_FILE=config/abi/pre/gnu.ver
77976 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77979 esac
77981 if test x$enable_symvers != xno ; then
77983 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77988 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77989 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77990 $as_echo_n "(cached) " >&6
77991 else
77993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77994 /* end confdefs.h. */
77995 void foo (void); __asm (".symver foo, bar@SYMVER");
77997 main ()
78001 return 0;
78003 _ACEOF
78004 if ac_fn_c_try_compile "$LINENO"; then :
78005 glibcxx_cv_have_as_symver_directive=yes
78006 else
78007 glibcxx_cv_have_as_symver_directive=no
78009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78012 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78013 if test $glibcxx_cv_have_as_symver_directive = yes; then
78015 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78026 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78027 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78029 if test $enable_symvers != no ; then
78030 case ${target_os} in
78031 # The Solaris 2 runtime linker doesn't support the GNU extension of
78032 # binding the same symbol to different versions
78033 solaris2*)
78035 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78038 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78041 esac
78044 # Now, set up compatibility support, if any.
78045 # In addition, need this to deal with std::size_t mangling in
78046 # src/compatibility.cc. In a perfect world, could use
78047 # typeid(std::size_t).name()[0] to do direct substitution.
78048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78049 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78050 ac_save_CFLAGS="$CFLAGS"
78051 CFLAGS="-Werror"
78052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78053 /* end confdefs.h. */
78056 main ()
78058 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78060 return 0;
78062 _ACEOF
78063 if ac_fn_c_try_compile "$LINENO"; then :
78064 glibcxx_size_t_is_i=yes
78065 else
78066 glibcxx_size_t_is_i=no
78068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78069 CFLAGS=$ac_save_CFLAGS
78070 if test "$glibcxx_size_t_is_i" = yes; then
78072 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78076 $as_echo "$glibcxx_size_t_is_i" >&6; }
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78079 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78080 ac_save_CFLAGS="$CFLAGS"
78081 CFLAGS="-Werror"
78082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78083 /* end confdefs.h. */
78086 main ()
78088 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78090 return 0;
78092 _ACEOF
78093 if ac_fn_c_try_compile "$LINENO"; then :
78094 glibcxx_ptrdiff_t_is_i=yes
78095 else
78096 glibcxx_ptrdiff_t_is_i=no
78098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78099 CFLAGS=$ac_save_CFLAGS
78100 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78102 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78106 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78111 # Check whether --enable-libstdcxx-visibility was given.
78112 if test "${enable_libstdcxx_visibility+set}" = set; then :
78113 enableval=$enable_libstdcxx_visibility;
78114 case "$enableval" in
78115 yes|no) ;;
78116 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78117 esac
78119 else
78120 enable_libstdcxx_visibility=yes
78125 if test x$enable_libstdcxx_visibility = xyes ; then
78126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78127 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78128 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78129 $as_echo_n "(cached) " >&6
78130 else
78132 save_CFLAGS="$CFLAGS"
78133 CFLAGS="$CFLAGS -Werror"
78134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78135 /* end confdefs.h. */
78136 void __attribute__((visibility("hidden"))) foo(void) { }
78138 main ()
78142 return 0;
78144 _ACEOF
78145 if ac_fn_c_try_compile "$LINENO"; then :
78146 glibcxx_cv_have_attribute_visibility=yes
78147 else
78148 glibcxx_cv_have_attribute_visibility=no
78150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78151 CFLAGS="$save_CFLAGS"
78153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78154 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78155 if test $glibcxx_cv_have_attribute_visibility = no; then
78156 enable_libstdcxx_visibility=no
78161 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78162 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78166 # Check whether --enable-libstdcxx-cxx11-abi was given.
78167 if test "${enable_libstdcxx_cxx11_abi+set}" = set; then :
78168 enableval=$enable_libstdcxx_cxx11_abi;
78169 else
78170 enable_libstdcxx_cxx11_abi=yes
78173 if test x"$enable_libstdcxx_cxx11_abi" != xyes; then
78174 { $as_echo "$as_me:${as_lineno-$LINENO}: C++11-conforming ABI is disabled" >&5
78175 $as_echo "$as_me: C++11-conforming ABI is disabled" >&6;}
78180 ac_ldbl_compat=no
78181 case "$target" in
78182 powerpc*-*-linux* | \
78183 sparc*-*-linux* | \
78184 s390*-*-linux* | \
78185 alpha*-*-linux*)
78186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78187 /* end confdefs.h. */
78190 main ()
78193 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78194 #error no need for long double compatibility
78195 #endif
78198 return 0;
78200 _ACEOF
78201 if ac_fn_c_try_compile "$LINENO"; then :
78202 ac_ldbl_compat=yes
78203 else
78204 ac_ldbl_compat=no
78206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78207 if test "$ac_ldbl_compat" = yes; then
78209 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78211 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78213 esac
78216 # Check if assembler supports disabling hardware capability support.
78218 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78220 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78221 # with a different meaning.
78222 case ${target_os} in
78223 solaris2*)
78224 ac_save_CFLAGS="$CFLAGS"
78225 CFLAGS="$CFLAGS -Wa,-nH"
78227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78228 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78230 /* end confdefs.h. */
78233 main ()
78235 return 0;
78237 return 0;
78239 _ACEOF
78240 if ac_fn_c_try_compile "$LINENO"; then :
78241 ac_hwcap_flags=yes
78242 else
78243 ac_hwcap_flags=no
78245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78246 if test "$ac_hwcap_flags" = "yes"; then
78247 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78250 $as_echo "$ac_hwcap_flags" >&6; }
78252 CFLAGS="$ac_save_CFLAGS"
78254 esac
78259 # Check if assembler supports rdrand opcode.
78261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78262 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78263 if test "${ac_cv_x86_rdrand+set}" = set; then :
78264 $as_echo_n "(cached) " >&6
78265 else
78267 ac_cv_x86_rdrand=no
78268 case "$target" in
78269 i?86-*-* | \
78270 x86_64-*-*)
78271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78272 /* end confdefs.h. */
78275 main ()
78277 asm("rdrand %eax");
78279 return 0;
78281 _ACEOF
78282 if ac_fn_c_try_compile "$LINENO"; then :
78283 ac_cv_x86_rdrand=yes
78284 else
78285 ac_cv_x86_rdrand=no
78287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78288 esac
78292 if test $ac_cv_x86_rdrand = yes; then
78294 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78298 $as_echo "$ac_cv_x86_rdrand" >&6; }
78301 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78303 if $GLIBCXX_IS_NATIVE ; then
78304 # Do checks for resource limit functions.
78306 setrlimit_have_headers=yes
78307 for ac_header in unistd.h sys/time.h sys/resource.h
78308 do :
78309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78311 eval as_val=\$$as_ac_Header
78312 if test "x$as_val" = x""yes; then :
78313 cat >>confdefs.h <<_ACEOF
78314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78315 _ACEOF
78317 else
78318 setrlimit_have_headers=no
78321 done
78323 # If don't have the headers, then we can't run the tests now, and we
78324 # won't be seeing any of these during testsuite compilation.
78325 if test $setrlimit_have_headers = yes; then
78326 # Can't do these in a loop, else the resulting syntax is wrong.
78328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78329 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78331 /* end confdefs.h. */
78332 #include <unistd.h>
78333 #include <sys/time.h>
78334 #include <sys/resource.h>
78337 main ()
78339 int f = RLIMIT_DATA ;
78341 return 0;
78343 _ACEOF
78344 if ac_fn_c_try_compile "$LINENO"; then :
78345 glibcxx_mresult=1
78346 else
78347 glibcxx_mresult=0
78349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78351 cat >>confdefs.h <<_ACEOF
78352 #define HAVE_LIMIT_DATA $glibcxx_mresult
78353 _ACEOF
78355 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78357 $as_echo "$res" >&6; }
78360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78361 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78363 /* end confdefs.h. */
78364 #include <unistd.h>
78365 #include <sys/time.h>
78366 #include <sys/resource.h>
78369 main ()
78371 int f = RLIMIT_RSS ;
78373 return 0;
78375 _ACEOF
78376 if ac_fn_c_try_compile "$LINENO"; then :
78377 glibcxx_mresult=1
78378 else
78379 glibcxx_mresult=0
78381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78383 cat >>confdefs.h <<_ACEOF
78384 #define HAVE_LIMIT_RSS $glibcxx_mresult
78385 _ACEOF
78387 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78389 $as_echo "$res" >&6; }
78392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78393 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <unistd.h>
78397 #include <sys/time.h>
78398 #include <sys/resource.h>
78401 main ()
78403 int f = RLIMIT_VMEM ;
78405 return 0;
78407 _ACEOF
78408 if ac_fn_c_try_compile "$LINENO"; then :
78409 glibcxx_mresult=1
78410 else
78411 glibcxx_mresult=0
78413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78415 cat >>confdefs.h <<_ACEOF
78416 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78417 _ACEOF
78419 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78421 $as_echo "$res" >&6; }
78424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78425 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78427 /* end confdefs.h. */
78428 #include <unistd.h>
78429 #include <sys/time.h>
78430 #include <sys/resource.h>
78433 main ()
78435 int f = RLIMIT_AS ;
78437 return 0;
78439 _ACEOF
78440 if ac_fn_c_try_compile "$LINENO"; then :
78441 glibcxx_mresult=1
78442 else
78443 glibcxx_mresult=0
78445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78447 cat >>confdefs.h <<_ACEOF
78448 #define HAVE_LIMIT_AS $glibcxx_mresult
78449 _ACEOF
78451 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78453 $as_echo "$res" >&6; }
78456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78457 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78459 /* end confdefs.h. */
78460 #include <unistd.h>
78461 #include <sys/time.h>
78462 #include <sys/resource.h>
78465 main ()
78467 int f = RLIMIT_FSIZE ;
78469 return 0;
78471 _ACEOF
78472 if ac_fn_c_try_compile "$LINENO"; then :
78473 glibcxx_mresult=1
78474 else
78475 glibcxx_mresult=0
78477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78479 cat >>confdefs.h <<_ACEOF
78480 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78481 _ACEOF
78483 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78485 $as_echo "$res" >&6; }
78488 # Check for rlimit, setrlimit.
78489 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78490 $as_echo_n "(cached) " >&6
78491 else
78493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78494 /* end confdefs.h. */
78495 #include <unistd.h>
78496 #include <sys/time.h>
78497 #include <sys/resource.h>
78500 main ()
78502 struct rlimit r;
78503 setrlimit(0, &r);
78505 return 0;
78507 _ACEOF
78508 if ac_fn_c_try_compile "$LINENO"; then :
78509 glibcxx_cv_setrlimit=yes
78510 else
78511 glibcxx_cv_setrlimit=no
78513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78520 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78521 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78522 ac_res_limits=yes
78524 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78526 else
78527 ac_res_limits=no
78529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78530 $as_echo "$ac_res_limits" >&6; }
78533 # Look for setenv, so that extended locale tests can be performed.
78535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78536 $as_echo_n "checking for setenv declaration... " >&6; }
78537 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78538 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78539 $as_echo_n "(cached) " >&6
78540 else
78543 ac_ext=cpp
78544 ac_cpp='$CXXCPP $CPPFLAGS'
78545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78550 /* end confdefs.h. */
78551 #include <stdlib.h>
78553 main ()
78555 setenv(0, 0, 0);
78557 return 0;
78559 _ACEOF
78560 if ac_fn_cxx_try_compile "$LINENO"; then :
78561 glibcxx_cv_func_setenv_use=yes
78562 else
78563 glibcxx_cv_func_setenv_use=no
78565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78566 ac_ext=c
78567 ac_cpp='$CPP $CPPFLAGS'
78568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78577 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78578 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78579 for ac_func in setenv
78580 do :
78581 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78582 if test "x$ac_cv_func_setenv" = x""yes; then :
78583 cat >>confdefs.h <<_ACEOF
78584 #define HAVE_SETENV 1
78585 _ACEOF
78588 done
78594 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78595 test $enable_symvers != no; then
78596 case "$host" in
78597 *-*-cygwin*)
78598 enable_abi_check=no ;;
78600 enable_abi_check=yes ;;
78601 esac
78602 else
78603 # Only build this as native, since automake does not understand
78604 # CXX_FOR_BUILD.
78605 enable_abi_check=no
78608 # Export file names for ABI checking.
78609 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78611 baseline_subdir_switch="$abi_baseline_subdir_switch"
78615 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78617 # Check whether --enable-libstdcxx-threads was given.
78618 if test "${enable_libstdcxx_threads+set}" = set; then :
78619 enableval=$enable_libstdcxx_threads;
78620 case "$enableval" in
78621 yes|no) ;;
78622 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78623 esac
78625 else
78626 enable_libstdcxx_threads=auto
78631 if test x$enable_libstdcxx_threads = xauto ||
78632 test x$enable_libstdcxx_threads = xyes; then
78635 ac_ext=cpp
78636 ac_cpp='$CXXCPP $CPPFLAGS'
78637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78642 ac_save_CXXFLAGS="$CXXFLAGS"
78643 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78644 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78646 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78647 case $target_thread_file in
78648 posix)
78649 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78650 esac
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78653 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78656 /* end confdefs.h. */
78657 #include <unistd.h>
78659 main ()
78662 // In case of POSIX threads check _POSIX_TIMEOUTS.
78663 #if (defined(_PTHREADS) \
78664 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78665 #error
78666 #endif
78669 return 0;
78671 _ACEOF
78672 if ac_fn_cxx_try_compile "$LINENO"; then :
78673 ac_gthread_use_mutex_timedlock=1
78674 else
78675 ac_gthread_use_mutex_timedlock=0
78677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78680 cat >>confdefs.h <<_ACEOF
78681 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78682 _ACEOF
78685 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78686 else res_mutex_timedlock=no ; fi
78687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78688 $as_echo "$res_mutex_timedlock" >&6; }
78690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78691 $as_echo_n "checking for gthreads library... " >&6; }
78693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78694 /* end confdefs.h. */
78695 #include "gthr.h"
78697 main ()
78700 #ifndef __GTHREADS_CXX0X
78701 #error
78702 #endif
78705 return 0;
78707 _ACEOF
78708 if ac_fn_cxx_try_compile "$LINENO"; then :
78709 ac_has_gthreads=yes
78710 else
78711 ac_has_gthreads=no
78713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78714 else
78715 ac_has_gthreads=no
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78719 $as_echo "$ac_has_gthreads" >&6; }
78721 if test x"$ac_has_gthreads" = x"yes"; then
78723 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78727 CXXFLAGS="$ac_save_CXXFLAGS"
78728 ac_ext=c
78729 ac_cpp='$CPP $CPPFLAGS'
78730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78736 # Define documentation rules conditionally.
78738 # See if makeinfo has been installed and is modern enough
78739 # that we can use it.
78741 # Extract the first word of "makeinfo", so it can be a program name with args.
78742 set dummy makeinfo; ac_word=$2
78743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78744 $as_echo_n "checking for $ac_word... " >&6; }
78745 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78746 $as_echo_n "(cached) " >&6
78747 else
78748 if test -n "$MAKEINFO"; then
78749 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78750 else
78751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78752 for as_dir in $PATH
78754 IFS=$as_save_IFS
78755 test -z "$as_dir" && as_dir=.
78756 for ac_exec_ext in '' $ac_executable_extensions; do
78757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78758 ac_cv_prog_MAKEINFO="makeinfo"
78759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78760 break 2
78762 done
78763 done
78764 IFS=$as_save_IFS
78768 MAKEINFO=$ac_cv_prog_MAKEINFO
78769 if test -n "$MAKEINFO"; then
78770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78771 $as_echo "$MAKEINFO" >&6; }
78772 else
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78774 $as_echo "no" >&6; }
78778 if test -n "$MAKEINFO"; then
78779 # Found it, now check the version.
78780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78781 $as_echo_n "checking for modern makeinfo... " >&6; }
78782 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78783 $as_echo_n "(cached) " >&6
78784 else
78785 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78786 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78788 case $ac_prog_version in
78789 '') gcc_cv_prog_makeinfo_modern=no;;
78790 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78791 *) gcc_cv_prog_makeinfo_modern=no;;
78792 esac
78795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78796 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78797 else
78798 gcc_cv_prog_makeinfo_modern=no
78800 if test $gcc_cv_prog_makeinfo_modern = no; then
78801 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78804 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78805 BUILD_INFO_TRUE=
78806 BUILD_INFO_FALSE='#'
78807 else
78808 BUILD_INFO_TRUE='#'
78809 BUILD_INFO_FALSE=
78813 # Check for doxygen
78814 # Extract the first word of "doxygen", so it can be a program name with args.
78815 set dummy doxygen; ac_word=$2
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78817 $as_echo_n "checking for $ac_word... " >&6; }
78818 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78819 $as_echo_n "(cached) " >&6
78820 else
78821 if test -n "$DOXYGEN"; then
78822 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78823 else
78824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78825 for as_dir in $PATH
78827 IFS=$as_save_IFS
78828 test -z "$as_dir" && as_dir=.
78829 for ac_exec_ext in '' $ac_executable_extensions; do
78830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78831 ac_cv_prog_DOXYGEN="yes"
78832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78833 break 2
78835 done
78836 done
78837 IFS=$as_save_IFS
78839 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78842 DOXYGEN=$ac_cv_prog_DOXYGEN
78843 if test -n "$DOXYGEN"; then
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78845 $as_echo "$DOXYGEN" >&6; }
78846 else
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78848 $as_echo "no" >&6; }
78852 # Extract the first word of "dot", so it can be a program name with args.
78853 set dummy dot; ac_word=$2
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78855 $as_echo_n "checking for $ac_word... " >&6; }
78856 if test "${ac_cv_prog_DOT+set}" = set; then :
78857 $as_echo_n "(cached) " >&6
78858 else
78859 if test -n "$DOT"; then
78860 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78861 else
78862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78863 for as_dir in $PATH
78865 IFS=$as_save_IFS
78866 test -z "$as_dir" && as_dir=.
78867 for ac_exec_ext in '' $ac_executable_extensions; do
78868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78869 ac_cv_prog_DOT="yes"
78870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78871 break 2
78873 done
78874 done
78875 IFS=$as_save_IFS
78877 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78880 DOT=$ac_cv_prog_DOT
78881 if test -n "$DOT"; then
78882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78883 $as_echo "$DOT" >&6; }
78884 else
78885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78886 $as_echo "no" >&6; }
78891 # Check for docbook
78892 # Extract the first word of "xsltproc", so it can be a program name with args.
78893 set dummy xsltproc; ac_word=$2
78894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78895 $as_echo_n "checking for $ac_word... " >&6; }
78896 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78897 $as_echo_n "(cached) " >&6
78898 else
78899 if test -n "$XSLTPROC"; then
78900 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78901 else
78902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78903 for as_dir in $PATH
78905 IFS=$as_save_IFS
78906 test -z "$as_dir" && as_dir=.
78907 for ac_exec_ext in '' $ac_executable_extensions; do
78908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78909 ac_cv_prog_XSLTPROC="yes"
78910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78911 break 2
78913 done
78914 done
78915 IFS=$as_save_IFS
78917 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78920 XSLTPROC=$ac_cv_prog_XSLTPROC
78921 if test -n "$XSLTPROC"; then
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78923 $as_echo "$XSLTPROC" >&6; }
78924 else
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78926 $as_echo "no" >&6; }
78930 # Extract the first word of "xmllint", so it can be a program name with args.
78931 set dummy xmllint; ac_word=$2
78932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78933 $as_echo_n "checking for $ac_word... " >&6; }
78934 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78935 $as_echo_n "(cached) " >&6
78936 else
78937 if test -n "$XMLLINT"; then
78938 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78939 else
78940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78941 for as_dir in $PATH
78943 IFS=$as_save_IFS
78944 test -z "$as_dir" && as_dir=.
78945 for ac_exec_ext in '' $ac_executable_extensions; do
78946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78947 ac_cv_prog_XMLLINT="yes"
78948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78949 break 2
78951 done
78952 done
78953 IFS=$as_save_IFS
78955 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78958 XMLLINT=$ac_cv_prog_XMLLINT
78959 if test -n "$XMLLINT"; then
78960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78961 $as_echo "$XMLLINT" >&6; }
78962 else
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78964 $as_echo "no" >&6; }
78970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78971 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78972 glibcxx_stylesheets=no
78973 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
78974 glibcxx_stylesheets=yes
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78977 $as_echo "$glibcxx_stylesheets" >&6; }
78979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78980 $as_echo_n "checking for local stylesheet directory... " >&6; }
78981 glibcxx_local_stylesheets=no
78982 if test x"$glibcxx_stylesheets" = x"yes"; then
78983 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78984 glibcxx_local_stylesheets=yes
78985 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78987 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78988 glibcxx_local_stylesheets=yes
78989 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78991 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78992 glibcxx_local_stylesheets=yes
78993 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78997 $as_echo "$glibcxx_local_stylesheets" >&6; }
78999 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79002 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79003 else
79004 glibcxx_stylesheets=no
79007 # Check for epub3 dependencies.
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79009 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79010 glibcxx_epub_stylesheets=no
79011 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79012 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79013 glibcxx_epub_stylesheets=yes
79016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79017 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79018 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79019 BUILD_EPUB_TRUE=
79020 BUILD_EPUB_FALSE='#'
79021 else
79022 BUILD_EPUB_TRUE='#'
79023 BUILD_EPUB_FALSE=
79029 # Check for xml/html dependencies.
79030 if test $ac_cv_prog_DOXYGEN = "yes" &&
79031 test $ac_cv_prog_DOT = "yes" &&
79032 test $ac_cv_prog_XSLTPROC = "yes" &&
79033 test $ac_cv_prog_XMLLINT = "yes" &&
79034 test $glibcxx_stylesheets = "yes"; then
79035 BUILD_XML_TRUE=
79036 BUILD_XML_FALSE='#'
79037 else
79038 BUILD_XML_TRUE='#'
79039 BUILD_XML_FALSE=
79043 if test $ac_cv_prog_DOXYGEN = "yes" &&
79044 test $ac_cv_prog_DOT = "yes" &&
79045 test $ac_cv_prog_XSLTPROC = "yes" &&
79046 test $ac_cv_prog_XMLLINT = "yes" &&
79047 test $glibcxx_stylesheets = "yes"; then
79048 BUILD_HTML_TRUE=
79049 BUILD_HTML_FALSE='#'
79050 else
79051 BUILD_HTML_TRUE='#'
79052 BUILD_HTML_FALSE=
79056 # Check for man dependencies.
79057 if test $ac_cv_prog_DOXYGEN = "yes" &&
79058 test $ac_cv_prog_DOT = "yes"; then
79059 BUILD_MAN_TRUE=
79060 BUILD_MAN_FALSE='#'
79061 else
79062 BUILD_MAN_TRUE='#'
79063 BUILD_MAN_FALSE=
79067 # Check for pdf dependencies.
79068 # Extract the first word of "dblatex", so it can be a program name with args.
79069 set dummy dblatex; ac_word=$2
79070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79071 $as_echo_n "checking for $ac_word... " >&6; }
79072 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79073 $as_echo_n "(cached) " >&6
79074 else
79075 if test -n "$DBLATEX"; then
79076 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79077 else
79078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79079 for as_dir in $PATH
79081 IFS=$as_save_IFS
79082 test -z "$as_dir" && as_dir=.
79083 for ac_exec_ext in '' $ac_executable_extensions; do
79084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79085 ac_cv_prog_DBLATEX="yes"
79086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79087 break 2
79089 done
79090 done
79091 IFS=$as_save_IFS
79093 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79096 DBLATEX=$ac_cv_prog_DBLATEX
79097 if test -n "$DBLATEX"; then
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79099 $as_echo "$DBLATEX" >&6; }
79100 else
79101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79102 $as_echo "no" >&6; }
79106 # Extract the first word of "pdflatex", so it can be a program name with args.
79107 set dummy pdflatex; ac_word=$2
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79109 $as_echo_n "checking for $ac_word... " >&6; }
79110 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79111 $as_echo_n "(cached) " >&6
79112 else
79113 if test -n "$PDFLATEX"; then
79114 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79115 else
79116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79117 for as_dir in $PATH
79119 IFS=$as_save_IFS
79120 test -z "$as_dir" && as_dir=.
79121 for ac_exec_ext in '' $ac_executable_extensions; do
79122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79123 ac_cv_prog_PDFLATEX="yes"
79124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79125 break 2
79127 done
79128 done
79129 IFS=$as_save_IFS
79131 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79134 PDFLATEX=$ac_cv_prog_PDFLATEX
79135 if test -n "$PDFLATEX"; then
79136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79137 $as_echo "$PDFLATEX" >&6; }
79138 else
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79140 $as_echo "no" >&6; }
79144 if test $ac_cv_prog_DBLATEX = "yes" &&
79145 test $ac_cv_prog_PDFLATEX = "yes"; then
79146 BUILD_PDF_TRUE=
79147 BUILD_PDF_FALSE='#'
79148 else
79149 BUILD_PDF_TRUE='#'
79150 BUILD_PDF_FALSE=
79155 # Propagate the target-specific source directories through the build chain.
79156 ATOMICITY_SRCDIR=config/${atomicity_dir}
79157 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79158 ATOMIC_FLAGS=${atomic_flags}
79159 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79160 OS_INC_SRCDIR=config/${os_include_dir}
79161 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79162 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79163 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79164 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79176 # Determine cross-compile flags and AM_CONDITIONALs.
79177 #AC_SUBST(GLIBCXX_IS_NATIVE)
79178 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79179 if test $is_hosted = yes; then
79180 GLIBCXX_HOSTED_TRUE=
79181 GLIBCXX_HOSTED_FALSE='#'
79182 else
79183 GLIBCXX_HOSTED_TRUE='#'
79184 GLIBCXX_HOSTED_FALSE=
79188 if test $enable_libstdcxx_pch = yes; then
79189 GLIBCXX_BUILD_PCH_TRUE=
79190 GLIBCXX_BUILD_PCH_FALSE='#'
79191 else
79192 GLIBCXX_BUILD_PCH_TRUE='#'
79193 GLIBCXX_BUILD_PCH_FALSE=
79197 if test $enable_cheaders = c; then
79198 GLIBCXX_C_HEADERS_C_TRUE=
79199 GLIBCXX_C_HEADERS_C_FALSE='#'
79200 else
79201 GLIBCXX_C_HEADERS_C_TRUE='#'
79202 GLIBCXX_C_HEADERS_C_FALSE=
79206 if test $enable_cheaders = c_std; then
79207 GLIBCXX_C_HEADERS_C_STD_TRUE=
79208 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79209 else
79210 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79211 GLIBCXX_C_HEADERS_C_STD_FALSE=
79215 if test $enable_cheaders = c_global; then
79216 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79217 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79218 else
79219 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79220 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79224 if test $c_compatibility = yes; then
79225 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79226 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79227 else
79228 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79229 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79233 if test $enable_libstdcxx_debug = yes; then
79234 GLIBCXX_BUILD_DEBUG_TRUE=
79235 GLIBCXX_BUILD_DEBUG_FALSE='#'
79236 else
79237 GLIBCXX_BUILD_DEBUG_TRUE='#'
79238 GLIBCXX_BUILD_DEBUG_FALSE=
79242 if test $enable_extern_template = yes; then
79243 ENABLE_EXTERN_TEMPLATE_TRUE=
79244 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79245 else
79246 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79247 ENABLE_EXTERN_TEMPLATE_FALSE=
79251 if test $python_mod_dir != no; then
79252 ENABLE_PYTHONDIR_TRUE=
79253 ENABLE_PYTHONDIR_FALSE='#'
79254 else
79255 ENABLE_PYTHONDIR_TRUE='#'
79256 ENABLE_PYTHONDIR_FALSE=
79260 if test $enable_werror = yes; then
79261 ENABLE_WERROR_TRUE=
79262 ENABLE_WERROR_FALSE='#'
79263 else
79264 ENABLE_WERROR_TRUE='#'
79265 ENABLE_WERROR_FALSE=
79269 if test $enable_vtable_verify = yes; then
79270 ENABLE_VTABLE_VERIFY_TRUE=
79271 ENABLE_VTABLE_VERIFY_FALSE='#'
79272 else
79273 ENABLE_VTABLE_VERIFY_TRUE='#'
79274 ENABLE_VTABLE_VERIFY_FALSE=
79278 if test $enable_symvers != no; then
79279 ENABLE_SYMVERS_TRUE=
79280 ENABLE_SYMVERS_FALSE='#'
79281 else
79282 ENABLE_SYMVERS_TRUE='#'
79283 ENABLE_SYMVERS_FALSE=
79287 if test $enable_symvers = gnu; then
79288 ENABLE_SYMVERS_GNU_TRUE=
79289 ENABLE_SYMVERS_GNU_FALSE='#'
79290 else
79291 ENABLE_SYMVERS_GNU_TRUE='#'
79292 ENABLE_SYMVERS_GNU_FALSE=
79296 if test $enable_symvers = gnu-versioned-namespace; then
79297 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79298 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79299 else
79300 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79301 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79305 if test $enable_symvers = darwin; then
79306 ENABLE_SYMVERS_DARWIN_TRUE=
79307 ENABLE_SYMVERS_DARWIN_FALSE='#'
79308 else
79309 ENABLE_SYMVERS_DARWIN_TRUE='#'
79310 ENABLE_SYMVERS_DARWIN_FALSE=
79314 if test $enable_symvers = sun; then
79315 ENABLE_SYMVERS_SUN_TRUE=
79316 ENABLE_SYMVERS_SUN_FALSE='#'
79317 else
79318 ENABLE_SYMVERS_SUN_TRUE='#'
79319 ENABLE_SYMVERS_SUN_FALSE=
79323 if test $enable_libstdcxx_visibility = yes; then
79324 ENABLE_VISIBILITY_TRUE=
79325 ENABLE_VISIBILITY_FALSE='#'
79326 else
79327 ENABLE_VISIBILITY_TRUE='#'
79328 ENABLE_VISIBILITY_FALSE=
79332 if test $enable_libstdcxx_cxx11_abi = yes; then
79333 ENABLE_CXX11_ABI_TRUE=
79334 ENABLE_CXX11_ABI_FALSE='#'
79335 else
79336 ENABLE_CXX11_ABI_TRUE='#'
79337 ENABLE_CXX11_ABI_FALSE=
79341 if test $ac_ldbl_compat = yes; then
79342 GLIBCXX_LDBL_COMPAT_TRUE=
79343 GLIBCXX_LDBL_COMPAT_FALSE='#'
79344 else
79345 GLIBCXX_LDBL_COMPAT_TRUE='#'
79346 GLIBCXX_LDBL_COMPAT_FALSE=
79352 cat >confcache <<\_ACEOF
79353 # This file is a shell script that caches the results of configure
79354 # tests run on this system so they can be shared between configure
79355 # scripts and configure runs, see configure's option --config-cache.
79356 # It is not useful on other systems. If it contains results you don't
79357 # want to keep, you may remove or edit it.
79359 # config.status only pays attention to the cache file if you give it
79360 # the --recheck option to rerun configure.
79362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79364 # following values.
79366 _ACEOF
79368 # The following way of writing the cache mishandles newlines in values,
79369 # but we know of no workaround that is simple, portable, and efficient.
79370 # So, we kill variables containing newlines.
79371 # Ultrix sh set writes to stderr and can't be redirected directly,
79372 # and sets the high bit in the cache file unless we assign to the vars.
79374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79375 eval ac_val=\$$ac_var
79376 case $ac_val in #(
79377 *${as_nl}*)
79378 case $ac_var in #(
79379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79381 esac
79382 case $ac_var in #(
79383 _ | IFS | as_nl) ;; #(
79384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79385 *) { eval $ac_var=; unset $ac_var;} ;;
79386 esac ;;
79387 esac
79388 done
79390 (set) 2>&1 |
79391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79392 *${as_nl}ac_space=\ *)
79393 # `set' does not quote correctly, so add quotes: double-quote
79394 # substitution turns \\\\ into \\, and sed turns \\ into \.
79395 sed -n \
79396 "s/'/'\\\\''/g;
79397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79398 ;; #(
79400 # `set' quotes correctly as required by POSIX, so do not add quotes.
79401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79403 esac |
79404 sort
79406 sed '
79407 /^ac_cv_env_/b end
79408 t clear
79409 :clear
79410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79411 t end
79412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79413 :end' >>confcache
79414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79415 if test -w "$cache_file"; then
79416 test "x$cache_file" != "x/dev/null" &&
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79418 $as_echo "$as_me: updating cache $cache_file" >&6;}
79419 cat confcache >$cache_file
79420 else
79421 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79422 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79425 rm -f confcache
79427 if test ${multilib} = yes; then
79428 multilib_arg="--enable-multilib"
79429 else
79430 multilib_arg=
79433 # Export all the install information.
79435 glibcxx_toolexecdir=no
79436 glibcxx_toolexeclibdir=no
79437 glibcxx_prefixdir=$prefix
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79440 $as_echo_n "checking for gxx-include-dir... " >&6; }
79442 # Check whether --with-gxx-include-dir was given.
79443 if test "${with_gxx_include_dir+set}" = set; then :
79444 withval=$with_gxx_include_dir; case "$withval" in
79445 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79446 no) gxx_include_dir=no ;;
79447 *) gxx_include_dir=$withval ;;
79448 esac
79449 else
79450 gxx_include_dir=no
79453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79454 $as_echo "$gxx_include_dir" >&6; }
79456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79457 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79458 # Check whether --enable-version-specific-runtime-libs was given.
79459 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79460 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79461 yes) version_specific_libs=yes ;;
79462 no) version_specific_libs=no ;;
79463 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79464 esac
79465 else
79466 version_specific_libs=no
79469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79470 $as_echo "$version_specific_libs" >&6; }
79472 # Default case for install directory for include files.
79473 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79474 gxx_include_dir='include/c++/${gcc_version}'
79475 if test -n "$with_cross_host" &&
79476 test x"$with_cross_host" != x"no"; then
79477 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79478 else
79479 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79483 # Version-specific runtime libs processing.
79484 if test $version_specific_libs = yes; then
79485 # Need the gcc compiler version to know where to install libraries
79486 # and header files if --enable-version-specific-runtime-libs option
79487 # is selected. FIXME: these variables are misnamed, there are
79488 # no executables installed in _toolexecdir or _toolexeclibdir.
79489 if test x"$gxx_include_dir" = x"no"; then
79490 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79492 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79493 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79496 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79497 # Install a library built with a cross compiler in tooldir, not libdir.
79498 if test x"$glibcxx_toolexecdir" = x"no"; then
79499 if test -n "$with_cross_host" &&
79500 test x"$with_cross_host" != x"no"; then
79501 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79502 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79503 else
79504 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79505 glibcxx_toolexeclibdir='${libdir}'
79507 multi_os_directory=`$CXX -print-multi-os-directory`
79508 case $multi_os_directory in
79509 .) ;; # Avoid trailing /.
79510 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79511 esac
79514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79515 $as_echo_n "checking for install location... " >&6; }
79516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79517 $as_echo "$gxx_include_dir" >&6; }
79525 # Export all the include and flag information to Makefiles.
79527 # Used for every C++ compile we perform.
79528 GLIBCXX_INCLUDES="\
79529 -I$glibcxx_builddir/include/$host_alias \
79530 -I$glibcxx_builddir/include \
79531 -I$glibcxx_srcdir/libsupc++"
79533 # For Canadian crosses, pick this up too.
79534 if test $CANADIAN = yes; then
79535 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79538 # Stuff in the actual top level. Currently only used by libsupc++ to
79539 # get unwind* headers from the libgcc dir.
79540 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79541 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79543 # Now, export this to all the little Makefiles....
79548 # Optimization flags that are probably a good idea for thrill-seekers. Just
79549 # uncomment the lines below and make, everything else is ready to go...
79550 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79551 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79554 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79558 ac_config_files="$ac_config_files Makefile"
79560 ac_config_files="$ac_config_files scripts/testsuite_flags"
79562 ac_config_files="$ac_config_files scripts/extract_symvers"
79564 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79567 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79568 # that multilib installs will end up installed in the correct place.
79569 # The testsuite needs it for multilib-aware ABI baseline files.
79570 # To work around this not being passed down from config-ml.in ->
79571 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79572 # append it here. Only modify Makefiles that have just been created.
79574 # Also, get rid of this simulated-VPATH thing that automake does.
79575 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79578 ac_config_commands="$ac_config_commands generate-headers"
79581 cat >confcache <<\_ACEOF
79582 # This file is a shell script that caches the results of configure
79583 # tests run on this system so they can be shared between configure
79584 # scripts and configure runs, see configure's option --config-cache.
79585 # It is not useful on other systems. If it contains results you don't
79586 # want to keep, you may remove or edit it.
79588 # config.status only pays attention to the cache file if you give it
79589 # the --recheck option to rerun configure.
79591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79593 # following values.
79595 _ACEOF
79597 # The following way of writing the cache mishandles newlines in values,
79598 # but we know of no workaround that is simple, portable, and efficient.
79599 # So, we kill variables containing newlines.
79600 # Ultrix sh set writes to stderr and can't be redirected directly,
79601 # and sets the high bit in the cache file unless we assign to the vars.
79603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79604 eval ac_val=\$$ac_var
79605 case $ac_val in #(
79606 *${as_nl}*)
79607 case $ac_var in #(
79608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79610 esac
79611 case $ac_var in #(
79612 _ | IFS | as_nl) ;; #(
79613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79614 *) { eval $ac_var=; unset $ac_var;} ;;
79615 esac ;;
79616 esac
79617 done
79619 (set) 2>&1 |
79620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79621 *${as_nl}ac_space=\ *)
79622 # `set' does not quote correctly, so add quotes: double-quote
79623 # substitution turns \\\\ into \\, and sed turns \\ into \.
79624 sed -n \
79625 "s/'/'\\\\''/g;
79626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79627 ;; #(
79629 # `set' quotes correctly as required by POSIX, so do not add quotes.
79630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79632 esac |
79633 sort
79635 sed '
79636 /^ac_cv_env_/b end
79637 t clear
79638 :clear
79639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79640 t end
79641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79642 :end' >>confcache
79643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79644 if test -w "$cache_file"; then
79645 test "x$cache_file" != "x/dev/null" &&
79646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79647 $as_echo "$as_me: updating cache $cache_file" >&6;}
79648 cat confcache >$cache_file
79649 else
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79654 rm -f confcache
79656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79657 # Let make expand exec_prefix.
79658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79660 DEFS=-DHAVE_CONFIG_H
79662 ac_libobjs=
79663 ac_ltlibobjs=
79664 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79665 # 1. Remove the extension, and $U if already installed.
79666 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79667 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79668 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79669 # will be set to the directory where LIBOBJS objects are built.
79670 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79671 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79672 done
79673 LIBOBJS=$ac_libobjs
79675 LTLIBOBJS=$ac_ltlibobjs
79678 if test -n "$EXEEXT"; then
79679 am__EXEEXT_TRUE=
79680 am__EXEEXT_FALSE='#'
79681 else
79682 am__EXEEXT_TRUE='#'
79683 am__EXEEXT_FALSE=
79686 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79687 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79690 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79691 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79694 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79695 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79698 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79699 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79702 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79703 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79706 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79707 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79710 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79711 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79714 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79715 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79718 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79719 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79722 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79723 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79726 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79727 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79730 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79731 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79734 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79735 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79738 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79739 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79742 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79743 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79746 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79747 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79750 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79751 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79754 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79755 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79758 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79759 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79762 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79763 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79766 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79767 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79770 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79771 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79774 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79775 as_fn_error "conditional \"BUILD_XML\" was never defined.
79776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79778 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79779 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79782 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79783 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79786 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79787 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79791 : ${CONFIG_STATUS=./config.status}
79792 ac_write_fail=0
79793 ac_clean_files_save=$ac_clean_files
79794 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79796 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79797 as_write_fail=0
79798 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79799 #! $SHELL
79800 # Generated by $as_me.
79801 # Run this file to recreate the current configuration.
79802 # Compiler output produced by configure, useful for debugging
79803 # configure, is in config.log if it exists.
79805 debug=false
79806 ac_cs_recheck=false
79807 ac_cs_silent=false
79809 SHELL=\${CONFIG_SHELL-$SHELL}
79810 export SHELL
79811 _ASEOF
79812 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79813 ## -------------------- ##
79814 ## M4sh Initialization. ##
79815 ## -------------------- ##
79817 # Be more Bourne compatible
79818 DUALCASE=1; export DUALCASE # for MKS sh
79819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79820 emulate sh
79821 NULLCMD=:
79822 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79823 # is contrary to our usage. Disable this feature.
79824 alias -g '${1+"$@"}'='"$@"'
79825 setopt NO_GLOB_SUBST
79826 else
79827 case `(set -o) 2>/dev/null` in #(
79828 *posix*) :
79829 set -o posix ;; #(
79830 *) :
79832 esac
79836 as_nl='
79838 export as_nl
79839 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79840 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79843 # Prefer a ksh shell builtin over an external printf program on Solaris,
79844 # but without wasting forks for bash or zsh.
79845 if test -z "$BASH_VERSION$ZSH_VERSION" \
79846 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79847 as_echo='print -r --'
79848 as_echo_n='print -rn --'
79849 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79850 as_echo='printf %s\n'
79851 as_echo_n='printf %s'
79852 else
79853 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79854 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79855 as_echo_n='/usr/ucb/echo -n'
79856 else
79857 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79858 as_echo_n_body='eval
79859 arg=$1;
79860 case $arg in #(
79861 *"$as_nl"*)
79862 expr "X$arg" : "X\\(.*\\)$as_nl";
79863 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79864 esac;
79865 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79867 export as_echo_n_body
79868 as_echo_n='sh -c $as_echo_n_body as_echo'
79870 export as_echo_body
79871 as_echo='sh -c $as_echo_body as_echo'
79874 # The user is always right.
79875 if test "${PATH_SEPARATOR+set}" != set; then
79876 PATH_SEPARATOR=:
79877 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79878 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79879 PATH_SEPARATOR=';'
79884 # IFS
79885 # We need space, tab and new line, in precisely that order. Quoting is
79886 # there to prevent editors from complaining about space-tab.
79887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79888 # splitting by setting IFS to empty value.)
79889 IFS=" "" $as_nl"
79891 # Find who we are. Look in the path if we contain no directory separator.
79892 case $0 in #((
79893 *[\\/]* ) as_myself=$0 ;;
79894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79895 for as_dir in $PATH
79897 IFS=$as_save_IFS
79898 test -z "$as_dir" && as_dir=.
79899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79900 done
79901 IFS=$as_save_IFS
79904 esac
79905 # We did not find ourselves, most probably we were run as `sh COMMAND'
79906 # in which case we are not to be found in the path.
79907 if test "x$as_myself" = x; then
79908 as_myself=$0
79910 if test ! -f "$as_myself"; then
79911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79912 exit 1
79915 # Unset variables that we do not need and which cause bugs (e.g. in
79916 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79917 # suppresses any "Segmentation fault" message there. '((' could
79918 # trigger a bug in pdksh 5.2.14.
79919 for as_var in BASH_ENV ENV MAIL MAILPATH
79920 do eval test x\${$as_var+set} = xset \
79921 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79922 done
79923 PS1='$ '
79924 PS2='> '
79925 PS4='+ '
79927 # NLS nuisances.
79928 LC_ALL=C
79929 export LC_ALL
79930 LANGUAGE=C
79931 export LANGUAGE
79933 # CDPATH.
79934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79937 # as_fn_error ERROR [LINENO LOG_FD]
79938 # ---------------------------------
79939 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79940 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79941 # script with status $?, using 1 if that was 0.
79942 as_fn_error ()
79944 as_status=$?; test $as_status -eq 0 && as_status=1
79945 if test "$3"; then
79946 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79947 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79949 $as_echo "$as_me: error: $1" >&2
79950 as_fn_exit $as_status
79951 } # as_fn_error
79954 # as_fn_set_status STATUS
79955 # -----------------------
79956 # Set $? to STATUS, without forking.
79957 as_fn_set_status ()
79959 return $1
79960 } # as_fn_set_status
79962 # as_fn_exit STATUS
79963 # -----------------
79964 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79965 as_fn_exit ()
79967 set +e
79968 as_fn_set_status $1
79969 exit $1
79970 } # as_fn_exit
79972 # as_fn_unset VAR
79973 # ---------------
79974 # Portably unset VAR.
79975 as_fn_unset ()
79977 { eval $1=; unset $1;}
79979 as_unset=as_fn_unset
79980 # as_fn_append VAR VALUE
79981 # ----------------------
79982 # Append the text in VALUE to the end of the definition contained in VAR. Take
79983 # advantage of any shell optimizations that allow amortized linear growth over
79984 # repeated appends, instead of the typical quadratic growth present in naive
79985 # implementations.
79986 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79987 eval 'as_fn_append ()
79989 eval $1+=\$2
79991 else
79992 as_fn_append ()
79994 eval $1=\$$1\$2
79996 fi # as_fn_append
79998 # as_fn_arith ARG...
79999 # ------------------
80000 # Perform arithmetic evaluation on the ARGs, and store the result in the
80001 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80002 # must be portable across $(()) and expr.
80003 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80004 eval 'as_fn_arith ()
80006 as_val=$(( $* ))
80008 else
80009 as_fn_arith ()
80011 as_val=`expr "$@" || test $? -eq 1`
80013 fi # as_fn_arith
80016 if expr a : '\(a\)' >/dev/null 2>&1 &&
80017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80018 as_expr=expr
80019 else
80020 as_expr=false
80023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80024 as_basename=basename
80025 else
80026 as_basename=false
80029 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80030 as_dirname=dirname
80031 else
80032 as_dirname=false
80035 as_me=`$as_basename -- "$0" ||
80036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80037 X"$0" : 'X\(//\)$' \| \
80038 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80039 $as_echo X/"$0" |
80040 sed '/^.*\/\([^/][^/]*\)\/*$/{
80041 s//\1/
80044 /^X\/\(\/\/\)$/{
80045 s//\1/
80048 /^X\/\(\/\).*/{
80049 s//\1/
80052 s/.*/./; q'`
80054 # Avoid depending upon Character Ranges.
80055 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80056 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80057 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80058 as_cr_digits='0123456789'
80059 as_cr_alnum=$as_cr_Letters$as_cr_digits
80061 ECHO_C= ECHO_N= ECHO_T=
80062 case `echo -n x` in #(((((
80063 -n*)
80064 case `echo 'xy\c'` in
80065 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80066 xy) ECHO_C='\c';;
80067 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80068 ECHO_T=' ';;
80069 esac;;
80071 ECHO_N='-n';;
80072 esac
80074 rm -f conf$$ conf$$.exe conf$$.file
80075 if test -d conf$$.dir; then
80076 rm -f conf$$.dir/conf$$.file
80077 else
80078 rm -f conf$$.dir
80079 mkdir conf$$.dir 2>/dev/null
80081 if (echo >conf$$.file) 2>/dev/null; then
80082 if ln -s conf$$.file conf$$ 2>/dev/null; then
80083 as_ln_s='ln -s'
80084 # ... but there are two gotchas:
80085 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80086 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80087 # In both cases, we have to default to `cp -p'.
80088 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80089 as_ln_s='cp -p'
80090 elif ln conf$$.file conf$$ 2>/dev/null; then
80091 as_ln_s=ln
80092 else
80093 as_ln_s='cp -p'
80095 else
80096 as_ln_s='cp -p'
80098 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80099 rmdir conf$$.dir 2>/dev/null
80102 # as_fn_mkdir_p
80103 # -------------
80104 # Create "$as_dir" as a directory, including parents if necessary.
80105 as_fn_mkdir_p ()
80108 case $as_dir in #(
80109 -*) as_dir=./$as_dir;;
80110 esac
80111 test -d "$as_dir" || eval $as_mkdir_p || {
80112 as_dirs=
80113 while :; do
80114 case $as_dir in #(
80115 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80116 *) as_qdir=$as_dir;;
80117 esac
80118 as_dirs="'$as_qdir' $as_dirs"
80119 as_dir=`$as_dirname -- "$as_dir" ||
80120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80121 X"$as_dir" : 'X\(//\)[^/]' \| \
80122 X"$as_dir" : 'X\(//\)$' \| \
80123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80124 $as_echo X"$as_dir" |
80125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80126 s//\1/
80129 /^X\(\/\/\)[^/].*/{
80130 s//\1/
80133 /^X\(\/\/\)$/{
80134 s//\1/
80137 /^X\(\/\).*/{
80138 s//\1/
80141 s/.*/./; q'`
80142 test -d "$as_dir" && break
80143 done
80144 test -z "$as_dirs" || eval "mkdir $as_dirs"
80145 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80148 } # as_fn_mkdir_p
80149 if mkdir -p . 2>/dev/null; then
80150 as_mkdir_p='mkdir -p "$as_dir"'
80151 else
80152 test -d ./-p && rmdir ./-p
80153 as_mkdir_p=false
80156 if test -x / >/dev/null 2>&1; then
80157 as_test_x='test -x'
80158 else
80159 if ls -dL / >/dev/null 2>&1; then
80160 as_ls_L_option=L
80161 else
80162 as_ls_L_option=
80164 as_test_x='
80165 eval sh -c '\''
80166 if test -d "$1"; then
80167 test -d "$1/.";
80168 else
80169 case $1 in #(
80170 -*)set "./$1";;
80171 esac;
80172 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80173 ???[sx]*):;;*)false;;esac;fi
80174 '\'' sh
80177 as_executable_p=$as_test_x
80179 # Sed expression to map a string onto a valid CPP name.
80180 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80182 # Sed expression to map a string onto a valid variable name.
80183 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80186 exec 6>&1
80187 ## ----------------------------------- ##
80188 ## Main body of $CONFIG_STATUS script. ##
80189 ## ----------------------------------- ##
80190 _ASEOF
80191 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80194 # Save the log message, to keep $0 and so on meaningful, and to
80195 # report actual input values of CONFIG_FILES etc. instead of their
80196 # values after options handling.
80197 ac_log="
80198 This file was extended by package-unused $as_me version-unused, which was
80199 generated by GNU Autoconf 2.64. Invocation command line was
80201 CONFIG_FILES = $CONFIG_FILES
80202 CONFIG_HEADERS = $CONFIG_HEADERS
80203 CONFIG_LINKS = $CONFIG_LINKS
80204 CONFIG_COMMANDS = $CONFIG_COMMANDS
80205 $ $0 $@
80207 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80210 _ACEOF
80212 case $ac_config_files in *"
80213 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80214 esac
80216 case $ac_config_headers in *"
80217 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80218 esac
80221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80222 # Files that config.status was made for.
80223 config_files="$ac_config_files"
80224 config_headers="$ac_config_headers"
80225 config_commands="$ac_config_commands"
80227 _ACEOF
80229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80230 ac_cs_usage="\
80231 \`$as_me' instantiates files and other configuration actions
80232 from templates according to the current configuration. Unless the files
80233 and actions are specified as TAGs, all are instantiated by default.
80235 Usage: $0 [OPTION]... [TAG]...
80237 -h, --help print this help, then exit
80238 -V, --version print version number and configuration settings, then exit
80239 -q, --quiet, --silent
80240 do not print progress messages
80241 -d, --debug don't remove temporary files
80242 --recheck update $as_me by reconfiguring in the same conditions
80243 --file=FILE[:TEMPLATE]
80244 instantiate the configuration file FILE
80245 --header=FILE[:TEMPLATE]
80246 instantiate the configuration header FILE
80248 Configuration files:
80249 $config_files
80251 Configuration headers:
80252 $config_headers
80254 Configuration commands:
80255 $config_commands
80257 Report bugs to the package provider."
80259 _ACEOF
80260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80261 ac_cs_version="\\
80262 package-unused config.status version-unused
80263 configured by $0, generated by GNU Autoconf 2.64,
80264 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80266 Copyright (C) 2009 Free Software Foundation, Inc.
80267 This config.status script is free software; the Free Software Foundation
80268 gives unlimited permission to copy, distribute and modify it."
80270 ac_pwd='$ac_pwd'
80271 srcdir='$srcdir'
80272 INSTALL='$INSTALL'
80273 MKDIR_P='$MKDIR_P'
80274 AWK='$AWK'
80275 test -n "\$AWK" || AWK=awk
80276 _ACEOF
80278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80279 # The default lists apply if the user does not specify any file.
80280 ac_need_defaults=:
80281 while test $# != 0
80283 case $1 in
80284 --*=*)
80285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80286 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80287 ac_shift=:
80290 ac_option=$1
80291 ac_optarg=$2
80292 ac_shift=shift
80294 esac
80296 case $ac_option in
80297 # Handling of the options.
80298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80299 ac_cs_recheck=: ;;
80300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80301 $as_echo "$ac_cs_version"; exit ;;
80302 --debug | --debu | --deb | --de | --d | -d )
80303 debug=: ;;
80304 --file | --fil | --fi | --f )
80305 $ac_shift
80306 case $ac_optarg in
80307 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80308 esac
80309 as_fn_append CONFIG_FILES " '$ac_optarg'"
80310 ac_need_defaults=false;;
80311 --header | --heade | --head | --hea )
80312 $ac_shift
80313 case $ac_optarg in
80314 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80315 esac
80316 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80317 ac_need_defaults=false;;
80318 --he | --h)
80319 # Conflict between --help and --header
80320 as_fn_error "ambiguous option: \`$1'
80321 Try \`$0 --help' for more information.";;
80322 --help | --hel | -h )
80323 $as_echo "$ac_cs_usage"; exit ;;
80324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80325 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80326 ac_cs_silent=: ;;
80328 # This is an error.
80329 -*) as_fn_error "unrecognized option: \`$1'
80330 Try \`$0 --help' for more information." ;;
80332 *) as_fn_append ac_config_targets " $1"
80333 ac_need_defaults=false ;;
80335 esac
80336 shift
80337 done
80339 ac_configure_extra_args=
80341 if $ac_cs_silent; then
80342 exec 6>/dev/null
80343 ac_configure_extra_args="$ac_configure_extra_args --silent"
80346 _ACEOF
80347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80348 if \$ac_cs_recheck; then
80349 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80350 shift
80351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80352 CONFIG_SHELL='$SHELL'
80353 export CONFIG_SHELL
80354 exec "\$@"
80357 _ACEOF
80358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80359 exec 5>>config.log
80361 echo
80362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80363 ## Running $as_me. ##
80364 _ASBOX
80365 $as_echo "$ac_log"
80366 } >&5
80368 _ACEOF
80369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80371 # INIT-COMMANDS
80374 srcdir="$srcdir"
80375 host="$host"
80376 target="$target"
80377 with_multisubdir="$with_multisubdir"
80378 with_multisrctop="$with_multisrctop"
80379 with_target_subdir="$with_target_subdir"
80380 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80381 multi_basedir="$multi_basedir"
80382 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80383 CC="$CC"
80384 CXX="$CXX"
80385 GFORTRAN="$GFORTRAN"
80386 GCJ="$GCJ"
80389 # The HP-UX ksh and POSIX shell print the target directory to stdout
80390 # if CDPATH is set.
80391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80393 sed_quote_subst='$sed_quote_subst'
80394 double_quote_subst='$double_quote_subst'
80395 delay_variable_subst='$delay_variable_subst'
80396 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80397 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80398 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80399 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80400 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80401 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80402 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80403 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80404 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80405 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80406 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80407 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80408 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80409 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80410 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80411 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80412 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80413 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80414 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80415 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80416 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80417 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80418 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80419 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80420 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80421 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80422 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80423 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80424 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80425 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80426 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80427 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80428 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80429 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80430 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80431 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80432 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80433 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80434 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80435 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80436 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80437 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80438 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80439 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80440 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80441 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80442 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80443 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80444 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"`'
80445 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80446 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80447 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80448 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80449 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80450 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80451 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80452 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80453 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80454 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80455 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80456 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80457 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80458 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80459 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80460 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80461 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80462 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80463 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80464 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80465 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80466 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80467 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80468 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80469 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80470 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80471 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80472 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80473 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80474 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80475 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80476 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80477 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80478 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80479 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80480 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80481 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80482 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80483 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80484 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80485 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80486 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80487 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80488 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80489 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80490 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80491 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80492 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80493 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80494 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80495 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80496 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80497 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80498 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80499 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80500 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80501 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80502 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80503 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80504 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80505 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80506 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80507 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80508 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80509 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80510 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80511 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80512 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80513 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80514 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80515 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80516 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80517 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80518 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80519 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80520 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80521 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80522 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80523 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80524 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80525 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80526 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80527 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80528 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80529 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80530 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80532 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80533 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80534 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80535 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80536 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80537 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80538 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80539 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80540 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80541 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80542 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80543 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80544 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80545 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80546 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80547 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80548 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80549 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80550 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80551 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80552 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80553 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80554 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80555 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80556 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80557 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80558 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80559 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80560 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80561 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80562 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80563 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80564 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80565 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80566 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80567 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80568 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80569 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80570 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80572 LTCC='$LTCC'
80573 LTCFLAGS='$LTCFLAGS'
80574 compiler='$compiler_DEFAULT'
80576 # A function that is used when there is no print builtin or printf.
80577 func_fallback_echo ()
80579 eval 'cat <<_LTECHO_EOF
80581 _LTECHO_EOF'
80584 # Quote evaled strings.
80585 for var in SHELL \
80586 ECHO \
80587 SED \
80588 GREP \
80589 EGREP \
80590 FGREP \
80591 LD \
80592 NM \
80593 LN_S \
80594 lt_SP2NL \
80595 lt_NL2SP \
80596 reload_flag \
80597 OBJDUMP \
80598 deplibs_check_method \
80599 file_magic_cmd \
80600 AR \
80601 AR_FLAGS \
80602 STRIP \
80603 RANLIB \
80604 CC \
80605 CFLAGS \
80606 compiler \
80607 lt_cv_sys_global_symbol_pipe \
80608 lt_cv_sys_global_symbol_to_cdecl \
80609 lt_cv_sys_global_symbol_to_c_name_address \
80610 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80611 lt_prog_compiler_no_builtin_flag \
80612 lt_prog_compiler_wl \
80613 lt_prog_compiler_pic \
80614 lt_prog_compiler_static \
80615 lt_cv_prog_compiler_c_o \
80616 need_locks \
80617 DSYMUTIL \
80618 NMEDIT \
80619 LIPO \
80620 OTOOL \
80621 OTOOL64 \
80622 shrext_cmds \
80623 export_dynamic_flag_spec \
80624 whole_archive_flag_spec \
80625 compiler_needs_object \
80626 with_gnu_ld \
80627 allow_undefined_flag \
80628 no_undefined_flag \
80629 hardcode_libdir_flag_spec \
80630 hardcode_libdir_flag_spec_ld \
80631 hardcode_libdir_separator \
80632 fix_srcfile_path \
80633 exclude_expsyms \
80634 include_expsyms \
80635 file_list_spec \
80636 variables_saved_for_relink \
80637 libname_spec \
80638 library_names_spec \
80639 soname_spec \
80640 install_override_mode \
80641 finish_eval \
80642 old_striplib \
80643 striplib \
80644 compiler_lib_search_dirs \
80645 predep_objects \
80646 postdep_objects \
80647 predeps \
80648 postdeps \
80649 compiler_lib_search_path \
80650 LD_CXX \
80651 reload_flag_CXX \
80652 compiler_CXX \
80653 lt_prog_compiler_no_builtin_flag_CXX \
80654 lt_prog_compiler_wl_CXX \
80655 lt_prog_compiler_pic_CXX \
80656 lt_prog_compiler_static_CXX \
80657 lt_cv_prog_compiler_c_o_CXX \
80658 export_dynamic_flag_spec_CXX \
80659 whole_archive_flag_spec_CXX \
80660 compiler_needs_object_CXX \
80661 with_gnu_ld_CXX \
80662 allow_undefined_flag_CXX \
80663 no_undefined_flag_CXX \
80664 hardcode_libdir_flag_spec_CXX \
80665 hardcode_libdir_flag_spec_ld_CXX \
80666 hardcode_libdir_separator_CXX \
80667 fix_srcfile_path_CXX \
80668 exclude_expsyms_CXX \
80669 include_expsyms_CXX \
80670 file_list_spec_CXX \
80671 compiler_lib_search_dirs_CXX \
80672 predep_objects_CXX \
80673 postdep_objects_CXX \
80674 predeps_CXX \
80675 postdeps_CXX \
80676 compiler_lib_search_path_CXX; do
80677 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80678 *[\\\\\\\`\\"\\\$]*)
80679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80684 esac
80685 done
80687 # Double-quote double-evaled strings.
80688 for var in reload_cmds \
80689 old_postinstall_cmds \
80690 old_postuninstall_cmds \
80691 old_archive_cmds \
80692 extract_expsyms_cmds \
80693 old_archive_from_new_cmds \
80694 old_archive_from_expsyms_cmds \
80695 archive_cmds \
80696 archive_expsym_cmds \
80697 module_cmds \
80698 module_expsym_cmds \
80699 export_symbols_cmds \
80700 prelink_cmds \
80701 postinstall_cmds \
80702 postuninstall_cmds \
80703 finish_cmds \
80704 sys_lib_search_path_spec \
80705 sys_lib_dlsearch_path_spec \
80706 reload_cmds_CXX \
80707 old_archive_cmds_CXX \
80708 old_archive_from_new_cmds_CXX \
80709 old_archive_from_expsyms_cmds_CXX \
80710 archive_cmds_CXX \
80711 archive_expsym_cmds_CXX \
80712 module_cmds_CXX \
80713 module_expsym_cmds_CXX \
80714 export_symbols_cmds_CXX \
80715 prelink_cmds_CXX; do
80716 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80717 *[\\\\\\\`\\"\\\$]*)
80718 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80721 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80723 esac
80724 done
80726 ac_aux_dir='$ac_aux_dir'
80727 xsi_shell='$xsi_shell'
80728 lt_shell_append='$lt_shell_append'
80730 # See if we are running on zsh, and set the options which allow our
80731 # commands through without removal of \ escapes INIT.
80732 if test -n "\${ZSH_VERSION+set}" ; then
80733 setopt NO_GLOB_SUBST
80737 PACKAGE='$PACKAGE'
80738 VERSION='$VERSION'
80739 TIMESTAMP='$TIMESTAMP'
80740 RM='$RM'
80741 ofile='$ofile'
80748 GCC="$GCC"
80749 CC="$CC"
80750 acx_cv_header_stdint="$acx_cv_header_stdint"
80751 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80752 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80753 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80754 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80755 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80756 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80757 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80758 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80759 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80760 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80761 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80762 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80763 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80766 _ACEOF
80768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80770 # Handling of arguments.
80771 for ac_config_target in $ac_config_targets
80773 case $ac_config_target in
80774 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80775 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80776 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80777 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80778 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80779 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80780 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80781 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80782 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80783 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80784 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80785 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80786 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80787 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80788 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80789 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80790 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80791 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80793 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80794 esac
80795 done
80798 # If the user did not use the arguments to specify the items to instantiate,
80799 # then the envvar interface is used. Set only those that are not.
80800 # We use the long form for the default assignment because of an extremely
80801 # bizarre bug on SunOS 4.1.3.
80802 if $ac_need_defaults; then
80803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80808 # Have a temporary directory for convenience. Make it in the build tree
80809 # simply because there is no reason against having it here, and in addition,
80810 # creating and moving files from /tmp can sometimes cause problems.
80811 # Hook for its removal unless debugging.
80812 # Note that there is a small window in which the directory will not be cleaned:
80813 # after its creation but before its name has been assigned to `$tmp'.
80814 $debug ||
80816 tmp=
80817 trap 'exit_status=$?
80818 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80820 trap 'as_fn_exit 1' 1 2 13 15
80822 # Create a (secure) tmp directory for tmp files.
80825 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80826 test -n "$tmp" && test -d "$tmp"
80827 } ||
80829 tmp=./conf$$-$RANDOM
80830 (umask 077 && mkdir "$tmp")
80831 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80833 # Set up the scripts for CONFIG_FILES section.
80834 # No need to generate them if there are no CONFIG_FILES.
80835 # This happens for instance with `./config.status config.h'.
80836 if test -n "$CONFIG_FILES"; then
80839 ac_cr=`echo X | tr X '\015'`
80840 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80841 # But we know of no other shell where ac_cr would be empty at this
80842 # point, so we can use a bashism as a fallback.
80843 if test "x$ac_cr" = x; then
80844 eval ac_cr=\$\'\\r\'
80846 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80847 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80848 ac_cs_awk_cr='\r'
80849 else
80850 ac_cs_awk_cr=$ac_cr
80853 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80854 _ACEOF
80858 echo "cat >conf$$subs.awk <<_ACEOF" &&
80859 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80860 echo "_ACEOF"
80861 } >conf$$subs.sh ||
80862 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80863 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80864 ac_delim='%!_!# '
80865 for ac_last_try in false false false false false :; do
80866 . ./conf$$subs.sh ||
80867 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80869 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80870 if test $ac_delim_n = $ac_delim_num; then
80871 break
80872 elif $ac_last_try; then
80873 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80874 else
80875 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80877 done
80878 rm -f conf$$subs.sh
80880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80881 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80882 _ACEOF
80883 sed -n '
80885 s/^/S["/; s/!.*/"]=/
80888 s/^[^!]*!//
80889 :repl
80890 t repl
80891 s/'"$ac_delim"'$//
80892 t delim
80895 s/\(.\{148\}\).*/\1/
80896 t more1
80897 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80900 b repl
80901 :more1
80902 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80905 s/.\{148\}//
80906 t nl
80907 :delim
80909 s/\(.\{148\}\).*/\1/
80910 t more2
80911 s/["\\]/\\&/g; s/^/"/; s/$/"/
80914 :more2
80915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80918 s/.\{148\}//
80919 t delim
80920 ' <conf$$subs.awk | sed '
80921 /^[^""]/{
80923 s/\n//
80925 ' >>$CONFIG_STATUS || ac_write_fail=1
80926 rm -f conf$$subs.awk
80927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80928 _ACAWK
80929 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80930 for (key in S) S_is_set[key] = 1
80931 FS = "\a"
80935 line = $ 0
80936 nfields = split(line, field, "@")
80937 substed = 0
80938 len = length(field[1])
80939 for (i = 2; i < nfields; i++) {
80940 key = field[i]
80941 keylen = length(key)
80942 if (S_is_set[key]) {
80943 value = S[key]
80944 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80945 len += length(value) + length(field[++i])
80946 substed = 1
80947 } else
80948 len += 1 + keylen
80951 print line
80954 _ACAWK
80955 _ACEOF
80956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80957 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80958 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80959 else
80961 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80962 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80963 _ACEOF
80965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80967 # trailing colons and then remove the whole line if VPATH becomes empty
80968 # (actually we leave an empty line to preserve line numbers).
80969 if test "x$srcdir" = x.; then
80970 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80971 s/:*\$(srcdir):*/:/
80972 s/:*\${srcdir}:*/:/
80973 s/:*@srcdir@:*/:/
80974 s/^\([^=]*=[ ]*\):*/\1/
80975 s/:*$//
80976 s/^[^=]*=[ ]*$//
80980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80981 fi # test -n "$CONFIG_FILES"
80983 # Set up the scripts for CONFIG_HEADERS section.
80984 # No need to generate them if there are no CONFIG_HEADERS.
80985 # This happens for instance with `./config.status Makefile'.
80986 if test -n "$CONFIG_HEADERS"; then
80987 cat >"$tmp/defines.awk" <<\_ACAWK ||
80988 BEGIN {
80989 _ACEOF
80991 # Transform confdefs.h into an awk script `defines.awk', embedded as
80992 # here-document in config.status, that substitutes the proper values into
80993 # config.h.in to produce config.h.
80995 # Create a delimiter string that does not exist in confdefs.h, to ease
80996 # handling of long lines.
80997 ac_delim='%!_!# '
80998 for ac_last_try in false false :; do
80999 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81000 if test -z "$ac_t"; then
81001 break
81002 elif $ac_last_try; then
81003 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81004 else
81005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81007 done
81009 # For the awk script, D is an array of macro values keyed by name,
81010 # likewise P contains macro parameters if any. Preserve backslash
81011 # newline sequences.
81013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81014 sed -n '
81015 s/.\{148\}/&'"$ac_delim"'/g
81016 t rset
81017 :rset
81018 s/^[ ]*#[ ]*define[ ][ ]*/ /
81019 t def
81021 :def
81022 s/\\$//
81023 t bsnl
81024 s/["\\]/\\&/g
81025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81026 D["\1"]=" \3"/p
81027 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81029 :bsnl
81030 s/["\\]/\\&/g
81031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81032 D["\1"]=" \3\\\\\\n"\\/p
81033 t cont
81034 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81035 t cont
81037 :cont
81039 s/.\{148\}/&'"$ac_delim"'/g
81040 t clear
81041 :clear
81042 s/\\$//
81043 t bsnlc
81044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81046 :bsnlc
81047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81048 b cont
81049 ' <confdefs.h | sed '
81050 s/'"$ac_delim"'/"\\\
81051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81054 for (key in D) D_is_set[key] = 1
81055 FS = "\a"
81057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81058 line = \$ 0
81059 split(line, arg, " ")
81060 if (arg[1] == "#") {
81061 defundef = arg[2]
81062 mac1 = arg[3]
81063 } else {
81064 defundef = substr(arg[1], 2)
81065 mac1 = arg[2]
81067 split(mac1, mac2, "(") #)
81068 macro = mac2[1]
81069 prefix = substr(line, 1, index(line, defundef) - 1)
81070 if (D_is_set[macro]) {
81071 # Preserve the white space surrounding the "#".
81072 print prefix "define", macro P[macro] D[macro]
81073 next
81074 } else {
81075 # Replace #undef with comments. This is necessary, for example,
81076 # in the case of _POSIX_SOURCE, which is predefined and required
81077 # on some systems where configure will not decide to define it.
81078 if (defundef == "undef") {
81079 print "/*", prefix defundef, macro, "*/"
81080 next
81084 { print }
81085 _ACAWK
81086 _ACEOF
81087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81088 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81089 fi # test -n "$CONFIG_HEADERS"
81092 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81093 shift
81094 for ac_tag
81096 case $ac_tag in
81097 :[FHLC]) ac_mode=$ac_tag; continue;;
81098 esac
81099 case $ac_mode$ac_tag in
81100 :[FHL]*:*);;
81101 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81102 :[FH]-) ac_tag=-:-;;
81103 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81104 esac
81105 ac_save_IFS=$IFS
81106 IFS=:
81107 set x $ac_tag
81108 IFS=$ac_save_IFS
81109 shift
81110 ac_file=$1
81111 shift
81113 case $ac_mode in
81114 :L) ac_source=$1;;
81115 :[FH])
81116 ac_file_inputs=
81117 for ac_f
81119 case $ac_f in
81120 -) ac_f="$tmp/stdin";;
81121 *) # Look for the file first in the build tree, then in the source tree
81122 # (if the path is not absolute). The absolute path cannot be DOS-style,
81123 # because $ac_f cannot contain `:'.
81124 test -f "$ac_f" ||
81125 case $ac_f in
81126 [\\/$]*) false;;
81127 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81128 esac ||
81129 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81130 esac
81131 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81132 as_fn_append ac_file_inputs " '$ac_f'"
81133 done
81135 # Let's still pretend it is `configure' which instantiates (i.e., don't
81136 # use $as_me), people would be surprised to read:
81137 # /* config.h. Generated by config.status. */
81138 configure_input='Generated from '`
81139 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81140 `' by configure.'
81141 if test x"$ac_file" != x-; then
81142 configure_input="$ac_file. $configure_input"
81143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81144 $as_echo "$as_me: creating $ac_file" >&6;}
81146 # Neutralize special characters interpreted by sed in replacement strings.
81147 case $configure_input in #(
81148 *\&* | *\|* | *\\* )
81149 ac_sed_conf_input=`$as_echo "$configure_input" |
81150 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81151 *) ac_sed_conf_input=$configure_input;;
81152 esac
81154 case $ac_tag in
81155 *:-:* | *:-) cat >"$tmp/stdin" \
81156 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81157 esac
81159 esac
81161 ac_dir=`$as_dirname -- "$ac_file" ||
81162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81163 X"$ac_file" : 'X\(//\)[^/]' \| \
81164 X"$ac_file" : 'X\(//\)$' \| \
81165 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81166 $as_echo X"$ac_file" |
81167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81168 s//\1/
81171 /^X\(\/\/\)[^/].*/{
81172 s//\1/
81175 /^X\(\/\/\)$/{
81176 s//\1/
81179 /^X\(\/\).*/{
81180 s//\1/
81183 s/.*/./; q'`
81184 as_dir="$ac_dir"; as_fn_mkdir_p
81185 ac_builddir=.
81187 case "$ac_dir" in
81188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81190 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81191 # A ".." for each directory in $ac_dir_suffix.
81192 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81193 case $ac_top_builddir_sub in
81194 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81195 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81196 esac ;;
81197 esac
81198 ac_abs_top_builddir=$ac_pwd
81199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81200 # for backward compatibility:
81201 ac_top_builddir=$ac_top_build_prefix
81203 case $srcdir in
81204 .) # We are building in place.
81205 ac_srcdir=.
81206 ac_top_srcdir=$ac_top_builddir_sub
81207 ac_abs_top_srcdir=$ac_pwd ;;
81208 [\\/]* | ?:[\\/]* ) # Absolute name.
81209 ac_srcdir=$srcdir$ac_dir_suffix;
81210 ac_top_srcdir=$srcdir
81211 ac_abs_top_srcdir=$srcdir ;;
81212 *) # Relative name.
81213 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81214 ac_top_srcdir=$ac_top_build_prefix$srcdir
81215 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81216 esac
81217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81220 case $ac_mode in
81223 # CONFIG_FILE
81226 case $INSTALL in
81227 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81228 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81229 esac
81230 ac_MKDIR_P=$MKDIR_P
81231 case $MKDIR_P in
81232 [\\/$]* | ?:[\\/]* ) ;;
81233 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81234 esac
81235 _ACEOF
81237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81238 # If the template does not know about datarootdir, expand it.
81239 # FIXME: This hack should be removed a few years after 2.60.
81240 ac_datarootdir_hack=; ac_datarootdir_seen=
81241 ac_sed_dataroot='
81242 /datarootdir/ {
81246 /@datadir@/p
81247 /@docdir@/p
81248 /@infodir@/p
81249 /@localedir@/p
81250 /@mandir@/p'
81251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81252 *datarootdir*) ac_datarootdir_seen=yes;;
81253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81255 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81256 _ACEOF
81257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81258 ac_datarootdir_hack='
81259 s&@datadir@&$datadir&g
81260 s&@docdir@&$docdir&g
81261 s&@infodir@&$infodir&g
81262 s&@localedir@&$localedir&g
81263 s&@mandir@&$mandir&g
81264 s&\\\${datarootdir}&$datarootdir&g' ;;
81265 esac
81266 _ACEOF
81268 # Neutralize VPATH when `$srcdir' = `.'.
81269 # Shell code in configure.ac might set extrasub.
81270 # FIXME: do we really want to maintain this feature?
81271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81272 ac_sed_extra="$ac_vpsub
81273 $extrasub
81274 _ACEOF
81275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81278 s|@configure_input@|$ac_sed_conf_input|;t t
81279 s&@top_builddir@&$ac_top_builddir_sub&;t t
81280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81281 s&@srcdir@&$ac_srcdir&;t t
81282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81283 s&@top_srcdir@&$ac_top_srcdir&;t t
81284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81285 s&@builddir@&$ac_builddir&;t t
81286 s&@abs_builddir@&$ac_abs_builddir&;t t
81287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81288 s&@INSTALL@&$ac_INSTALL&;t t
81289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81290 $ac_datarootdir_hack
81292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81293 || as_fn_error "could not create $ac_file" "$LINENO" 5
81295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81296 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81297 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81299 which seems to be undefined. Please make sure it is defined." >&5
81300 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81301 which seems to be undefined. Please make sure it is defined." >&2;}
81303 rm -f "$tmp/stdin"
81304 case $ac_file in
81305 -) cat "$tmp/out" && rm -f "$tmp/out";;
81306 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81307 esac \
81308 || as_fn_error "could not create $ac_file" "$LINENO" 5
81312 # CONFIG_HEADER
81314 if test x"$ac_file" != x-; then
81316 $as_echo "/* $configure_input */" \
81317 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81318 } >"$tmp/config.h" \
81319 || as_fn_error "could not create $ac_file" "$LINENO" 5
81320 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81321 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81322 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81323 else
81324 rm -f "$ac_file"
81325 mv "$tmp/config.h" "$ac_file" \
81326 || as_fn_error "could not create $ac_file" "$LINENO" 5
81328 else
81329 $as_echo "/* $configure_input */" \
81330 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81331 || as_fn_error "could not create -" "$LINENO" 5
81333 # Compute "$ac_file"'s index in $config_headers.
81334 _am_arg="$ac_file"
81335 _am_stamp_count=1
81336 for _am_header in $config_headers :; do
81337 case $_am_header in
81338 $_am_arg | $_am_arg:* )
81339 break ;;
81341 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81342 esac
81343 done
81344 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81345 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81346 X"$_am_arg" : 'X\(//\)[^/]' \| \
81347 X"$_am_arg" : 'X\(//\)$' \| \
81348 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81349 $as_echo X"$_am_arg" |
81350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81351 s//\1/
81354 /^X\(\/\/\)[^/].*/{
81355 s//\1/
81358 /^X\(\/\/\)$/{
81359 s//\1/
81362 /^X\(\/\).*/{
81363 s//\1/
81366 s/.*/./; q'`/stamp-h$_am_stamp_count
81369 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81370 $as_echo "$as_me: executing $ac_file commands" >&6;}
81372 esac
81375 case $ac_file$ac_mode in
81376 "default-1":C)
81377 # Only add multilib support code if we just rebuilt the top-level
81378 # Makefile.
81379 case " $CONFIG_FILES " in
81380 *" Makefile "*)
81381 ac_file=Makefile . ${multi_basedir}/config-ml.in
81383 esac ;;
81384 "libtool":C)
81386 # See if we are running on zsh, and set the options which allow our
81387 # commands through without removal of \ escapes.
81388 if test -n "${ZSH_VERSION+set}" ; then
81389 setopt NO_GLOB_SUBST
81392 cfgfile="${ofile}T"
81393 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81394 $RM "$cfgfile"
81396 cat <<_LT_EOF >> "$cfgfile"
81397 #! $SHELL
81399 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81400 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81401 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81402 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81404 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81405 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81406 # Written by Gordon Matzigkeit, 1996
81408 # This file is part of GNU Libtool.
81410 # GNU Libtool is free software; you can redistribute it and/or
81411 # modify it under the terms of the GNU General Public License as
81412 # published by the Free Software Foundation; either version 2 of
81413 # the License, or (at your option) any later version.
81415 # As a special exception to the GNU General Public License,
81416 # if you distribute this file as part of a program or library that
81417 # is built using GNU Libtool, you may include this file under the
81418 # same distribution terms that you use for the rest of that program.
81420 # GNU Libtool is distributed in the hope that it will be useful,
81421 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81422 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81423 # GNU General Public License for more details.
81425 # You should have received a copy of the GNU General Public License
81426 # along with GNU Libtool; see the file COPYING. If not, a copy
81427 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81428 # obtained by writing to the Free Software Foundation, Inc.,
81429 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81432 # The names of the tagged configurations supported by this script.
81433 available_tags="CXX "
81435 # ### BEGIN LIBTOOL CONFIG
81437 # Which release of libtool.m4 was used?
81438 macro_version=$macro_version
81439 macro_revision=$macro_revision
81441 # Whether or not to build shared libraries.
81442 build_libtool_libs=$enable_shared
81444 # Whether or not to build static libraries.
81445 build_old_libs=$enable_static
81447 # What type of objects to build.
81448 pic_mode=$pic_mode
81450 # Whether or not to optimize for fast installation.
81451 fast_install=$enable_fast_install
81453 # Shell to use when invoking shell scripts.
81454 SHELL=$lt_SHELL
81456 # An echo program that protects backslashes.
81457 ECHO=$lt_ECHO
81459 # The host system.
81460 host_alias=$host_alias
81461 host=$host
81462 host_os=$host_os
81464 # The build system.
81465 build_alias=$build_alias
81466 build=$build
81467 build_os=$build_os
81469 # A sed program that does not truncate output.
81470 SED=$lt_SED
81472 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81473 Xsed="\$SED -e 1s/^X//"
81475 # A grep program that handles long lines.
81476 GREP=$lt_GREP
81478 # An ERE matcher.
81479 EGREP=$lt_EGREP
81481 # A literal string matcher.
81482 FGREP=$lt_FGREP
81484 # A BSD- or MS-compatible name lister.
81485 NM=$lt_NM
81487 # Whether we need soft or hard links.
81488 LN_S=$lt_LN_S
81490 # What is the maximum length of a command?
81491 max_cmd_len=$max_cmd_len
81493 # Object file suffix (normally "o").
81494 objext=$ac_objext
81496 # Executable file suffix (normally "").
81497 exeext=$exeext
81499 # whether the shell understands "unset".
81500 lt_unset=$lt_unset
81502 # turn spaces into newlines.
81503 SP2NL=$lt_lt_SP2NL
81505 # turn newlines into spaces.
81506 NL2SP=$lt_lt_NL2SP
81508 # An object symbol dumper.
81509 OBJDUMP=$lt_OBJDUMP
81511 # Method to check whether dependent libraries are shared objects.
81512 deplibs_check_method=$lt_deplibs_check_method
81514 # Command to use when deplibs_check_method == "file_magic".
81515 file_magic_cmd=$lt_file_magic_cmd
81517 # The archiver.
81518 AR=$lt_AR
81519 AR_FLAGS=$lt_AR_FLAGS
81521 # A symbol stripping program.
81522 STRIP=$lt_STRIP
81524 # Commands used to install an old-style archive.
81525 RANLIB=$lt_RANLIB
81526 old_postinstall_cmds=$lt_old_postinstall_cmds
81527 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81529 # Whether to use a lock for old archive extraction.
81530 lock_old_archive_extraction=$lock_old_archive_extraction
81532 # A C compiler.
81533 LTCC=$lt_CC
81535 # LTCC compiler flags.
81536 LTCFLAGS=$lt_CFLAGS
81538 # Take the output of nm and produce a listing of raw symbols and C names.
81539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81541 # Transform the output of nm in a proper C declaration.
81542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81544 # Transform the output of nm in a C name address pair.
81545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81547 # Transform the output of nm in a C name address pair when lib prefix is needed.
81548 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81550 # The name of the directory that contains temporary libtool files.
81551 objdir=$objdir
81553 # Used to examine libraries when file_magic_cmd begins with "file".
81554 MAGIC_CMD=$MAGIC_CMD
81556 # Must we lock files when doing compilation?
81557 need_locks=$lt_need_locks
81559 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81560 DSYMUTIL=$lt_DSYMUTIL
81562 # Tool to change global to local symbols on Mac OS X.
81563 NMEDIT=$lt_NMEDIT
81565 # Tool to manipulate fat objects and archives on Mac OS X.
81566 LIPO=$lt_LIPO
81568 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81569 OTOOL=$lt_OTOOL
81571 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81572 OTOOL64=$lt_OTOOL64
81574 # Old archive suffix (normally "a").
81575 libext=$libext
81577 # Shared library suffix (normally ".so").
81578 shrext_cmds=$lt_shrext_cmds
81580 # The commands to extract the exported symbol list from a shared archive.
81581 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81583 # Variables whose values should be saved in libtool wrapper scripts and
81584 # restored at link time.
81585 variables_saved_for_relink=$lt_variables_saved_for_relink
81587 # Do we need the "lib" prefix for modules?
81588 need_lib_prefix=$need_lib_prefix
81590 # Do we need a version for libraries?
81591 need_version=$need_version
81593 # Library versioning type.
81594 version_type=$version_type
81596 # Shared library runtime path variable.
81597 runpath_var=$runpath_var
81599 # Shared library path variable.
81600 shlibpath_var=$shlibpath_var
81602 # Is shlibpath searched before the hard-coded library search path?
81603 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81605 # Format of library name prefix.
81606 libname_spec=$lt_libname_spec
81608 # List of archive names. First name is the real one, the rest are links.
81609 # The last name is the one that the linker finds with -lNAME
81610 library_names_spec=$lt_library_names_spec
81612 # The coded name of the library, if different from the real name.
81613 soname_spec=$lt_soname_spec
81615 # Permission mode override for installation of shared libraries.
81616 install_override_mode=$lt_install_override_mode
81618 # Command to use after installation of a shared archive.
81619 postinstall_cmds=$lt_postinstall_cmds
81621 # Command to use after uninstallation of a shared archive.
81622 postuninstall_cmds=$lt_postuninstall_cmds
81624 # Commands used to finish a libtool library installation in a directory.
81625 finish_cmds=$lt_finish_cmds
81627 # As "finish_cmds", except a single script fragment to be evaled but
81628 # not shown.
81629 finish_eval=$lt_finish_eval
81631 # Whether we should hardcode library paths into libraries.
81632 hardcode_into_libs=$hardcode_into_libs
81634 # Compile-time system search path for libraries.
81635 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81637 # Run-time system search path for libraries.
81638 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81640 # Whether dlopen is supported.
81641 dlopen_support=$enable_dlopen
81643 # Whether dlopen of programs is supported.
81644 dlopen_self=$enable_dlopen_self
81646 # Whether dlopen of statically linked programs is supported.
81647 dlopen_self_static=$enable_dlopen_self_static
81649 # Commands to strip libraries.
81650 old_striplib=$lt_old_striplib
81651 striplib=$lt_striplib
81654 # The linker used to build libraries.
81655 LD=$lt_LD
81657 # How to create reloadable object files.
81658 reload_flag=$lt_reload_flag
81659 reload_cmds=$lt_reload_cmds
81661 # Commands used to build an old-style archive.
81662 old_archive_cmds=$lt_old_archive_cmds
81664 # A language specific compiler.
81665 CC=$lt_compiler
81667 # Is the compiler the GNU compiler?
81668 with_gcc=$GCC
81670 # Compiler flag to turn off builtin functions.
81671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81673 # How to pass a linker flag through the compiler.
81674 wl=$lt_lt_prog_compiler_wl
81676 # Additional compiler flags for building library objects.
81677 pic_flag=$lt_lt_prog_compiler_pic
81679 # Compiler flag to prevent dynamic linking.
81680 link_static_flag=$lt_lt_prog_compiler_static
81682 # Does compiler simultaneously support -c and -o options?
81683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81685 # Whether or not to add -lc for building shared libraries.
81686 build_libtool_need_lc=$archive_cmds_need_lc
81688 # Whether or not to disallow shared libs when runtime libs are static.
81689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81691 # Compiler flag to allow reflexive dlopens.
81692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81694 # Compiler flag to generate shared objects directly from archives.
81695 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81697 # Whether the compiler copes with passing no objects directly.
81698 compiler_needs_object=$lt_compiler_needs_object
81700 # Create an old-style archive from a shared archive.
81701 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81703 # Create a temporary old-style archive to link instead of a shared archive.
81704 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81706 # Commands used to build a shared archive.
81707 archive_cmds=$lt_archive_cmds
81708 archive_expsym_cmds=$lt_archive_expsym_cmds
81710 # Commands used to build a loadable module if different from building
81711 # a shared archive.
81712 module_cmds=$lt_module_cmds
81713 module_expsym_cmds=$lt_module_expsym_cmds
81715 # Whether we are building with GNU ld or not.
81716 with_gnu_ld=$lt_with_gnu_ld
81718 # Flag that allows shared libraries with undefined symbols to be built.
81719 allow_undefined_flag=$lt_allow_undefined_flag
81721 # Flag that enforces no undefined symbols.
81722 no_undefined_flag=$lt_no_undefined_flag
81724 # Flag to hardcode \$libdir into a binary during linking.
81725 # This must work even if \$libdir does not exist
81726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81728 # If ld is used when linking, flag to hardcode \$libdir into a binary
81729 # during linking. This must work even if \$libdir does not exist.
81730 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81732 # Whether we need a single "-rpath" flag with a separated argument.
81733 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81735 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81736 # DIR into the resulting binary.
81737 hardcode_direct=$hardcode_direct
81739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81740 # DIR into the resulting binary and the resulting library dependency is
81741 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81742 # library is relocated.
81743 hardcode_direct_absolute=$hardcode_direct_absolute
81745 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81746 # into the resulting binary.
81747 hardcode_minus_L=$hardcode_minus_L
81749 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81750 # into the resulting binary.
81751 hardcode_shlibpath_var=$hardcode_shlibpath_var
81753 # Set to "yes" if building a shared library automatically hardcodes DIR
81754 # into the library and all subsequent libraries and executables linked
81755 # against it.
81756 hardcode_automatic=$hardcode_automatic
81758 # Set to yes if linker adds runtime paths of dependent libraries
81759 # to runtime path list.
81760 inherit_rpath=$inherit_rpath
81762 # Whether libtool must link a program against all its dependency libraries.
81763 link_all_deplibs=$link_all_deplibs
81765 # Fix the shell variable \$srcfile for the compiler.
81766 fix_srcfile_path=$lt_fix_srcfile_path
81768 # Set to "yes" if exported symbols are required.
81769 always_export_symbols=$always_export_symbols
81771 # The commands to list exported symbols.
81772 export_symbols_cmds=$lt_export_symbols_cmds
81774 # Symbols that should not be listed in the preloaded symbols.
81775 exclude_expsyms=$lt_exclude_expsyms
81777 # Symbols that must always be exported.
81778 include_expsyms=$lt_include_expsyms
81780 # Commands necessary for linking programs (against libraries) with templates.
81781 prelink_cmds=$lt_prelink_cmds
81783 # Specify filename containing input files.
81784 file_list_spec=$lt_file_list_spec
81786 # How to hardcode a shared library path into an executable.
81787 hardcode_action=$hardcode_action
81789 # The directories searched by this compiler when creating a shared library.
81790 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81792 # Dependencies to place before and after the objects being linked to
81793 # create a shared library.
81794 predep_objects=$lt_predep_objects
81795 postdep_objects=$lt_postdep_objects
81796 predeps=$lt_predeps
81797 postdeps=$lt_postdeps
81799 # The library search path used internally by the compiler when linking
81800 # a shared library.
81801 compiler_lib_search_path=$lt_compiler_lib_search_path
81803 # ### END LIBTOOL CONFIG
81805 _LT_EOF
81807 case $host_os in
81808 aix3*)
81809 cat <<\_LT_EOF >> "$cfgfile"
81810 # AIX sometimes has problems with the GCC collect2 program. For some
81811 # reason, if we set the COLLECT_NAMES environment variable, the problems
81812 # vanish in a puff of smoke.
81813 if test "X${COLLECT_NAMES+set}" != Xset; then
81814 COLLECT_NAMES=
81815 export COLLECT_NAMES
81817 _LT_EOF
81819 esac
81822 ltmain="$ac_aux_dir/ltmain.sh"
81825 # We use sed instead of cat because bash on DJGPP gets confused if
81826 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81827 # text mode, it properly converts lines to CR/LF. This bash problem
81828 # is reportedly fixed, but why not run on old versions too?
81829 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81830 || (rm -f "$cfgfile"; exit 1)
81832 case $xsi_shell in
81833 yes)
81834 cat << \_LT_EOF >> "$cfgfile"
81836 # func_dirname file append nondir_replacement
81837 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81838 # otherwise set result to NONDIR_REPLACEMENT.
81839 func_dirname ()
81841 case ${1} in
81842 */*) func_dirname_result="${1%/*}${2}" ;;
81843 * ) func_dirname_result="${3}" ;;
81844 esac
81847 # func_basename file
81848 func_basename ()
81850 func_basename_result="${1##*/}"
81853 # func_dirname_and_basename file append nondir_replacement
81854 # perform func_basename and func_dirname in a single function
81855 # call:
81856 # dirname: Compute the dirname of FILE. If nonempty,
81857 # add APPEND to the result, otherwise set result
81858 # to NONDIR_REPLACEMENT.
81859 # value returned in "$func_dirname_result"
81860 # basename: Compute filename of FILE.
81861 # value retuned in "$func_basename_result"
81862 # Implementation must be kept synchronized with func_dirname
81863 # and func_basename. For efficiency, we do not delegate to
81864 # those functions but instead duplicate the functionality here.
81865 func_dirname_and_basename ()
81867 case ${1} in
81868 */*) func_dirname_result="${1%/*}${2}" ;;
81869 * ) func_dirname_result="${3}" ;;
81870 esac
81871 func_basename_result="${1##*/}"
81874 # func_stripname prefix suffix name
81875 # strip PREFIX and SUFFIX off of NAME.
81876 # PREFIX and SUFFIX must not contain globbing or regex special
81877 # characters, hashes, percent signs, but SUFFIX may contain a leading
81878 # dot (in which case that matches only a dot).
81879 func_stripname ()
81881 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81882 # positional parameters, so assign one to ordinary parameter first.
81883 func_stripname_result=${3}
81884 func_stripname_result=${func_stripname_result#"${1}"}
81885 func_stripname_result=${func_stripname_result%"${2}"}
81888 # func_opt_split
81889 func_opt_split ()
81891 func_opt_split_opt=${1%%=*}
81892 func_opt_split_arg=${1#*=}
81895 # func_lo2o object
81896 func_lo2o ()
81898 case ${1} in
81899 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81900 *) func_lo2o_result=${1} ;;
81901 esac
81904 # func_xform libobj-or-source
81905 func_xform ()
81907 func_xform_result=${1%.*}.lo
81910 # func_arith arithmetic-term...
81911 func_arith ()
81913 func_arith_result=$(( $* ))
81916 # func_len string
81917 # STRING may not start with a hyphen.
81918 func_len ()
81920 func_len_result=${#1}
81923 _LT_EOF
81925 *) # Bourne compatible functions.
81926 cat << \_LT_EOF >> "$cfgfile"
81928 # func_dirname file append nondir_replacement
81929 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81930 # otherwise set result to NONDIR_REPLACEMENT.
81931 func_dirname ()
81933 # Extract subdirectory from the argument.
81934 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81935 if test "X$func_dirname_result" = "X${1}"; then
81936 func_dirname_result="${3}"
81937 else
81938 func_dirname_result="$func_dirname_result${2}"
81942 # func_basename file
81943 func_basename ()
81945 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81949 # func_stripname prefix suffix name
81950 # strip PREFIX and SUFFIX off of NAME.
81951 # PREFIX and SUFFIX must not contain globbing or regex special
81952 # characters, hashes, percent signs, but SUFFIX may contain a leading
81953 # dot (in which case that matches only a dot).
81954 # func_strip_suffix prefix name
81955 func_stripname ()
81957 case ${2} in
81958 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81959 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81960 esac
81963 # sed scripts:
81964 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81965 my_sed_long_arg='1s/^-[^=]*=//'
81967 # func_opt_split
81968 func_opt_split ()
81970 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81971 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81974 # func_lo2o object
81975 func_lo2o ()
81977 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81980 # func_xform libobj-or-source
81981 func_xform ()
81983 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81986 # func_arith arithmetic-term...
81987 func_arith ()
81989 func_arith_result=`expr "$@"`
81992 # func_len string
81993 # STRING may not start with a hyphen.
81994 func_len ()
81996 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81999 _LT_EOF
82000 esac
82002 case $lt_shell_append in
82003 yes)
82004 cat << \_LT_EOF >> "$cfgfile"
82006 # func_append var value
82007 # Append VALUE to the end of shell variable VAR.
82008 func_append ()
82010 eval "$1+=\$2"
82012 _LT_EOF
82015 cat << \_LT_EOF >> "$cfgfile"
82017 # func_append var value
82018 # Append VALUE to the end of shell variable VAR.
82019 func_append ()
82021 eval "$1=\$$1\$2"
82024 _LT_EOF
82026 esac
82029 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82030 || (rm -f "$cfgfile"; exit 1)
82032 mv -f "$cfgfile" "$ofile" ||
82033 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82034 chmod +x "$ofile"
82037 cat <<_LT_EOF >> "$ofile"
82039 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82041 # The linker used to build libraries.
82042 LD=$lt_LD_CXX
82044 # How to create reloadable object files.
82045 reload_flag=$lt_reload_flag_CXX
82046 reload_cmds=$lt_reload_cmds_CXX
82048 # Commands used to build an old-style archive.
82049 old_archive_cmds=$lt_old_archive_cmds_CXX
82051 # A language specific compiler.
82052 CC=$lt_compiler_CXX
82054 # Is the compiler the GNU compiler?
82055 with_gcc=$GCC_CXX
82057 # Compiler flag to turn off builtin functions.
82058 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82060 # How to pass a linker flag through the compiler.
82061 wl=$lt_lt_prog_compiler_wl_CXX
82063 # Additional compiler flags for building library objects.
82064 pic_flag=$lt_lt_prog_compiler_pic_CXX
82066 # Compiler flag to prevent dynamic linking.
82067 link_static_flag=$lt_lt_prog_compiler_static_CXX
82069 # Does compiler simultaneously support -c and -o options?
82070 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82072 # Whether or not to add -lc for building shared libraries.
82073 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82075 # Whether or not to disallow shared libs when runtime libs are static.
82076 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82078 # Compiler flag to allow reflexive dlopens.
82079 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82081 # Compiler flag to generate shared objects directly from archives.
82082 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82084 # Whether the compiler copes with passing no objects directly.
82085 compiler_needs_object=$lt_compiler_needs_object_CXX
82087 # Create an old-style archive from a shared archive.
82088 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82090 # Create a temporary old-style archive to link instead of a shared archive.
82091 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82093 # Commands used to build a shared archive.
82094 archive_cmds=$lt_archive_cmds_CXX
82095 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82097 # Commands used to build a loadable module if different from building
82098 # a shared archive.
82099 module_cmds=$lt_module_cmds_CXX
82100 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82102 # Whether we are building with GNU ld or not.
82103 with_gnu_ld=$lt_with_gnu_ld_CXX
82105 # Flag that allows shared libraries with undefined symbols to be built.
82106 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82108 # Flag that enforces no undefined symbols.
82109 no_undefined_flag=$lt_no_undefined_flag_CXX
82111 # Flag to hardcode \$libdir into a binary during linking.
82112 # This must work even if \$libdir does not exist
82113 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82115 # If ld is used when linking, flag to hardcode \$libdir into a binary
82116 # during linking. This must work even if \$libdir does not exist.
82117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82119 # Whether we need a single "-rpath" flag with a separated argument.
82120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82122 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82123 # DIR into the resulting binary.
82124 hardcode_direct=$hardcode_direct_CXX
82126 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82127 # DIR into the resulting binary and the resulting library dependency is
82128 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82129 # library is relocated.
82130 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82132 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82133 # into the resulting binary.
82134 hardcode_minus_L=$hardcode_minus_L_CXX
82136 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82137 # into the resulting binary.
82138 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82140 # Set to "yes" if building a shared library automatically hardcodes DIR
82141 # into the library and all subsequent libraries and executables linked
82142 # against it.
82143 hardcode_automatic=$hardcode_automatic_CXX
82145 # Set to yes if linker adds runtime paths of dependent libraries
82146 # to runtime path list.
82147 inherit_rpath=$inherit_rpath_CXX
82149 # Whether libtool must link a program against all its dependency libraries.
82150 link_all_deplibs=$link_all_deplibs_CXX
82152 # Fix the shell variable \$srcfile for the compiler.
82153 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82155 # Set to "yes" if exported symbols are required.
82156 always_export_symbols=$always_export_symbols_CXX
82158 # The commands to list exported symbols.
82159 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82161 # Symbols that should not be listed in the preloaded symbols.
82162 exclude_expsyms=$lt_exclude_expsyms_CXX
82164 # Symbols that must always be exported.
82165 include_expsyms=$lt_include_expsyms_CXX
82167 # Commands necessary for linking programs (against libraries) with templates.
82168 prelink_cmds=$lt_prelink_cmds_CXX
82170 # Specify filename containing input files.
82171 file_list_spec=$lt_file_list_spec_CXX
82173 # How to hardcode a shared library path into an executable.
82174 hardcode_action=$hardcode_action_CXX
82176 # The directories searched by this compiler when creating a shared library.
82177 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82179 # Dependencies to place before and after the objects being linked to
82180 # create a shared library.
82181 predep_objects=$lt_predep_objects_CXX
82182 postdep_objects=$lt_postdep_objects_CXX
82183 predeps=$lt_predeps_CXX
82184 postdeps=$lt_postdeps_CXX
82186 # The library search path used internally by the compiler when linking
82187 # a shared library.
82188 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82190 # ### END LIBTOOL TAG CONFIG: CXX
82191 _LT_EOF
82194 "include/gstdint.h":C)
82195 if test "$GCC" = yes; then
82196 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82197 else
82198 echo "/* generated for $CC */" > tmp-stdint.h
82201 sed 's/^ *//' >> tmp-stdint.h <<EOF
82203 #ifndef GCC_GENERATED_STDINT_H
82204 #define GCC_GENERATED_STDINT_H 1
82206 #include <sys/types.h>
82209 if test "$acx_cv_header_stdint" != stdint.h; then
82210 echo "#include <stddef.h>" >> tmp-stdint.h
82212 if test "$acx_cv_header_stdint" != stddef.h; then
82213 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82216 sed 's/^ *//' >> tmp-stdint.h <<EOF
82217 /* glibc uses these symbols as guards to prevent redefinitions. */
82218 #ifdef __int8_t_defined
82219 #define _INT8_T
82220 #define _INT16_T
82221 #define _INT32_T
82222 #endif
82223 #ifdef __uint32_t_defined
82224 #define _UINT32_T
82225 #endif
82229 # ----------------- done header, emit basic int types -------------
82230 if test "$acx_cv_header_stdint" = stddef.h; then
82231 sed 's/^ *//' >> tmp-stdint.h <<EOF
82233 #ifndef _UINT8_T
82234 #define _UINT8_T
82235 #ifndef __uint8_t_defined
82236 #define __uint8_t_defined
82237 #ifndef uint8_t
82238 typedef unsigned $acx_cv_type_int8_t uint8_t;
82239 #endif
82240 #endif
82241 #endif
82243 #ifndef _UINT16_T
82244 #define _UINT16_T
82245 #ifndef __uint16_t_defined
82246 #define __uint16_t_defined
82247 #ifndef uint16_t
82248 typedef unsigned $acx_cv_type_int16_t uint16_t;
82249 #endif
82250 #endif
82251 #endif
82253 #ifndef _UINT32_T
82254 #define _UINT32_T
82255 #ifndef __uint32_t_defined
82256 #define __uint32_t_defined
82257 #ifndef uint32_t
82258 typedef unsigned $acx_cv_type_int32_t uint32_t;
82259 #endif
82260 #endif
82261 #endif
82263 #ifndef _INT8_T
82264 #define _INT8_T
82265 #ifndef __int8_t_defined
82266 #define __int8_t_defined
82267 #ifndef int8_t
82268 typedef $acx_cv_type_int8_t int8_t;
82269 #endif
82270 #endif
82271 #endif
82273 #ifndef _INT16_T
82274 #define _INT16_T
82275 #ifndef __int16_t_defined
82276 #define __int16_t_defined
82277 #ifndef int16_t
82278 typedef $acx_cv_type_int16_t int16_t;
82279 #endif
82280 #endif
82281 #endif
82283 #ifndef _INT32_T
82284 #define _INT32_T
82285 #ifndef __int32_t_defined
82286 #define __int32_t_defined
82287 #ifndef int32_t
82288 typedef $acx_cv_type_int32_t int32_t;
82289 #endif
82290 #endif
82291 #endif
82293 elif test "$ac_cv_type_u_int32_t" = yes; then
82294 sed 's/^ *//' >> tmp-stdint.h <<EOF
82296 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82297 #ifndef _INT8_T
82298 #define _INT8_T
82299 #endif
82300 #ifndef _INT16_T
82301 #define _INT16_T
82302 #endif
82303 #ifndef _INT32_T
82304 #define _INT32_T
82305 #endif
82307 #ifndef _UINT8_T
82308 #define _UINT8_T
82309 #ifndef __uint8_t_defined
82310 #define __uint8_t_defined
82311 #ifndef uint8_t
82312 typedef u_int8_t uint8_t;
82313 #endif
82314 #endif
82315 #endif
82317 #ifndef _UINT16_T
82318 #define _UINT16_T
82319 #ifndef __uint16_t_defined
82320 #define __uint16_t_defined
82321 #ifndef uint16_t
82322 typedef u_int16_t uint16_t;
82323 #endif
82324 #endif
82325 #endif
82327 #ifndef _UINT32_T
82328 #define _UINT32_T
82329 #ifndef __uint32_t_defined
82330 #define __uint32_t_defined
82331 #ifndef uint32_t
82332 typedef u_int32_t uint32_t;
82333 #endif
82334 #endif
82335 #endif
82337 else
82338 sed 's/^ *//' >> tmp-stdint.h <<EOF
82340 /* Some systems have guard macros to prevent redefinitions, define them. */
82341 #ifndef _INT8_T
82342 #define _INT8_T
82343 #endif
82344 #ifndef _INT16_T
82345 #define _INT16_T
82346 #endif
82347 #ifndef _INT32_T
82348 #define _INT32_T
82349 #endif
82350 #ifndef _UINT8_T
82351 #define _UINT8_T
82352 #endif
82353 #ifndef _UINT16_T
82354 #define _UINT16_T
82355 #endif
82356 #ifndef _UINT32_T
82357 #define _UINT32_T
82358 #endif
82362 # ------------- done basic int types, emit int64_t types ------------
82363 if test "$ac_cv_type_uint64_t" = yes; then
82364 sed 's/^ *//' >> tmp-stdint.h <<EOF
82366 /* system headers have good uint64_t and int64_t */
82367 #ifndef _INT64_T
82368 #define _INT64_T
82369 #endif
82370 #ifndef _UINT64_T
82371 #define _UINT64_T
82372 #endif
82374 elif test "$ac_cv_type_u_int64_t" = yes; then
82375 sed 's/^ *//' >> tmp-stdint.h <<EOF
82377 /* system headers have an u_int64_t (and int64_t) */
82378 #ifndef _INT64_T
82379 #define _INT64_T
82380 #endif
82381 #ifndef _UINT64_T
82382 #define _UINT64_T
82383 #ifndef __uint64_t_defined
82384 #define __uint64_t_defined
82385 #ifndef uint64_t
82386 typedef u_int64_t uint64_t;
82387 #endif
82388 #endif
82389 #endif
82391 elif test -n "$acx_cv_type_int64_t"; then
82392 sed 's/^ *//' >> tmp-stdint.h <<EOF
82394 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82395 #ifndef _INT64_T
82396 #define _INT64_T
82397 #ifndef int64_t
82398 typedef $acx_cv_type_int64_t int64_t;
82399 #endif
82400 #endif
82401 #ifndef _UINT64_T
82402 #define _UINT64_T
82403 #ifndef __uint64_t_defined
82404 #define __uint64_t_defined
82405 #ifndef uint64_t
82406 typedef unsigned $acx_cv_type_int64_t uint64_t;
82407 #endif
82408 #endif
82409 #endif
82411 else
82412 sed 's/^ *//' >> tmp-stdint.h <<EOF
82414 /* some common heuristics for int64_t, using compiler-specific tests */
82415 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82416 #ifndef _INT64_T
82417 #define _INT64_T
82418 #ifndef __int64_t_defined
82419 #ifndef int64_t
82420 typedef long long int64_t;
82421 #endif
82422 #endif
82423 #endif
82424 #ifndef _UINT64_T
82425 #define _UINT64_T
82426 #ifndef uint64_t
82427 typedef unsigned long long uint64_t;
82428 #endif
82429 #endif
82431 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82432 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82433 does not implement __extension__. But that compiler doesn't define
82434 __GNUC_MINOR__. */
82435 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82436 # define __extension__
82437 # endif
82439 # ifndef _INT64_T
82440 # define _INT64_T
82441 # ifndef int64_t
82442 __extension__ typedef long long int64_t;
82443 # endif
82444 # endif
82445 # ifndef _UINT64_T
82446 # define _UINT64_T
82447 # ifndef uint64_t
82448 __extension__ typedef unsigned long long uint64_t;
82449 # endif
82450 # endif
82452 #elif !defined __STRICT_ANSI__
82453 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82455 # ifndef _INT64_T
82456 # define _INT64_T
82457 # ifndef int64_t
82458 typedef __int64 int64_t;
82459 # endif
82460 # endif
82461 # ifndef _UINT64_T
82462 # define _UINT64_T
82463 # ifndef uint64_t
82464 typedef unsigned __int64 uint64_t;
82465 # endif
82466 # endif
82467 # endif /* compiler */
82469 #endif /* ANSI version */
82473 # ------------- done int64_t types, emit intptr types ------------
82474 if test "$ac_cv_type_uintptr_t" != yes; then
82475 sed 's/^ *//' >> tmp-stdint.h <<EOF
82477 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82478 #ifndef __uintptr_t_defined
82479 #ifndef uintptr_t
82480 typedef u$acx_cv_type_intptr_t uintptr_t;
82481 #endif
82482 #endif
82483 #ifndef __intptr_t_defined
82484 #ifndef intptr_t
82485 typedef $acx_cv_type_intptr_t intptr_t;
82486 #endif
82487 #endif
82491 # ------------- done intptr types, emit int_least types ------------
82492 if test "$ac_cv_type_int_least32_t" != yes; then
82493 sed 's/^ *//' >> tmp-stdint.h <<EOF
82495 /* Define int_least types */
82496 typedef int8_t int_least8_t;
82497 typedef int16_t int_least16_t;
82498 typedef int32_t int_least32_t;
82499 #ifdef _INT64_T
82500 typedef int64_t int_least64_t;
82501 #endif
82503 typedef uint8_t uint_least8_t;
82504 typedef uint16_t uint_least16_t;
82505 typedef uint32_t uint_least32_t;
82506 #ifdef _UINT64_T
82507 typedef uint64_t uint_least64_t;
82508 #endif
82512 # ------------- done intptr types, emit int_fast types ------------
82513 if test "$ac_cv_type_int_fast32_t" != yes; then
82514 sed 's/^ *//' >> tmp-stdint.h <<EOF
82516 /* Define int_fast types. short is often slow */
82517 typedef int8_t int_fast8_t;
82518 typedef int int_fast16_t;
82519 typedef int32_t int_fast32_t;
82520 #ifdef _INT64_T
82521 typedef int64_t int_fast64_t;
82522 #endif
82524 typedef uint8_t uint_fast8_t;
82525 typedef unsigned int uint_fast16_t;
82526 typedef uint32_t uint_fast32_t;
82527 #ifdef _UINT64_T
82528 typedef uint64_t uint_fast64_t;
82529 #endif
82533 if test "$ac_cv_type_uintmax_t" != yes; then
82534 sed 's/^ *//' >> tmp-stdint.h <<EOF
82536 /* Define intmax based on what we found */
82537 #ifndef intmax_t
82538 #ifdef _INT64_T
82539 typedef int64_t intmax_t;
82540 #else
82541 typedef long intmax_t;
82542 #endif
82543 #endif
82544 #ifndef uintmax_t
82545 #ifdef _UINT64_T
82546 typedef uint64_t uintmax_t;
82547 #else
82548 typedef unsigned long uintmax_t;
82549 #endif
82550 #endif
82554 sed 's/^ *//' >> tmp-stdint.h <<EOF
82556 #endif /* GCC_GENERATED_STDINT_H */
82559 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82560 rm -f tmp-stdint.h
82561 else
82562 mv -f tmp-stdint.h include/gstdint.h
82566 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82567 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82568 "include/Makefile":F) cat > vpsed$$ << \_EOF
82569 s!`test -f '$<' || echo '$(srcdir)/'`!!
82570 _EOF
82571 sed -f vpsed$$ $ac_file > tmp$$
82572 mv tmp$$ $ac_file
82573 rm vpsed$$
82574 echo 'MULTISUBDIR =' >> $ac_file
82575 ml_norecursion=yes
82576 . ${multi_basedir}/config-ml.in
82577 { ml_norecursion=; unset ml_norecursion;}
82579 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82580 s!`test -f '$<' || echo '$(srcdir)/'`!!
82581 _EOF
82582 sed -f vpsed$$ $ac_file > tmp$$
82583 mv tmp$$ $ac_file
82584 rm vpsed$$
82585 echo 'MULTISUBDIR =' >> $ac_file
82586 ml_norecursion=yes
82587 . ${multi_basedir}/config-ml.in
82588 { ml_norecursion=; unset ml_norecursion;}
82590 "python/Makefile":F) cat > vpsed$$ << \_EOF
82591 s!`test -f '$<' || echo '$(srcdir)/'`!!
82592 _EOF
82593 sed -f vpsed$$ $ac_file > tmp$$
82594 mv tmp$$ $ac_file
82595 rm vpsed$$
82596 echo 'MULTISUBDIR =' >> $ac_file
82597 ml_norecursion=yes
82598 . ${multi_basedir}/config-ml.in
82599 { ml_norecursion=; unset ml_norecursion;}
82601 "src/Makefile":F) cat > vpsed$$ << \_EOF
82602 s!`test -f '$<' || echo '$(srcdir)/'`!!
82603 _EOF
82604 sed -f vpsed$$ $ac_file > tmp$$
82605 mv tmp$$ $ac_file
82606 rm vpsed$$
82607 echo 'MULTISUBDIR =' >> $ac_file
82608 ml_norecursion=yes
82609 . ${multi_basedir}/config-ml.in
82610 { ml_norecursion=; unset ml_norecursion;}
82612 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82613 s!`test -f '$<' || echo '$(srcdir)/'`!!
82614 _EOF
82615 sed -f vpsed$$ $ac_file > tmp$$
82616 mv tmp$$ $ac_file
82617 rm vpsed$$
82618 echo 'MULTISUBDIR =' >> $ac_file
82619 ml_norecursion=yes
82620 . ${multi_basedir}/config-ml.in
82621 { ml_norecursion=; unset ml_norecursion;}
82623 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82624 s!`test -f '$<' || echo '$(srcdir)/'`!!
82625 _EOF
82626 sed -f vpsed$$ $ac_file > tmp$$
82627 mv tmp$$ $ac_file
82628 rm vpsed$$
82629 echo 'MULTISUBDIR =' >> $ac_file
82630 ml_norecursion=yes
82631 . ${multi_basedir}/config-ml.in
82632 { ml_norecursion=; unset ml_norecursion;}
82634 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82635 s!`test -f '$<' || echo '$(srcdir)/'`!!
82636 _EOF
82637 sed -f vpsed$$ $ac_file > tmp$$
82638 mv tmp$$ $ac_file
82639 rm vpsed$$
82640 echo 'MULTISUBDIR =' >> $ac_file
82641 ml_norecursion=yes
82642 . ${multi_basedir}/config-ml.in
82643 { ml_norecursion=; unset ml_norecursion;}
82645 "po/Makefile":F) cat > vpsed$$ << \_EOF
82646 s!`test -f '$<' || echo '$(srcdir)/'`!!
82647 _EOF
82648 sed -f vpsed$$ $ac_file > tmp$$
82649 mv tmp$$ $ac_file
82650 rm vpsed$$
82651 echo 'MULTISUBDIR =' >> $ac_file
82652 ml_norecursion=yes
82653 . ${multi_basedir}/config-ml.in
82654 { ml_norecursion=; unset ml_norecursion;}
82656 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82657 s!`test -f '$<' || echo '$(srcdir)/'`!!
82658 _EOF
82659 sed -f vpsed$$ $ac_file > tmp$$
82660 mv tmp$$ $ac_file
82661 rm vpsed$$
82662 echo 'MULTISUBDIR =' >> $ac_file
82663 ml_norecursion=yes
82664 . ${multi_basedir}/config-ml.in
82665 { ml_norecursion=; unset ml_norecursion;}
82667 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82669 esac
82670 done # for ac_tag
82673 as_fn_exit 0
82674 _ACEOF
82675 ac_clean_files=$ac_clean_files_save
82677 test $ac_write_fail = 0 ||
82678 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82681 # configure is writing to config.log, and then calls config.status.
82682 # config.status does its own redirection, appending to config.log.
82683 # Unfortunately, on DOS this fails, as config.log is still kept open
82684 # by configure, so config.status won't be able to write to it; its
82685 # output is simply discarded. So we exec the FD to /dev/null,
82686 # effectively closing config.log, so it can be properly (re)opened and
82687 # appended to by config.status. When coming back to configure, we
82688 # need to make the FD available again.
82689 if test "$no_create" != yes; then
82690 ac_cs_success=:
82691 ac_config_status_args=
82692 test "$silent" = yes &&
82693 ac_config_status_args="$ac_config_status_args --quiet"
82694 exec 5>/dev/null
82695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82696 exec 5>>config.log
82697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82698 # would make configure fail if this is the last instruction.
82699 $ac_cs_success || as_fn_exit $?
82701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82703 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}